⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
3.0.0
/
system
/
Time
/
View File Name :
floor-i.ri
U:RDoc::AnyMethod[iI" floor:ETI"Time#floor;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"TFloors subsecond to a given precision in decimal digits (0 digits by default). ;TI"#It returns a new Time object. ;TI"4+ndigits+ should be zero or a positive integer.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"1t = Time.utc(2010,3,30, 5,43,25.123456789r) ;TI"Ct #=> 2010-03-30 05:43:25.123456789 UTC ;TI"9t.floor #=> 2010-03-30 05:43:25 UTC ;TI"9t.floor(0) #=> 2010-03-30 05:43:25 UTC ;TI";t.floor(1) #=> 2010-03-30 05:43:25.1 UTC ;TI"
2010-03-30 05:43:25.12 UTC ;TI"=t.floor(3) #=> 2010-03-30 05:43:25.123 UTC ;TI">t.floor(4) #=> 2010-03-30 05:43:25.1234 UTC ;TI" ;TI"(t = Time.utc(1999,12,31, 23,59,59) ;TI"4(t + 0.4).floor #=> 1999-12-31 23:59:59 UTC ;TI"4(t + 0.9).floor #=> 1999-12-31 23:59:59 UTC ;TI"4(t + 1.4).floor #=> 2000-01-01 00:00:00 UTC ;TI"4(t + 1.9).floor #=> 2000-01-01 00:00:00 UTC ;TI" ;TI"(t = Time.utc(1999,12,31, 23,59,59) ;TI"A(t + 0.123456789).floor(4) #=> 1999-12-31 23:59:59.1234 UTC;T:@format0: @fileI"time.c;T:0@omit_headings_from_table_of_contents_below0I")time.floor([ndigits]) -> new_time ;T0[ I"(*args);T@$FI" Time;TcRDoc::NormalClass00