Cldr Dates & Times v2.4.0 API Reference

Modules

Provides localization and formatting of a Date struct or any map with the keys :year, :month, :day and :calendar.

Provides localization and formatting of a DateTime struct or any map with the keys :year, :month, :day, :calendar, :hour, :minute, :second and optionally :microsecond.

Tokenizes and parses Date, Time and DateTime format strings.

Exception raised when tokenizing a datetime format.

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

Functions that implement the formatting for each specific format symbol.

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

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

Provides localization and formatting of a Time struct or any map with the keys :hour, :minute, :second and optionlly :microsecond.

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