71 lines
2.1 KiB
Java
71 lines
2.1 KiB
Java
|
package com.google.android.libraries.places.api.model;
|
||
|
|
||
|
import com.airbnb.deeplinkdispatch.UrlTreeKt;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
abstract class zzn extends Period {
|
||
|
private final TimeOfWeek zza;
|
||
|
private final TimeOfWeek zzb;
|
||
|
|
||
|
public final boolean equals(Object obj) {
|
||
|
if (obj == this) {
|
||
|
return true;
|
||
|
}
|
||
|
if (!(obj instanceof Period)) {
|
||
|
return false;
|
||
|
}
|
||
|
Period period = (Period) obj;
|
||
|
TimeOfWeek timeOfWeek = this.zza;
|
||
|
if (timeOfWeek == null) {
|
||
|
if (period.getOpen() != null) {
|
||
|
return false;
|
||
|
}
|
||
|
} else if (!timeOfWeek.equals(period.getOpen())) {
|
||
|
return false;
|
||
|
}
|
||
|
TimeOfWeek timeOfWeek2 = this.zzb;
|
||
|
if (timeOfWeek2 == null) {
|
||
|
if (period.getClose() != null) {
|
||
|
return false;
|
||
|
}
|
||
|
} else if (!timeOfWeek2.equals(period.getClose())) {
|
||
|
return false;
|
||
|
}
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
public final int hashCode() {
|
||
|
TimeOfWeek timeOfWeek = this.zza;
|
||
|
int hashCode = timeOfWeek == null ? 0 : timeOfWeek.hashCode();
|
||
|
TimeOfWeek timeOfWeek2 = this.zzb;
|
||
|
return ((hashCode ^ 1000003) * 1000003) ^ (timeOfWeek2 != null ? timeOfWeek2.hashCode() : 0);
|
||
|
}
|
||
|
|
||
|
public final String toString() {
|
||
|
String valueOf = String.valueOf(this.zza);
|
||
|
String valueOf2 = String.valueOf(this.zzb);
|
||
|
StringBuilder sb = new StringBuilder("Period{open=");
|
||
|
sb.append(valueOf);
|
||
|
sb.append(", close=");
|
||
|
sb.append(valueOf2);
|
||
|
sb.append(UrlTreeKt.componentParamSuffix);
|
||
|
return sb.toString();
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.libraries.places.api.model.Period
|
||
|
public final TimeOfWeek getOpen() {
|
||
|
return this.zza;
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.libraries.places.api.model.Period
|
||
|
public final TimeOfWeek getClose() {
|
||
|
return this.zzb;
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public zzn(TimeOfWeek timeOfWeek, TimeOfWeek timeOfWeek2) {
|
||
|
this.zza = timeOfWeek;
|
||
|
this.zzb = timeOfWeek2;
|
||
|
}
|
||
|
}
|