time_zone_info v0.3.0 TimeZoneInfo.IanaDateTime View Source
Some functions to handle datetimes in TimeZoneInfo
.
Link to this section Summary
Functions
Computes the number of gregorian seconds starting with year 0 and ending at
the specified iana_datetime
.
Link to this section Types
Link to this type
t()
View Sourcet() :: {Calendar.year()} | {Calendar.year(), Calendar.month()} | {Calendar.year(), Calendar.month(), TimeZoneInfo.IanaParser.day()} | {Calendar.year(), Calendar.month(), TimeZoneInfo.IanaParser.day(), time()}
Link to this type
time()
View Sourcetime() :: {Calendar.hour(), Calendar.minute(), Calendar.second()}
Link to this section Functions
Link to this function
to_gregorian_seconds(iana_datetime)
View Sourceto_gregorian_seconds(t()) :: TimeZoneInfo.GregorianSeconds.t()
Computes the number of gregorian seconds starting with year 0 and ending at
the specified iana_datetime
.
Link to this function
to_gregorian_seconds(year, month, day, time)
View Sourceto_gregorian_seconds( Calendar.year(), Calendar.month(), TimeZoneInfo.IanaParser.day(), time() ) :: TimeZoneInfo.GregorianSeconds.t()