File: //usr/local/rvm/gems/default/doc/tzinfo-2.0.4/ri/TZInfo/Timezone/periods_for_local-i.ri
U:RDoc::AnyMethod[iI"periods_for_local:ETI"'TZInfo::Timezone#periods_for_local;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"GReturns the set of {TimezonePeriod}s that are valid for the given ;TI"local time as an `Array`.;To:RDoc::Markup::BlankLine o;
; [I"OThe UTC offset of the `local_time` parameter is ignored (it is treated as ;TI"4a time in the time zone represented by `self`).;T@o;
; [
I"?This will typically return an `Array` containing a single ;TI"P{TimezonePeriod}. More than one {TimezonePeriod} will be returned when the ;TI"Plocal time is ambiguous (for example, when daylight savings time ends). An ;TI"Jempty `Array` will be returned when the local time is not valid (for ;TI"1example, when daylight savings time begins).;T@o;
; [I"@To obtain just a single {TimezonePeriod} in all cases, use ;TI"O{period_for_local} instead and specify how ambiguities should be resolved.;T@o;
; [I"E@param local_time [Object] a `Time`, `DateTime` or {Timestamp}. ;TI"J@return [Array<TimezonePeriod>] the set of {TimezonePeriod}s that are;To:RDoc::Markup::Verbatim; [I"valid at `local_time`.
;T:@format0o;
; [I"5@raise [ArgumentError] if `local_time` is `nil`.;T:
@fileI"lib/tzinfo/timezone.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(local_time);T@)FI"
Timezone;TcRDoc::NormalClass00