Language

LocalDateTime.MinusMonths(Int64) Method

Definition

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

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

Parameters

months
Int64

the months to subtract, may be negative

Returns

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

Attributes

Remarks

To be added.

Java reference for java.time.LocalDateTime.minusMonths.

Applies to