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