Noda Time
GetHashCode Method (obj)
NamespacesNodaTime.TimeZonesZoneEqualityComparerGetHashCode(DateTimeZone)

[This is preliminary documentation and is subject to change.]

Returns a hash code for the specified time zone.
Declaration Syntax
C#Visual BasicVisual C++
public int GetHashCode(
	DateTimeZone obj
)
Public Function GetHashCode ( _
	obj As DateTimeZone _
) As Integer
public:
virtual int GetHashCode(
	DateTimeZone^ obj
) sealed
Parameters
obj (DateTimeZone)
The time zone to compute a hash code for.
Return Value
A hash code for the specified object.
Remarks
The hash code generated by any instance of ZoneEqualityComparer will be equal to the hash code generated by any other instance constructed with the same options and interval, for the same time zone (or equal ones). Two instances of ZoneEqualityComparer with different options or intervals may (but may not) produce different hash codes for the same zone.

Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)