hodatime-0.2.2.1: A fully featured date/time library based on Nodatime
Copyright(C) 2017 Jason Johnson
LicenseBSD-style (see the file LICENSE)
MaintainerJason Johnson <jason.johnson.081@gmail.com>
Stabilityexperimental
PortabilityPOSIX, Windows
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.HodaTime.TimeZone

Description

This module deals with loading TimeZone information with which to construct ZonedDateTimes.

Synopsis

Types

data TimeZone Source #

Represents a time zone. A TimeZone can be used to instanciate a ZoneDateTime from either and Instant or a CalendarDateTime

Instances

Instances details
Show TimeZone Source # 
Instance details

Defined in Data.HodaTime.TimeZone.Internal

Eq TimeZone Source # 
Instance details

Defined in Data.HodaTime.TimeZone.Internal

Constructors

utc :: IO TimeZone Source #

Load the UTC time zone

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