Safe Haskell | Safe |
---|---|

Language | Haskell2010 |

- monthAndDayToDayOfYear :: Bool -> Int -> Int -> Int
- monthAndDayToDayOfYearValid :: Bool -> Int -> Int -> Maybe Int
- dayOfYearToMonthAndDay :: Bool -> Int -> (Int, Int)
- monthLength :: Bool -> Int -> Int

# Documentation

monthAndDayToDayOfYear :: Bool -> Int -> Int -> Int Source #

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 Int Source #

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