class TZInfo::Format1::TimezoneDefiner
def offset(id, utc_offset, std_offset, abbreviation)
Experimental RBS support (using type sampling data from the type_fusion
project).
def offset: (Symbol id, Integer base_utc_offset, Integer std_offset, (String | Symbol) abbreviation, Integer utc_offset) -> untyped
This signature was generated using 11 samples from 1 application.
-
(ArgumentError)
- if another offset has already been defined with
Parameters:
-
abbreviation
(Symbol
) -- an abbreviation for the offset, for -
std_offset
(Integer
) -- the daylight savings offset from the base -
utc_offset
(Integer
) -- the base offset from UTC of the zone in -
id
(Symbol
) -- an arbitrary value used identify the offset in
def offset(id, utc_offset, std_offset, abbreviation) super(id, utc_offset, std_offset, abbreviation.to_s) end