com.ibm.icu.text
Class ChineseDateFormatSymbols

java.lang.Object
  extended by com.ibm.icu.text.DateFormatSymbols
      extended by com.ibm.icu.text.ChineseDateFormatSymbols
All Implemented Interfaces:
Serializable, Cloneable

public class ChineseDateFormatSymbols
extends DateFormatSymbols

A subclass of DateFormatSymbols for ChineseDateFormat. This class contains additional symbols corresponding to the ChineseCalendar.IS_LEAP_MONTH field.

Author:
Alan Liu
See Also:
ChineseDateFormat, ChineseCalendar, Serialized Form
Status:
Stable ICU 2.0.

Field Summary
 
Fields inherited from class com.ibm.icu.text.DateFormatSymbols
ABBREVIATED, DT_CONTEXT_COUNT, DT_WIDTH_COUNT, FORMAT, NARROW, STANDALONE, WIDE
 
Constructor Summary
ChineseDateFormatSymbols()
          Construct a ChineseDateFormatSymbols for the default FORMAT locale.
ChineseDateFormatSymbols(Calendar cal, Locale locale)
          Construct a ChineseDateFormatSymbols for the provided calendar and locale.
ChineseDateFormatSymbols(Calendar cal, ULocale locale)
          Construct a ChineseDateFormatSymbols for the provided calendar and locale.
ChineseDateFormatSymbols(Locale locale)
          Construct a ChineseDateFormatSymbols for the provided locale.
ChineseDateFormatSymbols(ULocale locale)
          Construct a ChineseDateFormatSymbols for the provided locale.
 
Method Summary
 String getLeapMonth(int leap)
           
protected  void initializeData(ULocale loc, com.ibm.icu.impl.CalendarData calData)
          Initializes format symbols for the locale and calendar type
 
Methods inherited from class com.ibm.icu.text.DateFormatSymbols
clone, equals, getAmPmStrings, getAvailableLocales, getAvailableULocales, getDateFormatBundle, getDateFormatBundle, getDateFormatBundle, getDateFormatBundle, getEraNames, getEras, getInstance, getInstance, getInstance, getLocale, getLocalPatternChars, getMonths, getMonths, getQuarters, getShortMonths, getShortWeekdays, getWeekdays, getWeekdays, getZoneStrings, hashCode, initializeData, setAmPmStrings, setEraNames, setEras, setLocalPatternChars, setMonths, setMonths, setQuarters, setShortMonths, setShortWeekdays, setWeekdays, setWeekdays, setZoneStrings
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChineseDateFormatSymbols

public ChineseDateFormatSymbols()
Construct a ChineseDateFormatSymbols for the default FORMAT locale.

See Also:
ULocale.Category.FORMAT
Status:
Stable ICU 2.0.

ChineseDateFormatSymbols

public ChineseDateFormatSymbols(Locale locale)
Construct a ChineseDateFormatSymbols for the provided locale.

Parameters:
locale - the locale
Status:
Stable ICU 2.0.

ChineseDateFormatSymbols

public ChineseDateFormatSymbols(ULocale locale)
Construct a ChineseDateFormatSymbols for the provided locale.

Parameters:
locale - the locale
Status:
Stable ICU 3.2.

ChineseDateFormatSymbols

public ChineseDateFormatSymbols(Calendar cal,
                                Locale locale)
Construct a ChineseDateFormatSymbols for the provided calendar and locale.

Parameters:
cal - the Calendar
locale - the locale
Status:
Stable ICU 2.0.

ChineseDateFormatSymbols

public ChineseDateFormatSymbols(Calendar cal,
                                ULocale locale)
Construct a ChineseDateFormatSymbols for the provided calendar and locale.

Parameters:
cal - the Calendar
locale - the locale
Status:
Stable ICU 3.2.
Method Detail

getLeapMonth

public String getLeapMonth(int leap)
Status:
Stable ICU 2.0.

initializeData

protected void initializeData(ULocale loc,
                              com.ibm.icu.impl.CalendarData calData)
Initializes format symbols for the locale and calendar type

Overrides:
initializeData in class DateFormatSymbols
Parameters:
loc - The locale whose symbols are desired.
calData - The calendar resource data
Status:
Stable ICU 3.0.


Copyright (c) 2011 IBM Corporation and others.