v7.3.0
SupportExamplesFree Trial

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

Configs

Configs are options you supply in a configuration object when creating an instance of this class
  • Set to false to disable localization of this object.

Properties

Properties are getters/setters or publicly accessible variables on this class

Functions

Functions are methods available for calling on the class

Source path

Scheduler/data/util/recurrence/RecurrenceLegend.js

Contents