com.ibm.icu.text

Class ChineseDateFormatSymbols

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

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 locale.
ChineseDateFormatSymbols(Locale 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.
ChineseDateFormatSymbols(ULocale locale)
Construct a ChineseDateFormatSymbols for the provided locale.

Method Summary

String
getLeapMonth(int isLeapMonth)
protected void
initializeData(ULocale loc, com.ibm.icu.impl.CalendarData calData)

Methods inherited from class com.ibm.icu.text.DateFormatSymbols

clone, equals, getAmPmStrings, getDateFormatBundle, getDateFormatBundle, getDateFormatBundle, getDateFormatBundle, getEraNames, getEras, getLocalPatternChars, getLocale, getMonths, getMonths, getShortMonths, getShortWeekdays, getWeekdays, getWeekdays, getZoneStrings, hashCode, initializeData, initializeData, setAmPmStrings, setEraNames, setEras, setLocalPatternChars, setMonths, setMonths, setShortMonths, setShortWeekdays, setWeekdays, setWeekdays, setZoneStrings

Constructor Details

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(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)
Construct a ChineseDateFormatSymbols for the provided calendar and locale.
Parameters:
cal - the Calendar
locale - the locale

ChineseDateFormatSymbols

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

Method Details

getLeapMonth

public String getLeapMonth(int isLeapMonth)

initializeData

protected void initializeData(ULocale loc,
                              com.ibm.icu.impl.CalendarData calData)
Overrides:
initializeData in interface DateFormatSymbols

Copyright (c) 2006 IBM Corporation and others.