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

76 lines
2.7 KiB
Java

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 rtx extends C0743NnU<C17650ydt> {
public rtx(C17650ydt c17650ydt) {
super(c17650ydt);
}
@Override // o.C0743NnU
public final String d(int i) {
switch (i) {
case 0:
return ((C17650ydt) this.a).o(i);
case 10:
return String.format("0x%08X", ((C17650ydt) this.a).j(i));
case 14:
return String.format("%d", ((C17650ydt) this.a).j(i));
case 18:
return String.format("0x%08X", ((C17650ydt) this.a).j(i));
case 22:
return String.format("%d", ((C17650ydt) this.a).j(i));
case 24:
case 31:
case 38:
case 45:
case 52:
return ((C17650ydt) this.a).o(i);
case 53:
int[] i2 = ((C17650ydt) this.a).i(i);
if (i2 == null) {
return null;
}
return String.format("%d/%d", Integer.valueOf(i2[0]), Integer.valueOf(i2[1]));
case 55:
return String.format("%d", ((C17650ydt) this.a).j(i));
case 59:
String o2 = ((C17650ydt) 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 67:
return a(i, "New", "Waxing Crescent", "First Quarter", "Waxing Gibbous", "Full", "Waning Gibbous", "Last Quarter", "Waning Crescent");
case 68:
case 70:
return String.format("%d", ((C17650ydt) this.a).j(i));
case 72:
return a(i, "Off", "On");
case 73:
Double c = ((C17650ydt) this.a).c(i);
DecimalFormat decimalFormat = new DecimalFormat("0.000");
if (c != null) {
return decimalFormat.format(c);
}
return null;
case 75:
Gux gux = (Gux) BrP.b(new Object[]{(C17650ydt) this.a, Integer.valueOf(i)}, 1465014264, -1465014261, i);
if (gux == null) {
return null;
}
return gux.toString();
case 80:
return ((C17650ydt) this.a).o(i);
default:
return super.d(i);
}
}
}