ChronoField.DayOfYear 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.
The day-of-year.
[Android.Runtime.Register("DAY_OF_YEAR", ApiSince=26)]
public static Java.Time.Temporal.ChronoField? DayOfYear { get; }
[<Android.Runtime.Register("DAY_OF_YEAR", ApiSince=26)>]
static member DayOfYear : Java.Time.Temporal.ChronoField
Property Value
- Attributes
Remarks
The day-of-year. This represents the concept of the day within the year. In the default ISO calendar system, this has values from 1 to 365 in standard years and 1 to 366 in leap years. Non-ISO calendar systems should implement this field using the most recognized day-of-year values for users of the calendar system. Normally, this is a count of days from 1 to the length of the year. Note that a non-ISO calendar system may have year numbering system that changes at a different point to the natural reset in the month numbering. An example of this is the Japanese calendar system where a change of era, which resets the year number to 1, can happen on any date. The era and year reset also cause the day-of-year to be reset to 1, but not the month-of-year or day-of-month.
Java reference for java.time.temporal.ChronoField.DAY_OF_YEAR.
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.