the type of the optional user object
Constructs a new mutable activity with the given name, start time, and end time.
the name of the activity
the start time of the activity
the end time of the activity
Convenience method to determine a new end time based on a duration that will be added several times to the current end time of the activity.
the duration of the activity
the number of times that the duration will be added
Convenience method to determine the duration between the start and the end time of the activity.
the duration of the activity
The end time of the activity.
the activity end time
The unique id of the activity.
the unique activity ID
The name of the activity, for example "Flight 3441".
the name of the activity
The start time of the activity.
the activity start time
Returns the user object associated to the activity.
the user object associated to the activity
Convenience method to determine a new end time based on a duration that will be added to the current start time of the activity.
the duration of the activity
Sets a new end time on the activity.
the new end time
Sets the name of the activity.
the new name of the activity
Sets a new start time on the activity.
the new start time
Set the user object associated to the activity.
the user object to associate to the activity
The base implementation of a mutable activity. An activity is considered mutable if it implements the
MutableActivity
interface. By doing so we now have access to various setter methods to alter the state of the activity.1.0