time-compat-1.9.3: Compatibility package for time

Safe Haskell | Trustworthy
Language | Haskell2010

Data.Time.Calendar.OrdinalDate.Compat

# Documentation

toOrdinalDate :: Day -> (Integer, Int) #

fromOrdinalDate :: Integer -> Int -> Day #

fromOrdinalDateValid :: Integer -> Int -> Maybe Day #

showOrdinalDate :: Day -> String #

isLeapYear :: Integer -> Bool #

mondayStartWeek :: Day -> (Int, Int) #

sundayStartWeek :: Day -> (Int, Int) #

fromMondayStartWeek :: Integer -> Int -> Int -> Day #

fromMondayStartWeekValid :: Integer -> Int -> Int -> Maybe Day #

fromSundayStartWeek :: Integer -> Int -> Int -> Day #

fromSundayStartWeekValid :: Integer -> Int -> Int -> Maybe Day #