- getYears
Gets the number of years that this period represents.
- yearsBetween
Creates a Years representing the number of whole years between the two specified
partial datetimes.
- years
Obtains an instance of Years that may be cached.Years is immutable, so instances
can be cached and s
- <init>
Creates a new instance representing a number of years. You should consider using
the factory method
- getValue
- minus
Returns a new instance with the specified number of years taken away. This
instance is immutable and
- plus
Returns a new instance with the specified number of years added. This instance
is immutable and unaf
- yearsIn
Creates a Years representing the number of whole years in the specified
interval. This method corect