| com.sun.midp.i18n.ResourceBundle
All known Subclasses: com.sun.midp.l10n.LocalizedStrings,
ResourceBundle | public interface ResourceBundle (Code) | | The ResourceBundle interface is just a marker interface holding
a particular contract for any localized file to obey.
|
Method Summary | |
public String | getLocalizedDateString(String dayOfWeek, String date, String month, String year) Returns a locale-specific formatted date string. | public String | getLocalizedDateTimeString(String dayOfWeek, String date, String month, String year, String hour, String min, String sec, String ampm) Returns a locale-specific formatted date and time string. | public int | getLocalizedFirstDayOfWeek() Returns what the first day of the week is; e.g., Sunday in US,
Monday in France. | public String | getLocalizedTimeString(String hour, String min, String sec, String ampm) Returns a locale-specific formatted time string. | public String | getString(int index) Fetch the resource content. | public boolean | isLocalizedAMPMafterTime() Returns whether the AM_PM field comes after the time field
or not. |
getLocalizedDateString | public String getLocalizedDateString(String dayOfWeek, String date, String month, String year)(Code) | | Returns a locale-specific formatted date string. By default,
it will return like "Fri, 05 Dec 2000".
Parameters: dayOfWeek - day of week Parameters: date - date Parameters: month - month Parameters: year - year formatted date string |
getLocalizedDateTimeString | public String getLocalizedDateTimeString(String dayOfWeek, String date, String month, String year, String hour, String min, String sec, String ampm)(Code) | | Returns a locale-specific formatted date and time string. By
default, it will like return "Fri, 05 Dec 2000 10:05:59 PM".
Parameters: dayOfWeek - day of week Parameters: date - date Parameters: month - month Parameters: year - year Parameters: hour - hour Parameters: min - minute Parameters: sec - second Parameters: ampm - AM or PM formatted time and date string |
getLocalizedFirstDayOfWeek | public int getLocalizedFirstDayOfWeek()(Code) | | Returns what the first day of the week is; e.g., Sunday in US,
Monday in France.
numeric value for first day of week |
getLocalizedTimeString | public String getLocalizedTimeString(String hour, String min, String sec, String ampm)(Code) | | Returns a locale-specific formatted time string. By default,
it will return like "10:05:59 PM".
Parameters: hour - hour Parameters: min - minute Parameters: sec - second Parameters: ampm - AM or PM formatted time string |
getString | public String getString(int index)(Code) | | Fetch the resource content. ......
array of key value pairs |
isLocalizedAMPMafterTime | public boolean isLocalizedAMPMafterTime()(Code) | | Returns whether the AM_PM field comes after the time field
or not.
true, if AM/PM is after the time field. |
|
|