public override int GetHashCode() { var hash = 1; if (Seconds != 0L) { hash ^= Seconds.GetHashCode(); } if (Nanos != 0) { hash ^= Nanos.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (Year != 0) { hash ^= Year.GetHashCode(); } if (Month != 0) { hash ^= Month.GetHashCode(); } if (Day != 0) { hash ^= Day.GetHashCode(); } if (Hours != 0) { hash ^= Hours.GetHashCode(); } if (Minutes != 0) { hash ^= Minutes.GetHashCode(); } if (Seconds != 0) { hash ^= Seconds.GetHashCode(); } if (Nanos != 0) { hash ^= Nanos.GetHashCode(); } if (timeOffsetCase_ == TimeOffsetOneofCase.UtcOffset) { hash ^= UtcOffset.GetHashCode(); } if (timeOffsetCase_ == TimeOffsetOneofCase.TimeZone) { hash ^= TimeZone.GetHashCode(); } hash ^= (int)timeOffsetCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (Seconds != 0L) { hash ^= Seconds.GetHashCode(); } if (Nanos != 0) { hash ^= Nanos.GetHashCode(); } if (Millis != 0L) { hash ^= Millis.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }