Groovy JDK

java.util
Class Calendar

Method Summary
int minus(Calendar then)
Subtract another date from this one and return the number of days of the difference.
 
Method Detail

minus

public int minus(Calendar then)
 
Subtract another date from this one and return the number of days of the difference. Date self = Date then + (Date self - Date then) IOW, if self is before then the result is a negative value.
Parameters:
then - another Calendar.
Returns:
number of days
Since:
1.6.0

Groovy JDK