Method: RiCal::Component::Todo#finish_time
- Defined in:
- lib/ri_cal/component/todo.rb
#finish_time ⇒ Object
Return a date_time representing the time at which the todo is due
32 33 34 35 36 37 38 39 40 |
# File 'lib/ri_cal/component/todo.rb', line 32 def finish_time if due due_property.to_finish_time elsif duration_property && dtstart_property (dtstart_property + duration_property).to_finish_time else nil end end |