Safe Haskell | None |
---|---|
Language | Haskell2010 |
to get timezone-series data, see timezone-olson
see also timezone-series
for complete example with olson, see Test.TestZone in this package
import Data.Time.LocalTime.TimeZone.Olson -- see man tzfile for common olson file locations getTimeZoneSeriesFromOlsonFile "/usr/share/zoneinfo/Chile/Continental" >>= \(chile1::TimeZoneSeries) -> ...
- class ToTimeZone a b where
Documentation
class ToTimeZone a b where Source #
convert a to b in specified TimeZone
toTimeZone :: TimeZoneSeries -> a -> b Source #