24 lines
637 B
Java
24 lines
637 B
Java
|
package o;
|
||
|
|
||
|
import org.threeten.bp.OffsetDateTime;
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public final class THd {
|
||
|
@InterfaceC13391fZD
|
||
|
public THd() {
|
||
|
}
|
||
|
|
||
|
public static boolean b(String str) {
|
||
|
if (!gjJ.a(str) || str.length() != 10) {
|
||
|
return false;
|
||
|
}
|
||
|
String b = C15240gl.b(C15240gl.e(str, "/"));
|
||
|
boolean z = (b == null || b.isEmpty()) ? false : true;
|
||
|
if (!z) {
|
||
|
return z;
|
||
|
}
|
||
|
OffsetDateTime d = C15602gz.d("dd/MM/yyyy", b);
|
||
|
return d.getYear() > 0 && C15500gsA.between(d.toLocalDate(), OffsetDateTime.now().toLocalDate()).getYears() > 0;
|
||
|
}
|
||
|
}
|