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

#Day Source

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 Source

data Weekday

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

Constructors

Instances