You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please can you write Java 7 equivalent of the above method. It seems to crash apps that use Java 7. I notice that it is only that method that doesn't work well with that Java 7.
Any help will be greatly appreciated. Below is the method:
`public static long bombAfterDays(Context context, long buildTime, int days) {
SimpleDateFormat sdf1 = new SimpleDateFormat("dd.MM.yyyy");
Calendar calendar = Calendar.getInstance();
calendar.setTimeInMillis(buildTime);
Date buildDate = calendar.getTime();
Date today = new Date();
long difference = daysBetween(buildDate, today);
Hi @kibotu,
Thanks for a nice work on this project.
Please can you write Java 7 equivalent of the above method. It seems to crash apps that use Java 7. I notice that it is only that method that doesn't work well with that Java 7.
Any help will be greatly appreciated. Below is the method:
`public static long bombAfterDays(Context context, long buildTime, int days) {
SimpleDateFormat sdf1 = new SimpleDateFormat("dd.MM.yyyy");
Calendar calendar = Calendar.getInstance();
calendar.setTimeInMillis(buildTime);
Date buildDate = calendar.getTime();
Date today = new Date();
long difference = daysBetween(buildDate, today);
`
The text was updated successfully, but these errors were encountered: