thyme-0.3.5.5: A faster time library

Safe HaskellNone
LanguageHaskell2010

Data.Thyme.LocalTime

Contents

Synopsis

Documentation

Time zones

timeZoneOffsetString :: TimeZone -> String Source

Text representing the offset of this timezone, e.g. "-0800" or "+0400" (like %z in formatTime)

minutesToTimeZone :: Minutes -> TimeZone Source

Create a nameless non-summer timezone for this number of minutes

hoursToTimeZone :: Hours -> TimeZone Source

Create a nameless non-summer timezone for this number of hours

Time of day

type Hour = Int Source

midday :: TimeOfDay Source

Hour twelve

addMinutes :: Minutes -> TimeOfDay -> (Days, TimeOfDay) Source

Add some minutes to a TimeOfDay; result comes with a day adjustment.

Local Time

Zoned Time

Lenses