Module icu::calendar[][src]

Expand description

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.

Modules

Miscellaneous helper functions.

This module contains types and implementations for the Gregorian calendar

This module contains types and implementations for the ISO calendar

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

The Gregorian Calendar

The ISO 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