Lue englanniksi

Jaa


Calendar.ComputeGregorianFields(Int32) Method

Definition

Compute the Gregorian calendar year, month, and day of month from the Julian day.

C#
[Android.Runtime.Register("computeGregorianFields", "(I)V", "", ApiSince=24)]
protected void ComputeGregorianFields (int julianDay);

Parameters

julianDay
Int32
Attributes

Remarks

Compute the Gregorian calendar year, month, and day of month from the Julian day. These values are not stored in fields, but in member variables gregorianXxx. They are used for time zone computations and by subclasses that are Gregorian derivatives. Subclasses may call this method to perform a Gregorian calendar millis->fields computation. To perform a Gregorian calendar fields->millis computation, call computeGregorianMonthStart().

Java documentation for android.icu.util.Calendar.computeGregorianFields(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

Tuote Versiot
.NET for Android .NET for Android API 34, .NET for Android API 35