com.jstatcom.util
Class DateDiff
- java.lang.Object
-
- com.jstatcom.util.DateDiff
-
public class DateDiff extends java.lang.ObjectHelper class for computing the difference of two dates in years, months, weeks or days. The estimates are precise for ranges up to 2000 years. The method takes care of corrections for leap seconds.
-
-
Constructor Summary
Constructors Constructor and Description DateDiff()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static intgetDateDiff(int calUnit, java.util.Date d1, java.util.Date d2)int diff = dd.getDateDiff(Calendar.WEEK_OF_YEAR, then, now);
-
DMelt 3.0 © DataMelt by jWork.ORG