AnnualDate CompareTo Method Noda Time

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

Indicates whether this annual date is earlier, later or the same as another one.

Namespace: NodaTime
Assembly: NodaTime (in NodaTime.dll) Version: (

public int CompareTo(
	AnnualDate other


Type: NodaTime AnnualDate
The other annual date to compare this one with

Return Value

Type: OnlineInt32
A value less than zero if this annual date is earlier than other; zero if this time is the same as other; a value greater than zero if this annual date is later than other.


OnlineIComparable T  CompareTo(T)
Version Information

Available since: 2.0.0
Supported in the PCL? Yes
See Also