|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DateRule
DateRule is an interface for calculating the date of an event. It supports both recurring events and those which occur only once. DateRule is useful for storing information about holidays, Daylight Savings Time rules, and other events such as meetings.
SimpleDateRule
Method Summary | |
---|---|
Date |
firstAfter(Date start)
Deprecated. This is a draft API and might change in a future release of ICU. |
Date |
firstBetween(Date start,
Date end)
Deprecated. This is a draft API and might change in a future release of ICU. |
boolean |
isBetween(Date start,
Date end)
Deprecated. This is a draft API and might change in a future release of ICU. |
boolean |
isOn(Date date)
Deprecated. This is a draft API and might change in a future release of ICU. |
Method Detail |
---|
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.
boolean isBetween(Date start, Date end)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |