Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v2_2_9) is shown here.
new(year, month, day, hour, min, sec)
public
Creates a new XMLRPC::DateTime instance with the
parameters year, month, day as date and
hour, min, sec as time.
Raises an ArgumentError if a parameter is
out of range, or if year is not of the Integer type.
# File lib/xmlrpc/datetime.rb, line 83
def initialize(year, month, day, hour, min, sec)
self.year, self.month, self.day = year, month, day
self.hour, self.min, self.sec = hour, min, sec
end