HORIZON HASKELLDocslts/ghc-10.0.xc7d136e2026-10-12Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · c7d136e · 2026-10-12

Moduletime-compat-1.9.9

Data.Time.Calendar.Month.Compat

  • 1 type
  • 8 values
patternpattern MonthDay :: Month -> DayOfMonth -> Day
#

Bidirectional abstract constructor. Invalid days of month will be clipped to the correct range.

patternpattern YearMonth :: Year -> MonthOfYear -> Month
#

Bidirectional abstract constructor. Invalid months of year will be clipped to the correct range.

newtypenewtype Month
#

An absolute count of common calendar months. Number is equal to (year * 12) + (monthOfYear - 1).

Constructors

Instances15Enum, Eq, Data, Ord, Read, Show, …