isOneDayEvent

checks whether the specified event one-day or multi-day

boolean isOneDayEvent(object event);
eventobjectthe event object
booleanreturns true, if the specified event is one-day. Otherwise, false

Example

var eventId = scheduler.addEvent({
    start_date: "16-06-2013 09:00",
    end_date:   "16-06-2013 12:00",
    text:   "Meeting"
});
scheduler.isOneDayEvent(scheduler.getEvent(eventId));//->true

Back to top