time_zone_info v0.1.0 TimeZoneInfo.Transformer.Transition View Source

This modules handles transitions during the transformation.

Link to this section Summary

Functions

Adds a transition to transitions if the first transition does not have the same datetime.

Returns the std_offset of a transition. If this function gets a list then the std_offset of the last transition will be returned.

Transforms transition date-times to UTC and creates the TimeZoneInfo.time_zone_period.

Link to this section Types

Link to this section Functions

Link to this function

add_new(transition, transitions)

View Source
add_new(t(), [t()]) :: [t()]

Adds a transition to transitions if the first transition does not have the same datetime.

Link to this function

get_std_offset(transitions)

View Source
get_std_offset(transition | transitions) :: Calendar.std_offset()
when transition: t(), transitions: [t()]

Returns the std_offset of a transition. If this function gets a list then the std_offset of the last transition will be returned.

Transforms transition date-times to UTC and creates the TimeZoneInfo.time_zone_period.