net.fortuna.ical4j.filter
Class PeriodRule
java.lang.Object
net.fortuna.ical4j.filter.ComponentRule
net.fortuna.ical4j.filter.PeriodRule
- All Implemented Interfaces:
- Rule
- public class PeriodRule
- extends ComponentRule
A rule that matches any component that occurs in the specified time period.
- Author:
- Ben Fortuna
Constructor Summary |
PeriodRule(Period period)
Constructs a new instance using the specified period. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PeriodRule
public PeriodRule(Period period)
- Constructs a new instance using the specified period.
- Parameters:
period
-
match
public boolean match(Component component)
- Specified by:
match
in class ComponentRule
- Parameters:
component
-
- Returns: