Files
rr3-apk/decompiled/sources/com/google/android/gms/internal/ads/zzalx.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

28 lines
882 B
Java

package com.google.android.gms.internal.ads;
import com.facebook.internal.security.CertificateUtil;
/* loaded from: classes3.dex */
public final class zzalx {
public static float zza(String str) throws NumberFormatException {
if (str.endsWith("%")) {
return Float.parseFloat(str.substring(0, str.length() - 1)) / 100.0f;
}
throw new NumberFormatException("Percentages must end with %");
}
public static long zzb(String str) throws NumberFormatException {
int i = zzei.zza;
String[] split = str.split("\\.", 2);
long j = 0;
for (String str2 : split[0].split(CertificateUtil.DELIMITER, -1)) {
j = (j * 60) + Long.parseLong(str2);
}
long j2 = j * 1000;
if (split.length == 2) {
j2 += Long.parseLong(split[1]);
}
return j2 * 1000;
}
}