72 lines
2.0 KiB
Java
72 lines
2.0 KiB
Java
package o;
|
|
|
|
import android.content.SharedPreferences;
|
|
import android.content.res.Resources;
|
|
import com.scb.phone.presentation.mapper.transferandpay.BaseAssetsDisplayMapper;
|
|
import o.C15715hv;
|
|
import org.threeten.bp.OffsetDateTime;
|
|
|
|
/* renamed from: o.uX, reason: case insensitive filesystem */
|
|
/* loaded from: classes3.dex */
|
|
public final class C17172uX extends BaseAssetsDisplayMapper {
|
|
private final String b;
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
@InterfaceC13391fZD
|
|
public C17172uX(Resources resources, SharedPreferences sharedPreferences, String str, String str2) {
|
|
super(resources, sharedPreferences, str);
|
|
C14957gcv.e(resources, "");
|
|
C14957gcv.e(sharedPreferences, "");
|
|
C14957gcv.e(str, "");
|
|
C14957gcv.e(str2, "");
|
|
this.b = str2;
|
|
}
|
|
|
|
/* renamed from: o.uX$RVV */
|
|
/* loaded from: classes3.dex */
|
|
public static final class RVV {
|
|
private RVV() {
|
|
}
|
|
|
|
public /* synthetic */ RVV(byte b) {
|
|
this();
|
|
}
|
|
}
|
|
|
|
public static double m(String str) {
|
|
C14957gcv.e(str, "");
|
|
try {
|
|
Double valueOf = Double.valueOf(str);
|
|
C14957gcv.c(valueOf, "");
|
|
return valueOf.doubleValue();
|
|
} catch (NumberFormatException e) {
|
|
guQ.e(e);
|
|
return 0.0d;
|
|
}
|
|
}
|
|
|
|
public final String k(OffsetDateTime offsetDateTime) {
|
|
C14957gcv.e(offsetDateTime, "");
|
|
String c = c(C15715hv.tOB.investment_as_of_date, a(offsetDateTime));
|
|
C14957gcv.c((Object) c, "");
|
|
return c;
|
|
}
|
|
|
|
@Override // com.scb.phone.presentation.mapper.transferandpay.BaseAssetsDisplayMapper
|
|
public final String b_(String str) {
|
|
String e = C6583cXR.e(str, this.b);
|
|
C14957gcv.c((Object) e, "");
|
|
return e;
|
|
}
|
|
|
|
public static C0850Py b(ysd ysdVar) {
|
|
C14957gcv.e(ysdVar, "");
|
|
String str = ysdVar.e;
|
|
return new C0850Py(str != null ? str : "");
|
|
}
|
|
|
|
static {
|
|
new RVV((byte) 0);
|
|
}
|
|
}
|