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

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

Syntax

Public Shared Function Equals( _
    year1 As GYear, _
    year2 As GYear, _
    implicitTimeZone As TimeZone _
) As Boolean
public static bool Equals(
    GYear year1,
    GYear year2,
    TimeZone implicitTimeZone
)
public:
static bool Equals(
    GYear year1, 
    GYear year2, 
    TimeZone implicitTimeZone
)
 

Parameters

year1

Type: XmlPrime.GYearXmlPrime.GYearXmlPrime::GYear

The first GYearGYearGYear to compare.

year2

Type: XmlPrime.GYearXmlPrime.GYearXmlPrime::GYear

The second GYearGYearGYear to compare.

implicitTimeZone

Type: XmlPrime.TimeZoneXmlPrime.TimeZoneXmlPrime::TimeZone

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

Return Value

Type: System.BooleanSystem.BooleanSystem::Boolean

trueTruetrue if the two GYearGYearGYear values are equal; otherwise falseFalsefalse.