Sdílet prostřednictvím


OffsetDateTime.DayOfYear Property

Definition

Gets the day-of-year field.

public int DayOfYear { [Android.Runtime.Register("getDayOfYear", "()I", "", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getDayOfYear", "()I", "", ApiSince=26)>]
member this.DayOfYear : int

Property Value

the day-of-year, from 1 to 365, or 366 in a leap year

Attributes

Remarks

Gets the day-of-year field.

This method returns the primitive int value for the day-of-year.

Java documentation for java.time.OffsetDateTime.getDayOfYear().

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.

Applies to