©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
RiCal::PropertyValue::CalAddress represents an icalendar Duration property value which is defined in rfc 2445 section 4.3.6 p 37
Determine whether another object is an equivalent RiCal::PropertyValue::Duration
# File lib/ri_cal/property_value/duration.rb, line 89 def ==(other) other.kind_of?(PropertyValue::Duration) && value == other.value end
Double-dispatch method to support RiCal::PropertyValue::DateTime.+
# File lib/ri_cal/property_value/duration.rb, line 104 def add_to_date_time_value(date_time_value) date_time_value.advance(:weeks => weeks, :days => days, :hours => hours, :minutes => minutes, :seconds => seconds) end
Double-dispatch method to support RiCal::PropertyValue::DateTime.-
# File lib/ri_cal/property_value/duration.rb, line 99 def subtract_from_date_time_value(date_time_value) date_time_value.advance(:weeks => -weeks, :days => -days, :hours => -hours, :minutes => -minutes, :seconds => -seconds) end
Generated with the Darkfish Rdoc Generator 2.