|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.amattioli.encapsulate.dates.RangeEachDay
public class RangeEachDay
Check if a time point is between two hours, independently of the day. For example it can check if the time is between 09:00 AM and 06:00 PM.
| Constructor Summary | |
|---|---|
RangeEachDay(int startHour,
int endHour)
Constructs an expression using the start and end hours. |
|
RangeEachDay(int startHour,
int startMinute,
int endHour,
int endMinute)
Constructs an expression using the start and end hours and minutes. |
|
| Method Summary | |
|---|---|
boolean |
includes(Date d)
Verifies if a date satisfies this expression |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RangeEachDay(int startHour,
int endHour)
startHour - the start hour (0 to 24)endHour - the end hour (0 to 24)
public RangeEachDay(int startHour,
int startMinute,
int endHour,
int endMinute)
startHour - the start hour (0 to 23)startMinute - the start minuteendHour - the end hour (0 to 24)endMinute - the end minute| Method Detail |
|---|
public boolean includes(Date d)
TemporalExpression
includes in interface TemporalExpressiond - the date to be checked
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||