Constructor and Description |
---|
PeriodRule(Period period)
Constructs a new instance using the specified period.
|
Modifier and Type | Method and Description |
---|---|
boolean |
match(Component component)
Indicates whether the specified object passes the conditions required to match this rule.
|
public PeriodRule(Period period)
period
- a period instance to match onpublic final boolean match(Component component)