java.text

Class DateFormat.Field

public static class DateFormat.Field extends Format.Field

Field Summary
static DateFormat.FieldAM_PM
static DateFormat.FieldDAY_OF_MONTH
static DateFormat.FieldDAY_OF_WEEK
static DateFormat.FieldDAY_OF_WEEK_IN_MONTH
static DateFormat.FieldDAY_OF_YEAR
static DateFormat.FieldERA
static DateFormat.FieldEXTENDED_YEAR
static DateFormat.FieldHOUR0
static DateFormat.FieldHOUR1
static DateFormat.FieldHOUR_OF_DAY0
static DateFormat.FieldHOUR_OF_DAY1
static DateFormat.FieldISO_YEAR
static DateFormat.FieldLOCALIZED_DAY_OF_WEEK
static DateFormat.FieldMILLISECOND
static DateFormat.FieldMILLISECOND_IN_DAY
static DateFormat.FieldMINUTE
static DateFormat.FieldMODIFIED_JULIAN_DAY
static DateFormat.FieldMONTH
static DateFormat.FieldRFC822_TIME_ZONE
static DateFormat.FieldSECOND
static DateFormat.FieldTIME_ZONE
static DateFormat.FieldWEEK_OF_MONTH
static DateFormat.FieldWEEK_OF_YEAR
static DateFormat.FieldYEAR
Constructor Summary
protected Field(String name, int calendarField)
Method Summary
intgetCalendarField()
static DateFormat.FieldofCalendarField(int calendarField)
protected ObjectreadResolve()

Field Detail

AM_PM

public static final DateFormat.Field AM_PM

DAY_OF_MONTH

public static final DateFormat.Field DAY_OF_MONTH

DAY_OF_WEEK

public static final DateFormat.Field DAY_OF_WEEK

DAY_OF_WEEK_IN_MONTH

public static final DateFormat.Field DAY_OF_WEEK_IN_MONTH

DAY_OF_YEAR

public static final DateFormat.Field DAY_OF_YEAR

ERA

public static final DateFormat.Field ERA

EXTENDED_YEAR

public static final DateFormat.Field EXTENDED_YEAR

HOUR0

public static final DateFormat.Field HOUR0

HOUR1

public static final DateFormat.Field HOUR1

HOUR_OF_DAY0

public static final DateFormat.Field HOUR_OF_DAY0

HOUR_OF_DAY1

public static final DateFormat.Field HOUR_OF_DAY1

ISO_YEAR

public static final DateFormat.Field ISO_YEAR

LOCALIZED_DAY_OF_WEEK

public static final DateFormat.Field LOCALIZED_DAY_OF_WEEK

MILLISECOND

public static final DateFormat.Field MILLISECOND

MILLISECOND_IN_DAY

public static final DateFormat.Field MILLISECOND_IN_DAY

MINUTE

public static final DateFormat.Field MINUTE

MODIFIED_JULIAN_DAY

public static final DateFormat.Field MODIFIED_JULIAN_DAY

MONTH

public static final DateFormat.Field MONTH

RFC822_TIME_ZONE

public static final DateFormat.Field RFC822_TIME_ZONE

SECOND

public static final DateFormat.Field SECOND

TIME_ZONE

public static final DateFormat.Field TIME_ZONE

WEEK_OF_MONTH

public static final DateFormat.Field WEEK_OF_MONTH

WEEK_OF_YEAR

public static final DateFormat.Field WEEK_OF_YEAR

YEAR

public static final DateFormat.Field YEAR

Constructor Detail

Field

protected Field(String name, int calendarField)

Method Detail

getCalendarField

public int getCalendarField()

ofCalendarField

public static DateFormat.Field ofCalendarField(int calendarField)

readResolve

protected Object readResolve()