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

66 lines
1.6 KiB
Java

package o;
import java.util.Iterator;
import java.util.List;
/* loaded from: classes6.dex */
public abstract class gsT implements gtN {
@Override // o.gtN
public abstract InterfaceC15536gtL addTo(InterfaceC15536gtL interfaceC15536gtL);
public abstract boolean equals(Object obj);
@Override // o.gtN
public abstract long get(InterfaceC15539gtV interfaceC15539gtV);
public abstract gsR getChronology();
@Override // o.gtN
public abstract List<InterfaceC15539gtV> getUnits();
public abstract int hashCode();
public abstract gsT minus(gtN gtn);
public abstract gsT multipliedBy(int i);
public abstract gsT normalized();
public abstract gsT plus(gtN gtn);
@Override // o.gtN
public abstract InterfaceC15536gtL subtractFrom(InterfaceC15536gtL interfaceC15536gtL);
public abstract String toString();
public static gsT between(gsJ gsj, gsJ gsj2) {
gtG.requireNonNull(gsj, "startDateInclusive");
gtG.requireNonNull(gsj2, "endDateExclusive");
return gsj.until(gsj2);
}
public boolean isZero() {
Iterator<InterfaceC15539gtV> it = getUnits().iterator();
while (it.hasNext()) {
if (get(it.next()) != 0) {
return false;
}
}
return true;
}
public boolean isNegative() {
Iterator<InterfaceC15539gtV> it = getUnits().iterator();
while (it.hasNext()) {
if (get(it.next()) < 0) {
return true;
}
}
return false;
}
public gsT negated() {
return multipliedBy(-1);
}
}