hodatime-0.2.1.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
LanguageHaskell2010

Data.HodaTime.TimeZone

Contents

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

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 standard format (e.g. "Europe/Paris")