timezone-olson-th-0.1.0.0: Load TimeZoneSeries from an Olson file at compile time.

Safe HaskellNone
LanguageHaskell2010

Data.Time.LocalTime.TimeZone.Olson.TH

Description

Load TimeZoneSeries from an Olson file at compile time.

For example:

myTimeZoneSeries :: TimeZoneSeries
myTimeZoneSeries = $(loadTZFile "/usr/share/zoneinfo/Europe/Stockholm")

Synopsis

Documentation

loadTZFile Source

Arguments

:: FilePath

Path to the Olson file.

-> Q Exp 

Make a splice of a TimeZoneSeries from an Olson file.