次の方法で共有


Month.Plus(Int64) Method

Definition

Returns the month-of-year that is the specified number of months after this one.

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

Parameters

months
Int64

the months to add, positive or negative

Returns

the resulting month, not null

Attributes

Remarks

Returns the month-of-year that is the specified number of months after this one.

The calculation rolls around the end of the year from December to January. The specified period may be negative.

This instance is immutable and unaffected by this method call.

Java documentation for java.time.Month.plus(long).

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