Cldr Dates & Times v2.0.2 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.

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.

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

Exceptions

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