public abstract class ScheduleBroadcastFilter extends Object implements com.google.common.base.Predicate<org.joda.time.Interval>
Predicate for filtering broadcast intervals in a schedule interval. Valid broadcast intervals either entirely or partially overlap with the schedule interval or, if the schedule interval is an instance, abut its end.
For a non-empty schedule interval the following cases are covered:
Schedule Interval: SS-------------------SE Totally Contained: bs------be Only Start Contained: bs-------be Only End Contained: bs------be Exact match: bs-------------------be Entirely Overlapping: bs----------------------------be
Empty intervals are included both at the start and end, and within the interval.
For an empty interval the following cases are covered:
Schedule Interval: | Contains: bs--------be Abuts end: bs------be
| Constructor and Description |
|---|
ScheduleBroadcastFilter() |
public static final ScheduleBroadcastFilter valueOf(org.joda.time.Interval scheduleInterval)
Copyright © 2014. All rights reserved.