public class CalendarDateElement extends CalendarElement implements com.appiancorp.core.expr.calendar.PortableCalendarDateElement
CalendarDateElement
is similar to the
CalendarElement
but it has
an additional field which specifies the specific day to which this element
is applied.Constructor and Description |
---|
CalendarDateElement()
Default constructor for a
CalendarDateElement . |
CalendarDateElement(java.sql.Date date_,
CalendarElement tempElement_)
CalendarDateElement constructor which initializes the date
of this element as well as the starting minute and duration in minutes. |
CalendarDateElement(java.sql.Date date_,
int minuteOfDay_,
int lengthInMinutes_)
CalendarDateElement constructor which initializes the date
of this element as well as the starting minute and duration in minutes. |
Modifier and Type | Method and Description |
---|---|
java.sql.Date |
getDate()
Get the date to which this
CalendarDateElement is applied. |
void |
setDate(java.sql.Date date_)
Set the date to which this
CalendarDateElement is applied. |
java.lang.String |
toString()
Simple toString method.
|
equals, getLengthInMinutes, getMinuteOfDay, hashCode, minuteString, setLengthInMinutes, setMinuteOfDay, startEndToString, stringToCalendarElement
public CalendarDateElement()
CalendarDateElement
.public CalendarDateElement(java.sql.Date date_, int minuteOfDay_, int lengthInMinutes_)
CalendarDateElement
constructor which initializes the date
of this element as well as the starting minute and duration in minutes.date_
- The date to which this element applies.minuteOfDay_
- The start minute for this start-end pair.lengthInMinutes_
- The duration in minutes for this start-end pair.public CalendarDateElement(java.sql.Date date_, CalendarElement tempElement_)
CalendarDateElement
constructor which initializes the date
of this element as well as the starting minute and duration in minutes.
The starting minute and duration should be provided in tempElement_date_
- The date to which this element applies.tempElement_
- An instance of CalendarElement
containing
starting minute and the duration.public java.sql.Date getDate()
CalendarDateElement
is applied.getDate
in interface com.appiancorp.core.expr.calendar.PortableCalendarDateElement
setDate(Date)
public void setDate(java.sql.Date date_)
CalendarDateElement
is applied.date_
- The date to which this element is applied to set.getDate()
public java.lang.String toString()
toString
in class CalendarElement
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.