Condividi tramite


Month.MinLength Method

Definition

Gets the minimum length of this month in days.

[Android.Runtime.Register("minLength", "()I", "", ApiSince=26)]
public int MinLength ();
[<Android.Runtime.Register("minLength", "()I", "", ApiSince=26)>]
member this.MinLength : unit -> int

Returns

the minimum length of this month in days, from 28 to 31

Attributes

Remarks

Gets the minimum length of this month in days.

February has a minimum length of 28 days. April, June, September and November have 30 days. All other months have 31 days.

Java documentation for java.time.Month.minLength().

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