package com.google.android.libraries.places.api.model; import com.airbnb.deeplinkdispatch.UrlTreeKt; /* JADX INFO: Access modifiers changed from: package-private */ /* loaded from: classes2.dex */ public abstract class zzx extends TimeOfWeek { private final DayOfWeek zza; private final LocalTime zzb; /* JADX INFO: Access modifiers changed from: package-private */ public zzx(DayOfWeek dayOfWeek, LocalTime localTime) { if (dayOfWeek == null) { throw new NullPointerException("Null day"); } this.zza = dayOfWeek; if (localTime == null) { throw new NullPointerException("Null time"); } this.zzb = localTime; } public final boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof TimeOfWeek)) { return false; } TimeOfWeek timeOfWeek = (TimeOfWeek) obj; return this.zza.equals(timeOfWeek.getDay()) && this.zzb.equals(timeOfWeek.getTime()); } public final int hashCode() { return ((this.zza.hashCode() ^ 1000003) * 1000003) ^ this.zzb.hashCode(); } public final String toString() { String obj = this.zza.toString(); String obj2 = this.zzb.toString(); StringBuilder sb = new StringBuilder("TimeOfWeek{day="); sb.append(obj); sb.append(", time="); sb.append(obj2); sb.append(UrlTreeKt.componentParamSuffix); return sb.toString(); } @Override // com.google.android.libraries.places.api.model.TimeOfWeek public final LocalTime getTime() { return this.zzb; } @Override // com.google.android.libraries.places.api.model.TimeOfWeek public final DayOfWeek getDay() { return this.zza; } }