Class MutableCalendarActivityBase<T>

Type Parameters:
T - the type of the optional user object
All Implemented Interfaces:
Activity, MutableActivity, CalendarActivity

public class MutableCalendarActivityBase<T>
extends MutableActivityBase<T>
implements CalendarActivity
A mutable calendar activity base implementation.
Since:
1.0
  • Constructor Details

    • MutableCalendarActivityBase

      public MutableCalendarActivityBase()
      Constructs a new mutable calendar activity. The initial start time will be set to Instant.now() and the end time will be equal to Instant.now() plus the value of ActivityBase.DEFAULT_DURATION.
      Since:
      1.0
    • MutableCalendarActivityBase

      public MutableCalendarActivityBase​(String name)
      Constructs a new mutable calendar activity with the given name. The initial start time will be set to Instant.now() and the end time will be equal to Instant.now() plus the value of ActivityBase.DEFAULT_DURATION.
      Parameters:
      name - the name of the activity
      Since:
      1.0
    • MutableCalendarActivityBase

      public MutableCalendarActivityBase​(Instant startTime, Instant endTime)
      Constructs a new mutable calendar activity with the start time and end time.
      Parameters:
      startTime - the start time of the activity
      endTime - the end time of the activity
      Since:
      1.0
    • MutableCalendarActivityBase

      public MutableCalendarActivityBase​(String name, Instant startTime, Instant endTime)
      Constructs a new mutable calendar activity with the given name, start time, and end time.
      Parameters:
      name - the name of the activity
      startTime - the start time of the activity
      endTime - the end time of the activity
      Since:
      1.0