Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
Time
/
//opt/alt/ruby27/share/ri/system/Time/localtime-i.ri
U:RDoc::AnyMethod[iI"localtime:ETI"Time#localtime;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"AConverts _time_ to local time (using the local time zone in ;TI"Ceffect at the creation time of _time_) modifying the receiver.;To:RDoc::Markup::BlankLine o; ; [I"DIf +utc_offset+ is given, it is used instead of the local time.;T@o:RDoc::Markup::Verbatim; [ I"It = Time.utc(2000, "jan", 1, 20, 15, 1) #=> 2000-01-01 20:15:01 UTC ;TI"6t.utc? #=> true ;TI" ;TI"Kt.localtime #=> 2000-01-01 14:15:01 -0600 ;TI"7t.utc? #=> false ;TI" ;TI"Kt.localtime("+09:00") #=> 2000-01-02 05:15:01 +0900 ;TI"7t.utc? #=> false ;T:@format0o; ; [I"IIf +utc_offset+ is not given and _time_ is local time, just returns ;TI"the receiver.;T: @fileI"time.c;T:0@omit_headings_from_table_of_contents_below0I"?time.localtime -> time time.localtime(utc_offset) -> time ;T0[ I"(*args);T@!FI" Time;TcRDoc::NormalClass00