Dil

ChronoField.ProlepticMonth Property

Definition

The proleptic-month based, counting months sequentially from year 0.

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

Property Value

Attributes

Remarks

The proleptic-month based, counting months sequentially from year 0. This field is the sequential count of months where the first month in proleptic-year zero has the value zero. Later months have increasingly larger values. Earlier months have increasingly small values. There are no gaps or breaks in the sequence of months. Note that this uses the local time-line, ignoring offset and time-zone. In the default ISO calendar system, June 2012 would have the value (2012 * 12 + 6 - 1). This field is primarily for internal use. Non-ISO calendar systems must implement this field as per the definition above. It is just a simple zero-based count of elapsed months from the start of proleptic-year 0. All calendar systems with a full proleptic-year definition will have a year zero. If the calendar system has a minimum year that excludes year zero, then one must be extrapolated in order for this method to be defined.

Java reference for java.time.temporal.ChronoField.PROLEPTIC_MONTH.

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