|
Groovy JDK |
Method Summary | |
---|---|
int
|
getAt(int field)
Support the subscript operator for a Date |
Date
|
minus(int days)
Subtract a number of days from this date and returns the new date |
Date
|
next()
Increment a 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 Date by one day |
Method Detail |
---|
public int getAt(int field)
field
- a Calendar field, e.g. MONTH.
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 |