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.

  1. weekLastDay :: DayOfWeek -> Day -> Day

    time-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
    

  2. sundayAfter :: Day -> Day

    time-compat Data.Time.Calendar.Easter.Compat

    The next Sunday strictly after a given day.

  3. pattern JulianYearMonthDay :: Year -> MonthOfYear -> DayOfMonth -> Day

    time-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.

  4. fromJulianYearAndDay :: Year -> DayOfYear -> Day

    time-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).

  5. fromJulianYearAndDayValid :: Year -> DayOfYear -> Maybe Day

    time-compat Data.Time.Calendar.Julian.Compat

    Convert from proleptic Julian year and day format. Invalid day numbers will return Nothing

  6. showJulianYearAndDay :: Day -> String

    time-compat Data.Time.Calendar.Julian.Compat

    Show in proleptic Julian year and day format (yyyy-ddd)

  7. toJulianYearAndDay :: Day -> (Year, DayOfYear)

    time-compat Data.Time.Calendar.Julian.Compat

    Convert to proleptic Julian year and day format.

  8. pattern MonthDay :: Month -> DayOfMonth -> Day

    time-compat Data.Time.Calendar.Month.Compat

    Bidirectional abstract constructor. Invalid days of month will be clipped to the correct range.

  9. fromMonthDay :: Month -> DayOfMonth -> Day

    time-compat Data.Time.Calendar.Month.Compat

    Part of MonthDay pattern

  10. fromMonthDayValid :: Month -> DayOfMonth -> Maybe Day

    time-compat Data.Time.Calendar.Month.Compat

    No documentation available.

Page 13 of many | Previous | Next