AnnualDate MembersNoda Time

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

The AnnualDate type exposes the following members.
Constructors

  NameDescription
Public methodAnnualDate
Constructs an instance for the given month and day in the ISO calendar.
Back to Top
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
Operators

  NameDescription
Public operatorStatic memberEquality
Compares two AnnualDate values for equality.
Public operatorStatic memberGreaterThan
Compares two annual dates to see if the left one is strictly later than the right one.
Public operatorStatic memberGreaterThanOrEqual
Compares two annual dates to see if the left one is later than or equal to the right one.
Public operatorStatic memberInequality
Compares two AnnualDate values for inequality.
Public operatorStatic memberLessThan
Compares two annual dates to see if the left one is strictly earlier than the right one.
Public operatorStatic memberLessThanOrEqual
Compares two annual dates to see if the left one is earlier than or equal to the right one.
Back to Top
Properties

  NameDescription
Public propertyDay
Gets the day of month.
Public propertyMonth
Gets the month of year.
Back to Top
See Also