|
Groovy JDK |
Method Summary | |
---|---|
Date
|
clearTime()
Clears the time portion of this java.sql.Date instance; useful utility where it makes sense to compare month/day/year only portions of a Date. |
Date
|
minus(int days)
Subtract a number of days from this date and returns the new date. |
Date
|
next()
Increment a java.sql.Date by one day. |
Date
|
plus(int days)
Add a number of days to this date and returns the new date. |
Date
|
previous()
Decrement a java.sql.Date by one day. |
Method Detail |
---|
public Date clearTime()
public Date minus(int days)
days
- the number of days to subtract.public Date next()
public Date plus(int days)
days
- the number of days to increase.public Date previous()
|
Groovy JDK |