Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
thread-self
/
root
/
proc
/
self
/
root
/
opt
/
ruby-2.7
/
usr
/
share
/
ri
/
2.7.0
/
system
/
Time
/
//proc/thread-self/root/proc/self/root/opt/ruby-2.7/usr/share/ri/2.7.0/system/Time/localtime-i.ri
U:RDoc::AnyMethod[iI"localtime:ETI"Time#localtime;TF:publico: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