From ef7ee0fc765647654a62c3973a3ee287c3dceb37 Mon Sep 17 00:00:00 2001 From: jacques Date: Mon, 27 Jun 2022 15:54:22 +0200 Subject: [PATCH] Small change --- app/src/main/java/net/foucry/pilldroid/UtilDate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/net/foucry/pilldroid/UtilDate.java b/app/src/main/java/net/foucry/pilldroid/UtilDate.java index fe7075a..9a67307 100644 --- a/app/src/main/java/net/foucry/pilldroid/UtilDate.java +++ b/app/src/main/java/net/foucry/pilldroid/UtilDate.java @@ -82,7 +82,7 @@ public class UtilDate { * @return int numbers of days between date 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 todayDate = dateAtNoon(new Date()); // Be sure that we use today at Noon