FileDocCategorySizeDatePackage
Resource_ja.javaAPI DocJ2ME MIDP 2.08531Thu Nov 07 12:02:22 GMT 2002com.sun.midp.lcdui.i18n

Resource_ja

public class Resource_ja extends com.sun.midp.lcdui.Resource
The Japanese localization of Resouce.

Fields Summary
static final Object[]
contents
Translate the English word(s) or sentence in the left paranthese and put the translation into the right side.
Constructors Summary
Methods Summary
public java.lang.Object[][]getContents()
DO NOT TOUCH.

return
Japanese translated words.

        return contents;
    
public java.lang.StringgetLocalizedDateString(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.

param
dayOfWeek a String representing the day of the week.
param
date a String representing the date.
param
month a String representing the month.
param
year a String representing the year.
return
a formatted date string that is suited for the target language. In English, this will return: "Fri, 05 Dec 2000"



                                                                                        
          
                                             
        return year + "\u5e74" + getString(month) +  date  + "\u65e5" + 
            "(" + getString(dayOfWeek) + ")";
    
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)
Overrides Resource.getLocalizedDateTimeString. Returns the localized date time string value.

param
dayOfWeek a String representing the day of the week.
param
date a String representing the date.
param
month a String representing the month.
param
year a String representing the year.
param
hour a String representing the hour.
param
min a String representing the minute.
param
sec a String representing the second.
param
ampm a String representing am or pm. Note that ampm can be null.
return
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"

        return year + "\u5e74" + month + "\u6708" +  date  + "\u65e5" + 
            "(" + getString(dayOfWeek) + ")" + 
            ((ampm == null) ? "" : getString(ampm)) + 
            hour + "\u6642" +
            min  + "\u5206" +
            sec  + "\u79d2";
    
public intgetLocalizedFirstDayOfWeek()
Returns the localized string for the first day of the week.

return
what the first day of the week is; e.g., Sunday in US, Monday in France.

        return java.util.Calendar.SUNDAY;
    
public java.lang.StringgetLocalizedTimeString(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.

param
hour a String representing the hour.
param
min a String representing the minute.
param
sec a String representing the second.
param
ampm a String representing am or pm. Note that ampm can be null.
return
a formatted time string that is suited for the target language. In English, this will return; "10:05:59 PM"

        return ((ampm == null) ? "" : getString(ampm)) + 
            hour + "\u6642" +
            min  + "\u5206" +
            sec  + "\u79d2";
    
public booleanisLocalizedAMPMafterTime()
Returns whether AM_PM field comes after the time field or not in this locale.

return
whether the AM_PM field comes after the time field or not.

        return false;