Module icu::calendar::types

source ·
Expand description

This module contains various types used by icu_calendar and icu::datetime

Structs§

  • Year information for a year that is specified as a cyclic year
  • A day number in a month. Usually 1-based.
  • A day of week in month. 1-based.
  • A struct containing various details about the position of the day within a year. It is returned
  • The era of a particular date
  • Year information for a year that is specified with an era
  • An ISO-8601 hour component, for use with ISO calendars.
  • An ISO-8601 minute component, for use with ISO calendars.
  • An ISO-8601 second component, for use with ISO calendars.
  • Representation of a month in a year
  • Representation of a formattable month.
  • A fractional second component, stored as nanoseconds.
  • A representation of a time in hours, minutes, seconds, and nanoseconds
  • A week number in a month. Usually 1-based.
  • A week number in a year. Usually 1-based.
  • General information about a year

Enums§

  • Information about the era as usable for formatting
  • A weekday in a 7-day week, according to ISO-8601.
  • Defines whether the era or century is required to interpret the year.
  • The type of year: Calendars like Chinese don’t have an era and instead format with cyclic years.