@Override public boolean equals(Object obj) { if (this == obj) { return true; } else if (obj instanceof ZonalDateTime) { ZonalDateTime that = (ZonalDateTime) obj; return ( this.moment.equals(that.moment) && this.zone.equals(that.zone) ); } else { return false; } }