added stub of next_timechange method.
This commit is contained in:
19
src/ezic.erl
19
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
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
Reference in New Issue
Block a user