Expand description
Enums representing the fields in a date pattern, including the field’s type, length and symbol.
Structs§
- DayPeriodULE
ULE
type for DayPeriod- DayULE
ULE
type for Day- Field
- A field within a date pattern string, also referred to as a date field. A date field is the repetition of a specific pattern character one or more times within the pattern string. The pattern character is known as the field symbol, which indicates the particular meaning for the field.
- Field
SymbolULE ULE
type forFieldSymbol
- FieldULE
ULE
type forField
- HourULE
ULE
type for Hour- MonthULE
ULE
type for Month- SecondULE
ULE
type for Second- Time
ZoneULE ULE
type for TimeZone- WeekULE
ULE
type for Week- WeekdayULE
ULE
type for Weekday- YearULE
ULE
type for Year
Enums§
- Day
- An enum for the possible symbols of a day field in a date pattern.
- DayPeriod
- An enum for the possible symbols of a day period field in a date pattern.
- Error
- An error relating to the field for a date pattern field as a whole.
- Field
Length - An enum representing the length of a field within a date or time formatting pattern string,
in which the pattern field is represented as a letter occurring 1 or more times in a row, ex:
MMM
,dd
,y
. See the LDML documentation in UTS 35 for more details. - Field
Numeric Overrides - Various numeric overrides for datetime patterns as found in CLDR
- Field
Symbol - A field symbol for a date formatting pattern. Field symbols are a more granular distinction
for a pattern field within the category of a field type. Examples of field types are:
Year
,Month
,Hour
. Within theHour
field type, examples of field symbols are:Hour::H12
,Hour::H24
. Each field symbol is represented within the date formatting pattern string by a distinct character from the set ofA..Z
anda..z
. - Hour
- An enum for the possible symbols of an hour field in a date pattern.
- Length
Error - An error relating to the length of a field within a date pattern.
- Month
- An enum for the possible symbols of a month field in a date pattern.
- Second
- An enum for the possible symbols of a second field in a date pattern.
- Symbol
Error - An error relating to the field symbol for a date pattern field.
- Time
Zone - An enum for the possible symbols of a time zone field in a date pattern.
- Week
- An enum for the possible symbols of a week field in a date pattern.
- Weekday
- An enum for the possible symbols of a weekday field in a date pattern.
- Year
- An enum for the possible symbols of a year field in a date pattern.