Module
Data.Date.Component
- Package
- purescript-datetime
- Repository
- purescript/purescript-datetime
#Year Source
newtype Year
A year component for a date.
The constructor is private as the Year
type is bounded to the range
-271820 to 275759, inclusive. The toEnum
function can be used to safely
acquire a year value from an integer.
Instances
- Modules
- Data.
Date - Data.
Date. Component - Data.
Date. Component. Gen - Data.
Date. Gen - Data.
DateTime - Data.
DateTime. Gen - Data.
DateTime. Instant - Data.
DateTime. Locale - Data.
Interval - Data.
Interval. Duration - Data.
Interval. Duration. Iso - Data.
Time - Data.
Time. Component - Data.
Time. Component. Gen - Data.
Time. Duration - Data.
Time. Duration. Gen - Data.
Time. Gen