IChronology.Period(Int32, Int32, Int32) 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.
Obtains a period for this chronology based on years, months and days.
[Android.Runtime.Register("period", "(III)Ljava/time/chrono/ChronoPeriod;", "GetPeriod_IIIHandler:Java.Time.Chrono.IChronology, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)]
public virtual Java.Time.Chrono.IChronoPeriod? Period (int years, int months, int days);
[<Android.Runtime.Register("period", "(III)Ljava/time/chrono/ChronoPeriod;", "GetPeriod_IIIHandler:Java.Time.Chrono.IChronology, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
abstract member Period : int * int * int -> Java.Time.Chrono.IChronoPeriod
override this.Period : int * int * int -> Java.Time.Chrono.IChronoPeriod
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 period in terms of this chronology, not null
- Attributes
Remarks
Obtains a period for this chronology based on years, months and days.
This returns a period tied to this chronology using the specified years, months and days. All supplied chronologies use periods based on years, months and days, however the ChronoPeriod
API allows the period to be represented using other units.
Java documentation for java.time.chrono.Chronology.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.