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
)
 

Return Value

Type: System.BooleanSystem.BooleanSystem::Boolean

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