class TZInfo::Timezone
def period_for(time)
-
(ArgumentError)- if `time` is a {Timestamp} with an unspecified -
(ArgumentError)- if `time` is `nil`.
Returns:
-
(TimezonePeriod)- the {TimezonePeriod} that is valid at `time`.
Parameters:
-
time(Object) -- a `Time`, `DateTime` or {Timestamp}.
def period_for(time) raise_unknown_timezone end