TimeZone

TimeZone :: Int -> Bool -> String -> TimeZone
time Data.Time.LocalTime
data TimeZone
time Data.Time.LocalTime
A TimeZone is a whole number of minutes offset from UTC, together with a name and a "just for summer" flag.
package timezone-olson
package
A parser and renderer for binary Olson timezone files whose format is specified by the tzfile(5) man page on Unix-like systems. For more information about this format, see http://www.twinsun.com/tz/tz-link.htm. Functions are provided for converting the parsed data into TimeZoneSeries objects from the timezone-series package. On many platforms, binary Olson timezone files suitable for use with this package are available in the directory usrshare/zoneinfo and its subdirectories on your computer. Version 0.1.2
package timezone-series
package
This package endows Data.Time, from the time package, with several data types and functions for enhanced processing of timezones. For one way to create timezone series, see the timezone-olson package. Version 0.1.2
timeZoneMinutes :: TimeZone -> Int
time Data.Time.LocalTime
The number of minutes offset from UTC. Positive means local time will be later in the day than UTC.
timeZoneName :: TimeZone -> String
time Data.Time.LocalTime
The name of the zone, typically a three- or four-letter acronym.
timeZoneOffsetString :: TimeZone -> String
time Data.Time.LocalTime
Text representing the offset of this timezone, such as "-0800" or "+0400" (like %z in formatTime)
timeZoneOffsetString' :: NumericPadOption -> TimeZone -> String
time Data.Time.LocalTime
Text representing the offset of this timezone, such as "-0800" or "+0400" (like %z in formatTime), with arbitrary padding
timeZoneSummerOnly :: TimeZone -> Bool
time Data.Time.LocalTime
Is this time zone just persisting for the summer?
getCurrentTimeZone :: IO TimeZone
time Data.Time.LocalTime
Get the current time-zone
getTimeZone :: UTCTime -> IO TimeZone
time Data.Time.LocalTime
Get the local time-zone for a given time (varying as per summertime adjustments)
hoursToTimeZone :: Int -> TimeZone
time Data.Time.LocalTime
Create a nameless non-summer timezone for this number of hours
minutesToTimeZone :: Int -> TimeZone
time Data.Time.LocalTime
Create a nameless non-summer timezone for this number of minutes
zonedTimeZone :: ZonedTime -> TimeZone
time Data.Time.LocalTime