Module java.base
Package java.text

Class DateFormat.Field

java.lang.Object
All Implemented Interfaces:
Serializable
Enclosing class:
DateFormat

public static class DateFormat.Field extends Format.Field
Defines constants that are used as attribute keys in the AttributedCharacterIterator returned from DateFormat.formatToCharacterIterator and as field identifiers in FieldPosition.

The class also provides two methods to map between its constants and the corresponding Calendar constants.

Since:
1.4
See Also: