Top Description Fields Constructors Methods
com.ibm.icu.text

public Class ChineseDateFormatSymbols

extends DateFormatSymbols
Class Inheritance
Annotations
@Deprecated
Imports
java.util.Locale, com.ibm.icu.impl.ICUResourceBundle, com.ibm.icu.util.Calendar, .ChineseCalendar, .ULocale, .ULocale.Category

Deprecated

ICU 50

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, com.ibm.icu.util.ChineseCalendar

Field Summary

Modifier and TypeField and Description
pack-priv String[]
pack-priv static final long
Inherited from com.ibm.icu.text.DateFormatSymbols:
ABBREVIATEDabbreviatedDayPeriodsALTERNATE_TIME_SEPARATORampmsampmsNarrowcapitalizationDEFAULT_TIME_SEPARATORDT_CONTEXT_COUNTDT_LEAP_MONTH_PATTERN_FORMAT_ABBREVDT_LEAP_MONTH_PATTERN_FORMAT_NARROWDT_LEAP_MONTH_PATTERN_FORMAT_WIDEDT_LEAP_MONTH_PATTERN_NUMERICDT_LEAP_MONTH_PATTERN_STANDALONE_ABBREVDT_LEAP_MONTH_PATTERN_STANDALONE_NARROWDT_LEAP_MONTH_PATTERN_STANDALONE_WIDEDT_MONTH_PATTERN_COUNTDT_WIDTH_COUNTeraNameserasFORMATleapMonthPatternslocalPatternCharsmillisPerHourmonthsNARROWnarrowDayPeriodsnarrowErasnarrowMonthsnarrowQuartersnarrowWeekdaysNUMERICpatternCharsquartersSHORTshorterWeekdaysshortMonthsshortQuartersshortWeekdaysshortYearNamesshortZodiacNamesSTANDALONEstandaloneAbbreviatedDayPeriodsstandaloneMonthsstandaloneNarrowDayPeriodsstandaloneNarrowMonthsstandaloneNarrowQuartersstandaloneNarrowWeekdaysstandaloneQuartersstandaloneShorterWeekdaysstandaloneShortMonthsstandaloneShortQuartersstandaloneShortWeekdaysstandaloneWeekdaysstandaloneWideDayPeriodsweekdaysWIDEwideDayPeriods

Constructor Summary

AccessConstructor and Description
public
ChineseDateFormatSymbols()

Deprecated ICU 50
Construct a ChineseDateFormatSymbols for the default FORMAT locale.
public
ChineseDateFormatSymbols(Locale
the locale
locale
)

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

Deprecated ICU 50
Construct a ChineseDateFormatSymbols for the provided locale.
public
ChineseDateFormatSymbols(Calendar
the Calendar
cal
,
Locale
the locale
locale
)

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

Deprecated ICU 50
Construct a ChineseDateFormatSymbols for the provided calendar and locale.

Method Summary

Modifier and TypeMethod and Description
public String
getLeapMonth(int leap)

Deprecated ICU 50
protected void
initializeData(ULocale
The locale whose symbols are desired.
loc
,
ICUResourceBundle
Resource bundle provided externally
b
,
String
The calendar type being used
calendarType
)

Overrides com.ibm.icu.text.DateFormatSymbols.initializeData.

Deprecated ICU 50
Initializes format symbols for the locale and calendar type
pack-priv void
initializeData(DateFormatSymbols dfs)

Overrides com.ibm.icu.text.DateFormatSymbols.initializeData.

Initializes format symbols using another instance.
private void
Inherited from com.ibm.icu.text.DateFormatSymbols:
cloneequalsgetAmPmStringsgetAvailableLocalesgetAvailableULocalesgetDateFormatBundlegetDateFormatBundlegetDateFormatBundlegetDateFormatBundlegetEraNamesgetErasgetInstancegetInstancegetInstancegetLeapMonthPatterngetLocalegetLocalPatternCharsgetMonthsgetMonthsgetNarrowErasgetQuartersgetShortMonthsgetShortWeekdaysgetTimeSeparatorStringgetWeekdaysgetWeekdaysgetYearNamesgetZodiacNamesgetZoneStringshashCodeinitializeDatasetAmPmStringssetEraNamessetErassetLeapMonthPatternsetLocalesetLocalPatternCharssetMonthssetMonthssetNarrowErassetQuarterssetShortMonthssetShortWeekdayssetTimeSeparatorStringsetWeekdayssetWeekdayssetYearNamessetZodiacNamessetZoneStrings

Field Detail

isLeapMonthback to summary
pack-priv String[] isLeapMonth
serialVersionUIDback to summary
pack-priv static final long serialVersionUID

Hides com.ibm.icu.text.DateFormatSymbols.serialVersionUID.

Constructor Detail

ChineseDateFormatSymbolsback to summary
public ChineseDateFormatSymbols()

Deprecated

ICU 50

Construct a ChineseDateFormatSymbols for the default FORMAT locale.

Annotations
@Deprecated
See Also
Category#FORMAT
ChineseDateFormatSymbolsback to summary
public ChineseDateFormatSymbols(Locale locale)

Deprecated

ICU 50

Construct a ChineseDateFormatSymbols for the provided locale.

Parameters
locale:Locale

the locale

Annotations
@Deprecated
ChineseDateFormatSymbolsback to summary
public ChineseDateFormatSymbols(ULocale locale)

Deprecated

ICU 50

Construct a ChineseDateFormatSymbols for the provided locale.

Parameters
locale:ULocale

the locale

Annotations
@Deprecated
ChineseDateFormatSymbolsback to summary
public ChineseDateFormatSymbols(Calendar cal, Locale locale)

Deprecated

ICU 50

Construct a ChineseDateFormatSymbols for the provided calendar and locale.

Parameters
cal:Calendar

the Calendar

locale:Locale

the locale

Annotations
@Deprecated
ChineseDateFormatSymbolsback to summary
public ChineseDateFormatSymbols(Calendar cal, ULocale locale)

Deprecated

ICU 50

Construct a ChineseDateFormatSymbols for the provided calendar and locale.

Parameters
cal:Calendar

the Calendar

locale:ULocale

the locale

Annotations
@Deprecated

Method Detail

getLeapMonthback to summary
public String getLeapMonth(int leap)

Deprecated

ICU 50

Annotations
@Deprecated
initializeDataback to summary
protected void initializeData(ULocale loc, ICUResourceBundle b, String calendarType)

Overrides com.ibm.icu.text.DateFormatSymbols.initializeData.

Doc from com.ibm.icu.text.DateFormatSymbols.initializeData.

Deprecated

ICU 50

Initializes format symbols for the locale and calendar type

Parameters
loc:ULocale

The locale whose symbols are desired.

b:ICUResourceBundle

Resource bundle provided externally

calendarType:String

The calendar type being used

Annotations
@Deprecated
@Override
initializeDataback to summary
pack-priv void initializeData(DateFormatSymbols dfs)

Overrides com.ibm.icu.text.DateFormatSymbols.initializeData.

Doc from com.ibm.icu.text.DateFormatSymbols.initializeData.

Initializes format symbols using another instance. TODO Clean up initialization methods for subclasses

Annotations
@Override
initializeIsLeapMonthback to summary
private void initializeIsLeapMonth()