Modification plannification toast

This commit is contained in:
Jacques Foucry 2016-08-31 17:57:12 +02:00
parent 1f94f3dd1a
commit 0996f908a8

View file

@ -32,20 +32,6 @@ public class UtilDate {
return calendar.getTime();
}
/**
* @return date (tomorrow)
*/
public static Date getTomorrow() {
Log.d(TAG, "tomorrow");
Calendar calendar = Calendar.getInstance();
calendar.add(Calendar.DAY_OF_YEAR,1);
return dateAtNoon(calendar.getTime());
}
/**
*
* @param days
@ -111,7 +97,7 @@ public class UtilDate {
* return int
*/
public static long tomorrowAtNoon() {
public static long tomorrowAtNoonInMillis() {
Date now = new Date();
Calendar calendar = Calendar.getInstance();
calendar.setTime(now);