Calendar.ComputeGregorianFields(Int32) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compute the Gregorian calendar year, month, and day of month from the Julian day.
[Android.Runtime.Register("computeGregorianFields", "(I)V", "", ApiSince=24)]
protected void ComputeGregorianFields (int julianDay);
[<Android.Runtime.Register("computeGregorianFields", "(I)V", "", ApiSince=24)>]
member this.ComputeGregorianFields : int -> unit
- julianDay
- Int32
- Attributes
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.
Tuote | Versiot |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35 |