package o; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.List; import o.DBx; import o.ToF; import org.threeten.bp.OffsetDateTime; /* loaded from: classes3.dex */ public final class WZt extends PDU { @InterfaceC13391fZD public WZt() { } public static ToF.RVV b(gFW gfw) { String str = gfw.c; return new ToF.RVV(str != null ? Double.valueOf(Double.parseDouble(str)) : null, gfw.e, gfw.a, gfw.b, 48); } public final ToF d(DBx dBx, C16086l c16086l) { C14957gcv.e(dBx, ""); C14957gcv.e(c16086l, ""); String str = c16086l.a; double d = dBx.a; String str2 = dBx.e; DBx.HBt hBt = dBx.b; String str3 = hBt.b; ToF.RVV rvv = new ToF.RVV(str3 != null ? Double.valueOf(Double.parseDouble(str3)) : null, hBt.c, hBt.i, hBt.e, Double.valueOf(Double.parseDouble(hBt.a)), Double.valueOf(Double.parseDouble(hBt.d))); double d2 = dBx.d; OffsetDateTime b = ZTC.b(dBx.f, OffsetDateTime.now()); C14957gcv.e(b); Integer valueOf = Integer.valueOf(c16086l.d); String str4 = c16086l.e; AUj a = a(dBx.j); List list = dBx.h; C14957gcv.e(list, ""); ArrayList arrayList = new ArrayList(list instanceof Collection ? list.size() : 10); Iterator it = list.iterator(); while (it.hasNext()) { arrayList.add(PDU.a((C17505xNA) it.next())); } ArrayList arrayList2 = arrayList; DBx.LWm lWm = dBx.c; return new ToF(str, d, str2, rvv, d2, b, valueOf, str4, a, arrayList2, lWm != null ? new Wcm(lWm.b, lWm.c) : null); } public static ToF b(LqH lqH) { C14957gcv.e(lqH, ""); double d = lqH.a; String str = lqH.b; ToF.RVV b = b(lqH.c); double d2 = lqH.d; OffsetDateTime b2 = ZTC.b(lqH.e, OffsetDateTime.now()); C14957gcv.e(b2); return new ToF(null, d, str, b, d2, b2, null, null, null, 129); } }