/// <summary> /// Returns a hash code for this instance. /// </summary> /// <returns> /// A hash code for this instance, suitable for use in hashing algorithms and data /// structures like a hash table. /// </returns> public override int GetHashCode() { int hash = HashCodeHelper.Initialize(); hash = HashCodeHelper.Hash(hash, Existing); hash = HashCodeHelper.Hash(hash, Alias); return(hash); }
/// <summary> /// Returns a hash code for this local date. /// </summary> /// <returns>A hash code for this local date.</returns> public override int GetHashCode() { int hash = HashCodeHelper.Initialize(); hash = HashCodeHelper.Hash(hash, localDateTime); hash = HashCodeHelper.Hash(hash, offset); return(hash); }
/// <summary> /// Serves as a hash function for a particular type. /// </summary> /// <returns> /// A hash code for the current <see cref="T:System.Object" />. /// </returns> /// <filterpriority>2</filterpriority> public override int GetHashCode() { int hash = HashCodeHelper.Initialize(); hash = HashCodeHelper.Hash(hash, earlyInterval); hash = HashCodeHelper.Hash(hash, lateInterval); return(hash); }
/// <summary> /// Returns a hash code for this instance. /// </summary> /// <returns> /// A hash code for this instance, suitable for use in hashing algorithms and data /// structures like a hash table. /// </returns> public override int GetHashCode() { int hash = HashCodeHelper.Initialize(); hash = HashCodeHelper.Hash(hash, Recurrence); hash = HashCodeHelper.Hash(hash, LetterS); return(hash); }
/// <summary> /// Returns the hash code for this instance. /// </summary> /// <returns> /// A 32-bit signed integer that is the hash code for this instance. /// </returns> /// <filterpriority>2</filterpriority> public override int GetHashCode() { int hash = HashCodeHelper.Initialize(); hash = HashCodeHelper.Hash(hash, Start); hash = HashCodeHelper.Hash(hash, End); return(hash); }
/// <summary> /// Returns a hash code for this instance. /// </summary> /// <returns> /// A hash code for this instance, suitable for use in hashing algorithms and data /// structures like a hash table. /// </returns> public override int GetHashCode() { int hash = HashCodeHelper.Initialize(); hash = HashCodeHelper.Hash(hash, savings); hash = HashCodeHelper.Hash(hash, name); hash = HashCodeHelper.Hash(hash, yearOffset); return(hash); }
/// <summary> /// Computes the hash code for this instance. /// </summary> /// <returns> /// A 32-bit signed integer that is the hash code for this instance. /// </returns> /// <filterpriority>2</filterpriority> public override int GetHashCode() { int hash = HashCodeHelper.Initialize(); hash = HashCodeHelper.Hash(hash, LocalInstant); hash = HashCodeHelper.Hash(hash, Offset); hash = HashCodeHelper.Hash(hash, Zone); return(hash); }
public override int GetHashCode() { int hashCode = HashCodeHelper.Initialize(); hashCode = HashCodeHelper.Hash(hashCode, Id); hashCode = HashCodeHelper.Hash(hashCode, standardOffset); hashCode = HashCodeHelper.Hash(hashCode, dstRecurrence); hashCode = HashCodeHelper.Hash(hashCode, standardRecurrence); return(hashCode); }
/// <summary> /// Serves as a hash function for a particular type. /// </summary> /// <returns> /// A hash code for the current <see cref="T:System.Object" />. /// </returns> /// <filterpriority>2</filterpriority> public override int GetHashCode() { int hash = HashCodeHelper.Initialize(); hash = HashCodeHelper.Hash(hash, Name); hash = HashCodeHelper.Hash(hash, Start); hash = HashCodeHelper.Hash(hash, End); hash = HashCodeHelper.Hash(hash, WallOffset); hash = HashCodeHelper.Hash(hash, Savings); return(hash); }
/// <summary> /// Returns a hash code for this instance. /// </summary> /// <returns> /// A hash code for this instance, suitable for use in hashing algorithms and data /// structures like a hash table. /// </returns> public override int GetHashCode() { int hash = HashCodeHelper.Initialize(); hash = HashCodeHelper.Hash(hash, mode); hash = HashCodeHelper.Hash(hash, monthOfYear); hash = HashCodeHelper.Hash(hash, dayOfMonth); hash = HashCodeHelper.Hash(hash, dayOfWeek); hash = HashCodeHelper.Hash(hash, advance); hash = HashCodeHelper.Hash(hash, timeOfDay); hash = HashCodeHelper.Hash(hash, addDay); return(hash); }
public override int GetHashCode() { int hash = HashCodeHelper.Initialize(); hash = HashCodeHelper.Hash(hash, Id); hash = HashCodeHelper.Hash(hash, tailZoneStart); hash = HashCodeHelper.Hash(hash, firstTailZoneInterval); hash = HashCodeHelper.Hash(hash, tailZone); foreach (var period in periods) { hash = HashCodeHelper.Hash(hash, period); } return(hash); }
/// <summary> /// Returns the hash code for this period, consistent with <see cref="Equals(Period)"/>. /// </summary> /// <returns>The hash code for this period.</returns> public override int GetHashCode() { int hash = HashCodeHelper.Initialize(); hash = HashCodeHelper.Hash(hash, years); hash = HashCodeHelper.Hash(hash, months); hash = HashCodeHelper.Hash(hash, weeks); hash = HashCodeHelper.Hash(hash, days); hash = HashCodeHelper.Hash(hash, hours); hash = HashCodeHelper.Hash(hash, minutes); hash = HashCodeHelper.Hash(hash, seconds); hash = HashCodeHelper.Hash(hash, milliseconds); hash = HashCodeHelper.Hash(hash, ticks); return(hash); }
/// <summary> /// Returns a hash code for this instance. /// </summary> /// <returns> /// A hash code for this instance, suitable for use in hashing algorithms and data /// structures like a hash table. /// </returns> public override int GetHashCode() { int hash = HashCodeHelper.Initialize(); hash = HashCodeHelper.Hash(hash, Name); hash = HashCodeHelper.Hash(hash, Offset); hash = HashCodeHelper.Hash(hash, Rules); hash = HashCodeHelper.Hash(hash, Format); hash = HashCodeHelper.Hash(hash, UntilYear); if (UntilYear != Int32.MaxValue) { hash = HashCodeHelper.Hash(hash, UntilYearOffset.GetHashCode()); } return(hash); }
public int GetHashCode(ZoneInterval obj) { int hash = HashCodeHelper.Initialize(); if (CheckOption(options, Options.MatchOffsetComponents)) { hash = HashCodeHelper.Hash(hash, obj.StandardOffset); hash = HashCodeHelper.Hash(hash, obj.Savings); } else { hash = HashCodeHelper.Hash(hash, obj.WallOffset); } if (CheckOption(options, Options.MatchNames)) { hash = HashCodeHelper.Hash(hash, obj.Name); } hash = HashCodeHelper.Hash(hash, GetEffectiveStart(obj)); hash = HashCodeHelper.Hash(hash, GetEffectiveEnd(obj)); return(hash); }
/// <summary> /// Returns the hash code for this instance. /// </summary> /// <returns> /// A 32-bit signed integer that is the hash code for this instance. /// </returns> /// <filterpriority>2</filterpriority> public override int GetHashCode() => HashCodeHelper.Hash(start, end);
/// <summary> /// Returns a hash code for this offset date. /// </summary> /// <returns>A hash code for this offset date.</returns> public override int GetHashCode() => HashCodeHelper.Hash(Date, Offset);
/// <inheritdoc /> public override int GetHashCode(OffsetDateTime obj) => HashCodeHelper.Hash(obj.yearMonthDayCalendar, obj.NanosecondOfDay);
/// <summary> /// Returns a hash code for this offset date and time. /// </summary> /// <returns>A hash code for this offset date and time.</returns> public override int GetHashCode() => HashCodeHelper.Hash(LocalDateTime, Offset);
/// <summary> /// Returns a hash code for this instance. /// </summary> /// <returns> /// A hash code for this instance, suitable for use in hashing algorithms and data /// structures like a hash table. /// </returns> public override int GetHashCode() => HashCodeHelper.Hash(Savings, Name, YearOffset);
/// <summary> /// Returns a hash code for this instance. /// </summary> /// <returns> /// A hash code for this instance, suitable for use in hashing algorithms and data /// structures like a hash table. /// </returns> public override int GetHashCode() => HashCodeHelper.Hash(Recurrence, LetterS);
/// <summary> /// gets has code for lookup /// </summary> /// <returns></returns> public override int GetHashCode() { return(HashCodeHelper.Hash(WindowsKey.GetHashCode(), WindowsModifiers.GetHashCode())); }
/// <summary> /// Returns a hash code for this offset time. /// </summary> /// <returns>A hash code for this offset time.</returns> public override int GetHashCode() => HashCodeHelper.Hash(TimeOfDay, Offset);
/// <summary> /// Computes the hash code for this instance. /// </summary> /// <returns> /// A 32-bit signed integer that is the hash code for this instance. /// </returns> /// <filterpriority>2</filterpriority> public override int GetHashCode() => HashCodeHelper.Hash(Offset, Id, Name);
/// <inheritdoc /> public override int GetHashCode(OffsetDateTime obj) => HashCodeHelper.Hash(obj.localDate, obj.NanosecondOfDay);
/// <summary> /// Returns a hash code for this instance. /// </summary> /// <returns> /// A hash code for this instance, suitable for use in hashing algorithms and data /// structures like a hash table. /// </returns> public override int GetHashCode() => HashCodeHelper.Hash(recurrence, daylightSavingsIndicator);
public override int GetHashCode() { return(HashCodeHelper.Hash(base.GetHashCode(), SlotIndex.GetHashCode())); }
/// <summary> /// Returns a hash code for this offset date and time. /// </summary> /// <returns>A hash code for this offset date and time.</returns> public override int GetHashCode() => HashCodeHelper.Hash(localDate, offsetTime);
public override int GetHashCode() { return(HashCodeHelper.Hash(base.GetHashCode(), ExpansionIndex.GetHashCode())); }
/// <summary> /// Computes the hash code for this instance. /// See the type documentation for a description of equality semantics. /// </summary> /// <returns> /// A 32-bit signed integer that is the hash code for this instance. /// </returns> /// <filterpriority>2</filterpriority> public override int GetHashCode() => HashCodeHelper.Hash(offsetDateTime, Zone);
/// <summary> /// Returns a hash code for this country. /// See the type documentation for a description of equality semantics. /// </summary> /// <returns>A hash code for this country.</returns> public override int GetHashCode() => HashCodeHelper.Hash(Name, Code);