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