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

71 lines
2.0 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.SharedPreferences;
import android.content.res.Resources;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import org.threeten.bp.OffsetDateTime;
/* renamed from: o.oc, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C16463oc extends C16157lj {
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C16463oc(Resources resources, SharedPreferences sharedPreferences) {
super(resources, sharedPreferences);
C14957gcv.e(resources, "");
C14957gcv.e(sharedPreferences, "");
}
/* renamed from: o.oc$HBt */
/* loaded from: classes3.dex */
public static final class HBt {
private HBt() {
}
public /* synthetic */ HBt(byte b) {
this();
}
}
public static SimpleDateFormat i() {
return new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");
}
public static String g() {
String format = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss").format(Calendar.getInstance().getTime());
C14957gcv.c((Object) format, "");
return format;
}
public static OffsetDateTime h() {
OffsetDateTime now = OffsetDateTime.now();
OffsetDateTime d = cXG.d("yyyy-MM-dd'T'HH:mm:ss", now == null ? null : now.format(C15554gto.ofPattern("yyyy-MM-dd'T'HH:mm:ss").withZone(AbstractC15502gsH.of("Asia/Bangkok"))));
C14957gcv.c(d, "");
return d;
}
public static OffsetDateTime k(String str) {
OffsetDateTime d = cXG.d("yyyy-MM-dd'T'HH:mm:ss", str);
C14957gcv.c(d, "");
return d;
}
public final String m(String str) {
if (str.length() == 0) {
return "";
}
String a = a(cXG.d("yyyy-MM-dd'T'HH:mm:ss", str));
C14957gcv.c((Object) a, "");
return a;
}
public static C0478Hm d(tGN tgn) {
return new C0478Hm(tgn.b, tgn.d, tgn.e, tgn.a);
}
static {
new HBt((byte) 0);
}
}