a90d6246ec
moving from mnesia to ets. matchspecs are complicated when dates and atoms are involved.
aj
2010-11-18 00:28:50 -08:00
63c8a29198
updated the readme. error-tested the local_to_utc methods. light changes to the makefile
aj
2010-11-14 01:38:23 -08:00
bd4e6078f2
ezic:local_to_utc/2 added, working.
aj
2010-11-14 00:46:00 -08:00
22395e2f47
max_year base case bug fixed. ezic:localtime/1 works.
aj
2010-11-14 00:27:44 -08:00
d664384c60
Costa Rica's flatzones aren't processed after 1992. Gotta check her out.
aj
2010-11-13 22:54:44 -08:00
3f438e66e0
handled case where zone and rule both end. dealing with Tripoli recursion bug (ambiguous year in ezic_date:for_rule)
aj
2010-11-13 03:25:50 -08:00
a7b0adcbce
repaired ezic_date:add_offset. able to normalize plain dates. notes and tests
aj
2010-11-12 03:07:15 -08:00
3e77287db6
there is a subtle bug in wall-time calculations. Asia/Irkutsk times are incorrect.
aj
2010-11-12 01:22:50 -08:00
7985f9e74f
zone end projection was buggy, since it didn't normalize dates before passing them on (required for ezic_date:all_times/1)
aj
2010-11-12 00:17:20 -08:00
e042ad5ea9
updated some comments to be more accurate, more descriptive
aj
2010-11-12 00:05:57 -08:00
1340f64d8b
semantic api change: flatten_zones -> flatten_all_zones.
aj
2010-11-11 23:54:38 -08:00
c976e63349
removed all warnings. fixed bug in ezic_zone:next/3. unit tests for ezic_zone:next/3
aj
2010-11-11 23:52:10 -08:00
1520c631ef
roughed-in the "nested" rule processing (flatten). hurdle on rule years->max.
aj
2010-11-10 13:01:03 -08:00
e48e793a36
flattening algorithm needs to be reworked.
aj
2010-11-10 03:18:57 -08:00
d84a0c1822
datetime manipulation is now much clearer. tests were added, and expectations stated explicitly in many places. rules got lots of attention.
aj
2010-11-10 01:52:13 -08:00
216a8d9ff8
brainstorming the flattening algorithm, slight API change
aj
2010-11-09 23:32:25 -08:00
d00937c3e9
lots of gutting. purposes, input, and output were unclear in many places. still broken.
aj
2010-11-08 01:29:15 -08:00
9ad8f3c826
lots of work towards flattening the records. stalled at ezic_rule:next_event/4
aj
2010-11-07 18:32:37 -08:00
329f699e51
alerted to buginess in README. added notes & zic reference. removed local_to_utc conversion for now.
aj
2010-11-07 12:52:51 -08:00
4d95017b7f
made License terms more explicit
aj
2010-11-07 00:56:23 -07:00
65ff337301
added stub of next_timechange method.
aj
2010-11-06 17:13:15 -07:00
2e424038a2
README smithing. License update
aj
2010-11-04 22:15:49 -07:00
9178a6c148
README smithing
aj
2010-11-04 22:02:13 -07:00
d5cb707119
renamed the API methods, updated the README
aj
2010-11-04 21:31:29 -07:00
9ac6f0cc4a
eliminated warnings. there were lots of unnecessary variables created in function parameters
aj
2010-11-04 20:57:23 -07:00
01ec22e351
fixed logic bug mapping the wrong ruleset, and removed unused vars
aj
2010-11-04 20:43:38 -07:00
298b245668
updated readme
aj
2010-11-04 05:14:06 -07:00
f4a48f09cf
fixed bug with rule choice; dst was not being calculated correctly, Thanks Adelaide!
aj
2010-11-04 04:28:23 -07:00
7dd76519a0
happy path tested! current times correctly reported for LA, NY, Tokyo, and Jamaica! Japan doesn't observer DST. I didn't know that.
aj
2010-11-04 04:20:38 -07:00
d48d32ddbb
hit a speedbump. maximum and minimum are max & min absolutely!
aj
2010-11-04 01:30:46 -07:00
2f727dd8bb
consolidated logic, added date normalization and overlap methods.
aj
2010-11-04 00:39:10 -07:00
e9d247784e
separated out rule and date logic. WIP: flattening the data, absolute from fuzzy dates, comparing dates
aj
2010-11-03 23:33:06 -07:00
188f31d543
parsing tzdata files appears to be functionally complete.
aj
2010-11-03 15:06:51 -07:00
3c965fe7b6
added debug build, fleshing out the tzdata parser. currently broken
aj
2010-11-03 02:49:13 -07:00
563f2c6e09
fleshed out API, and removed 'start method'.
aj
2010-11-03 01:03:07 -07:00
b967cd3ff7
fleshed out tzdata records, and internal format. also, licence=PUBLIC DOMAIN!
aj
2010-11-03 00:49:30 -07:00
59f18e4270
added naive Makefile, stubs of modules, unit test coordinator (test_master)
aj
2010-11-03 00:30:59 -07:00
992a7d8e1a
the seed of an (likely bad) idea.
aj
2010-11-03 00:22:58 -07:00