Data.Time.Calendar.MonthDay.Compat

time-compat-1.9.6.1: Compatibility package for time

Safe Haskell | Trustworthy
Language | Haskell2010

Data.Time.Calendar.MonthDay.Compat

# Documentation

type MonthOfYear = Int #

type DayOfMonth = Int #

type DayOfYear = Int #

monthAndDayToDayOfYear :: Bool -> MonthOfYear -> DayOfMonth -> DayOfYear #

monthAndDayToDayOfYearValid :: Bool -> MonthOfYear -> DayOfMonth -> Maybe DayOfYear #

dayOfYearToMonthAndDay :: Bool -> DayOfYear -> (MonthOfYear, DayOfMonth) #

monthLength :: Bool -> MonthOfYear -> DayOfMonth #