Calendar API

Provides run-time access to the Calendar function and Calendar State

Calendar API Methods

MethodDescription
getAvailableCalendars()Retrieves all available Calendars
getCalendarState()Retrieves Calendar section from Adaptable state
getCurrentCalendar()Retrives name of current Calendar
getDynamicDate(dynamicDateName)Gets a Dynamic date
getNextWorkingDay()Gets next working day (using current Calendar)
getPreviousWorkingDay()Gets previous working day (using current Calendar)
isNotWorkingDay(dateToCheck)Is date a working day
setCurrentCalendar(calendar)Sets the current Calendar name

See API documentation for full details of all available functions with lists of parameters