| com.sun.midp.l10n.LocalizedStrings
LocalizedStrings | public class LocalizedStrings extends LocalizedStringsBase implements ResourceBundle(Code) | | The English-US localization of ResourceBundle (the default, in
the absence of any locale info specified).
This also acts like a template for future localization experts
to work on, when creating locale specific strings. Look for
the message "L10N: REPLACE WITH LOCALE SPECIFIC VALUES" and
replace with locale specific values.
LocalizedStringsBase.java is generated from
src/configuration/configurator/share/l10n/en-US.xml
|
Method Summary | |
public String | getLocalizedDateString(String dayOfWeek, String date, String month, String year) Overrides ResourceBundle.getLocalizedDateString.
Returns a string representing the date in locale specific
date format.
Parameters: dayOfWeek - a String representing the day of the week. Parameters: date - a String representing the date. Parameters: month - a String representing the month. Parameters: year - a String representing the year. | public String | getLocalizedDateTimeString(String dayOfWeek, String date, String month, String year, String hour, String min, String sec, String ampm) Overrides ResourceBundle.getLocalizedDateTimeString.
Returns the localized date time string value.
Parameters: dayOfWeek - a String representing the day of the week. Parameters: date - a String representing the date. Parameters: month - a String representing the month. Parameters: year - a String representing the year. Parameters: hour - a String representing the hour. Parameters: min - a String representing the minute. Parameters: sec - a String representing the second. Parameters: ampm - a String representing am or pm.Note that ampm can be null. | public int | getLocalizedFirstDayOfWeek() Returns the locale specific first day of the week. | public String | getLocalizedTimeString(String hour, String min, String sec, String ampm) Overrides ResourceBundle.getLocalizedTimeString.
Returns a string representing the time in locale specific
time format.
Parameters: hour - a String representing the hour. Parameters: min - a String representing the minute. Parameters: sec - a String representing the second. Parameters: ampm - a String representing am or pm.Note that ampm can be null. | public String | getString(int index) Fetch the entire resource content. | public boolean | isLocalizedAMPMafterTime() Returns whether AM_PM field comes after the time field or
not in this locale. |
getLocalizedDateString | public String getLocalizedDateString(String dayOfWeek, String date, String month, String year)(Code) | | Overrides ResourceBundle.getLocalizedDateString.
Returns a string representing the date in locale specific
date format.
Parameters: dayOfWeek - a String representing the day of the week. Parameters: date - a String representing the date. Parameters: month - a String representing the month. Parameters: year - a String representing the year. a formatted date string that is suited for the targetlanguage.In English, this will return:"Dec 05, 2003"(L10N: REPLACE WITH LOCALE SPECIFIC VALUE) |
getLocalizedDateTimeString | public String getLocalizedDateTimeString(String dayOfWeek, String date, String month, String year, String hour, String min, String sec, String ampm)(Code) | | Overrides ResourceBundle.getLocalizedDateTimeString.
Returns the localized date time string value.
Parameters: dayOfWeek - a String representing the day of the week. Parameters: date - a String representing the date. Parameters: month - a String representing the month. Parameters: year - a String representing the year. Parameters: hour - a String representing the hour. Parameters: min - a String representing the minute. Parameters: sec - a String representing the second. Parameters: ampm - a String representing am or pm.Note that ampm can be null. a formatted date and time string that is suited for the.target language.In English, this will return:"Fri, 05 Dec 2000 10:05:59 PM"(L10N: REPLACE WITH LOCALE SPECIFIC VALUE) |
getLocalizedFirstDayOfWeek | public int getLocalizedFirstDayOfWeek()(Code) | | Returns the locale specific first day of the week.
the first day of the week is; e.g., Sunday in US.(L10N: REPLACE WITH LOCALE SPECIFIC VALUE) |
getLocalizedTimeString | public String getLocalizedTimeString(String hour, String min, String sec, String ampm)(Code) | | Overrides ResourceBundle.getLocalizedTimeString.
Returns a string representing the time in locale specific
time format.
Parameters: hour - a String representing the hour. Parameters: min - a String representing the minute. Parameters: sec - a String representing the second. Parameters: ampm - a String representing am or pm.Note that ampm can be null. a formatted time string that is suited for the targetlanguage.In English, this will return;"10:05:59 PM"(L10N: REPLACE WITH LOCALE SPECIFIC VALUE) |
getString | public String getString(int index)(Code) | | Fetch the entire resource content.
2 dimension array of keys and US English strings. |
isLocalizedAMPMafterTime | public boolean isLocalizedAMPMafterTime()(Code) | | Returns whether AM_PM field comes after the time field or
not in this locale.
true for US.(L10N: REPLACE WITH LOCALE SPECIFIC VALUE) |
|
|