API Reference Cldr Dates & Times v#2.25.1
View SourceModules
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.
Implements best match for a requested skeleton to an available format ID.
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.
Exception raised when an attempt is made to get the territory for a time zone and it has none - like "UTC"
Functions to support the string formatting of relative date/time/datetime numbers.
Functions to format IANA time zone IDs,
including the time zone field of a DateTime.t/0.
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.
Exception raised when an attempt is made to use a time zone that is not known.