On this page
Data.Time.Calendar.Month
Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Description
An absolute count of common calendar months.
An absolute count of common calendar months. Number is equal to (year * 12) + (monthOfYear - 1)
.
Instances
addMonths :: Integer -> Month -> Month Source
diffMonths :: Month -> Month -> Integer Source
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
© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/9.4.2/docs/libraries/time-1.12.2/Data-Time-Calendar-Month.html