Period.PlusMonths(Int64) 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.
Returns a copy of this period with the specified months added.
[Android.Runtime.Register("plusMonths", "(J)Ljava/time/Period;", "", ApiSince=26)]
public Java.Time.Period? PlusMonths(long monthsToAdd);
[<Android.Runtime.Register("plusMonths", "(J)Ljava/time/Period;", "", ApiSince=26)>]
member this.PlusMonths : int64 -> Java.Time.Period
Parameters
- monthsToAdd
- Int64
the months to add, positive or negative
Returns
a Period based on this period with the specified months added, not null
- Attributes
Remarks
To be added.
Java reference for java.time.Period.plusMonths.