v7.3.0

RecurrenceLegend

A static class allowing to get a human readable description of the provided recurrence.

const event = new EventModel({
     startDate : new Date(2018, 6, 3),
     endDate   : new Date(2018, 6, 4)
});
const recurrence = new RecurrenceModel({
     frequency : 'WEEKLY',
     days : ['MO', 'TU', 'WE']
});
event.recurrence = recurrence;
// "Weekly on Mon, Tue and Wed"
RecurrenceLegend.getLegend(recurrence);
No results

Functions

Functions are methods available for calling on the class

    Source path

    Scheduler/data/util/recurrence/RecurrenceLegend.js

    Contents