Copyright | (C) 2016 Jason Johnson |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Jason Johnson <jason.johnson.081@gmail.com> |
Stability | experimental |
Portability | TBD |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
An Instant
is universal fixed moment in time.
Types
Represents a point on a global time line. An Instant has no concept of time zone or calendar. It is nothing more than the number of nanoseconds since epoch (1.March.2000)
Constructors
Math
Conversion
inTimeZone :: IsCalendarDateTime cal => Instant -> TimeZone -> ZonedDateTime cal Source #
Convert Instant
to a ZonedDateTime
in the specified time zone. The calendar must be derivable or specified in the type explicitly