de.uplanet.lucy.util
Interface ILocale


@Scriptable
public interface ILocale

This interface represents locale settings in up environments.

Version:
$Revision: 92937 $

Method Summary
 java.lang.String getCurrencyDecimalSeparator()
          returns the decimal separator for currency
 java.lang.String getCurrencyDigitSeparator()
          returns the digit separator for currency
 int getCurrencyFractionDigits()
          returns the number of fraction digits of currency values
 java.lang.String getDateFormat()
          returns the date format string
 java.lang.String getDateTimeFormat()
          returns the datetime format string
 java.lang.String getDayShortDateFormat()
          Method getDayShortDateFormat.
 java.lang.String getDefaultLanguage()
          returns the default language
 int getFirstDayOfWeek()
          Method getFirstDayOfWeek returns the int value for the first day of a week. e.g. 2 for monday .
 java.lang.String getHourFormat()
          Method getHourFormat.
 java.lang.String getIntegerDigitSeparator()
          returns the integer digit separator
 java.lang.String[] getLanguages()
          returns the list of all supported languages
 java.lang.String getLongDateFormat()
           
 java.lang.String getNumberDecimalSeparator()
          returns the decimal separator
 java.lang.String getNumberDigitSeparator()
          returns the digit separator
 int getNumberFractionDigits()
          returns the number of fraction digits of float values
 java.lang.String getShortDateFormat()
           
 java.lang.String getTimeFormat()
          returns the time format string
 java.lang.String getTimeFormatWithSeconds()
          returns the time format string
 java.lang.String getTimeZoneId()
          getTimeZone returns the timezone string or null, if none is set. null means the UTC time zone.
 boolean isCurrencyLeadingNulls()
          returns true, if leading nulls are supported before decimal separator, otherwise false
 boolean isNumberLeadingNulls()
          returns true, if leading nulls are supported before decimal separator, otherwise false
 java.util.TimeZone timeZone()
          Returns the timezone or null, if none is set.
 

Method Detail

getDefaultLanguage

java.lang.String getDefaultLanguage()
returns the default language

Returns:
default language

getLanguages

java.lang.String[] getLanguages()
returns the list of all supported languages

Returns:
language list

getDateFormat

java.lang.String getDateFormat()
returns the date format string

Returns:
date format

getShortDateFormat

java.lang.String getShortDateFormat()

getLongDateFormat

java.lang.String getLongDateFormat()

getTimeFormat

java.lang.String getTimeFormat()
returns the time format string

Returns:
time format

getTimeFormatWithSeconds

java.lang.String getTimeFormatWithSeconds()
returns the time format string

Returns:
time format with seconds part

getHourFormat

java.lang.String getHourFormat()
Method getHourFormat.

Returns:
String

getDateTimeFormat

java.lang.String getDateTimeFormat()
returns the datetime format string

Returns:
datetime format

getDayShortDateFormat

java.lang.String getDayShortDateFormat()
Method getDayShortDateFormat.

Returns:
String

getIntegerDigitSeparator

java.lang.String getIntegerDigitSeparator()
returns the integer digit separator

Returns:
integer digit separator

getNumberDecimalSeparator

java.lang.String getNumberDecimalSeparator()
returns the decimal separator

Returns:
decimal separator

getNumberDigitSeparator

java.lang.String getNumberDigitSeparator()
returns the digit separator

Returns:
digit separator

isNumberLeadingNulls

boolean isNumberLeadingNulls()
returns true, if leading nulls are supported before decimal separator, otherwise false

Returns:
leading null flag

getNumberFractionDigits

int getNumberFractionDigits()
returns the number of fraction digits of float values

Returns:
number of fraction digits

getCurrencyDecimalSeparator

java.lang.String getCurrencyDecimalSeparator()
returns the decimal separator for currency

Returns:
decimal separator

getCurrencyDigitSeparator

java.lang.String getCurrencyDigitSeparator()
returns the digit separator for currency

Returns:
digit separator

isCurrencyLeadingNulls

boolean isCurrencyLeadingNulls()
returns true, if leading nulls are supported before decimal separator, otherwise false

Returns:
leading null flag

getCurrencyFractionDigits

int getCurrencyFractionDigits()
returns the number of fraction digits of currency values

Returns:
number of fraction digits

timeZone

java.util.TimeZone timeZone()
Returns the timezone or null, if none is set.

Returns:
The time zone.

getTimeZoneId

java.lang.String getTimeZoneId()
getTimeZone returns the timezone string or null, if none is set. null means the UTC time zone.

Returns:
Timezone string

getFirstDayOfWeek

int getFirstDayOfWeek()
Method getFirstDayOfWeek returns the int value for the first day of a week. e.g. 2 for monday .

Returns:
int as Calendar.SUNDAY == 1 to Calendar.SATURDAY == 7 values


Last updated: 2011-08-11 10-04
Copyright © 2000-2011 United Planet. All Rights Reserved.