| 96 | |
| 97 | |
| 98 | export interface SchedulerTemplates { |
| 99 | |
| 100 | /** |
| 101 | * specifies the date in the header of the view |
| 102 | * @param start the start date of the view |
| 103 | * @param end the end date of the view |
| 104 | */ |
| 105 | agenda_date(start: Date, end: Date): string; |
| 106 | |
| 107 | /** |
| 108 | * specifies the content of the day cell of the Agenda view |
| 109 | * @param date the date which needs formatting |
| 110 | */ |
| 111 | agenda_day(date: Date): string; |
| 112 | |
| 113 | /** |
| 114 | * specifies the text in the second column of the Agenda view |
| 115 | * @param start the date when an event is scheduled to begin |
| 116 | * @param end the date when an event is scheduled to be completed |
| 117 | * @param event the event object |
| 118 | */ |
| 119 | agenda_text(start: Date, end: Date, event: any): string; |
| 120 | |
| 121 | /** |
| 122 | * specifies the date in the first column of the Agenda view |
| 123 | * @param start the date when an event is scheduled to begin |
| 124 | * @param end the date when an event is scheduled to be completed |
| 125 | * @param event the event object |
| 126 | */ |
| 127 | agenda_time(start: Date, end: Date, event: any): string; |
| 128 | |
| 129 | /** |
| 130 | * specifies the format of dates that are set by means of API methods. Used to parse incoming dates |
| 131 | * @param date the date which needs formatting |
| 132 | */ |
| 133 | api_date(date: Date): string; |
| 134 | |
| 135 | /** |
| 136 | * specifies the content of day-cells in the Mini-Calendar (date picker) |
| 137 | * @param date the cell's date |
| 138 | */ |
| 139 | calendar_date(date: Date): string; |
| 140 | |
| 141 | /** |
| 142 | * specifies the date in the header of the Mini-Calendar (date picker) |
| 143 | * @param date the first day of a selected month |
| 144 | */ |
| 145 | calendar_month(date: Date): string; |
| 146 | |
| 147 | /** |
| 148 | * specifies the format of week-days in the header of the Mini-Calendar (date picker) |
| 149 | * @param date the date of a week-day for a header cell |
| 150 | */ |
| 151 | calendar_scale_date(date: Date): string; |
| 152 | |
| 153 | /** |
| 154 | * specifies the date format of the lightbox's start and end date inputs |
| 155 | * @param date the date which needs formatting |
nothing calls this directly
no outgoing calls
no test coverage detected