View Source TimeZoneInfo.Transformer.ZoneState (TimeZoneInfo v0.7.2)
The transformer for time-zones.
Summary
Functions
Transforms the IanaPraser.zone
data in a list of TimeZoneInfo.transition
.
Returns the until datetime for the given zone_state
and std_offset
.
Functions
@spec transform( [TimeZoneInfo.IanaParser.zone_state()], TimeZoneInfo.IanaParser.output(), TimeZoneInfo.data_config() ) :: [TimeZoneInfo.transition()]
Transforms the IanaPraser.zone
data in a list of TimeZoneInfo.transition
.
@spec until(TimeZoneInfo.IanaParser.zone_state(), Calendar.std_offset()) :: TimeZoneInfo.gregorian_seconds()
Returns the until datetime for the given zone_state
and std_offset
.