com.ibm.icu.text

Class ChineseDateFormatSymbols

public class ChineseDateFormatSymbols extends DateFormatSymbols

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

Author: Alan Liu

See Also: ChineseDateFormat ChineseCalendar

UNKNOWN: ICU 2.0

Constructor Summary
ChineseDateFormatSymbols()
Construct a ChineseDateFormatSymbols for the default locale.
ChineseDateFormatSymbols(Locale locale)
Construct a ChineseDateFormatSymbols for the provided locale.
ChineseDateFormatSymbols(ULocale locale)
Construct a ChineseDateFormatSymbols for the provided 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.
Method Summary
StringgetLeapMonth(int isLeapMonth)
protected voidinitializeData(ULocale loc, CalendarData calData)

Constructor Detail

ChineseDateFormatSymbols

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

UNKNOWN: ICU 2.0

ChineseDateFormatSymbols

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

Parameters: locale the locale

UNKNOWN: ICU 2.0

ChineseDateFormatSymbols

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

Parameters: locale the locale

UNKNOWN: ICU 3.2 This API might change or be removed in a future release.

ChineseDateFormatSymbols

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

Parameters: cal the Calendar locale the locale

UNKNOWN: 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

UNKNOWN: ICU 3.2 This API might change or be removed in a future release.

Method Detail

getLeapMonth

public String getLeapMonth(int isLeapMonth)

UNKNOWN: ICU 2.0

initializeData

protected void initializeData(ULocale loc, CalendarData calData)

UNKNOWN: ICU 3.0

Copyright (c) 2007 IBM Corporation and others.