Copyright | (C) 2017 Jason Johnson |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Jason Johnson <jason.johnson.081@gmail.com> |
Stability | experimental |
Portability | POSIX, Windows |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
This module deals with loading TimeZone information with which to construct ZonedDateTimes.
Types
Represents a time zone. A TimeZone
can be used to instanciate a ZoneDateTime
from either and Instant
or a CalendarDateTime
Constructors
localZone :: IO TimeZone Source #
Load the locally configured time zone (operating system configuration dependant)
timeZone :: String -> IO TimeZone Source #
Load the specified time zone. The time zone name should be in the format returned by availableZones
availableZones :: IO [String] Source #
List all time zones available to hodatime