time-lens-0.1: Lens-based interface to Data.Time data structures

Safe HaskellSafe-Infered

Data.Time.Lens

Contents

Synopsis

Time

Date

Time zone

Re-exports from Data.Time

data Day

The Modified Julian Day is a standard count of days, with zero being the day 1858-11-17.

data TimeOfDay

Time of day as represented in hour, minute and second (with picoseconds), typically used to express local time of day.

data LocalTime

A simple day and time aggregate, where the day is of the specified parameter, and the time is a TimeOfDay. Conversion of this (as local civil time) to UTC depends on the time zone. Conversion of this (as local mean time) to UT1 depends on the longitude.

Re-exports from Data.Lens.Common

data Lens a b

getL :: Lens a b -> a -> b

Gets the getter function from a lens.