Data.Time.Calendar.Month
An absolute count of common calendar months.
Documentation
An absolute count of common calendar months.
Number is equal to (year * 12) + (monthOfYear - 1)
.
Instances
pattern YearMonth :: Year -> MonthOfYear -> Month Source #
Bidirectional abstract constructor. Invalid months of year will be clipped to the correct range.
fromYearMonthValid :: Year -> MonthOfYear -> Maybe Month Source #
pattern MonthDay :: Month -> DayOfMonth -> Day Source #
Bidirectional abstract constructor. Invalid days of month will be clipped to the correct range.
fromMonthDayValid :: Month -> DayOfMonth -> Maybe Day Source #