com.ibm.icu.text
Class ChineseDateFormatSymbols

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

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.

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.

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)
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
Status:
Draft ICU 3.2.
Status:
Deprecated in This is a draft API and might change in a future release of ICU..

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)
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
Status:
Draft ICU 3.2.
Status:
Deprecated in This is a draft API and might change in a future release of ICU..
Method Detail

getLeapMonth

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

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
Parameters:
loc -
calData -
Status:
Draft ICU 3.0.
Status:
Deprecated in This is a draft API and might change in a future release of ICU..


Copyright (c) 2004 IBM Corporation and others.