Linux server1.dn-server.com 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
LiteSpeed
Server IP : 195.201.204.189 & Your IP : 216.73.216.37
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby31 /
share /
ri /
system /
Time /
Delete
Unzip
Name
Size
Permission
Date
Action
%2b-i.ri
597
B
-rw-r--r--
2025-04-28 21:06
%2d-i.ri
765
B
-rw-r--r--
2025-04-28 21:06
%3c%3d%3e-i.ri
1.04
KB
-rw-r--r--
2025-04-28 21:06
as_json-i.ri
368
B
-rw-r--r--
2025-04-28 21:06
asctime-i.ri
504
B
-rw-r--r--
2025-04-28 21:06
at-c.ri
3.36
KB
-rw-r--r--
2025-04-28 21:06
cdesc-Time.ri
12.69
KB
-rw-r--r--
2025-04-28 21:06
ceil-i.ri
1.39
KB
-rw-r--r--
2025-04-28 21:06
ctime-i.ri
554
B
-rw-r--r--
2025-04-28 21:06
day-i.ri
487
B
-rw-r--r--
2025-04-28 21:06
dst%3f-i.ri
1.04
KB
-rw-r--r--
2025-04-28 21:06
eql%3f-i.ri
410
B
-rw-r--r--
2025-04-28 21:06
floor-i.ri
1.37
KB
-rw-r--r--
2025-04-28 21:06
friday%3f-i.ri
520
B
-rw-r--r--
2025-04-28 21:06
getgm-i.ri
738
B
-rw-r--r--
2025-04-28 21:06
getlocal-i.ri
1.39
KB
-rw-r--r--
2025-04-28 21:06
getutc-i.ri
685
B
-rw-r--r--
2025-04-28 21:06
gmt%3f-i.ri
893
B
-rw-r--r--
2025-04-28 21:06
gmt_offset-i.ri
652
B
-rw-r--r--
2025-04-28 21:06
gmtime-i.ri
777
B
-rw-r--r--
2025-04-28 21:06
gmtoff-i.ri
756
B
-rw-r--r--
2025-04-28 21:06
hash-i.ri
383
B
-rw-r--r--
2025-04-28 21:06
hour-i.ri
470
B
-rw-r--r--
2025-04-28 21:06
httpdate-c.ri
811
B
-rw-r--r--
2025-04-28 21:06
httpdate-i.ri
714
B
-rw-r--r--
2025-04-28 21:06
inspect-i.ri
855
B
-rw-r--r--
2025-04-28 21:06
isdst-i.ri
1.1
KB
-rw-r--r--
2025-04-28 21:06
iso8601-c.ri
248
B
-rw-r--r--
2025-04-28 21:06
iso8601-i.ri
260
B
-rw-r--r--
2025-04-28 21:06
json_create-c.ri
357
B
-rw-r--r--
2025-04-28 21:06
local-c.ri
2.22
KB
-rw-r--r--
2025-04-28 21:06
localtime-i.ri
1.1
KB
-rw-r--r--
2025-04-28 21:06
mday-i.ri
536
B
-rw-r--r--
2025-04-28 21:06
min-i.ri
471
B
-rw-r--r--
2025-04-28 21:06
mon-i.ri
539
B
-rw-r--r--
2025-04-28 21:06
monday%3f-i.ri
520
B
-rw-r--r--
2025-04-28 21:06
month-i.ri
491
B
-rw-r--r--
2025-04-28 21:06
new-c.ri
2.32
KB
-rw-r--r--
2025-04-28 21:06
now-c.ri
1.11
KB
-rw-r--r--
2025-04-28 21:06
nsec-i.ri
852
B
-rw-r--r--
2025-04-28 21:06
parse-c.ri
4.5
KB
-rw-r--r--
2025-04-28 21:06
rfc2822-c.ri
933
B
-rw-r--r--
2025-04-28 21:06
rfc2822-i.ri
767
B
-rw-r--r--
2025-04-28 21:06
rfc822-c.ri
244
B
-rw-r--r--
2025-04-28 21:06
rfc822-i.ri
239
B
-rw-r--r--
2025-04-28 21:06
round-i.ri
1.55
KB
-rw-r--r--
2025-04-28 21:06
saturday%3f-i.ri
528
B
-rw-r--r--
2025-04-28 21:06
sec-i.ri
651
B
-rw-r--r--
2025-04-28 21:06
strftime-i.ri
9.47
KB
-rw-r--r--
2025-04-28 21:06
strptime-c.ri
4.35
KB
-rw-r--r--
2025-04-28 21:06
subsec-i.ri
873
B
-rw-r--r--
2025-04-28 21:06
sunday%3f-i.ri
520
B
-rw-r--r--
2025-04-28 21:06
thursday%3f-i.ri
528
B
-rw-r--r--
2025-04-28 21:06
to_a-i.ri
812
B
-rw-r--r--
2025-04-28 21:06
to_date-i.ri
337
B
-rw-r--r--
2025-04-28 21:06
to_datetime-i.ri
357
B
-rw-r--r--
2025-04-28 21:06
to_f-i.ri
1.24
KB
-rw-r--r--
2025-04-28 21:06
to_i-i.ri
635
B
-rw-r--r--
2025-04-28 21:06
to_json-i.ri
401
B
-rw-r--r--
2025-04-28 21:06
to_r-i.ri
702
B
-rw-r--r--
2025-04-28 21:06
to_s-i.ri
781
B
-rw-r--r--
2025-04-28 21:06
to_time-i.ri
309
B
-rw-r--r--
2025-04-28 21:06
tuesday%3f-i.ri
524
B
-rw-r--r--
2025-04-28 21:06
tv_nsec-i.ri
901
B
-rw-r--r--
2025-04-28 21:06
tv_sec-i.ri
593
B
-rw-r--r--
2025-04-28 21:06
tv_usec-i.ri
897
B
-rw-r--r--
2025-04-28 21:06
usec-i.ri
848
B
-rw-r--r--
2025-04-28 21:06
utc%3f-i.ri
953
B
-rw-r--r--
2025-04-28 21:06
utc-c.ri
2.18
KB
-rw-r--r--
2025-04-28 21:06
utc-i.ri
722
B
-rw-r--r--
2025-04-28 21:06
utc_offset-i.ri
652
B
-rw-r--r--
2025-04-28 21:06
wday-i.ri
729
B
-rw-r--r--
2025-04-28 21:06
wednesday%3f-i.ri
532
B
-rw-r--r--
2025-04-28 21:06
xmlschema-c.ri
932
B
-rw-r--r--
2025-04-28 21:06
xmlschema-i.ri
958
B
-rw-r--r--
2025-04-28 21:06
yday-i.ri
485
B
-rw-r--r--
2025-04-28 21:06
year-i.ri
478
B
-rw-r--r--
2025-04-28 21:06
zone-i.ri
625
B
-rw-r--r--
2025-04-28 21:06
zone_offset-c.ri
1.25
KB
-rw-r--r--
2025-04-28 21:06
Save
Rename
U:RDoc::NormalClass[iI" Time:ET@I"Object;To:RDoc::Markup::Document:@parts[ o;;[ : @fileI""ext/json/lib/json/add/time.rb;T:0@omit_headings_from_table_of_contents_below0o;;[ ; I"lib/time.rb;T; 0o;;[ ; I"time.c;T; 0o;;[co:RDoc::Markup::Paragraph;[I"MTime is an abstraction of dates and times. Time is stored internally as ;TI"=the number of seconds with subsecond since the _Epoch_, ;TI"1970-01-01 00:00:00 UTC.;To:RDoc::Markup::BlankLine o;;[ I"The Time class treats GMT ;TI"O(Greenwich Mean Time) and UTC (Coordinated Universal Time) as equivalent. ;TI"OGMT is the older way of referring to these baseline times but persists in ;TI")the names of calls on POSIX systems.;T@o;;[I"MNote: A \Time object uses the resolution available on your system clock.;T@o;;[ I"NAll times may have subsecond. Be aware of this fact when comparing times ;TI"Nwith each other -- times that are apparently equal when displayed may be ;TI"different when compared. ;TI"9(Since Ruby 2.7.0, Time#inspect shows subsecond but ;TI"-Time#to_s still doesn't show subsecond.);T@S:RDoc::Markup::Heading: leveli: textI" Examples;T@o;;[I"KAll of these examples were done using the EST timezone which is GMT-5.;T@S; ;i;I""Creating a New \Time Instance;T@o;;[I"LYou can create a new instance of Time with Time.new. This will use the ;TI"Fcurrent system time. Time.now is an alias for this. You can also ;TI"Opass parts of the time to Time.new such as year, month, minute, etc. When ;TI"Qyou want to construct a time this way you must pass at least a year. If you ;TI"Qpass the year with nothing else time will default to January 1 of that year ;TI"Jat 00:00:00 with the current system timezone. Here are some examples:;T@o:RDoc::Markup::Verbatim;[I":Time.new(2002) #=> 2002-01-01 00:00:00 -0500 ;TI":Time.new(2002, 10) #=> 2002-10-01 00:00:00 -0500 ;TI":Time.new(2002, 10, 31) #=> 2002-10-31 00:00:00 -0500 ;T:@format0o;;[I"You can pass a UTC offset:;T@o;;[I"MTime.new(2002, 10, 31, 2, 2, 2, "+02:00") #=> 2002-10-31 02:02:02 +0200 ;T;0o;;[I"Or a timezone object:;T@o;;[I"Jzone = timezone("Europe/Athens") # Eastern European Time, UTC+2 ;TI"ITime.new(2002, 10, 31, 2, 2, 2, zone) #=> 2002-10-31 02:02:02 +0200 ;T;0o;;[I"7You can also use Time.local and Time.utc to infer ;TI"Alocal and UTC timezones instead of using the current system ;TI" setting.;T@o;;[I"LYou can also create a new time using Time.at which takes the number of ;TI".seconds (with subsecond) since the {Unix ;TI"5Epoch}[https://en.wikipedia.org/wiki/Unix_time].;T@o;;[I"6Time.at(628232400) #=> 1989-11-28 00:00:00 -0500 ;T;0S; ;i;I"&Working with an Instance of \Time;T@o;;[I"NOnce you have an instance of Time there is a multitude of things you can ;TI"Pdo with it. Below are some examples. For all of the following examples, we ;TI"Bwill work on the assumption that you have done the following:;T@o;;[I"4t = Time.new(1993, 02, 24, 12, 0, 0, "+09:00") ;T;0o;;[I"Was that a monday?;T@o;;[I"t.monday? #=> false ;T;0o;;[I"What year was that again?;T@o;;[I"t.year #=> 1993 ;T;0o;;[I")Was it daylight savings at the time?;T@o;;[I"t.dst? #=> false ;T;0o;;[I"!What's the day a year later?;T@o;;[I"6t + (60*60*24*365) #=> 1994-02-24 12:00:00 +0900 ;T;0o;;[I"4How many seconds was that since the Unix Epoch?;T@o;;[I"t.to_i #=> 730522800 ;T;0o;;[I"?You can also do standard functions like compare two times.;T@o;;[I"t1 = Time.new(2010) ;TI"t2 = Time.new(2011) ;TI" ;TI"t1 == t2 #=> false ;TI"t1 == t1 #=> true ;TI"t1 < t2 #=> true ;TI"t1 > t2 #=> false ;TI" ;TI"4Time.new(2010,10,31).between?(t1, t2) #=> true ;T;0S; ;i;I"What's Here;T@o;;[I"+First, what's elsewhere. \Class \Time:;T@o:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0;[o;;[I"PInherits from {class Object}[Object.html#class-Object-label-What-27s+Here].;To;;0;[o;;[I"YIncludes {module Comparable}[Comparable.html#module-Comparable-label-What-27s+Here].;T@o;;[I"<Here, class \Time provides methods that are useful for:;T@o;;;;[o;;0;[o;;[I"F{Creating \Time objects}[#class-Time-label-Methods+for+Creating].;To;;0;[o;;[I"E{Fetching \Time values}[#class-Time-label-Methods+for+Fetching].;To;;0;[o;;[I"G{Querying a \Time object}[#class-Time-label-Methods+for+Querying].;To;;0;[o;;[I"H{Comparing \Time objects}[#class-Time-label-Methods+for+Comparing].;To;;0;[o;;[I"K{Converting a \Time object}[#class-Time-label-Methods+for+Converting].;To;;0;[o;;[I"@{Rounding a \Time}[#class-Time-label-Methods+for+Rounding].;T@S; ;i;I"Methods for Creating;T@o;;;;[o;;0;[o;;[I"M::new: Returns a new time from specified arguments (year, month, etc.), ;TI"*including an optional timezone value.;To;;0;[o;;[I">::local (aliased as ::mktime): Same as ::new, except the ;TI"$timezone is the local timezone.;To;;0;[o;;[I"H::utc (aliased as ::gm): Same as ::new, except the timezone is UTC.;To;;0;[o;;[I";::at: Returns a new time based on seconds since epoch.;To;;0;[o;;[I"@::now: Returns a new time based on the current system time.;To;;0;[o;;[I"L#+ (plus): Returns a new time increased by the given number of seconds.;To;;0;[o;;[I"2{-}[#method-i-2D] (minus): Returns a new time;To;;[I"/decreased by the given number of seconds. ;T;0S; ;i;I"Methods for Fetching;T@o;;;;[o;;0;[o;;[I")#year: Returns the year of the time.;To;;0;[o;;[I"=#month (aliased as #mon): Returns the month of the time.;To;;0;[o;;[I";#mday (aliased as #day): Returns the day of the month.;To;;0;[o;;[I"1#hour: Returns the hours value for the time.;To;;0;[o;;[I"2#min: Returns the minutes value for the time.;To;;0;[o;;[I"2#sec: Returns the seconds value for the time.;To;;0;[o;;[I"E#usec (aliased as #tv_usec): Returns the number of microseconds ;TI")in the subseconds value of the time.;To;;0;[o;;[I"C#nsec (aliased as #tv_nsec: Returns the number of nanoseconds ;TI"'in the subsecond part of the time.;To;;0;[o;;[I"8#subsec: Returns the subseconds value for the time.;To;;0;[o;;[I"H#wday: Returns the integer weekday value of the time (0 == Sunday).;To;;0;[o;;[I"K#yday: Returns the integer yearday value of the time (1 == January 1).;To;;0;[o;;[I"8#hash: Returns the integer hash value for the time.;To;;0;[o;;[I"J#utc_offset (aliased as #gmt_offset and #gmtoff): Returns the offset ;TI"%in seconds between time and UTC.;To;;0;[o;;[I"I#to_f: Returns the float number of seconds since epoch for the time.;To;;0;[o;;[I"S#to_i (aliased as #tv_sec): Returns the integer number of seconds since epoch ;TI"for the time.;To;;0;[o;;[I"L#to_r: Returns the Rational number of seconds since epoch for the time.;To;;0;[o;;[I"H#zone: Returns a string representation of the timezone of the time.;T@S; ;i;I"Methods for Querying;T@o;;;;[o;;0;[o;;[I"?#utc? (aliased as #gmt?): Returns whether the time is UTC.;To;;0;[o;;[I"W#dst? (aliased as #isdst): Returns whether the time is DST (daylight saving time).;To;;0;[o;;[I"4#sunday?: Returns whether the time is a Sunday.;To;;0;[o;;[I"4#monday?: Returns whether the time is a Monday.;To;;0;[o;;[I"6#tuesday?: Returns whether the time is a Tuesday.;To;;0;[o;;[I":#wednesday?: Returns whether the time is a Wednesday.;To;;0;[o;;[I"8#thursday?: Returns whether the time is a Thursday.;To;;0;[o;;[I"0#friday?: Returns whether time is a Friday.;To;;0;[o;;[I"8#saturday?: Returns whether the time is a Saturday.;T@S; ;i;I"Methods for Comparing;T@o;;;;[o;;0;[o;;[I"A{#<=>}[#method-i-3C-3D-3E]: Compares +self+ to another time.;To;;0;[o;;[I">#eql?: Returns whether the time is equal to another time.;T@S; ;i;I"Methods for Converting;T@o;;;;[o;;0;[o;;[I"@#asctime (aliased as #ctime): Returns the time as a string.;To;;0;[o;;[I"6#inspect: Returns the time in detail as a string.;To;;0;[o;;[I"J#strftime: Returns the time as a string, according to a given format.;To;;0;[o;;[I"?#to_a: Returns a 10-element array of values from the time.;To;;0;[o;;[I"8#to_s: Returns a string representation of the time.;To;;0;[o;;[I"F#getutc (aliased as #getgm): Returns a new time converted to UTC.;To;;0;[o;;[I";#getlocal: Returns a new time converted to local time.;To;;0;[o;;[I">#utc (aliased as #gmtime): Converts time to UTC in place.;To;;0;[o;;[I"6#localtime: Converts time to local time in place.;T@S; ;i;I"Methods for Rounding;T@o;;;;[o;;0;[o;;[I"7#round:Returns a new time with subseconds rounded.;To;;0;[o;;[I"C#ceil: Returns a new time with subseconds raised to a ceiling.;To;;0;[o;;[I"C#floor: Returns a new time with subseconds lowered to a floor.;T@S; ;i;I"Timezone Argument;T@o;;[I"EA timezone argument must have +local_to_utc+ and +utc_to_local+ ;TI">methods, and may have +name+, +abbr+, and +dst?+ methods.;T@o;;[I"FThe +local_to_utc+ method should convert a Time-like object from ;TI"Cthe timezone to UTC, and +utc_to_local+ is the opposite. The ;TI"Hresult also should be a Time or Time-like object (not necessary to ;TI"Cbe the same class). The #zone of the result is just ignored. ;TI"HTime-like argument to these methods is similar to a Time object in ;TI"DUTC without subsecond; it has attribute readers for the parts, ;TI"He.g. #year, #month, and so on, and epoch time readers, #to_i. The ;TI"Bsubsecond attributes are fixed as 0, and #utc_offset, #zone, ;TI"A#isdst, and their aliases are same as a Time object in UTC. ;TI"3Also #to_time, #+, and #- methods are defined.;T@o;;[I"EThe +name+ method is used for marshaling. If this method is not ;TI"Ddefined on a timezone object, Time objects using that timezone ;TI")object can not be dumped by Marshal.;T@o;;[I"4The +abbr+ method is used by '%Z' in #strftime.;T@o;;[I"OThe +dst?+ method is called with a +Time+ value and should return whether ;TI">the +Time+ value is in daylight savings time in the zone.;T@S; ;i;I" Auto Conversion to Timezone;T@o;;[I"PAt loading marshaled data, a timezone name will be converted to a timezone ;TI"Fobject by +find_timezone+ class method, if the method is defined.;T@o;;[I"OSimilarly, that class method will be called when a timezone argument does ;TI"4not have the necessary methods mentioned above.;T; I" timev.rb;T; 0; 0; 0[ [ [[I"Comparable;To;;[ ; @; 0I"time.c;T[[I" class;T[[:public[ [:protected[ [:private[[I"at;TI" timev.rb;T[I" httpdate;TI"lib/time.rb;T[I"iso8601;T@[I"json_create;TI""ext/json/lib/json/add/time.rb;T[I" local;T@�[I"new;T@[I"now;T@[I" parse;T@[I"rfc2822;T@[I"rfc822;T@[I" strptime;T@[I"utc;T@�[I"xmlschema;T@[I"zone_offset;T@[I" instance;T[[;[ [;[ [;[E[I"+;T@�[I"-;T@�[I"<=>;T@�[I"as_json;T@[I"asctime;T@�[I" ceil;T@�[I" ctime;T@�[I"day;T@�[I" dst?;T@�[I" eql?;T@�[I" floor;T@�[I"friday?;T@�[I" getgm;T@�[I" getlocal;T@�[I"getutc;T@�[I" gmt?;T@�[I"gmt_offset;T@�[I"gmtime;T@�[I"gmtoff;T@�[I" hash;T@�[I" hour;T@�[I" httpdate;T@[I"inspect;T@�[I" isdst;T@�[I"iso8601;T@[I"localtime;T@�[I" mday;T@�[I"min;T@�[I"mon;T@�[I"monday?;T@�[I" month;T@�[I" nsec;T@�[I"rfc2822;T@[I"rfc822;T@[I" round;T@�[I"saturday?;T@�[I"sec;T@�[I" strftime;T@�[I"subsec;T@�[I"sunday?;T@�[I"thursday?;T@�[I" to_a;T@�[I"to_date;TI"ext/date/date_core.c;T[I"to_datetime;T@�[I" to_f;T@�[I" to_i;T@�[I"to_json;T@[I" to_r;T@�[I" to_s;T@�[I"to_time;T@�[I" tuesday?;T@�[I"tv_nsec;T@�[I"tv_sec;T@�[I"tv_usec;T@�[I" usec;T@�[I"utc;T@�[I" utc?;T@�[I"utc_offset;T@�[I" wday;T@�[I"wednesday?;T@�[I"xmlschema;T@[I" yday;T@�[I" year;T@�[I" zone;T@�[ [U:RDoc::Context::Section[i 0o;;[ ; 0; 0[I"ext/date/date_core.c;TI""ext/json/lib/json/add/time.rb;TI"lib/cgi/session.rb;TI"lib/time.rb;TI"time.c;TI" timev.rb;T@�cRDoc::TopLevel