LocalDateTime.PlusWeeks(Int64) Method

Definition

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

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

Parameters

weeks
Int64

the weeks to add, may be negative

Returns

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

Attributes

Remarks

To be added.

Java reference for java.time.LocalDateTime.plusWeeks.

Applies to