ZoneOffset.OfTotalSeconds(Int32) 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.
Obtains an instance of ZoneOffset
specifying the total offset in seconds
[Android.Runtime.Register("ofTotalSeconds", "(I)Ljava/time/ZoneOffset;", "", ApiSince=26)]
public static Java.Time.ZoneOffset? OfTotalSeconds (int totalSeconds);
[<Android.Runtime.Register("ofTotalSeconds", "(I)Ljava/time/ZoneOffset;", "", ApiSince=26)>]
static member OfTotalSeconds : int -> Java.Time.ZoneOffset
Parameters
- totalSeconds
- Int32
the total time-zone offset in seconds, from -64800 to +64800
Returns
the ZoneOffset, not null
- Attributes
Remarks
Obtains an instance of ZoneOffset
specifying the total offset in seconds
The offset must be in the range -18:00
to +18:00
, which corresponds to -64800 to +64800.
Java documentation for java.time.ZoneOffset.ofTotalSeconds(int)
.
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.