class TZInfo::TimezoneOffset
def initialize(base_utc_offset, std_offset, abbreviation)
Experimental RBS support (using type sampling data from the type_fusion
project).
def initialize: (Integer base_utc_offset, Integer std_offset, String abbreviation) -> void
This signature was generated using 6 samples from 1 application.
-
abbreviation
(String
) -- the abbreviation identifying the offset. -
std_offset
(Integer
) -- the offset from standard time in seconds. -
base_utc_offset
(Integer
) -- the base offset from UTC in seconds.
def initialize(base_utc_offset, std_offset, abbreviation) @base_utc_offset = base_utc_offset @std_offset = std_offset @abbreviation = abbreviation.freeze @observed_utc_offset = @base_utc_offset + @std_offset end