Class Time
In: lib/vpim/time.rb
Parent: Object

Extensions to builtin Time allowing addition to Time by multiples of other intervals than a second.


Public Instance methods

Returns a new Time, days later than this time. Does this do as I expect over DST? What if the hour doesn‘t exist in the next day, due to DST changes?

Returns a new Time, months later than this time. The day will be rounded down if it is not valid for that month. Jan 31 plus 1 month will be on Feb 28!

Returns a new Time, years later than this time. Feb 29 of a leap year will be rounded up to Mar 1 if the target date is not a leap year.