GMonth.Equals Method (GMonth, GMonth, TimeZone)GMonth.Equals Method (GMonth, GMonth, TimeZone)GMonth::Equals Method (GMonth, GMonth, TimeZone)

Indicates whether a specified GMonthGMonthGMonth is equal to another specified GMonthGMonthGMonth given the supplied implicit time zone.

Syntax

Public Shared Function Equals( _
    month1 As GMonth, _
    month2 As GMonth, _
    implicitTimeZone As TimeZone _
) As Boolean
public static bool Equals(
    GMonth month1,
    GMonth month2,
    TimeZone implicitTimeZone
)
public:
static bool Equals(
    GMonth month1, 
    GMonth month2, 
    TimeZone implicitTimeZone
)
 

Parameters

month1

Type: XmlPrime.GMonthXmlPrime.GMonthXmlPrime::GMonth

The first GMonthGMonthGMonth to compare.

month2

Type: XmlPrime.GMonthXmlPrime.GMonthXmlPrime::GMonth

The second GMonthGMonthGMonth to compare.

implicitTimeZone

Type: XmlPrime.TimeZoneXmlPrime.TimeZoneXmlPrime::TimeZone

The TimeZoneTimeZoneTimeZone that is used in the case of a GMonthGMonthGMonth with no time zone.

Return Value

Type: System.BooleanSystem.BooleanSystem::Boolean

trueTruetrue if the two GMonthGMonthGMonth are equal; otherwise falseFalsefalse.