std/time/locale▲toc

Localization of time formats.

.

struct time-localestd/time/locale/time-locale: V(lang-name : stringstd/core/types/string: Vday-names : liststd/core/types/list: V -> V<stringstd/core/types/string: V>month-names : liststd/core/types/list: V -> V<stringstd/core/types/string: V>month-names-short : liststd/core/types/list: V -> V<stringstd/core/types/string: V>day-names-short : liststd/core/types/list: V -> V<stringstd/core/types/string: V>day-names-min : liststd/core/types/list: V -> V<stringstd/core/types/string: V>format-t : stringstd/core/types/string: Vformat-tt : stringstd/core/types/string: Vformat-l : stringstd/core/types/string: Vformat-ll : stringstd/core/types/string: Vformat-lll : stringstd/core/types/string: Vformat-llll : stringstd/core/types/string: V)

The time-localestd/time/locale/time-locale: V describes time and date formats for a specific locale.

Automatically generated. Retrieves the format-l constructor field of the time-localestd/time/locale/time-locale: V type.

Automatically generated. Retrieves the format-ll constructor field of the time-localestd/time/locale/time-locale: V type.

Automatically generated. Retrieves the format-lll constructor field of the time-localestd/time/locale/time-locale: V type.

Automatically generated. Retrieves the format-llll constructor field of the time-localestd/time/locale/time-locale: V type.

Automatically generated. Retrieves the format-t constructor field of the time-localestd/time/locale/time-locale: V type.

Automatically generated. Retrieves the format-tt constructor field of the time-localestd/time/locale/time-locale: V type.

Automatically generated. Retrieves the lang-name constructor field of the time-localestd/time/locale/time-locale: V type.

Return a builtin locale given a locale string (e.g. en-GB, es); Use time-locale-iso if no particular match is found. Supports de,en,es,fr,nl and en-iso.

ISO English time locale (en-iso). Uses English names for months and days but displays numeric dates and times using unambigious ISO format.

private import std/core/typesstd/core/types, std/core/hndstd/core/hnd, std/core/exnstd/core/exn, std/core/boolstd/core/bool, std/core/orderstd/core/order, std/core/charstd/core/char, std/core/intstd/core/int, std/core/vectorstd/core/vector, std/core/stringstd/core/string, std/core/sslicestd/core/sslice, std/core/liststd/core/list, std/core/maybestd/core/maybe, std/core/eitherstd/core/either, std/core/tuplestd/core/tuple, std/core/showstd/core/show, std/core/debugstd/core/debug, std/core/delayedstd/core/delayed, std/core/consolestd/core/console, std/corestd/core