Remove additional debugging

This commit is contained in:
artdeell 2023-12-10 10:42:10 +03:00 committed by Maksim Belov
parent b021a1fd5c
commit 1e8e1757ab

View File

@ -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()));
}
/**