|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Duration
A time interval duration. A duration is something that can be added or subtracted from a point in time to obtain another point in time.
| Method Summary | |
|---|---|
Date |
after(Date begin)
Returns the time point obtained summing this duration to the given time point |
Date |
before(Date begin)
Returns the time point obtained subtracting this duration to the given time point |
Duration |
plus(Duration d)
Add this duration to another to obtain another duration. |
| Method Detail |
|---|
Date after(Date begin)
begin -
Date before(Date begin)
begin -
Duration plus(Duration d)
d -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||