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.217.103
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::AnyMethod[iI" parse:ETI"Time::parse;TT:privateo:RDoc::Markup::Document:@parts[#o:RDoc::Markup::Paragraph; [I"FTakes a string representation of a Time and attempts to parse it ;TI"using a heuristic.;To:RDoc::Markup::BlankLine o; ; [ I"EThis method **does not** function as a validator. If the input ;TI"Astring does not match valid formats strictly, you may get a ;TI"Ecryptic result. Should consider to use `Time.strptime` instead ;TI" of this method as possible.;T@o:RDoc::Markup::Verbatim; [I"require 'time' ;TI" ;TI"<Time.parse("2010-10-31") #=> 2010-10-31 00:00:00 -0500 ;T:@format0o; ; [I"KAny missing pieces of the date are inferred based on the current date.;T@o;; [ I"require 'time' ;TI" ;TI"1# assuming the current date is "2011-10-31" ;TI"7Time.parse("12:00") #=> 2011-10-31 12:00:00 -0500 ;T; 0o; ; [I"SWe can change the date used to infer our missing elements by passing a second ;TI"Sobject that responds to #mon, #day and #year, such as Date, Time or DateTime. ;TI"$We can also use our own object.;T@o;; [I"require 'time' ;TI" ;TI"class MyDate ;TI"% attr_reader :mon, :day, :year ;TI" ;TI"& def initialize(mon, day, year) ;TI", @mon, @day, @year = mon, day, year ;TI" end ;TI" end ;TI" ;TI"#d = Date.parse("2010-10-28") ;TI"#t = Time.parse("2010-10-29") ;TI"'dt = DateTime.parse("2010-10-30") ;TI"!md = MyDate.new(10,31,2010) ;TI" ;TI";Time.parse("12:00", d) #=> 2010-10-28 12:00:00 -0500 ;TI";Time.parse("12:00", t) #=> 2010-10-29 12:00:00 -0500 ;TI";Time.parse("12:00", dt) #=> 2010-10-30 12:00:00 -0500 ;TI";Time.parse("12:00", md) #=> 2010-10-31 12:00:00 -0500 ;T; 0o; ; [ I"DIf a block is given, the year described in +date+ is converted ;TI"Cby the block. This is specifically designed for handling two ;TI"Ddigit years. For example, if you wanted to treat all two digit ;TI">years prior to 70 as the year 2000+ you could write this:;T@o;; [I"require 'time' ;TI" ;TI"FTime.parse("01-10-31") {|year| year + (year < 70 ? 2000 : 1900)} ;TI"##=> 2001-10-31 00:00:00 -0500 ;TI"FTime.parse("70-10-31") {|year| year + (year < 70 ? 2000 : 1900)} ;TI"##=> 1970-10-31 00:00:00 -0500 ;T; 0o; ; [I"OIf the upper components of the given time are broken or missing, they are ;TI"Jsupplied with those of +now+. For the lower components, the minimum ;TI"Dvalues (1 or 0) are assumed if broken or missing. For example:;T@o;; [I"require 'time' ;TI" ;TI"8# Suppose it is "Thu Nov 29 14:33:20 2001" now and ;TI"-# your time zone is EST which is GMT-5. ;TI"2now = Time.parse("Thu Nov 29 14:33:20 2001") ;TI"@Time.parse("16:30", now) #=> 2001-11-29 16:30:00 -0500 ;TI"@Time.parse("7/23", now) #=> 2001-07-23 00:00:00 -0500 ;TI"@Time.parse("Aug 31", now) #=> 2001-08-31 00:00:00 -0500 ;TI"@Time.parse("Aug 2000", now) #=> 2000-08-01 00:00:00 -0500 ;T; 0o; ; [ I"HSince there are numerous conflicts among locally defined time zone ;TI"Fabbreviations all over the world, this method is not intended to ;TI"Eunderstand all of them. For example, the abbreviation "CST" is ;TI"used variously as:;T@o;; [I" -06:00 in America/Chicago, ;TI"-05:00 in America/Havana, ;TI"+08:00 in Asia/Harbin, ;TI"!+09:30 in Australia/Darwin, ;TI"#+10:30 in Australia/Adelaide, ;TI" etc. ;T; 0o; ; [ I"DBased on this fact, this method only understands the time zone ;TI"Iabbreviations described in RFC 822 and the system time zone, in the ;TI"Eorder named. (i.e. a definition in RFC 822 overrides the system ;TI"@time zone definition.) The system time zone is taken from ;TI".<tt>Time.local(year, 1, 1).zone</tt> and ;TI"+<tt>Time.local(year, 7, 1).zone</tt>. ;TI"IIf the extracted time zone abbreviation does not match any of them, ;TI"Bit is ignored and the given time is regarded as a local time.;T@o; ; [I"LArgumentError is raised if Date._parse cannot extract information from ;TI"A+date+ or if the Time class cannot represent specified date.;T@o; ; [I"IThis method can be used as a fail-safe for other parsing methods as:;T@o;; [I"0Time.rfc2822(date) rescue Time.parse(date) ;TI"1Time.httpdate(date) rescue Time.parse(date) ;TI"2Time.xmlschema(date) rescue Time.parse(date) ;T; 0o; ; [I"7A failure of Time.parse should be checked, though.;T@o; ; [I"0You must require 'time' to use this method.;T: @fileI"lib/time.rb;T:0@omit_headings_from_table_of_contents_below00I" year;T[ I"(date, now=self.now);T@�FI" Time;TcRDoc::NormalClass00