class TZInfo::Timezone
def dst?(time = Time.now)
-
(ArgumentError)- if `time` is a {Timestamp} with an unspecified UTC -
(ArgumentError)- if `time` is `nil`.
Returns:
-
(Boolean)- whether daylight savings time is in effect at the given
Parameters:
-
time(Object) -- a `Time`, `DateTime` or `Timestamp`.
def dst?(time = Time.now) period_for(time).dst? end