LocalizedStringspublic class LocalizedStrings extends LocalizedStringsBase implements com.sun.midp.i18n.ResourceBundleThe 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 |
Methods Summary |
---|
public java.lang.String | getLocalizedDateString(java.lang.String dayOfWeek, java.lang.String date, java.lang.String month, java.lang.String year)Overrides ResourceBundle.getLocalizedDateString.
Returns a string representing the date in locale specific
date format.
return month + " " + date + ", " + year;
| public java.lang.String | getLocalizedDateTimeString(java.lang.String dayOfWeek, java.lang.String date, java.lang.String month, java.lang.String year, java.lang.String hour, java.lang.String min, java.lang.String sec, java.lang.String ampm)Overrides ResourceBundle.getLocalizedDateTimeString.
Returns the localized date time string value.
return getLocalizedDateString(dayOfWeek, date, month, year) + " " +
getLocalizedTimeString(hour, min, sec, ampm);
| public int | getLocalizedFirstDayOfWeek()Returns the locale specific first day of the week.
return java.util.Calendar.SUNDAY;
| public java.lang.String | getLocalizedTimeString(java.lang.String hour, java.lang.String min, java.lang.String sec, java.lang.String ampm)Overrides ResourceBundle.getLocalizedTimeString.
Returns a string representing the time in locale specific
time format.
return (hour + ":" + min + ((ampm == null) ? "" : (" " + ampm)));
| public java.lang.String | getString(int index)Fetch the entire resource content.
return getContent(index);
| public boolean | isLocalizedAMPMafterTime()Returns whether AM_PM field comes after the time field or
not in this locale.
return true;
|
|