Interface EventConstraint


  • public interface EventConstraint
    • Method Detail

      • applyConstraint

        TimeSpan applyConstraint​(Event event,
                                 TimeSpan proposedTimeSpan)
        Describes a set of constraints on the start and end times of an event.
        Parameters:
        event - the event being modified
        proposedTimeSpan - the proposed new start and end times for the event
        Returns:
        the constrained start and end times for the event