View Source API Reference Cldr Dates & Times v2.20.3

Modules

Provides localization and formatting of a Date.t/0 struct or any map with one or more of the keys :year, :month, :day and optionally :calendar.

Interval formats allow for software to format intervals like "Jan 10-12, 2008" as a shorter and more natural format than "Jan 10, 2008 - Jan 12, 2008". They are designed to take a start and end date, time or datetime plus a formatting pattern and use that information to produce a localized format.

Provides localization and formatting of a datetime.

Exception raised when tokenizing a datetime format.

Exception raised when the first datetime in an interval is greater than the last datetime.

Manages the Date, Time and DateTime formats defined by CLDR.

Tokenizes and parses Date, Time and DateTime format strings.

Exception raised when attempting to format a date or time which does not have the data available to fulfill the format.

Functions that implement the formatting for each specific format symbol.

Exception raised when the two datetimes are in different time zones

Interval formats allow for software to format intervals like "Jan 10-12, 2008" as a shorter and more natural format than "Jan 10, 2008 - Jan 12, 2008". They are designed to take a start and end date, time or datetime plus a formatting pattern and use that information to produce a localized format.

Exception raised when attempting to compile an interval format.

Exception raised when formatting and there is no data for the given format.

Functions to support the string formatting of relative time/datetime numbers.

Exception raised when an attempt is made to use a time unit that is not known. in Cldr.DateTime.Relative.

Exception raised when formatting and there is no data for the given format.

Interval formats allow for software to format intervals like "Jan 10-12, 2008" as a shorter and more natural format than "Jan 10, 2008 - Jan 12, 2008". They are designed to take a start and end date, time or datetime plus a formatting pattern and use that information to produce a localized format.

Provides localization and formatting of a time.

Interval formats allow for software to format intervals like "Jan 10-12, 2008" as a shorter and more natural format than "Jan 10, 2008 - Jan 12, 2008". They are designed to take a start and end date, time or datetime plus a formatting pattern and use that information to produce a localized format.