X7ROOT File Manager
Current Path:
/opt/alt/ruby18/share/ri/1.8/system/DateTime
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
DateTime
/
ðŸ“
..
📄
_strptime-c.yaml
(192 B)
📄
cdesc-DateTime.yaml
(2.49 KB)
📄
civil-c.yaml
(1.03 KB)
📄
commercial-c.yaml
(1.08 KB)
📄
jd-c.yaml
(955 B)
📄
ordinal-c.yaml
(1.01 KB)
📄
parse-c.yaml
(960 B)
📄
strftime-i.yaml
(186 B)
📄
strptime-c.yaml
(928 B)
📄
to_s-i.yaml
(236 B)
Editing: cdesc-DateTime.yaml
--- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: _strptime - !ruby/object:RI::MethodSummary name: civil - !ruby/object:RI::MethodSummary name: commercial - !ruby/object:RI::MethodSummary name: jd - !ruby/object:RI::MethodSummary name: ordinal - !ruby/object:RI::MethodSummary name: parse - !ruby/object:RI::MethodSummary name: strptime comment: - !ruby/struct:SM::Flow::P body: Class representing a date and time. - !ruby/struct:SM::Flow::P body: See the documentation to the file date.rb for an overview. - !ruby/struct:SM::Flow::P body: DateTime objects are immutable once created. - !ruby/struct:SM::Flow::H level: 2 text: Other methods. - !ruby/struct:SM::Flow::P body: The following methods are defined in Date, but declared private there. They are made public in DateTime. They are documented here. - !ruby/struct:SM::Flow::H level: 3 text: hour() - !ruby/struct:SM::Flow::P body: Get the hour-of-the-day of the time. This is given using the 24-hour clock, counting from midnight. The first hour after midnight is hour 0; the last hour of the day is hour 23. - !ruby/struct:SM::Flow::H level: 3 text: min() - !ruby/struct:SM::Flow::P body: Get the minute-of-the-hour of the time. - !ruby/struct:SM::Flow::H level: 3 text: sec() - !ruby/struct:SM::Flow::P body: Get the second-of-the-minute of the time. - !ruby/struct:SM::Flow::H level: 3 text: sec_fraction() - !ruby/struct:SM::Flow::P body: Get the fraction of a second of the time. This is returned as a <tt>Rational</tt>. The unit is in days. I do NOT recommend you to use this method. - !ruby/struct:SM::Flow::H level: 3 text: zone() - !ruby/struct:SM::Flow::P body: Get the time zone as a String. This is representation of the time offset such as "+1000", not the true time-zone name. - !ruby/struct:SM::Flow::H level: 3 text: offset() - !ruby/struct:SM::Flow::P body: Get the time zone offset as a fraction of a day. This is returned as a <tt>Rational</tt>. - !ruby/struct:SM::Flow::H level: 3 text: new_offset(of=0) - !ruby/struct:SM::Flow::P body: Create a new DateTime object, identical to the current one, except with a new time zone offset of <tt>of</tt>. <tt>of</tt> is the new offset from UTC as a fraction of a day. constants: [] full_name: DateTime includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: strftime - !ruby/object:RI::MethodSummary name: to_s name: DateTime superclass: Date
Upload File
Create Folder