Small change

This commit is contained in:
jacques 2022-06-27 15:54:22 +02:00
parent 589dc41709
commit ef7ee0fc76

View file

@ -82,7 +82,7 @@ public class UtilDate {
* @return int numbers of days between date and today * @return int numbers of days between date and today
* Number of days between date (older than today) and today * Number of days between date (older than today) and today
*/ */
static int nbOfDaysBetweenDateAndToday(Date date) { public static int nbOfDaysBetweenDateAndToday(Date date) {
Date oldDate = dateAtNoon(date); // Be sure that the old date is at Noon Date oldDate = dateAtNoon(date); // Be sure that the old date is at Noon
Date todayDate = dateAtNoon(new Date()); // Be sure that we use today at Noon Date todayDate = dateAtNoon(new Date()); // Be sure that we use today at Noon