com.ibm.icu.util
public interface DateRule
See Also: SimpleDateRule
UNKNOWN: ICU 2.8 (retainAll) This API might change or be removed in a future release.
Method Summary | |
---|---|
abstract Date | firstAfter(Date start)
Return the first occurrance of the event represented by this rule
that is on or after the given start date.
|
abstract 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.
|
abstract boolean | isBetween(Date start, Date end)
Check whether this event occurs at least once between the two
dates given. |
abstract boolean | isOn(Date date)
Checks whether this event occurs on the given date. |
Parameters: start Only occurrances on or after this date are returned.
Returns: The date on which this event occurs, or null if it does not occur on or after the start date.
See Also: DateRule
UNKNOWN: ICU 2.8 This API might change or be removed in a future release.
Parameters: start Only occurrances on or after this date are returned. end Only occurrances before this date are returned.
Returns: The date on which this event occurs, or null if it does not occur between the start and end dates.
See Also: DateRule
UNKNOWN: ICU 2.8 This API might change or be removed in a future release.
UNKNOWN: ICU 2.8 This API might change or be removed in a future release.
Parameters: date The date to check.
Returns: true if this event occurs on the given date.
UNKNOWN: ICU 2.8 This API might change or be removed in a future release.