DateFormat.Field (Java SE 26 & JDK 26)
- 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
-
Method Summary
intReturns the
Calendarfield associated with this attribute.ofCalendarField(int calendarField) Returns the
Fieldconstant that corresponds to theCalendarconstantcalendarField.Resolves instances being deserialized to the predefined constants.
Methods declared in class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitCreates and returns a copy of this object.
protected voidDeprecated, for removal: This API element is subject to removal in a future version.
Returns the runtime class of this
Object.final voidWakes up a single thread that is waiting on this object's monitor.
final voidWakes up all threads that are waiting on this object's monitor.
final voidCauses the current thread to wait until it is awakened, typically by being notified or interrupted.
final voidwait(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 voidwait(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
-