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
/
ruby21
/
share
/
ri
/
2.1.0
/
system
/
Time
/
//opt/alt/ruby21/share/ri/2.1.0/system/Time/getlocal-i.ri
U:RDoc::AnyMethod[iI" getlocal:ETI"Time#getlocal;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"6Returns a new Time object representing _time_ in ;TI"Glocal time (using the local time zone in effect for this process).;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"At = Time.utc(2000,1,1,20,15,1) #=> 2000-01-01 20:15:01 UTC ;TI".t.utc? #=> true ;TI" ;TI"Cl = t.getlocal #=> 2000-01-01 14:15:01 -0600 ;TI"/l.utc? #=> false ;TI".t == l #=> true ;TI" ;TI"Cj = t.getlocal("+09:00") #=> 2000-01-02 05:15:01 +0900 ;TI"/j.utc? #=> false ;TI"-t == j #=> true;T:@format0: @fileI"time.c;T:0@omit_headings_from_table_of_contents_below0I"Etime.getlocal -> new_time time.getlocal(utc_offset) -> new_time ;T0[ I"(p1 = v1);T@FI" Time;TcRDoc::NormalClass00