class

XMLRPC::DateTime

v2_2_9 - Show latest stable - Superclass: Object

This class is important to handle XMLRPC dateTime.iso8601 values, correctly, because normal UNIX-dates, ie: Date, only handle dates from year 1970 on, and ruby’s native Time class handles dates without the time component.

XMLRPC::DateTime is able to store a XMLRPC dateTime.iso8601 value correctly.

Attributes

[R]day
[R]hour
[R]min
[R]mon
[R]month
[R]sec
[R]year

Files

  • lib/xmlrpc/datetime.rb