TimeChangeRuleEquals(Object) Method

Determines whether the specified Object is equal to the current TimeChangeRule.

Definition

Namespace: InnerDrive.TimeZones
Assembly: InnerDrive.TimeZones (in InnerDrive.TimeZones.dll) Version: 5.2.9017.0
C#
public override bool Equals(
	Object? obj
)

Parameters

obj  Object
The Object to compare with the current TimeChangeRule.

Return Value

Boolean
true if the specified Object is equal to the current TimeChangeRule; otherwise, false.

Remarks

If obj is not a TimeChangeRule or implicitly convertible into one, Equals returns false.

A TimeChangeRule is equal to another TimeChangeRule if its Name, EffectiveDate, and ToYear members are equal.

See Also