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 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%