Module icu_calendar::types

source ·
Expand description

This module contains various types used by icu_calendar and icu_datetime

Structs

  • 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
  • Representation of a formattable month.
  • Representation of a formattable year.
  • 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
  • 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.

Enums

  • A weekday in a 7-day week, according to ISO-8601.