Module icu_datetime::input
source ยท Expand description
A collection of utilities for representing and working with dates as an input to formatting operations.
Structsยง
- DayOf
Month ๐A day number in a month. Usually 1-based. - DayOf
Week ๐InMonth A day of week in month. 1-based. - DayOf
Year ๐Info 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 - Formattable
Month ๐Representation of a formattable month. - Formattable
Year ๐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.
- Nano
Second ๐A fractional second component, stored as nanoseconds. - Time ๐A representation of a time in hours, minutes, seconds, and nanoseconds
- Week
OfMonth ๐A week number in a month. Usually 1-based. - Week
OfYear ๐A week number in a year. Usually 1-based.
Enumsยง
- Calendar
Error ๐A list of error outcomes for various operations in this module. - IsoWeekday ๐A weekday in a 7-day week, according to ISO-8601.
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.