Module

Data.Date.Component

#Year

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

#Month

#Day

newtype Day

A day component for a date.

The constructor is private as the Day type is bounded to the range 1 to 31, inclusive. The toEnum function can be used to safely acquire a day value from an integer.

Instances

#Weekday

data Weekday

A type representing the days of the week in the Gregorian calendar.

Constructors

Instances

Modules