public interface DateRule
SimpleDateRule
Modifier and Type | Method and Description |
---|---|
Date |
firstAfter(Date start)
Return the first occurrance of the event represented by this rule
that is on or after the given start date.
|
Date |
firstBetween(Date start,
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(Date start,
Date end)
Check whether this event occurs at least once between the two
dates given.
|
boolean |
isOn(Date date)
Checks whether this event occurs on the given date.
|
Date firstAfter(Date start)
start
- Only occurrances on or after this date are returned.firstBetween(java.util.Date, java.util.Date)
Date firstBetween(Date start, Date end)
start
- Only occurrances on or after this date are returned.end
- Only occurrances before this date are returned.firstAfter(java.util.Date)
boolean isOn(Date date)
date
- The date to check.Copyright © 2016 Unicode, Inc. and others.