method

day=

day=(value)
public

Set value as the new date/time component.

Raises an ArgumentError if the given value isn’t between 1 and 31.