Class ChineseDateFormatSymbols

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

@Deprecated public class ChineseDateFormatSymbols extends DateFormatSymbols
Deprecated.
ICU 50
A subclass of DateFormatSymbols for ChineseDateFormat. This class contains additional symbols corresponding to the ChineseCalendar.IS_LEAP_MONTH field.
See Also:
  • Field Details

    • serialVersionUID

      static final long serialVersionUID
      Deprecated.
      See Also:
    • isLeapMonth

      String[] isLeapMonth
      Deprecated.
  • Constructor Details

    • ChineseDateFormatSymbols

      @Deprecated public ChineseDateFormatSymbols()
      Deprecated.
      ICU 50
      Construct a ChineseDateFormatSymbols for the default FORMAT locale.
      See Also:
    • ChineseDateFormatSymbols

      @Deprecated public ChineseDateFormatSymbols(Locale locale)
      Deprecated.
      ICU 50
      Construct a ChineseDateFormatSymbols for the provided locale.
      Parameters:
      locale - the locale
    • ChineseDateFormatSymbols

      @Deprecated public ChineseDateFormatSymbols(ULocale locale)
      Deprecated.
      ICU 50
      Construct a ChineseDateFormatSymbols for the provided locale.
      Parameters:
      locale - the locale
    • ChineseDateFormatSymbols

      @Deprecated public ChineseDateFormatSymbols(Calendar cal, Locale locale)
      Deprecated.
      ICU 50
      Construct a ChineseDateFormatSymbols for the provided calendar and locale.
      Parameters:
      cal - the Calendar
      locale - the locale
    • ChineseDateFormatSymbols

      @Deprecated public ChineseDateFormatSymbols(Calendar cal, ULocale locale)
      Deprecated.
      ICU 50
      Construct a ChineseDateFormatSymbols for the provided calendar and locale.
      Parameters:
      cal - the Calendar
      locale - the locale
  • Method Details

    • getLeapMonth

      @Deprecated public String getLeapMonth(int leap)
      Deprecated.
      ICU 50
    • initializeData

      @Deprecated protected void initializeData(ULocale loc, ICUResourceBundle b, String calendarType)
      Deprecated.
      ICU 50
      Initializes format symbols for the locale and calendar type
      Overrides:
      initializeData in class DateFormatSymbols
      Parameters:
      loc - The locale whose symbols are desired.
      b - Resource bundle provided externally
      calendarType - The calendar type being used
    • initializeData

      void initializeData(DateFormatSymbols dfs)
      Deprecated.
      Description copied from class: DateFormatSymbols
      Initializes format symbols using another instance. TODO Clean up initialization methods for subclasses
      Overrides:
      initializeData in class DateFormatSymbols
    • initializeIsLeapMonth

      private void initializeIsLeapMonth()
      Deprecated.