共用方式為


IsoChronology.Period(Int32, Int32, Int32) Method

Definition

Obtains a period for this chronology based on years, months and days.

[Android.Runtime.Register("period", "(III)Ljava/time/Period;", "", ApiSince=26)]
public Java.Time.Period? Period (int years, int months, int days);
[<Android.Runtime.Register("period", "(III)Ljava/time/Period;", "", ApiSince=26)>]
member this.Period : int * int * int -> Java.Time.Period

Parameters

years
Int32

the number of years, may be negative

months
Int32

the number of years, may be negative

days
Int32

the number of years, may be negative

Returns

the ISO period, not null

Attributes

Remarks

Obtains a period for this chronology based on years, months and days.

This returns a period tied to the ISO chronology using the specified years, months and days. See Period for further details.

Java documentation for java.time.chrono.IsoChronology.period(int, int, 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