mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-14 15:17:02 -04:00
Remove additional debugging
This commit is contained in:
parent
b021a1fd5c
commit
1e8e1757ab
@ -1,7 +1,5 @@
|
||||
package net.kdt.pojavlaunch.utils;
|
||||
|
||||
import android.util.Log;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import net.kdt.pojavlaunch.JMinecraftVersionList;
|
||||
@ -38,11 +36,7 @@ public class DateUtils {
|
||||
* @return true if the Date is before year, month, dayOfMonth, false otherwise
|
||||
*/
|
||||
public static boolean dateBefore(@NonNull Date date, int year, int month, int dayOfMonth) {
|
||||
Date comparsionDate = new Date(new GregorianCalendar(year, month, dayOfMonth).getTimeInMillis());
|
||||
Log.i("DateUtils", "date:"+date);
|
||||
Log.i("DateUtils", "comparsionDate:"+comparsionDate);
|
||||
Log.i("DateUtils","isBefore:"+date.before(comparsionDate));
|
||||
return date.before(comparsionDate);
|
||||
return date.before(new Date(new GregorianCalendar(year, month, dayOfMonth).getTimeInMillis()));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user