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