T
- the type of the optional user objectpublic class MutableCalendarActivityBase<T> extends MutableActivityBase<T> implements CalendarActivity
DEFAULT_DURATION, endTime, id, name, startTime, userObject
Constructor and Description |
---|
MutableCalendarActivityBase()
Constructs a new mutable calendar activity.
|
MutableCalendarActivityBase(Instant startTime,
Instant endTime)
Constructs a new mutable calendar activity with the start time and end
time.
|
MutableCalendarActivityBase(String name)
Constructs a new mutable calendar activity with the given name.
|
MutableCalendarActivityBase(String name,
Instant startTime,
Instant endTime)
Constructs a new mutable calendar activity with the given name, start
time, and end time.
|
addDuration, addDuration, getDuration, setDuration, setEndTime, setId, setName, setStartTime, setUserObject
getEndTime, getId, getName, getStartTime, getUserObject, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEndTime, getId, getName, getStartTime
public MutableCalendarActivityBase()
Instant.now()
and the end time will be equal to
Instant.now()
plus the value of ActivityBase.DEFAULT_DURATION
.public MutableCalendarActivityBase(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 MutableCalendarActivityBase(Instant startTime, Instant endTime)
startTime
- the start time of the activityendTime
- the end time of the activitypublic MutableCalendarActivityBase(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.