time-1.3: A time library

Data.Time.Calendar.MonthDay

Synopsis

Documentation

monthAndDayToDayOfYear :: Bool -> Int -> Int -> IntSource

convert month and day in the Gregorian or Julian calendars to day of year. First arg is leap year flag

monthAndDayToDayOfYearValid :: Bool -> Int -> Int -> Maybe IntSource

convert month and day in the Gregorian or Julian calendars to day of year. First arg is leap year flag

dayOfYearToMonthAndDay :: Bool -> Int -> (Int, Int)Source

convert day of year in the Gregorian or Julian calendars to month and day. First arg is leap year flag

monthLength :: Bool -> Int -> IntSource

the length of a given month in the Gregorian or Julian calendars. First arg is leap year flag