code: 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);
  	}
docs: Calculates the number of days between two dates.
  @param year1 the year of the first date
  @param month1 the month of the first date
  @param day1 the day of the first date
  @param year2 the year of the second date
  @param month2 the month of the second date
  @param day2 the day of the second date
  @return the number of days