mirror of
https://github.com/jfoucry/Pilldroid.git
synced 2024-11-22 04:29:22 +01:00
Modification plannification toast
This commit is contained in:
parent
1f94f3dd1a
commit
0996f908a8
1 changed files with 1 additions and 15 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue