HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Modulethyme-0.4.1Haskell2010

Data.Thyme.Calendar.WeekDate

Various Week Date formats

Contents
  1. ISO 8601 Week Date
  2. Weeks starting Sunday
  3. Weeks starting Monday
Synopsis
  • Packagethyme-0.4.1
  • Exports25
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceWeekDate.hs

ISO 8601 Week Date

datadata WeekDate

ISO 8601 Week Date.

Note that week 01 is defined as the week with the first Thursday, thus wdYear may differ from the Gregorian year between December 29th and January 3rd.

Constructors

Instances19Bounded, Eq, Data, Ord, Show, Generic, …

Weeks starting Sunday

datadata SundayWeek

Week-based calendar date with the first Sunday of the year as the first day of week 01. This corresponds to %U and %w of strftime(3).

The final week of a given year and week 00 of the next both refer to the same week.

Constructors

Instances19Bounded, Eq, Data, Ord, Show, Generic, …

Weeks starting Monday

datadata MondayWeek

Week-based calendar date with the first Monday of the year as the first day of week 01. This corresponds to %W and %u of strftime(3).

The final week of a given year and week 00 of the next both refer to the same week.

Constructors

Instances19Bounded, Eq, Data, Ord, Show, Generic, …

Orphan instances

12 instances