LocalDateTime.PlusMonths(Int64) Method

Definition

Returns a copy of this LocalDateTime with the specified number of months added.

[Android.Runtime.Register("plusMonths", "(J)Ljava/time/LocalDateTime;", "", ApiSince=26)]
public Java.Time.LocalDateTime? PlusMonths(long months);
[<Android.Runtime.Register("plusMonths", "(J)Ljava/time/LocalDateTime;", "", ApiSince=26)>]
member this.PlusMonths : int64 -> Java.Time.LocalDateTime

Parameters

months
Int64

the months to add, may be negative

Returns

a LocalDateTime based on this date-time with the months added, not null

Attributes

Remarks

To be added.

Java reference for java.time.LocalDateTime.plusMonths.

Applies to