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/at-c.ri
U:RDoc::AnyMethod[iI"at:ETI" Time::at;TT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"?Creates a new Time object with the value given by +time+, ;TI"1the given number of +seconds_with_frac+, or ;TI"=+seconds+ and +microseconds_with_frac+ since the Epoch. ;TI"6+seconds_with_frac+ and +microseconds_with_frac+ ;TI";can be an Integer, Float, Rational, or other Numeric. ;TI"Knon-portable feature allows the offset to be negative on some systems.;To:RDoc::Markup::BlankLine o; ; [I"AIf a numeric argument is given, the result is in local time.;T@o:RDoc::Markup::Verbatim; [I"HTime.at(0) #=> 1969-12-31 18:00:00 -0600 ;TI"HTime.at(Time.at(0)) #=> 1969-12-31 18:00:00 -0600 ;TI"HTime.at(946702800) #=> 1999-12-31 23:00:00 -0600 ;TI"HTime.at(-284061600) #=> 1960-12-31 00:00:00 -0600 ;TI"5Time.at(946684800.2).usec #=> 200000 ;TI"7Time.at(946684800, 123456.789).nsec #=> 123456789;T:@format0: @fileI"time.c;T:0@omit_headings_from_table_of_contents_below0I"oTime.at(time) -> time Time.at(seconds_with_frac) -> time Time.at(seconds, microseconds_with_frac) -> time ;T0[ I"(p1, p2 = v2);T@FI" Time;TcRDoc::NormalClass00