Class FreeDate
java.lang.Object
ch.ivyteam.ivy.application.calendar.FreeDate
- All Implemented Interfaces:
ch.ivyteam.ivy.application.calendar.CalendarListEntry,Comparable<ch.ivyteam.ivy.application.calendar.CalendarListEntry>
public final class FreeDate
extends Object
implements ch.ivyteam.ivy.application.calendar.CalendarListEntry
Free non-recurring date.
A
IBusinessCalendarConfiguration can contain multiple FreeDates to define
free non-recurring dates.- API:
- This is a public API.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDate()Returns the dateReturns the descriptionvoidSets the date to the given parametervoidsetDescription(String description) Sets the description to the given parameter
-
Constructor Details
-
FreeDate
- Parameters:
date- the free date- Throws:
IllegalArgumentException- ifdateis null- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
FreeDate
- Parameters:
date- the free datedescription- the description- Throws:
IllegalArgumentException- ifdateordescriptionis null- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
-
Method Details
-
getDescription
Returns the description- Returns:
- the description
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
setDescription
Sets the description to the given parameter- Parameters:
description- the description to set- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
getDate
Returns the date- Returns:
- the date. Never null.
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
setDate
Sets the date to the given parameter- Parameters:
date- the date to set- Throws:
IllegalArgumentException- ifdateis null- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-