OffsetTime.PlusHours(Int64) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a copy of this OffsetTime with the specified number of hours added.
[Android.Runtime.Register("plusHours", "(J)Ljava/time/OffsetTime;", "", ApiSince=26)]
public Java.Time.OffsetTime? PlusHours(long hours);
[<Android.Runtime.Register("plusHours", "(J)Ljava/time/OffsetTime;", "", ApiSince=26)>]
member this.PlusHours : int64 -> Java.Time.OffsetTime
Parameters
- hours
- Int64
the hours to add, may be negative
Returns
an OffsetTime based on this time with the hours added, not null
- Attributes
Remarks
To be added.
Java reference for java.time.OffsetTime.plusHours.