Calendar.ComputeGregorianMonthStart(Int32, Int32) Method

Definition

Compute the Julian day of a month of the Gregorian calendar.

[Android.Runtime.Register("computeGregorianMonthStart", "(II)I", "GetComputeGregorianMonthStart_IIHandler", ApiSince=24)]
protected virtual int ComputeGregorianMonthStart (int year, int month);
[<Android.Runtime.Register("computeGregorianMonthStart", "(II)I", "GetComputeGregorianMonthStart_IIHandler", ApiSince=24)>]
abstract member ComputeGregorianMonthStart : int * int -> int
override this.ComputeGregorianMonthStart : int * int -> int

Parameters

year
Int32

extended Gregorian year

month
Int32

zero-based Gregorian month

Returns

the Julian day number of the day before the first day of the given month in the given extended year

Attributes

Remarks

Compute the Julian day of a month of the Gregorian calendar. Subclasses may call this method to perform a Gregorian calendar fields-&gt;millis computation. To perform a Gregorian calendar millis-&gt;fields computation, call computeGregorianFields().

Java documentation for android.icu.util.Calendar.computeGregorianMonthStart(int, int).

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