- All Superinterfaces:
public interface IDefaultBusinessCalendar extends IBusinessCalendar
The default business calendar represents the default
IBusinessCalendarused in the current context.
To explicitly get a different
It is possible to define a specific
IDefaultBusinessCalendarfor each Environment, Case and Task.
- Task: The
IBusinessCalendarset on a task is always used as default in the context of the task. It cannot be overwritten.
- Case: The
IBusinessCalendarset on a case is used as default in the context of the case, as long as it is not overwritten on the current task.
- Environment: The
IBusinessCalendarset on an environment is used as default when the environment is active, as long as it is not overwritten on the current case or task.
- Global: The global default
IBusinessCalendaris only used if it is not overwritten on the current environment, case or task.
- This is a public API.
All Methods Instance Methods Abstract Methods Modifier and Type Method Description
get(String calendarName)Gets an instance of a specific calendar.
Methods inherited from interface ch.ivyteam.ivy.application.calendar.IBusinessCalendar
getBusinessDuration, getBusinessTimeIn, getBusinessTimeIn, getFirstWorkDayOfMonth, getFirstWorkDayOfWeek, getFirstWorkDayOfYear, getLastWorkDayOfMonth, getLastWorkDayOfWeek, getLastWorkDayOfYear, getName, getWorkDayIn, getWorkDayIn, getWorkDayIn, getWorkDayIn, getWorkDayIn, isWorkDay, isWorkTime
IBusinessCalendar get(String calendarName)Gets an instance of a specific calendar. If no calendar with
calendarName was foundthe default calendar is returned.
calendarName- Name of a specific calendar
- Instance of the specified calendar. Never null.
- This public API is available in IvyScript and Java. It has the visibility NOVICE.