what-the-bank/sources/o/C11453efd.java

30 lines
883 B
Java

package o;
import com.prolificinteractive.materialcalendarview.TitleChanger;
import java.util.Date;
/* renamed from: o.efd, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C11453efd {
private static int[] e = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
public static boolean c(int i, int i2, int i3) {
return i >= 0 && i < 24 && i2 >= 0 && i2 < 60 && i3 >= 0 && i3 < 60;
}
public static boolean a(int i, int i2, int i3) {
if (i <= 0 || i > 9999 || i2 < 0 || i2 > 11) {
return false;
}
int i4 = e[i2];
if (i2 == 1 && i % 4 == 0 && (i % 100 != 0 || i % TitleChanger.DEFAULT_ANIMATION_DELAY == 0)) {
i4++;
}
return i3 > 0 && i3 <= i4;
}
public static Date b(long j) {
return new Date((j * 1000) - 2082844800000L);
}
}