Module
Data.DateTime.Locale
- Package
- purescript-datetime
- Repository
- purescript/purescript-datetime
#LocaleName Source
newtype LocaleName
The name of a date/time locale. For example: "GMT", "MDT", "CET", etc.
Constructors
Instances
#LocalValue Source
data LocalValue a
A value that is subject to a Locale
.
There are Functor
, Extend
, and Comonad
instances for LocalValue
to
enable the inner non-localised value to be manipulated while maintaining
the locale.
Constructors
Instances
(Eq a) => Eq (LocalValue a)
(Ord a) => Ord (LocalValue a)
(Generic a) => Generic (LocalValue a)
(Show a) => Show (LocalValue a)
Functor LocalValue
Extend LocalValue
Comonad LocalValue
#LocalDate Source
type LocalDate = LocalValue Date
A date value with a locale.
#LocalTime Source
type LocalTime = LocalValue Time
A time value with a locale.
#LocalDateTime Source
type LocalDateTime = LocalValue DateTime
A date/time value with a locale.