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

Constructor Summary
ChineseDateFormatSymbols()
          Construct a ChineseDateFormatSymbols for the default locale.
ChineseDateFormatSymbols(Calendar cal, Locale locale)
          Construct a ChineseDateFormatSymbols for the provided calendar and locale.
ChineseDateFormatSymbols(Calendar cal, ULocale locale)
          Deprecated. This is a draft API and might change in a future release of ICU.
ChineseDateFormatSymbols(Locale locale)
          Construct a ChineseDateFormatSymbols for the provided locale.
ChineseDateFormatSymbols(ULocale locale)
          Deprecated. This is a draft API and might change in a future release of ICU.
 
Method Summary
 String getLeapMonth(int isLeapMonth)
           
protected  void initializeData(ULocale loc, com.ibm.icu.impl.CalendarData calData)
          Deprecated. This is a draft API and might change in a future release of ICU.
 
Methods inherited from class com.ibm.icu.text.DateFormatSymbols
clone, equals, getAmPmStrings, getDateFormatBundle, getDateFormatBundle, getDateFormatBundle, getDateFormatBundle, getEras, getLocale, getLocalPatternChars, getMonths, getShortMonths, getShortWeekdays, getWeekdays, getZoneStrings, hashCode, initializeData, setAmPmStrings, setEras, setLocalPatternChars, setMonths, setShortMonths, setShortWeekdays, 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 locale.


ChineseDateFormatSymbols

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

Parameters:
locale - the locale

ChineseDateFormatSymbols

public ChineseDateFormatSymbols(ULocale locale)
Deprecated. This is a draft API and might change in a future release of ICU.

Construct a ChineseDateFormatSymbols for the provided locale.

Parameters:
locale - the locale

ChineseDateFormatSymbols

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

Parameters:
cal - the Calendar
locale - the locale

ChineseDateFormatSymbols

public ChineseDateFormatSymbols(Calendar cal,
                                ULocale locale)
Deprecated. This is a draft API and might change in a future release of ICU.

Construct a ChineseDateFormatSymbols for the provided calendar and locale.

Parameters:
cal - the Calendar
locale - the locale
Method Detail

getLeapMonth

public String getLeapMonth(int isLeapMonth)

initializeData

protected void initializeData(ULocale loc,
                              com.ibm.icu.impl.CalendarData calData)
Deprecated. This is a draft API and might change in a future release of ICU.

Overrides:
initializeData in class DateFormatSymbols


Copyright (c) 2004 IBM Corporation and others.