次の方法で共有


IChronoLocalDate.IsLeapYear Property

Definition

Checks if the year is a leap year, as defined by the calendar system.

public virtual bool IsLeapYear { [Android.Runtime.Register("isLeapYear", "()Z", "GetIsLeapYearHandler:Java.Time.Chrono.IChronoLocalDate, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)] get; }
[<get: Android.Runtime.Register("isLeapYear", "()Z", "GetIsLeapYearHandler:Java.Time.Chrono.IChronoLocalDate, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
member this.IsLeapYear : bool

Property Value

true if this date is in a leap year, false otherwise

Attributes

Remarks

Checks if the year is a leap year, as defined by the calendar system.

A leap-year is a year of a longer length than normal. The exact meaning is determined by the chronology with the constraint that a leap-year must imply a year-length longer than a non leap-year.

This default implementation uses Chronology#isLeapYear(long).

Java documentation for java.time.chrono.ChronoLocalDate.isLeapYear().

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