Interface IDefaultBusinessCalendar
-
- All Superinterfaces:
IBusinessCalendar
public interface IDefaultBusinessCalendar extends IBusinessCalendar
The default business calendar represents the default
IBusinessCalendar
used in the current context.To explicitly get a different
IBusinessCalendar
useget(String)
.It is possible to define a specific
IDefaultBusinessCalendar
for each Environment, Case and Task.Priority:
- Task: The
IBusinessCalendar
set on a task is always used as default in the context of the task. It cannot be overwritten. - Case: The
IBusinessCalendar
set 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
IBusinessCalendar
set 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
IBusinessCalendar
is only used if it is not overwritten on the current environment, case or task.
- API:
- This is a public API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IBusinessCalendar
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
-
-
-
-
Method Detail
-
get
IBusinessCalendar get(String calendarName)
Gets an instance of a specific calendar. If no calendar withcalendarName was found
the default calendar is returned.- Parameters:
calendarName
- Name of a specific calendar- Returns:
- Instance of the specified calendar. Never null.
- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
-