com.spotify.flo.util.AutoValue_DateHour Maven / Gradle / Ivy
package com.spotify.flo.util;
import java.time.ZonedDateTime;
import javax.annotation.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_DateHour extends DateHour {
private final ZonedDateTime dateTime;
AutoValue_DateHour(
ZonedDateTime dateTime) {
if (dateTime == null) {
throw new NullPointerException("Null dateTime");
}
this.dateTime = dateTime;
}
@Override
public ZonedDateTime dateTime() {
return dateTime;
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof DateHour) {
DateHour that = (DateHour) o;
return (this.dateTime.equals(that.dateTime()));
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= this.dateTime.hashCode();
return h;
}
private static final long serialVersionUID = 1L;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy