to_time() Instance Public methods Return a Time object of the date/time which represents self. If the @year is below 1970, this method returns nil, because Time cannot handle years below 1970. The timezone used is GMT.
to_date() Instance Public methods Return a Date object of the date which represents self. The Date object do not contain the time component (only date).
to_a() Instance Public methods Returns all date/time components in an array. Returns +[year, month, day, hour, min, sec]+.
sec=(value) Instance Public methods Set value as the new date/time component. Raises an ArgumentError if the given value isn't between 0 and 59.
month=(value) Instance Public methods Set value as the new date/time component. Raises an ArgumentError if the given value isn't between 1 and 12. mon=
mon=(value) Instance Public methods Alias for #month=. month=
min=(value) Instance Public methods Set value as the new date/time component. Raises an ArgumentError if the given value isn't between 0 and 59.
hour=(value) Instance Public methods Set value as the new date/time component. Raises an ArgumentError if the given value isn't between 0 and 24.
day=(value) Instance Public methods Set value as the new date/time component. Raises an ArgumentError if the given value isn't between 1 and 31.
==(o) Instance Public methods Returns whether or not all date/time components are an array.
Page 422 of 2275