@@ -0,0 +1,63 @@
1+-----------------------------------------------------------------------------
2+-- |
3+-- Module : Data.Time.LocalTime.TimeZone.Olson
4+-- Copyright : Yitzchak Gale 2010
5+--
6+-- Maintainer : Yitzchak Gale <gale@sefer.org>
7+-- Portability : portable
8+--
9+-- A parser and renderer for binary Olson timezone files whose format
10+-- are specified by the tzfile(5) man page on Unix-like systems. For
11+-- more information about this format, see
12+-- http://www.twinsun.com/tz/tz-link.htm. Functions are provided for
13+-- converting the parsed data into @TimeZoneSeries@ and @TimeZone@
14+-- objects.
15+
16+{-
17+Copyright (c) 2010 Yitzchak Gale. All rights reserved.
18+
19+Redistribution and use in source and binary forms, with or without
20+modification, are permitted provided that the following conditions are
21+met:
22+
23+ * Redistributions of source code must retain the above copyright
24+ notice, this list of conditions and the following disclaimer.
25+
26+ * Redistributions in binary form must reproduce the above
27+ copyright notice, this list of conditions and the following
28+ disclaimer in the documentation and/or other materials provided
29+ with the distribution.
30+
31+ * Neither the name of Yitzchak Gale nor the names of other
32+ contributors may be used to endorse or promote products derived
33+ from this software without specific prior written permission.
34+
35+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
36+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
37+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
38+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
39+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
40+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
41+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
42+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
43+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
44+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
45+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
46+----------------------------------------------------------------------------}
47+
48+module Data.Time.LocalTime.TimeZone.Olson
49+(
50+ -- * Olson timezone datatypes
51+ module Data.Time.LocalTime.TimeZone.Olson.Types,
52+
53+ -- * Parsing Olson timezone files
54+ module Data.Time.LocalTime.TimeZone.Olson.Parse,
55+
56+ -- * Rendering Olson timezone files
57+ module Data.Time.LocalTime.TimeZone.Olson.Render
58+)
59+where
60+
61+import Data.Time.LocalTime.TimeZone.Olson.Types
62+import Data.Time.LocalTime.TimeZone.Olson.Parse
63+import Data.Time.LocalTime.TimeZone.Olson.Render