| Constructor | Description |
|---|---|
RangeDateRule() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
add(DateRule rule) |
|
void |
add(java.util.Date start,
DateRule rule) |
|
java.util.Date |
firstAfter(java.util.Date start) |
Return the first occurrance of the event represented by this rule
that is on or after the given start date.
|
java.util.Date |
firstBetween(java.util.Date start,
java.util.Date end) |
Return the first occurrance of the event represented by this rule
that is on or after the given start date and before the given
end date.
|
boolean |
isBetween(java.util.Date start,
java.util.Date end) |
Check whether this event occurs at least once between the two
dates given.
|
boolean |
isOn(java.util.Date date) |
Checks whether this event occurs on the given date.
|
public void add(DateRule rule)
public void add(java.util.Date start,
DateRule rule)
public java.util.Date firstAfter(java.util.Date start)
DateRulefirstAfter in interface DateRulestart - Only occurrances on or after this date are returned.DateRule.firstBetween(java.util.Date, java.util.Date)public java.util.Date firstBetween(java.util.Date start,
java.util.Date end)
DateRulefirstBetween in interface DateRulestart - Only occurrances on or after this date are returned.end - Only occurrances before this date are returned.DateRule.firstAfter(java.util.Date)public boolean isOn(java.util.Date date)
DateRuleCopyright ? 2016 Unicode, Inc. and others.