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

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

Syntax

Public Shared Function Equals( _
    day1 As GDay, _
    day2 As GDay, _
    implicitTimeZone As TimeZone _
) As Boolean
public static bool Equals(
    GDay day1,
    GDay day2,
    TimeZone implicitTimeZone
)
public:
static bool Equals(
    GDay day1, 
    GDay day2, 
    TimeZone implicitTimeZone
)
 

Parameters

day1

Type: XmlPrime.GDayXmlPrime.GDayXmlPrime::GDay

The first GDayGDayGDay to compare.

day2

Type: XmlPrime.GDayXmlPrime.GDayXmlPrime::GDay

The second GDayGDayGDay to compare.

implicitTimeZone

Type: XmlPrime.TimeZoneXmlPrime.TimeZoneXmlPrime::TimeZone

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

Return Value

Type: System.BooleanSystem.BooleanSystem::Boolean

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