All Implemented Interfaces:
Serializable
Enclosing class:
DateFormat

  • Field Summary

    Fields

    Constant identifying the time of day indicator (e.g. "a.m." or "p.m.") field.

    Constant identifying the day of month field.

    Constant identifying the day of week field.

    Constant identifying the day of week field.

    Constant identifying the day of year field.

    Constant identifying the era field.

    Constant identifying the hour of day field, where the legal values are 0 to 23.

    Constant identifying the hour of day field, where the legal values are 1 to 24.

    Constant identifying the hour field, where the legal values are 0 to 11.

    Constant identifying the hour field, where the legal values are 1 to 12.

    Constant identifying the millisecond field.

    Constant identifying the minute field.

    Constant identifying the month field.

    Constant identifying the second field.

    Constant identifying the time zone field.

    Constant identifying the week of month field.

    Constant identifying the week of year field.

    Constant identifying the year field.

  • Constructor Summary

    Constructors

    protected

    Field(String name, int calendarField)

  • Method Summary

    int

    Returns the Calendar field associated with this attribute.

    ofCalendarField(int calendarField)

    Returns the Field constant that corresponds to the Calendar constant calendarField.

    Resolves instances being deserialized to the predefined constants.

    Methods declared in class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Creates and returns a copy of this object.

    protected void

    Deprecated, for removal: This API element is subject to removal in a future version.

    Returns the runtime class of this Object.

    final void

    Wakes up a single thread that is waiting on this object's monitor.

    final void

    Wakes up all threads that are waiting on this object's monitor.

    final void

    Causes the current thread to wait until it is awakened, typically by being notified or interrupted.

    final void

    wait(long timeoutMillis)

    Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

    final void

    wait(long timeoutMillis, int nanos)

    Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

  • Field Details

    • ERA

    • YEAR

    • MONTH

    • DAY_OF_MONTH

    • HOUR_OF_DAY1

    • HOUR_OF_DAY0

    • MINUTE

    • SECOND

    • MILLISECOND

    • DAY_OF_WEEK

    • DAY_OF_YEAR

    • DAY_OF_WEEK_IN_MONTH

    • WEEK_OF_YEAR

    • WEEK_OF_MONTH

    • AM_PM

    • HOUR1

    • HOUR0

    • TIME_ZONE

  • Constructor Details

    • Field

  • Method Details

    • ofCalendarField

    • getCalendarField

    • readResolve