updated the readme. error-tested the local_to_utc methods. light changes to the makefile

This commit is contained in:
aj
2010-11-14 01:38:23 -08:00
parent bd4e6078f2
commit 63c8a29198
4 changed files with 38 additions and 11 deletions

10
test/ezic_tests.erl Normal file
View File

@@ -0,0 +1,10 @@
-module(ezic_tests).
-include("include/ezic.hrl").
-include_lib("eunit/include/eunit.hrl").
local_to_utc_errors_test_() ->
ezic_db:init(),
[
?_assertError(ambiguous_zone, ezic:local_to_utc({{2010,11,7},{1,0,0}}, "America/Los_Angeles"))
, ?_assertError(no_zone, ezic:local_to_utc({{2010,3,14},{2,30,0}}, "America/Los_Angeles"))
].