utc-0.1.0.1: A pragmatic time and date library.

Safe HaskellSafe-Inferred
LanguageHaskell98

Data.UTC.Type.Date

Synopsis

Documentation

data Date Source

This type represents dates in the Proleptic Gregorian Calendar.

  • It can represent any date in the past and in the future by using Integer internally.
  • The internal structure is not exposed to avoid the construction of invalid values. Use epoch or a parser to construct values.
  • The instance of Show is only meant for debugging purposes and is subject to change.