com.ibm.icu.text
public class ChineseDateFormatSymbols extends DateFormatSymbols
DateFormatSymbols
for ChineseDateFormat
.
This class contains additional symbols corresponding to the
ChineseCalendar.IS_LEAP_MONTH
field.ChineseDateFormat
,
ChineseCalendar
,
Serialized FormABBREVIATED, DT_CONTEXT_COUNT, DT_WIDTH_COUNT, FORMAT, NARROW, STANDALONE, WIDE
Constructor and Description |
---|
ChineseDateFormatSymbols()
Construct a ChineseDateFormatSymbols for the default locale.
|
ChineseDateFormatSymbols(Calendar cal,
java.util.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(java.util.Locale locale)
Construct a ChineseDateFormatSymbols for the provided locale.
|
ChineseDateFormatSymbols(ULocale locale)
Construct a ChineseDateFormatSymbols for the provided locale.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLeapMonth(int leap) |
protected void |
initializeData(ULocale loc,
com.ibm.icu.impl.CalendarData calData)
Initialize format symbols for the locale and calendar type
|
clone, equals, getAmPmStrings, getAvailableLocales, getAvailableULocales, getDateFormatBundle, getDateFormatBundle, getDateFormatBundle, getDateFormatBundle, getEraNames, getEras, getInstance, getInstance, getInstance, getLocale, getLocalPatternChars, getMonths, getMonths, getQuarters, getShortMonths, getShortWeekdays, getWeekdays, getWeekdays, getZoneStrings, hashCode, initializeData, setAmPmStrings, setEraNames, setEras, setLocalPatternChars, setMonths, setMonths, setQuarters, setShortMonths, setShortWeekdays, setWeekdays, setWeekdays, setZoneStrings
public ChineseDateFormatSymbols()
public ChineseDateFormatSymbols(java.util.Locale locale)
locale
- the localepublic ChineseDateFormatSymbols(ULocale locale)
locale
- the localepublic ChineseDateFormatSymbols(Calendar cal, java.util.Locale locale)
cal
- the Calendarlocale
- the localepublic java.lang.String getLeapMonth(int leap)
protected void initializeData(ULocale loc, com.ibm.icu.impl.CalendarData calData)
initializeData
in class DateFormatSymbols
loc
- The locale whose symbols are desired.calData
- The calendar resource dataCopyright (c) 2009 IBM Corporation and others.