Module icu_datetime::fields

source ·
Expand description

Enums representing the fields in a date pattern, including the field’s type, length and symbol.

Modules§

Structs§

Enums§

  • An enum for the possible symbols of a day field in a date pattern.
  • An enum for the possible symbols of a day period field in a date pattern.
  • An error relating to the field for a date pattern field as a whole.
  • 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.
  • Various numeric overrides for datetime patterns as found in CLDR
  • 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 the Hour 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 of A..Z and a..z.
  • An enum for the possible symbols of an hour field in a date pattern.
  • An error relating to the length of a field within a date pattern.
  • An enum for the possible symbols of a month field in a date pattern.
  • An enum for the possible symbols of a second field in a date pattern.
  • An error relating to the field symbol for a date pattern field.
  • An enum for the possible symbols of a time zone field in a date pattern.
  • An enum for the possible symbols of a week field in a date pattern.
  • An enum for the possible symbols of a weekday field in a date pattern.
  • An enum for the possible symbols of a year field in a date pattern.