Skip to main content
Module types
icu_
time
2.1.1
Module types
Module Items
Macros
Structs
Constants
In crate icu_
time
icu_time
Module
types
Copy item path
Source
Macros
§
dt_unit
🔒
This macro defines a struct for 0-based date fields: hours, minutes, seconds and fractional seconds. Each unit is bounded by a range. The traits implemented here will return a Result on whether or not the unit is in range from the given input.
Structs
§
Date
Time
A date and time for a given calendar.
Hour
An ISO-8601 hour component, for use with ISO calendars.
Minute
An ISO-8601 minute component, for use with ISO calendars.
Nanosecond
A fractional second component, stored as nanoseconds.
Second
An ISO-8601 second component, for use with ISO calendars.
Time
A representation of a time in hours, minutes, seconds, and nanoseconds
Zoned
Date
Time
A date and time for a given calendar, local to a specified time zone.
Constants
§
UNIX_
EPOCH
🔒