Class 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 Detail

      • FreeDate

        public FreeDate​(Date date)
        Parameters:
        date - the free date
        Throws:
        IllegalArgumentException - if date 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 date
        description - the description
        Throws:
        IllegalArgumentException - if date or description 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 - if date is null
        API:
        This public API is available in IvyScript and Java. It has the visibility EXPERT.