Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
- lower :: MeridiemLocale Text
- upper :: MeridiemLocale Text
- lowerDots :: MeridiemLocale Text
- upperDots :: MeridiemLocale Text
- abbreviated :: MonthMatch Text
- unabbreviated :: MonthMatch Text
Documentation
lower :: MeridiemLocale Text #
Lowercase "am"/"pm".
upper :: MeridiemLocale Text #
lowerDots :: MeridiemLocale Text #
Lowercase "a.m."/"p.m."
upperDots :: MeridiemLocale Text #
Uppercase "A.M."/"P.M."
abbreviated :: MonthMatch Text #
Abbreviated Month
s of the year.
>>>
caseMonth abbreviated october
"Oct"
>>>
caseMonth abbreviated august
"Aug"
unabbreviated :: MonthMatch Text #
Unabbreviated Month
s of the year.
>>>
caseMonth unabbreviated january
"January"
>>>
caseMonth unabbreviated december
"December"