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

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

Syntax

Public Shared Function Equals( _
    date1 As DateWithZone, _
    date2 As DateWithZone, _
    implicitTimeZone As TimeZone _
) As Boolean
public static bool Equals(
    DateWithZone date1,
    DateWithZone date2,
    TimeZone implicitTimeZone
)
public:
static bool Equals(
    DateWithZone date1, 
    DateWithZone date2, 
    TimeZone implicitTimeZone
)
 

Return Value

Type: System.BooleanSystem.BooleanSystem::Boolean

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