Class DangiCalendar

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<Calendar>

    @Deprecated
    public class DangiCalendar
    extends ChineseCalendar
    Deprecated.
    This API is ICU internal only.
    DangiCalendar is a concrete subclass of Calendar that implements a traditional Korean calendar.
    See Also:
    Serialized Form
    • Constructor Detail

      • DangiCalendar

        @Deprecated
        public DangiCalendar()
        Deprecated.
        This API is ICU internal only.
        Construct a DangiCalendar with the default time zone and locale.
      • DangiCalendar

        @Deprecated
        public DangiCalendar​(java.util.Date date)
        Deprecated.
        This API is ICU internal only.
        Construct a DangiCalendar with the give date set in the default time zone with the default locale.
        Parameters:
        date - The date to which the new calendar is set.
      • DangiCalendar

        @Deprecated
        public DangiCalendar​(TimeZone zone,
                             ULocale locale)
        Deprecated.
        This API is ICU internal only.
        Construct a DangiCalendar based on the current time with the given time zone with the given locale.
        Parameters:
        zone - the given time zone
        locale - the given locale
    • Method Detail

      • getType

        @Deprecated
        public java.lang.String getType()
        Deprecated.
        This API is ICU internal only.
        Returns the calendar type name string for this Calendar object. The returned string is the legacy ICU calendar attribute value, for example, "gregorian" or "japanese".

        See type="old type name" for the calendar attribute of locale IDs at http://www.unicode.org/reports/tr35/#Key_Type_Definitions

        Overrides:
        getType in class ChineseCalendar
        Returns:
        legacy calendar type name string