Bagikan melalui


DayOfWeek.Plus(Int64) Method

Definition

Returns the day-of-week that is the specified number of days after this one.

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

Parameters

days
Int64

the days to add, positive or negative

Returns

the resulting day-of-week, not null

Attributes

Remarks

Returns the day-of-week that is the specified number of days after this one.

The calculation rolls around the end of the week from Sunday to Monday. The specified period may be negative.

This instance is immutable and unaffected by this method call.

Java documentation for java.time.DayOfWeek.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