Crate icu_calendar
source · [−]Expand description
The icu_calendar
crate contains the core types used by ICU4X for dealing
with dates, times, and custom calendars.
The types
module has a lot of common types for dealing with dates and times.
Calendar
is a trait that allows one to define custom calendars, and Date
can represent dates for arbitrary calendars.
The iso
and gregorian
modules contain implementations for the ISO and
Gregorian calendars respectively.
Re-exports
Modules
Miscellaneous helper functions.
This module contains types and implementations for the Buddhist calendar
This module contains types and implementations for the Gregorian calendar
This module contains types and implementations for the ISO calendar
This module contains types and implementations for the Japanese calendar
This module contains types and implementations for the Julian calendar
Data provider struct definitions for this ICU4X component.
This module contains various types used by icu_calendar
and icu_datetime
Structs
A date for a given calendar
A duration between two dates
A date+time for a given calendar
Enums
A “duration unit” used to specify the minimum or maximum duration of time to care about
A list of possible error outcomes for working with various inputs to DateTime inputs and operations.
Traits
Types that contain a calendar
A calendar implementation