convertible-1.1.1.1: Typeclasses and instances for converting between types
CopyrightCopyright (C) 2009-2011 John Goerzen
LicenseBSD3
MaintainerJohn Goerzen <jgoerzen@complete.org>
Stabilityprovisional
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Convertible.Instances.Time

Description

Instances to convert between various time structures, both old- and new-style.

At present, this module does not do full input validation. That is, it is possible to get an exception rather than a Left result from these functions if your input is invalid, particularly when converting from the old-style System.Time structures.

Copyright (C) 2009-2011 John Goerzen jgoerzen@complete.org

All rights reserved.

For license and copyright information, see the file LICENSE

Orphan instances

Convertible Double CTime Source # 
Instance details

Convertible Double TimeDiff Source # 
Instance details

Convertible Double UTCTime Source # 
Instance details

Convertible Double POSIXTime Source # 
Instance details

Convertible Int CTime Source # 
Instance details

Convertible Int UTCTime Source # 
Instance details

Convertible Int POSIXTime Source # 
Instance details

Convertible Integer CTime Source # 
Instance details

Convertible Integer ClockTime Source # 
Instance details

Convertible Integer TimeDiff Source # 
Instance details

Convertible Integer UTCTime Source # 
Instance details

Convertible Integer POSIXTime Source # 
Instance details

Convertible Rational UTCTime Source # 
Instance details

Convertible Rational POSIXTime Source # 
Instance details

Convertible CTime Double Source # 
Instance details

Convertible CTime Int Source # 
Instance details

Convertible CTime Integer Source # 
Instance details

Convertible CTime ClockTime Source # 
Instance details

Convertible CTime CalendarTime Source # 
Instance details

Convertible CTime ZonedTime Source # 
Instance details

Convertible CTime UTCTime Source # 
Instance details

Convertible CTime POSIXTime Source # 
Instance details

Convertible ClockTime Integer Source # 
Instance details

Convertible ClockTime CTime Source # 
Instance details

Convertible ClockTime CalendarTime Source # 
Instance details

Convertible ClockTime ZonedTime Source # 
Instance details

Convertible ClockTime UTCTime Source # 
Instance details

Convertible ClockTime POSIXTime Source # 
Instance details

Convertible CalendarTime CTime Source # 
Instance details

Convertible CalendarTime ClockTime Source # 
Instance details

Convertible CalendarTime ZonedTime Source # 
Instance details

Convertible CalendarTime UTCTime Source # 
Instance details

Convertible CalendarTime POSIXTime Source # 
Instance details

Convertible TimeDiff Double Source # 
Instance details

Convertible TimeDiff Integer Source # 
Instance details

Convertible TimeDiff Rational Source # 
Instance details

Convertible TimeDiff NominalDiffTime Source # 
Instance details

Convertible ZonedTime CTime Source # 
Instance details

Convertible ZonedTime ClockTime Source # 
Instance details

Convertible ZonedTime CalendarTime Source # 
Instance details

Convertible ZonedTime UTCTime Source # 
Instance details

Convertible ZonedTime POSIXTime Source # 
Instance details

Convertible UTCTime Double Source # 
Instance details

Convertible UTCTime Int Source # 
Instance details

Convertible UTCTime Integer Source # 
Instance details

Convertible UTCTime Rational Source # 
Instance details

Convertible UTCTime CTime Source # 
Instance details

Convertible UTCTime ClockTime Source # 
Instance details

Convertible UTCTime CalendarTime Source # 
Instance details

Convertible UTCTime ZonedTime Source # 
Instance details

Convertible UTCTime POSIXTime Source # 
Instance details

Convertible POSIXTime Double Source # 
Instance details

Convertible POSIXTime Int Source # 
Instance details

Convertible POSIXTime Integer Source # 
Instance details

Convertible POSIXTime Rational Source # 
Instance details

Convertible POSIXTime CTime Source # 
Instance details

Convertible POSIXTime ClockTime Source # 
Instance details

Convertible POSIXTime CalendarTime Source # 
Instance details

Convertible POSIXTime ZonedTime Source # 
Instance details

Convertible POSIXTime UTCTime Source # 
Instance details

Convertible NominalDiffTime TimeDiff Source # 
Instance details