packages feed

timezone-olson 0.1.4 → 0.1.6

raw patch · 2 files changed

+22/−14 lines, 2 files

Files

Data/Time/LocalTime/TimeZone/Olson/Types.hs view
@@ -41,17 +41,25 @@  -- | @OlsonData@ represents a full set of timezone data for a location. ----- @OlsonData@ can represent timezone data from files in Version 1 format--- or Version 2 format. Version 1 format files can only contain timestamp--- values that can be represented in less than 32 bits, and cannot contain--- a POSIX TZ string.+-- @OlsonData@ can represent timezone data from files in Version 1, 2,+-- or 3 format. ----- In a Version 2 format file, the timezone data is split into two parts.--- The first part contains timezone data for which all timestamp values--- can be represented in less than 32 bits, and the second part contains--- timezone data for which 32 bits or more are required to represent--- timestamp values. The POSIX TZ string, if present, can only be rendered--- in a Version 2 file, and appears after both parts of the timezone data.+-- Version 1 format files can only contain timestamp values that can+-- be represented in less than 32 bits, and cannot contain a POSIX TZ+-- string.+--+-- In a Version 2 format file, the timezone data is split into two+-- parts.  The first part contains timezone data for which all+-- timestamp values can be represented in less than 32 bits, and the+-- second part contains timezone data for which 32 bits or more are+-- required to represent timestamp values. The POSIX TZ string, if+-- present, can only be rendered in a Version 2 file, and appears+-- after both parts of the timezone data.+--+-- Version 3 format files relax certain syntax requirements for the+-- POSIX TZ string.  Since we represent the POSIX TZ string as an+-- unparsed 'String', Version 3 is identical to Version 2 for our+-- purposes. data OlsonData =     OlsonData {       olsonTransitions :: [Transition],
timezone-olson.cabal view
@@ -7,7 +7,7 @@ -- The package version. See the Haskell package versioning policy -- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for -- standards guiding when and how versions should be incremented.-Version:             0.1.4+Version:             0.1.6  -- A short (one-line) description of the package. Synopsis:            A pure Haskell parser and renderer for binary Olson timezone files@@ -17,8 +17,8 @@                      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+                     <http://www.iana.org/time-zones/repository/tz-link.html>.+                     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@@ -39,7 +39,7 @@  -- An email address to which users can send suggestions, bug reports, -- and patches.-Maintainer:          yitz@community.haskell.org+Maintainer:          yitz@sefer.org  -- A copyright notice. Copyright:           Copyright (c) 2010 Yitzchak Gale. All rights reserved.