static class DateFormat.Field extends Format.Field

Purpose

bullet Represents DateFormat field positions.

Field summary

bullet static DateFormat.Field AM_PM
bullet Represents the time of day indicator field in the formatting of a date and format.
bullet static DateFormat.Field DAY_OF_MONTH
bullet Represents the day of month field in the formatting of a date and format.
bullet static DateFormat.Field DAY_OF_WEEK
bullet Represents the day of week field in the formatting of a date and format.
bullet static DateFormat.Field DAY_OF_WEEK_IN_MONTH
bullet Represents the day of week in month field in the formatting of a date and format.
bullet static DateFormat.Field DAY_OF_YEAR
bullet Represents the day of year field in the formatting of a date and format.
bullet static DateFormat.Field ERA
bullet Represents the era field in the formatting of a date and format.
bullet static DateFormat.Field HOUR_OF_DAY0
bullet Represents the hour of day field in the zero-based formatting of a date and time format (i.e., the legal values are 0 to 23).
bullet static DateFormat.Field HOUR_OF_DAY1
bullet Represents the hour of day field in the one-based formatting of a date and time format (i.e., the legal values are 1 to 24).
bullet static DateFormat.Field HOUR0
bullet Represents the hour field in the zero-based formatting of a date and time format (i.e., the legal values are 0 to 11).
bullet static DateFormat.Field HOUR1
bullet Represents the hour field in the one-based formatting of a date and time format (i.e., the legal values are 1 to 12).
bullet static DateFormat.Field MILLISECOND
bullet Represents the millisecond field in the formatting of a date and format.
bullet static DateFormat.Field MINUTE
bullet Represents the minute field in the formatting of a date and format.
bullet static DateFormat.Field MONTH
bullet Represents the month field in the formatting of a date and format.
bullet static DateFormat.Field SECOND
bullet Represents the second field in the formatting of a date and format.
bullet static DateFormat.Field TIME_ZONE
bullet Represents the time zone field in the formatting of a date and format.
bullet static DateFormat.Field WEEK_OF_MONTH
bullet Represents the week of month field in the formatting of a date and format.
bullet static DateFormat.Field WEEK_OF_YEAR
bullet Represents the week of year field in the formatting of a date and format.
bullet static DateFormat.Field YEAR
bullet Represents the year field in the formatting of a date and format.

Class method summary

bullet static DateFormat.Field ofCalendarField(int f)
bullet Returns the DateFormat.Field constant corresponding to the Calendar field f.

Constructor summary

bullet protected DateFormat.Field(String s, int n)
bullet Constructs a new DateFormat.Field with the name s for field n.

Instance method Summary

bullet int getCalendarField()
bullet Returns the Calendar field of this DateFormat.Field.
bullet protected Object readResolve()
bullet Returns a resolved field.