timezone-series 0.1.2 → 0.1.3
raw patch · 2 files changed
+13/−73 lines, 2 filesdep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
Data/Time/LocalTime/TimeZone/Series.hs view
@@ -1,20 +1,7 @@--------------------------------------------------------------------------------- |--- Module : Data.Time.LocalTime.TimeZone.Series--- Copyright : Yitzchak Gale 2010------ Maintainer : Yitzchak Gale <gale@sefer.org>--- Portability : portable------ A @TimeZoneSeries@ describes a timezone by specifying the various+-- | A @TimeZoneSeries@ describes a timezone by specifying the various -- clock settings that occurred in the past and are scheduled to occur -- in the future for the timezone. -{- Copyright (c) 2010 Yitzchak Gale. All rights reserved.-For licensing information, see the BSD3-style license in the file-LICENSE that was originally distributed by the author together with-this file. -}- module Data.Time.LocalTime.TimeZone.Series ( -- * Representing a timezone@@ -45,7 +32,7 @@ utcToLocalTime, localTimeToUTC) import Data.List (partition) import Data.Maybe (listToMaybe, fromMaybe)-import Data.Typeable (mkTyCon, mkTyConApp, Typeable(typeOf))+import Data.Typeable (Typeable) import Control.Arrow (first) -- $abouttzs@@ -81,11 +68,7 @@ -- change of clocks and the new timezone -- state after the change }- deriving (Eq, Ord)--instance Typeable TimeZoneSeries where- typeOf _ = mkTyConApp- (mkTyCon "Data.Time.LocalTime.TimeZone.Series") []+ deriving (Eq, Ord, Typeable) instance Show TimeZoneSeries where show = show . latestNonSummer@@ -174,11 +157,7 @@ zoneSeriesTimeToUTC :: UTCTime, zoneSeriesTimeSeries :: TimeZoneSeries }- deriving (Eq, Ord)--instance Typeable ZoneSeriesTime where- typeOf _ = mkTyConApp- (mkTyCon "Data.Time.LocalTime.TimeZone.ZoneSeriesTime") []+ deriving (Eq, Ord, Typeable) instance Show ZoneSeriesTime where show tzs = show $ ZonedTime (zoneSeriesTimeToLocalTime tzs)
timezone-series.cabal view
@@ -1,67 +1,28 @@--- timezone-series.cabal auto-generated by cabal init. For additional--- options, see--- http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html#pkg-descr.--- The name of the package. Name: timezone-series---- 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.2---- A short (one-line) description of the package.+Version: 0.1.3 Synopsis: Enhanced timezone handling for Data.Time---- A longer description of the package. Description: 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.----- URL for the project homepage or repository. Homepage: http://projects.haskell.org/time-ng/---- The license under which the package is released. License: BSD3---- The file containing the license text. License-file: LICENSE---- The package author(s). Author: Yitzchak Gale---- An email address to which users can send suggestions, bug reports,--- and patches. Maintainer: yitz@community.haskell.org---- A copyright notice.-Copyright: Copyright (c) 2010 Yitzchak Gale. All rights reserved.-+Copyright: Copyright (c) 2010-2014 Yitzchak Gale. All rights reserved. Category: Data- Build-type: Simple---- Extra files to be distributed with the package, such as examples or--- a README. Extra-source-files: README---- Constraint on the version of Cabal needed to build this package.-Cabal-version: >=1.2-+Cabal-version: >=1.10+Source-repository HEAD+ type: darcs+ location: http://code.haskell.org/time-ng/timezone-series Library- -- Modules exported by the library.+ Default-language: Haskell2010 Exposed-modules: Data.Time.LocalTime.TimeZone.Series- - -- Packages needed in order to build this package.- Build-depends: base >= 3.0 && < 5,+ Default-extensions: DeriveDataTypeable+ Build-depends: base >= 4.4 && < 5, time >= 1.1.4 && < 1.5- - -- Modules not exported by this package.- -- Other-modules: - - -- Extra tools (e.g. alex, hsc2hs, ...) needed to build the source.- -- Build-tools: -