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

61 lines
2.0 KiB
Java

package o;
import android.content.SharedPreferences;
import android.content.res.Resources;
import java.text.NumberFormat;
import java.util.Locale;
import o.C15715hv;
/* renamed from: o.nN, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C16310nN extends C16157lj {
@InterfaceC13391fZD
public C16310nN(Resources resources, SharedPreferences sharedPreferences) {
super(resources, sharedPreferences);
}
public static C0498Hz b(int i, EnumC16373nni enumC16373nni, C0367Fb c0367Fb, boolean z, String str) {
C0498Hz c0498Hz = new C0498Hz();
c0498Hz.g = i;
c0498Hz.i = enumC16373nni;
c0498Hz.e = c0367Fb.ab;
c0498Hz.b = c0367Fb.d;
c0498Hz.a = c0367Fb.g;
c0498Hz.c = c0367Fb.S;
c0498Hz.d = c0367Fb.q;
c0498Hz.h = c0367Fb.W;
c0498Hz.l = z;
c0498Hz.m = str;
return c0498Hz;
}
public static C0498Hz d(C0471Hh c0471Hh) {
C0498Hz c0498Hz = new C0498Hz();
c0498Hz.g = c0471Hh.a;
c0498Hz.i = c0471Hh.j;
c0498Hz.a = c0471Hh.d;
c0498Hz.c = c0471Hh.c;
c0498Hz.d = c0471Hh.i;
c0498Hz.h = c0471Hh.b;
c0498Hz.e = c0471Hh.l;
c0498Hz.b = c0471Hh.e;
c0498Hz.j = c0471Hh.f8199o;
c0498Hz.m = c0471Hh.s;
c0498Hz.l = c0471Hh.h;
return c0498Hz;
}
public static /* synthetic */ C0486Hr b(C16310nN c16310nN, TBH tbh) {
uAa uaa = tbh.j;
String str = uaa.a;
String string = c16310nN.e.getString(C15715hv.tOB.rewards_text, uaa.c);
int i = uaa.b;
int i2 = uaa.e;
StringBuilder sb = new StringBuilder();
sb.append(NumberFormat.getInstance(Locale.getDefault()).format(i));
sb.append(" - ");
sb.append(NumberFormat.getInstance(Locale.getDefault()).format(i2));
return new C0486Hr(str, string, sb.toString(), c16310nN.e.getString(C15715hv.tOB.expires_text, cXG.a(tbh.b)), uaa.h, uaa.d);
}
}