Ruby 1.9.3 リファレンスマニュアル > ライブラリ一覧 > xmlrpc/datetimeライブラリ > XMLRPC::DateTimeクラス > new

singleton method XMLRPC::DateTime.new

new(year, month, day, hour, min, sec)[permalink][rdoc]

Creates a new XMLRPC::DateTime instance with the parameters year, month, day as date and hour, min, sec as time. Raises ArgumentError if a parameter is out of range, or year is not of type Integer.