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

91 lines
3.3 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import com.kofax.kmc.ken.engines.service.ImageService;
import java.text.DecimalFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
/* loaded from: classes.dex */
public final class zIa extends C0743NnU<pPy> {
public zIa(pPy ppy) {
super(ppy);
}
@Override // o.C0743NnU
public final String d(int i) {
switch (i) {
case 16:
return String.format("%d", ((pPy) this.a).j(i));
case 18:
return String.format("%d", ((pPy) this.a).j(i));
case 42:
return ((pPy) this.a).o(i);
case 48:
String o2 = ((pPy) this.a).o(i);
try {
SimpleDateFormat simpleDateFormat = new SimpleDateFormat(ImageService.EXIF_TIME_FORMAT);
return simpleDateFormat.format(simpleDateFormat.parse(o2));
} catch (ParseException unused) {
return null;
}
case 52:
return ((pPy) this.a).o(i);
case 54:
int[] i2 = ((pPy) this.a).i(i);
if (i2 == null) {
return null;
}
return String.format("%d/%d", Integer.valueOf(i2[0]), Integer.valueOf(i2[1]));
case 58:
return String.format("%d", ((pPy) this.a).j(i));
case 62:
String o3 = ((pPy) this.a).o(i);
try {
SimpleDateFormat simpleDateFormat2 = new SimpleDateFormat(ImageService.EXIF_TIME_FORMAT);
return simpleDateFormat2.format(simpleDateFormat2.parse(o3));
} catch (ParseException unused2) {
return null;
}
case 74:
return a(i, "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");
case 76:
return a(i, "New", "Waxing Crescent", "First Quarter", "Waxing Gibbous", "Full", "Waning Gibbous", "Last Quarter", "Waning Crescent");
case 78:
case 80:
return String.format("%d", ((pPy) this.a).j(i));
case 82:
case 84:
case 86:
case 88:
return String.format("%d", ((pPy) this.a).j(i));
case 90:
return a(i, "Off", "On");
case 92:
case 94:
return String.format("%d", ((pPy) this.a).j(i));
case 96:
return String.format("%d", ((pPy) this.a).j(i));
case 98:
case 100:
Double c = ((pPy) this.a).c(i);
DecimalFormat decimalFormat = new DecimalFormat("0.000");
if (c != null) {
return decimalFormat.format(c);
}
return null;
case 102:
return String.format("%d", ((pPy) this.a).j(i));
case 104:
return ((pPy) this.a).o(i);
case 126:
Gux gux = (Gux) BrP.b(new Object[]{(pPy) this.a, Integer.valueOf(i)}, 1465014264, -1465014261, i);
if (gux == null) {
return null;
}
return gux.toString();
default:
return super.d(i);
}
}
}