OffsetTime.Of 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.
Overloads
Of(LocalTime, ZoneOffset) | |
Of(Int32, Int32, Int32, Int32, ZoneOffset) |
Of(LocalTime, ZoneOffset)
[Android.Runtime.Register("of", "(Ljava/time/LocalTime;Ljava/time/ZoneOffset;)Ljava/time/OffsetTime;", "", ApiSince=26)]
public static Java.Time.OffsetTime? Of (Java.Time.LocalTime? time, Java.Time.ZoneOffset? offset);
[<Android.Runtime.Register("of", "(Ljava/time/LocalTime;Ljava/time/ZoneOffset;)Ljava/time/OffsetTime;", "", ApiSince=26)>]
static member Of : Java.Time.LocalTime * Java.Time.ZoneOffset -> Java.Time.OffsetTime
Parameters
- time
- LocalTime
- offset
- ZoneOffset
Returns
- Attributes
Applies to
Of(Int32, Int32, Int32, Int32, ZoneOffset)
[Android.Runtime.Register("of", "(IIIILjava/time/ZoneOffset;)Ljava/time/OffsetTime;", "", ApiSince=26)]
public static Java.Time.OffsetTime? Of (int hour, int minute, int second, int nanoOfSecond, Java.Time.ZoneOffset? offset);
[<Android.Runtime.Register("of", "(IIIILjava/time/ZoneOffset;)Ljava/time/OffsetTime;", "", ApiSince=26)>]
static member Of : int * int * int * int * Java.Time.ZoneOffset -> Java.Time.OffsetTime
Parameters
- hour
- Int32
- minute
- Int32
- second
- Int32
- nanoOfSecond
- Int32
- offset
- ZoneOffset
Returns
- Attributes