timezone-olson: A pure Haskell parser and renderer for binary Olson timezone files

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

A parser and renderer for binary Olson timezone files whose format is specified by the tzfile(5) man page on Unix-like systems. For more information about this format, see 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 available in the directory usrshare/zoneinfo and its subdirectories on your computer. For a way to read binary Olson timezone files at compile time, see the timezone-olson-th package (http://hackage.haskell.org/package/timezone-olson-th).


[Skip to Readme]

Properties

Versions 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.2.0, 0.2.0, 0.2.1
Change log None available
Dependencies base (>=3.0 && <5.0), binary (>=0.4.1 && <0.9), bytestring (>=0.9 && <1.0), extensible-exceptions (>=0.1.0 && <0.2), time (>=1.6 && <1.10), timezone-series (>=0.1.0 && <0.2) [details]
License BSD-3-Clause
Copyright Copyright (c) 2010-2018 Yitzchak Gale. All rights reserved.
Author Yitzchak Gale
Maintainer yitz@sefer.org
Category Data
Home page http://projects.haskell.org/time-ng/
Source repo head: git clone https://github.com/ygale/timezone-olson.git
Uploaded by YitzGale at 2020-04-18T21:39:50Z

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Readme for timezone-olson-0.2.0

[back to package description]

timezone-olson

On Hackage: timezone-olson

This package provides a parser and renderer for binary Olson timezone files whose format is specified in RFC 8536.

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 available in the directory /usr/share/zoneinfo and its subdirectories on your computer.

See also the timezone-olson-th package for a way to include timezone informaton from a binary Olson timezone file at compile time.

Copyright (c) 2010-2019 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.

This package is part of the time-ng project.

Testing utilities

This package also provides two Haskell files, each of which can be compiled into a command-line utility that might be helpful for testing purposes.

zhdump.hs: A clone of zdump(8), including most of its bugs, that is usually present on systems that have an Olson timezone database, except hzdump takes paths to timezone files instead of timezone identifiers on the command line.

catTZ: Read and parse a timezone file, then render it. With the -i flag, interprets the timezone data as a TimeZoneSeries object before rendering.