Idris2Doc : IotaTime.Locale

IotaTime.Locale

(source)

Definitions

recordLocale : Type
  Locale data used by Gregorian date and local-time patterns.

Values are acquired from the operating system or supplied by the built-in
locales. The representation is hidden so all name tables retain their sizes.

Totality: total
Visibility: export
Constructor: 
MkLocale : String->Vect12String->Vect12String->Vect7String->Vect7String->String->String->String->String->String->Locale

Projections:
.storedAmName : Locale->String
.storedDayNames : Locale->Vect7String
.storedDayNamesShort : Locale->Vect7String
.storedLocaleId : Locale->String
.storedMonthNames : Locale->Vect12String
.storedMonthNamesShort : Locale->Vect12String
.storedPmName : Locale->String
.storedRawDateFormat : Locale->String
.storedRawDateTimeFormat : Locale->String
.storedRawTimeFormat : Locale->String

Hints:
EqLocale
ShowLocale
localeId : Locale->String
  The operating-system identifier or stable identifier of a locale.

Totality: total
Visibility: public export
monthNames : Locale->Vect12String
  Full Gregorian month names ordered January through December.

Totality: total
Visibility: public export
monthNamesShort : Locale->Vect12String
  Abbreviated Gregorian month names ordered January through December.

Totality: total
Visibility: public export
dayNames : Locale->Vect7String
  Full weekday names ordered Sunday through Saturday.

Totality: total
Visibility: public export
dayNamesShort : Locale->Vect7String
  Abbreviated weekday names ordered Sunday through Saturday.

Totality: total
Visibility: public export
amName : Locale->String
  The locale's ante-meridiem designator, which may be empty.

Totality: total
Visibility: public export
pmName : Locale->String
  The locale's post-meridiem designator, which may be empty.

Totality: total
Visibility: public export
rawDateFormat : Locale->String
Totality: total
Visibility: export
rawTimeFormat : Locale->String
Totality: total
Visibility: export
rawDateTimeFormat : Locale->String
Totality: total
Visibility: export
dataLocaleError : Type
  A failure to acquire locale data from the operating system.

Totality: total
Visibility: public export
Constructors:
LocaleNotFound : String->LocaleError
LocalePlatformError : String->LocaleError

Hints:
EqLocaleError
ShowLocaleError
localeByName : String->IO (EitherLocaleErrorLocale)
  Read a named locale from the operating system locale database.

Totality: total
Visibility: public export
currentLocale : IO (EitherLocaleErrorLocale)
  Read the locale selected by LC_ALL, LC_TIME, or LANG.

Totality: total
Visibility: public export
enUS : Locale
  Built-in United States English locale data.

Totality: total
Visibility: public export
deDE : Locale
  Built-in German locale data for Germany.

Totality: total
Visibility: public export
jaJP : Locale
  Built-in Japanese locale data for Japan.

Totality: total
Visibility: public export