ZonedDateTime.PlusHours(Int64) Method

Definition

Returns a copy of this ZonedDateTime with the specified number of hours added.

[Android.Runtime.Register("plusHours", "(J)Ljava/time/ZonedDateTime;", "", ApiSince=26)]
public Java.Time.ZonedDateTime? PlusHours(long hours);
[<Android.Runtime.Register("plusHours", "(J)Ljava/time/ZonedDateTime;", "", ApiSince=26)>]
member this.PlusHours : int64 -> Java.Time.ZonedDateTime

Parameters

hours
Int64

the hours to add, may be negative

Returns

a ZonedDateTime based on this date-time with the hours added, not null

Attributes

Remarks

To be added.

Java reference for java.time.ZonedDateTime.plusHours.

Applies to