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 FreeDate
s to define
free non-recurring dates.- API:
- This is a public API.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetDate()
Returns the dateReturns the descriptionvoid
Sets the date to the given parametervoid
setDescription
(String description) Sets the description to the given parameter
-
Constructor Details
-
FreeDate
- Parameters:
date
- the free date- Throws:
IllegalArgumentException
- ifdate
is null- API:
- This public API is available in Java.
-
FreeDate
- Parameters:
date
- the free datedescription
- the description- Throws:
IllegalArgumentException
- ifdate
ordescription
is null- API:
- This public API is available in Java.
-
-
Method Details
-
getDescription
Returns the description- Returns:
- the description
- API:
- This public API is available in Java.
-
setDescription
Sets the description to the given parameter- Parameters:
description
- the description to set- API:
- This public API is available in Java.
-
getDate
Returns the date- Returns:
- the date. Never null.
- API:
- This public API is available in Java.
-
setDate
Sets the date to the given parameter- Parameters:
date
- the date to set- Throws:
IllegalArgumentException
- ifdate
is null- API:
- This public API is available in Java.
-