chronos-1.1.5: A high-performance time library
Safe HaskellSafe-Inferred
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 Source #

Lowercase "am"/"pm".

lowerDots :: MeridiemLocale Text Source #

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

upperDots :: MeridiemLocale Text Source #

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

abbreviated :: MonthMatch Text Source #

Abbreviated Months of the year.

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

unabbreviated :: MonthMatch Text Source #

Unabbreviated Months of the year.

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