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

156 lines
4.8 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.io.Serializable;
import java.util.Collections;
import java.util.List;
/* renamed from: o.gua, reason: case insensitive filesystem */
/* loaded from: classes6.dex */
public abstract class AbstractC15574gua {
public abstract boolean equals(Object obj);
public abstract C15519gso getDaylightSavings(C15523gss c15523gss);
public abstract gsI getOffset(C15522gsr c15522gsr);
public abstract gsI getOffset(C15523gss c15523gss);
public abstract gsI getStandardOffset(C15523gss c15523gss);
public abstract gtW getTransition(C15522gsr c15522gsr);
public abstract List<gtX> getTransitionRules();
public abstract List<gtW> getTransitions();
public abstract List<gsI> getValidOffsets(C15522gsr c15522gsr);
public abstract int hashCode();
public abstract boolean isDaylightSavings(C15523gss c15523gss);
public abstract boolean isFixedOffset();
public abstract boolean isValidOffset(C15522gsr c15522gsr, gsI gsi);
public abstract gtW nextTransition(C15523gss c15523gss);
public abstract gtW previousTransition(C15523gss c15523gss);
public static AbstractC15574gua of(gsI gsi, gsI gsi2, List<gtW> list, List<gtW> list2, List<gtX> list3) {
gtG.requireNonNull(gsi, "baseStandardOffset");
gtG.requireNonNull(gsi2, "baseWallOffset");
gtG.requireNonNull(list, "standardOffsetTransitionList");
gtG.requireNonNull(list2, "transitionList");
gtG.requireNonNull(list3, "lastRules");
return new C15538gtR(gsi, gsi2, list, list2, list3);
}
public static AbstractC15574gua of(gsI gsi) {
gtG.requireNonNull(gsi, "offset");
return new IeS(gsi);
}
/* renamed from: o.gua$IeS */
/* loaded from: classes6.dex */
static final class IeS extends AbstractC15574gua implements Serializable {
private static final long serialVersionUID = -8733721350312276297L;
private final gsI offset;
@Override // o.AbstractC15574gua
public final gtW getTransition(C15522gsr c15522gsr) {
return null;
}
@Override // o.AbstractC15574gua
public final boolean isDaylightSavings(C15523gss c15523gss) {
return false;
}
@Override // o.AbstractC15574gua
public final boolean isFixedOffset() {
return true;
}
@Override // o.AbstractC15574gua
public final gtW nextTransition(C15523gss c15523gss) {
return null;
}
@Override // o.AbstractC15574gua
public final gtW previousTransition(C15523gss c15523gss) {
return null;
}
IeS(gsI gsi) {
this.offset = gsi;
}
@Override // o.AbstractC15574gua
public final List<gsI> getValidOffsets(C15522gsr c15522gsr) {
return Collections.singletonList(this.offset);
}
@Override // o.AbstractC15574gua
public final boolean isValidOffset(C15522gsr c15522gsr, gsI gsi) {
return this.offset.equals(gsi);
}
@Override // o.AbstractC15574gua
public final C15519gso getDaylightSavings(C15523gss c15523gss) {
return C15519gso.ZERO;
}
@Override // o.AbstractC15574gua
public final List<gtW> getTransitions() {
return Collections.emptyList();
}
@Override // o.AbstractC15574gua
public final List<gtX> getTransitionRules() {
return Collections.emptyList();
}
@Override // o.AbstractC15574gua
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj instanceof IeS) {
return this.offset.equals(((IeS) obj).offset);
}
if (!(obj instanceof C15538gtR)) {
return false;
}
C15538gtR c15538gtR = (C15538gtR) obj;
return c15538gtR.isFixedOffset() && this.offset.equals(c15538gtR.getOffset(C15523gss.EPOCH));
}
@Override // o.AbstractC15574gua
public final int hashCode() {
return ((this.offset.hashCode() + 31) ^ (this.offset.hashCode() + 31)) ^ 1;
}
public final String toString() {
StringBuilder sb = new StringBuilder("FixedRules:");
sb.append(this.offset);
return sb.toString();
}
@Override // o.AbstractC15574gua
public final gsI getStandardOffset(C15523gss c15523gss) {
return this.offset;
}
@Override // o.AbstractC15574gua
public final gsI getOffset(C15522gsr c15522gsr) {
return this.offset;
}
@Override // o.AbstractC15574gua
public final gsI getOffset(C15523gss c15523gss) {
return this.offset;
}
}
}