fleshed out tzdata records, and internal format. also, licence=PUBLIC DOMAIN!

This commit is contained in:
aj
2010-11-03 00:49:30 -07:00
parent 59f18e4270
commit b967cd3ff7
2 changed files with 13 additions and 0 deletions

View File

@@ -3,3 +3,4 @@ an erlang time zone compiler
see the [tz database](http://www.twinsun.com/tz/tz-link.htm) page for more info.
This project is in the public domain.

12
include/ezic.hrl Normal file
View File

@@ -0,0 +1,12 @@
-record(rule, {name, from, to, type, in, on, at, save, letters}).
-record(zone, {name, gmtoff, rules, format, until}).
-record(link, {from, to}).
% a flattened zone record, giving specific information for a specific time range.
-record(flatzone, {tzname, tzrule, from, to, gmtoff}).