Cldr.DateTime.Compiler.compile
You're seeing just the function
compile
, go back to Cldr.DateTime.Compiler module for more information.
Specs
compile(String.t(), module(), module()) :: {:ok, Cldr.Calendar.calendar()} | {:error, String.t()}
Parse a number format definition
Arguments
format_string
is a string defining how a date/time/datetime is to be formatted. SeeCldr.DateTime.Formatter
for the list of supported format symbols.
Returns
Returns a list of function bodies which are grafted onto
a function head in Cldr.DateTime.Formatter
at compile time
to produce a series of functions that process a given format
string efficiently.