Hoogle Search
Within LTS Haskell 24.16 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
weekLastDay :: DayOfWeek -> Day -> Daytime-compat Data.Time.Calendar.Compat Returns the last day of a week containing the given Day. Examples:
>>> weekLastDay Sunday (YearMonthDay 2022 02 21) YearMonthDay 2022 2 26
>>> weekLastDay Monday (YearMonthDay 2022 02 21) YearMonthDay 2022 2 27
>>> weekLastDay Tuesday (YearMonthDay 2022 02 21) YearMonthDay 2022 2 21
-
time-compat Data.Time.Calendar.Easter.Compat The next Sunday strictly after a given day.
pattern
JulianYearMonthDay :: Year -> MonthOfYear -> DayOfMonth -> Daytime-compat Data.Time.Calendar.Julian.Compat Bidirectional abstract constructor for the proleptic Julian calendar. Invalid values will be clipped to the correct range, month first, then day.
fromJulianYearAndDay :: Year -> DayOfYear -> Daytime-compat Data.Time.Calendar.Julian.Compat Convert from proleptic Julian year and day format. Invalid day numbers will be clipped to the correct range (1 to 365 or 366).
fromJulianYearAndDayValid :: Year -> DayOfYear -> Maybe Daytime-compat Data.Time.Calendar.Julian.Compat Convert from proleptic Julian year and day format. Invalid day numbers will return Nothing
showJulianYearAndDay :: Day -> Stringtime-compat Data.Time.Calendar.Julian.Compat Show in proleptic Julian year and day format (yyyy-ddd)
toJulianYearAndDay :: Day -> (Year, DayOfYear)time-compat Data.Time.Calendar.Julian.Compat Convert to proleptic Julian year and day format.
pattern
MonthDay :: Month -> DayOfMonth -> Daytime-compat Data.Time.Calendar.Month.Compat Bidirectional abstract constructor. Invalid days of month will be clipped to the correct range.
fromMonthDay :: Month -> DayOfMonth -> Daytime-compat Data.Time.Calendar.Month.Compat Part of MonthDay pattern
fromMonthDayValid :: Month -> DayOfMonth -> Maybe Daytime-compat Data.Time.Calendar.Month.Compat No documentation available.