DateWithZone.Equals Method (DateWithZone, DateWithZone, TimeZone)DateWithZone.Equals Method (DateWithZone, DateWithZone, TimeZone)DateWithZone::Equals Method (DateWithZone, DateWithZone, TimeZone)
Indicates whether a specified DateWithZoneDateWithZoneDateWithZone is equal to another specified DateWithZoneDateWithZoneDateWithZone
given the supplied implicit time zone.
Syntax
Public Shared Function Equals( _ date1 As DateWithZone, _ date2 As DateWithZone, _ implicitTimeZone As TimeZone _ ) As Boolean
public static bool Equals( DateWithZone date1, DateWithZone date2, TimeZone implicitTimeZone )
public: static bool Equals( DateWithZone date1, DateWithZone date2, TimeZone implicitTimeZone )
Parameters
- date1
Type: XmlPrime.DateWithZoneXmlPrime.DateWithZoneXmlPrime::DateWithZone
The first DateWithZoneDateWithZoneDateWithZone to compare.
- date2
Type: XmlPrime.DateWithZoneXmlPrime.DateWithZoneXmlPrime::DateWithZone
The second DateWithZoneDateWithZoneDateWithZone to compare.
- implicitTimeZone
Type: XmlPrime.TimeZoneXmlPrime.TimeZoneXmlPrime::TimeZone
The TimeZoneTimeZoneTimeZone that is used in the case of a DateWithZoneDateWithZoneDateWithZone with no time zone.
Return Value
Type: System.BooleanSystem.BooleanSystem::Boolean
true
True
true
if the two DateWithZoneDateWithZoneDateWithZone values are equal; otherwise false
False
false
.