utc-0.1.0.1: A pragmatic time and date library.

Safe HaskellSafe-Inferred
LanguageHaskell98

Data.UTC.Type.DateTime

Contents

Synopsis

Type

data DateTime Source

A time representation based on a Date and the Time of the day.

  • The type uses multiprecision integers internally and is able to represent any UTC date in the past and in the future with arbitrary precision (apart from the time span within a leap second).
  • The instances of IsString and Show are only meant for debugging purposes and default to epoch in case of failure. Don't rely on their behaviour!

Constructors

DateTime 

Fields

date :: Date
 
time :: Time