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. AIBusinessCalendarConfiguration
can contain multipleFreeDate
s to define free non-recurring dates.- API:
- This is a public API.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getDate()
Returns the dateString
getDescription()
Returns the descriptionvoid
setDate(Date date)
Sets the date to the given parametervoid
setDescription(String description)
Sets the description to the given parameter
-
-
-
Constructor Detail
-
FreeDate
public FreeDate(Date date)
- Parameters:
date
- the free date- Throws:
IllegalArgumentException
- ifdate
is null- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
FreeDate
public FreeDate(Date date, String description)
- Parameters:
date
- the free datedescription
- the description- Throws:
IllegalArgumentException
- ifdate
ordescription
is null- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
-
Method Detail
-
getDescription
public String getDescription()
Returns the description- Returns:
- the description
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
setDescription
public void setDescription(String description)
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
public Date 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
public void setDate(Date date)
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 IvyScript and Java. It has the visibility EXPERT.
-
-