method

year=

ruby latest stable - Class: XMLRPC::DateTime

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.

year=(value)
public

Set value as the new date/time component.

Raises ArgumentError if the given value is out of range, or in the case of XMLRPC::DateTime#year= if value is not of type Integer.