class ActiveSupport::TimeWithZone
def initialize(utc_time, time_zone, local_time = nil, period = nil)
Experimental RBS support (using type sampling data from the type_fusion
project).
def initialize: (Time? utc_time, ActiveSupport::TimeZone time_zone, ?Time? local_time, ?TZInfo::OffsetTimezonePeriod? period) -> void
This signature was generated using 12 samples from 2 applications.
def initialize(utc_time, time_zone, local_time = nil, period = nil) @utc = utc_time ? transfer_time_values_to_utc_constructor(utc_time) : nil @time_zone, @time = time_zone, local_time @period = @utc ? period : get_period_and_ensure_valid_local_time(period) end