|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.ibm.icu.util.RangeDateRule
public class RangeDateRule
Implementation of DateRule that takes a range.
| Constructor Summary | |
|---|---|
RangeDateRule()
Deprecated. This is a draft API and might change in a future release of ICU. |
|
| Method Summary | |
|---|---|
void |
add(Date start,
DateRule rule)
Deprecated. This is a draft API and might change in a future release of ICU. |
void |
add(DateRule rule)
Deprecated. This is a draft API and might change in a future release of ICU. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RangeDateRule()
| Method Detail |
|---|
public void add(DateRule rule)
public void add(Date start,
DateRule rule)
public Date firstAfter(Date start)
DateRule
firstAfter in interface DateRulestart - Only occurrances on or after this date are returned.
DateRule.firstBetween(java.util.Date, java.util.Date)
public Date firstBetween(Date start,
Date end)
DateRule
firstBetween 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(Date date)
DateRule
isOn in interface DateRuledate - The date to check.
public boolean isBetween(Date start,
Date end)
isBetween in interface DateRule
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||