days_between


Description:

public int days_between (Date date2)

Computes the number of days between two dates.

If date2 is prior to this, the returned value is negative. Both dates must be valid.

Parameters:

this

the first date

date2

the second date

Returns:

the number of days between this and date2