Calendar.InTemporalLeapYear Method
Definition
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.
<strong>[icu]</strong> Returns true if the date is in a leap year.
[Android.Runtime.Register("inTemporalLeapYear", "()Z", "GetInTemporalLeapYearHandler", ApiSince=36)]
public virtual bool InTemporalLeapYear();
[<Android.Runtime.Register("inTemporalLeapYear", "()Z", "GetInTemporalLeapYearHandler", ApiSince=36)>]
abstract member InTemporalLeapYear : unit -> bool
override this.InTemporalLeapYear : unit -> bool
Returns
true if the date in the fields is in a Temporal proposal defined leap year. False otherwise.
- Attributes
Remarks
<strong>[icu]</strong> Returns true if the date is in a leap year. Recalculate the current time field values if the time value has been changed by a call to * setTime(). This method is semantically const, but may alter the object in memory. A "leap year" is a year that contains more days than other years (for solar or lunar calendars) or more months than other years (for lunisolar calendars like Hebrew or Chinese), as defined in the ECMAScript Temporal proposal.
Java documentation for android.icu.util.Calendar.inTemporalLeapYear()
.
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.