ZoneOffsetTransitionRule.DayOfMonthIndicator Property

Definition

Gets the indicator of the day-of-month of the transition.

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

Property Value

the day-of-month indicator, from -28 to 31 excluding 0

Attributes

Remarks

Gets the indicator of the day-of-month of the transition.

If the rule defines an exact date then the day is the month of that date.

If the rule defines a week where the transition might occur, then the day defines either the start of the end of the transition week.

If the value is positive, then it represents a normal day-of-month, and is the earliest possible date that the transition can be. The date may refer to 29th February which should be treated as 1st March in non-leap years.

If the value is negative, then it represents the number of days back from the end of the month where -1 is the last day of the month. In this case, the day identified is the latest possible date that the transition can be.

Java documentation for java.time.zone.ZoneOffsetTransitionRule.getDayOfMonthIndicator().

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