Resource_japublic class Resource_ja extends com.sun.midp.lcdui.Resource The Japanese localization of Resouce. |
Fields Summary |
---|
static final Object[] | contentsTranslate the English word(s) or sentence in the left
paranthese and put the translation into the right side. |
Methods Summary |
---|
public java.lang.Object[][] | getContents()DO NOT TOUCH.
return contents;
| public java.lang.String | getLocalizedDateString(java.lang.String dayOfWeek, java.lang.String date, java.lang.String month, java.lang.String year)Overrides Resource.getLocalizedDateString.
Returns the localized date string value.
return year + "\u5e74" + getString(month) + date + "\u65e5" +
"(" + getString(dayOfWeek) + ")";
| 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 Resource.getLocalizedDateTimeString.
Returns the localized date time string value.
return year + "\u5e74" + month + "\u6708" + date + "\u65e5" +
"(" + getString(dayOfWeek) + ")" +
((ampm == null) ? "" : getString(ampm)) +
hour + "\u6642" +
min + "\u5206" +
sec + "\u79d2";
| public int | getLocalizedFirstDayOfWeek()Returns the localized string for the 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 Resource.getLocalizedTimeString.
Returns the localized time string value.
return ((ampm == null) ? "" : getString(ampm)) +
hour + "\u6642" +
min + "\u5206" +
sec + "\u79d2";
| public boolean | isLocalizedAMPMafterTime()Returns whether AM_PM field comes after the time field or
not in this locale.
return false;
|
|