From 65ff3373016d8ae660848f6e7b46d5819c785284 Mon Sep 17 00:00:00 2001 From: aj Date: Sat, 6 Nov 2010 17:13:15 -0700 Subject: [PATCH] added stub of next_timechange method. --- src/ezic.erl | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/src/ezic.erl b/src/ezic.erl index 1c4e526..e5bf040 100644 --- a/src/ezic.erl +++ b/src/ezic.erl @@ -1,7 +1,14 @@ -module(ezic). -include("include/ezic.hrl"). --export([localtime/1, utc_to_local/2, utc_from_local/2, zone_convert/3]). +-export([ + localtime/1 + , utc_to_local/2 + , utc_from_local/2 + , zone_convert/3 + , next_timechange/1 + , next_timechange/2 + ]). -export([load/1, dev_start/0, test/0]). @@ -39,6 +46,16 @@ zone_convert(Datetime, FromTimeZone, ToTimeZone) -> +next_timechange(TzName) -> + next_timechange(localtime(TzName), TzName). + +next_timechange(Datetime, TzName) -> + not_done. + + + + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % DEV API %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%