ChronoUnit.Years Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Unit that represents the concept of a year.
[Android.Runtime.Register("YEARS", ApiSince=26)]
public static Java.Time.Temporal.ChronoUnit? Years { get; }
[<Android.Runtime.Register("YEARS", ApiSince=26)>]
static member Years : Java.Time.Temporal.ChronoUnit
Property Value
- Attributes
Remarks
Unit that represents the concept of a year. For the ISO calendar system, it is equal to 12 months. The estimated duration of a year is 365.2425 Days. When used with other calendar systems it must correspond to an integral number of days or months roughly equal to a year defined by the passage of the Earth around the Sun.
Java reference for java.time.temporal.ChronoUnit.YEARS.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.