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

107 lines
3.8 KiB
Java

package o;
import android.os.Parcel;
import android.os.Parcelable;
import com.prolificinteractive.materialcalendarview.CalendarDay;
import java.util.List;
import org.threeten.bp.OffsetDateTime;
/* loaded from: classes3.dex */
public class VP extends EQ implements Parcelable {
public static final Parcelable.Creator<VP> CREATOR = new Parcelable.Creator<VP>() { // from class: o.VP.5
@Override // android.os.Parcelable.Creator
public final /* synthetic */ VP createFromParcel(Parcel parcel) {
return new VP(parcel);
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ VP[] newArray(int i) {
return new VP[i];
}
};
public OffsetDateTime a;
public String b;
public List<CalendarDay> c;
public OffsetDateTime d;
public boolean f;
public OffsetDateTime i;
@Override // o.EQ, android.os.Parcelable
public int describeContents() {
return 0;
}
public VP(String str, OffsetDateTime offsetDateTime, OffsetDateTime offsetDateTime2, OffsetDateTime offsetDateTime3, List<CalendarDay> list, boolean z) {
this.b = str;
this.d = offsetDateTime;
this.i = offsetDateTime2;
this.a = offsetDateTime3;
this.c = list;
this.f = z;
}
@Override // o.EQ, android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeString(this.b);
parcel.writeSerializable(this.d);
parcel.writeSerializable(this.i);
parcel.writeSerializable(this.a);
parcel.writeTypedList(this.c);
parcel.writeByte(this.f ? (byte) 1 : (byte) 0);
}
protected VP(Parcel parcel) {
this.b = parcel.readString();
this.d = (OffsetDateTime) parcel.readSerializable();
this.i = (OffsetDateTime) parcel.readSerializable();
this.a = (OffsetDateTime) parcel.readSerializable();
this.c = parcel.createTypedArrayList(CalendarDay.CREATOR);
this.f = parcel.readByte() != 0;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || getClass() != obj.getClass()) {
return false;
}
VP vp = (VP) obj;
if (this.f != vp.f) {
return false;
}
String str = this.b;
if (str == null ? vp.b != null : !str.equals(vp.b)) {
return false;
}
OffsetDateTime offsetDateTime = this.d;
if (offsetDateTime == null ? vp.d != null : !offsetDateTime.equals(vp.d)) {
return false;
}
OffsetDateTime offsetDateTime2 = this.i;
if (offsetDateTime2 == null ? vp.i != null : !offsetDateTime2.equals(vp.i)) {
return false;
}
OffsetDateTime offsetDateTime3 = this.a;
if (offsetDateTime3 == null ? vp.a != null : !offsetDateTime3.equals(vp.a)) {
return false;
}
List<CalendarDay> list = this.c;
List<CalendarDay> list2 = vp.c;
return list != null ? list.equals(list2) : list2 == null;
}
public int hashCode() {
String str = this.b;
int hashCode = str != null ? str.hashCode() : 0;
OffsetDateTime offsetDateTime = this.d;
int hashCode2 = offsetDateTime != null ? offsetDateTime.hashCode() : 0;
OffsetDateTime offsetDateTime2 = this.i;
int hashCode3 = offsetDateTime2 != null ? offsetDateTime2.hashCode() : 0;
OffsetDateTime offsetDateTime3 = this.a;
int hashCode4 = offsetDateTime3 != null ? offsetDateTime3.hashCode() : 0;
List<CalendarDay> list = this.c;
return (((((((((hashCode * 31) + hashCode2) * 31) + hashCode3) * 31) + hashCode4) * 31) + (list != null ? list.hashCode() : 0)) * 31) + (this.f ? 1 : 0);
}
}