Attribute showing that the calendar is being used as the default calendar.
Description.
Unique identifier (uuid).
Name.
Deletes the calendar.
Returns calendar days for the specified year.
Get working schedule (cycle).
Get associated calendar of exception days.
Unbind the celandar of exeption days.
Saves changes in the calendar.
Set working schedule (cycle).
Bind a calendar of exception days.
Your review is successfully sent!
Feedback sent successfully
Business calendar
Hierarchy
Properties
Readonly default
Attribute showing that the calendar is being used as the default calendar.
Optional description
Description.
Optional Readonly id
Unique identifier (uuid).
name
Name.
Methods
delete
Deletes the calendar.
Returns Promise<void>
getDays
Returns calendar days for the specified year.
Parameters
from: TDate
to: TDate
Optional startAt: TDate
Returns Promise<readonly Readonly<WorkCalendarDay>[]>
Returns calendar days for the specified year.
Parameters
year: number
Optional startAt: TDate
Returns Promise<readonly Readonly<WorkCalendarDay>[]>
getSchedule
Get working schedule (cycle).
Returns Readonly<WorkSchedule<WorkScheduleType, CalendarScheduleDaySettings>>
getSpecialCalendar
Get associated calendar of exception days.
Returns Promise<SpecialCalendar | undefined>
resetSpecialCalendar
Unbind the celandar of exeption days.
Returns void
save
Saves changes in the calendar.
Returns Promise<void>
setSchedule
Set working schedule (cycle).
Parameters
schedule: WorkSchedule
Returns void
setSpecialCalendar
Bind a calendar of exception days.
Parameters
calendar: SpecialCalendar
Returns void
Feedback sent successfully
Thank you for your input