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/at-c.ri
U:RDoc::AnyMethod[iI"at:ETI" Time::at;TT:privateo: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"QIf +in+ argument is given, the result is in that timezone or UTC offset, or ;TI"Aif a numeric argument is given, the result is in local time.;T@o:RDoc::Markup::Verbatim; [I"MTime.at(0) #=> 1969-12-31 18:00:00 -0600 ;TI"MTime.at(Time.at(0)) #=> 1969-12-31 18:00:00 -0600 ;TI"MTime.at(946702800) #=> 1999-12-31 23:00:00 -0600 ;TI"MTime.at(-284061600) #=> 1960-12-31 00:00:00 -0600 ;TI":Time.at(946684800.2).usec #=> 200000 ;TI"=Time.at(946684800, 123456.789).nsec #=> 123456789 ;TI"<Time.at(946684800, 123456789, :nsec).nsec #=> 123456789;T:@format0: @fileI"time.c;T:0@omit_headings_from_table_of_contents_below0I"Time.at(time) -> time Time.at(seconds_with_frac) -> time Time.at(seconds, microseconds_with_frac) -> time Time.at(seconds, milliseconds, :millisecond) -> time Time.at(seconds, microseconds, :usec) -> time Time.at(seconds, microseconds, :microsecond) -> time Time.at(seconds, nanoseconds, :nsec) -> time Time.at(seconds, nanoseconds, :nanosecond) -> time Time.at(time, in: tz) -> time Time.at(seconds_with_frac, in: tz) -> time Time.at(seconds, microseconds_with_frac, in: tz) -> time Time.at(seconds, milliseconds, :millisecond, in: tz) -> time Time.at(seconds, microseconds, :usec, in: tz) -> time Time.at(seconds, microseconds, :microsecond, in: tz) -> time Time.at(seconds, nanoseconds, :nsec, in: tz) -> time Time.at(seconds, nanoseconds, :nanosecond, in: tz) -> time ;T0[ I"$(p1, p2 = v2, p3 = v3, p4 = {});T@!FI" Time;TcRDoc::NormalClass00