public static int daysBetween ( int year1 , int month1 , int day1 , int year2 , int month2 , int day2 ) { return fixedFromGregorian ( year1 , month1 , day1 ) - fixedFromGregorian ( year2 , month2 , day2 ) ; }
Calculates the number of days between two dates .