FileDocCategorySizeDatePackage
ResourceBundle.javaAPI DocphoneME MR2 API (J2ME)3212Wed May 02 18:00:00 BST 2007com.sun.midp.i18n

ResourceBundle

public interface ResourceBundle
The ResourceBundle interface is just a marker interface holding a particular contract for any localized file to obey.

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetLocalizedDateString(java.lang.String dayOfWeek, java.lang.String date, java.lang.String month, java.lang.String year)
Returns a locale-specific formatted date string. By default, it will return like "Fri, 05 Dec 2000".

param
dayOfWeek day of week
param
date date
param
month month
param
year year
return
formatted date string

public java.lang.StringgetLocalizedDateTimeString(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)
Returns a locale-specific formatted date and time string. By default, it will like return "Fri, 05 Dec 2000 10:05:59 PM".

param
dayOfWeek day of week
param
date date
param
month month
param
year year
param
hour hour
param
min minute
param
sec second
param
ampm AM or PM
return
formatted time and date string

public intgetLocalizedFirstDayOfWeek()
Returns what the first day of the week is; e.g., Sunday in US, Monday in France.

return
numeric value for first day of week

public java.lang.StringgetLocalizedTimeString(java.lang.String hour, java.lang.String min, java.lang.String sec, java.lang.String ampm)
Returns a locale-specific formatted time string. By default, it will return like "10:05:59 PM".

param
hour hour
param
min minute
param
sec second
param
ampm AM or PM
return
formatted time string

public java.lang.StringgetString(int index)
Fetch the resource content. ......

return
array of key value pairs

public booleanisLocalizedAMPMafterTime()
Returns whether the AM_PM field comes after the time field or not.

return
true, if AM/PM is after the time field.