mirror of
https://github.com/jfoucry/Pilldroid.git
synced 2024-11-22 04:29:22 +01:00
Change method to public
This commit is contained in:
parent
e1cfc2a375
commit
59ca655452
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue