chronos-1.0.7: A performant time library

Safe HaskellNone
LanguageHaskell2010

Chronos.Locale.English

Description

This module provides some english locale helpers. It is very incomplete. Please send a pull request to https://github.com/andrewthad/chronos if you need additions to this API.

Synopsis

Documentation

lower :: MeridiemLocale Text #

Lowercase "am"/"pm".

upper :: MeridiemLocale Text #

Uppercase AM/PM.

lowerDots :: MeridiemLocale Text #

Lowercase "a.m."/"p.m."

upperDots :: MeridiemLocale Text #

Uppercase "A.M."/"P.M."

abbreviated :: MonthMatch Text #

Abbreviated Months of the year.

>>> caseMonth abbreviated october
"Oct"
>>> caseMonth abbreviated august
"Aug"

unabbreviated :: MonthMatch Text #

Unabbreviated Months of the year.

>>> caseMonth unabbreviated january
"January"
>>> caseMonth unabbreviated december
"December"