Data.Time.Calendar.Julian.Compat

time-compat-1.9.6.1: Compatibility package for time

Safe Haskell | Trustworthy
Language | Haskell2010

Data.Time.Calendar.Julian.Compat

# Documentation

type Year = Integer #

type MonthOfYear = Int #

type DayOfMonth = Int #

type DayOfYear = Int #

toJulianYearAndDay :: Day -> (Year, DayOfYear) #

fromJulianYearAndDay :: Year -> DayOfYear -> Day #

fromJulianYearAndDayValid :: Year -> DayOfYear -> Maybe Day #

showJulianYearAndDay :: Day -> String #

isJulianLeapYear :: Year -> Bool #

toJulian :: Day -> (Year, MonthOfYear, DayOfMonth) #

fromJulian :: Year -> MonthOfYear -> DayOfMonth -> Day #

pattern JulianYearMonthDay :: Year -> MonthOfYear -> DayOfMonth -> Day #

fromJulianValid :: Year -> MonthOfYear -> DayOfMonth -> Maybe Day #

showJulian :: Day -> String #

julianMonthLength :: Year -> MonthOfYear -> DayOfMonth #

addJulianMonthsClip :: Integer -> Day -> Day #

addJulianMonthsRollOver :: Integer -> Day -> Day #

addJulianYearsClip :: Integer -> Day -> Day #

addJulianYearsRollOver :: Integer -> Day -> Day #

addJulianDurationClip :: CalendarDiffDays -> Day -> Day #

addJulianDurationRollOver :: CalendarDiffDays -> Day -> Day #

diffJulianDurationClip :: Day -> Day -> CalendarDiffDays #

diffJulianDurationRollOver :: Day -> Day -> CalendarDiffDays #