Aracılığıyla paylaş


DayOfWeek.Minus(Int64) Method

Definition

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

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

Parameters

days
Int64

the days to subtract, 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 before this one.

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

This instance is immutable and unaffected by this method call.

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