Dil

ChronoField.AlignedDayOfWeekInYear Property

Definition

The aligned day-of-week within a year.

[Android.Runtime.Register("ALIGNED_DAY_OF_WEEK_IN_YEAR", ApiSince=26)]
public static Java.Time.Temporal.ChronoField? AlignedDayOfWeekInYear { get; }
[<Android.Runtime.Register("ALIGNED_DAY_OF_WEEK_IN_YEAR", ApiSince=26)>]
static member AlignedDayOfWeekInYear : Java.Time.Temporal.ChronoField

Property Value

Attributes

Remarks

The aligned day-of-week within a year. This represents concept of the count of days within the period of a week where the weeks are aligned to the start of the year. This field is typically used with ALIGNED_WEEK_OF_YEAR. For example, in a calendar systems with a seven day week, the first aligned-week-of-year starts on day-of-year 1, the second aligned-week starts on day-of-year 8, and so on. Within each of these aligned-weeks, the days are numbered from 1 to 7 and returned as the value of this field. As such, day-of-year 1 to 7 will have aligned-day-of-week values from 1 to 7. And day-of-year 8 to 14 will repeat this with aligned-day-of-week values from 1 to 7. Calendar systems that do not have a seven day week should typically implement this field in the same way, but using the alternate week length.

Java reference for java.time.temporal.ChronoField.ALIGNED_DAY_OF_WEEK_IN_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.

Applies to