File: //usr/local/rvm/gems/ruby-3.0.2/doc/tzinfo-2.0.4/ri/TZInfo/Timezone/to_local-i.ri
U:RDoc::AnyMethod[iI"
to_local:ETI"TZInfo::Timezone#to_local;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"9Converts a time to the local time for the time zone.;To:RDoc::Markup::BlankLine o;
; [
I"GThe result will be of type {TimeWithOffset} (if passed a `Time`), ;TI"P{DateTimeWithOffset} (if passed a `DateTime`) or {TimestampWithOffset} (if ;TI"Gpassed a {Timestamp}). {TimeWithOffset}, {DateTimeWithOffset} and ;TI"P{TimestampWithOffset} are subclasses of `Time`, `DateTime` and {Timestamp} ;TI"@that provide additional information about the local result.;T@o;
; [I"NUnlike {utc_to_local}, {to_local} takes the UTC offset of the given time ;TI"into consideration.;T@o;
; [I"?@param time [Object] a `Time`, `DateTime` or {Timestamp}. ;TI"K@return [Object] the local equivalent of `time` as a {TimeWithOffset},;To:RDoc::Markup::Verbatim; [I"4{DateTimeWithOffset} or {TimestampWithOffset}.
;T:@format0o;
; [I"0@raise [ArgumentError] if `time` is `nil`. ;TI"K@raise [ArgumentError] if `time` is a {Timestamp} that does not have a;To;; [I"specified UTC offset.;T;
0:
@fileI"lib/tzinfo/timezone.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(time);T@(FI"
Timezone;TcRDoc::NormalClass00