Module icu_datetime::input

source ยท
Expand description

A collection of utilities for representing and working with dates as an input to formatting operations.

Structsยง

  • DayOfMonth ๐Ÿ”’
    A day number in a month. Usually 1-based.
  • DayOfWeekInMonth ๐Ÿ”’
    A day of week in month. 1-based.
  • DayOfYearInfo ๐Ÿ”’
    A struct containing various details about the position of the day within a year. It is returned
  • A DateTimeInput type with all of the fields pre-extracted
  • A TimeZoneInput type with all of the fields pre-extracted
  • FormattableMonth ๐Ÿ”’
    Representation of a formattable month.
  • FormattableYear ๐Ÿ”’
    Representation of a formattable year.
  • IsoHour ๐Ÿ”’
    An ISO-8601 hour component, for use with ISO calendars.
  • IsoMinute ๐Ÿ”’
    An ISO-8601 minute component, for use with ISO calendars.
  • IsoSecond ๐Ÿ”’
    An ISO-8601 second component, for use with ISO calendars.
  • NanoSecond ๐Ÿ”’
    A fractional second component, stored as nanoseconds.
  • Time ๐Ÿ”’
    A representation of a time in hours, minutes, seconds, and nanoseconds
  • WeekOfMonth ๐Ÿ”’
    A week number in a month. Usually 1-based.
  • WeekOfYear ๐Ÿ”’
    A week number in a year. Usually 1-based.

Enumsยง

Traitsยง

  • Representation of a formattable calendar date. Supports dates in any calendar system that uses solar days indexed by an era, year, month, and day.
  • A combination of a formattable calendar date and ISO time.
  • Representation of a time of day according to ISO-8601 conventions. Always indexed from midnight, regardless of calendar system.
  • A formattable calendar date and ISO time that takes the locale into account.
  • Representation of a formattable time zone.