AnnualDate MethodsNoda Time

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

The AnnualDate type exposes the following members.
Methods

  NameDescription
Public methodCompareTo
Indicates whether this annual date is earlier, later or the same as another one.
Public methodEquals(Object)
Compares this annual date with the specified reference. An annual date is only equal to another annual date with the same month and day values.
(Overrides OnlineValueType Equals(Object).)
Public methodEquals(AnnualDate)
Compares this annual date with the specified one for equality, by checking whether the two values represent the same annual date - the same month and day.
Public methodGetHashCode
Returns a hash code for this annual date.
(Overrides OnlineValueType GetHashCode .)
Public methodInYear
Returns this annual date in a particular year, as a LocalDate.
Public methodIsValidYear
Checks whether the specified year forms a valid date with the month/day in this value, without any truncation. This will always return except for values representing February 29th, where the specified year is a non leap year.
Public methodToString
Returns a OnlineString that represents this instance.
(Overrides OnlineValueType ToString .)
Back to Top
See Also