Noda Time
Equals Method (other)
NamespacesNodaTimePeriodEquals(Period)

[This is preliminary documentation and is subject to change.]

Compares the given period for equality with this one.
Declaration Syntax
C#Visual BasicVisual C++
public bool Equals(
	Period other
)
Public Function Equals ( _
	other As Period _
) As Boolean
public:
virtual bool Equals(
	Period^ other
) sealed
Parameters
other (Period)
The period to compare this one with.
Return Value
True if this period has the same values for the same properties as the one specified.
Remarks
Periods are equal if they contain the same values for the same properties. However, no normalization takes place, so "one hour" is not equal to "sixty minutes".

Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)