T
- the type of an optional user objectpublic class CalendarActivityBase<T> extends ActivityBase<T> implements CalendarActivity
DEFAULT_DURATION, endTime, id, name, startTime, userObject
Constructor and Description |
---|
CalendarActivityBase()
Constructs a new calendar activity.
|
CalendarActivityBase(Instant startTime,
Instant endTime)
Constructs a new calendar activity with the start time and end time.
|
CalendarActivityBase(String name)
Constructs a new calendar activity with the given name.
|
CalendarActivityBase(String name,
Instant startTime,
Instant endTime)
Constructs a new calendar activity with the given name, start time, and
end time.
|
getEndTime, getId, getName, getStartTime, getUserObject, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEndTime, getId, getName, getStartTime
public CalendarActivityBase()
Instant.now()
and the end time will be equal to
Instant.now()
plus the value of ActivityBase.DEFAULT_DURATION
.public CalendarActivityBase(String name)
Instant.now()
and the end time will be equal
to Instant.now()
plus the value of ActivityBase.DEFAULT_DURATION
.name
- the name of the activitypublic CalendarActivityBase(Instant startTime, Instant endTime)
startTime
- the start time of the activityendTime
- the end time of the activitypublic CalendarActivityBase(String name, Instant startTime, Instant endTime)
name
- the name of the activitystartTime
- the start time of the activityendTime
- the end time of the activityCopyright © 2014 Dirk Lemmermann Software & Consulting. All rights reserved.