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ยง
- CalendarError ๐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.