©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
An Event (VEVENT) calendar component groups properties describing a scheduled event. Events may have multiple occurrences Events may also contain one or more ALARM subcomponents to see the property accessing methods for this class see the RiCal::Properties::Event module to see the methods for enumerating occurrences of recurring events see the RiCal::OccurrenceEnumerator module
Return a date_time_property representing the time at which the event ends
# File lib/ri_cal/component/event.rb, line 31 def finish_property if dtend_property dtend_property elsif duration_property (dtstart_property + duration_property) else dtstart_property end end
Return a date_time representing the time at which the event starts
# File lib/ri_cal/component/event.rb, line 42 def finish_time prop = finish_property prop ? prop.to_finish_time : nil end
Return a date_time representing the time at which the event starts
# File lib/ri_cal/component/event.rb, line 26 def start_time dtstart_property ? dtstart.to_datetime : nil end
Generated with the Darkfish Rdoc Generator 2.