Interface EventConstraint
-
public interface EventConstraint
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TimeSpanapplyConstraint(Event event, TimeSpan proposedTimeSpan)Describes a set of constraints on the start and end times of an event.
-
-
-
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 modifiedproposedTimeSpan- the proposed new start and end times for the event- Returns:
- the constrained start and end times for the event
-
-