com.pyxis.greenhopper.jira.util
Class I18nUtil

java.lang.Object
  extended by com.pyxis.greenhopper.jira.util.I18nUtil

public class I18nUtil
extends java.lang.Object


Constructor Summary
I18nUtil()
           
 
Method Summary
static java.lang.String decimalFormat(java.lang.Double number)
           
static java.lang.String decimalFormat(java.lang.String number)
           
static I18nFactoryService getI18nFactoryService()
           
static java.util.Locale getUserLocale()
           
static com.atlassian.core.user.preferences.Preferences getUserPreferences()
           
static java.lang.Double toDouble(java.lang.String number)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

I18nUtil

public I18nUtil()
Method Detail

getI18nFactoryService

public static I18nFactoryService getI18nFactoryService()

getUserLocale

public static java.util.Locale getUserLocale()

decimalFormat

public static java.lang.String decimalFormat(java.lang.String number)
                                      throws java.text.ParseException
Throws:
java.text.ParseException

decimalFormat

public static java.lang.String decimalFormat(java.lang.Double number)
                                      throws java.text.ParseException
Throws:
java.text.ParseException

toDouble

public static java.lang.Double toDouble(java.lang.String number)
                                 throws java.text.ParseException
Throws:
java.text.ParseException

getUserPreferences

public static com.atlassian.core.user.preferences.Preferences getUserPreferences()


Copyright © 2007-2012 Atlassian. All Rights Reserved.