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

58 lines
1.4 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import com.drew.metadata.MetadataException;
/* renamed from: o.itK, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C15827itK extends C0743NnU<KZl> {
public C15827itK(KZl kZl) {
super(kZl);
}
@Override // o.C0743NnU
public final String d(int i) {
if (i == 1) {
return j();
}
if (i == 4) {
return e();
}
return super.d(i);
}
private String j() {
try {
int h = ((KZl) this.a).h(1);
StringBuilder sb = new StringBuilder();
if ((h & 1) == 1) {
sb.append("Valid");
} else {
sb.append("Invalid");
}
if ((h & 2) != 0) {
sb.append(", rounded");
}
if ((h & 4) != 0) {
sb.append(", positive infinity");
}
if ((h & 8) != 0) {
sb.append(", negative infinity");
}
if ((h & 16) != 0) {
sb.append(", indefinite");
}
return sb.toString();
} catch (MetadataException unused) {
return null;
}
}
private String e() {
try {
return String.format("%d seconds", Long.valueOf(((KZl) this.a).g(4) / ((KZl) this.a).g(3)));
} catch (MetadataException unused) {
return null;
}
}
}