| Server IP : 109.234.162.214 / Your IP : 216.73.216.112 Web Server : Apache System : Linux servd162214.srv.odns.fr 4.18.0-372.26.1.lve.1.el8.x86_64 #1 SMP Fri Sep 16 14:08:19 EDT 2022 x86_64 User : carpe ( 1178) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/opt/alt/ruby18/share/ri/1.8/system/DateTime/ |
Upload File : |
--- !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