schedules the start and end tasks of the calendar item . concode_field_sep CalendarServiceImpl calendarService concode_elem_sep Date endDate concode_elem_sep boolean executeNow concode_elem_sep RecurringPattern pattern concode_elem_sep TimerTask endTask concode_elem_sep TimerTask startTask concode_elem_sep CalendarService.BusyStatusEnum state concode_elem_sep String id concode_elem_sep Timer timer concode_elem_sep Date startDate concode_field_sep Date getStartDate concode_elem_sep void stop concode_elem_sep void start concode_elem_sep void setPattern concode_elem_sep void run concode_elem_sep void run concode_elem_sep String getId concode_elem_sep Date getEndDate concode_elem_sep RecurringPattern getPattern concode_elem_sep CalendarService.BusyStatusEnum getStatus concode_elem_sep void remove
void function ( ) { if ( ! executeNow ) { timer . schedule ( startTask , startDate ) ; } else { startTask . run ( ) ; } timer . schedule ( endTask , endDate ) ; }