ZoneOffset.TotalSeconds Property

Definition

Gets the total zone offset in seconds.

public int TotalSeconds { [Android.Runtime.Register("getTotalSeconds", "()I", "", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getTotalSeconds", "()I", "", ApiSince=26)>]
member this.TotalSeconds : int

Property Value

the total zone offset amount in seconds

Attributes

Remarks

Gets the total zone offset in seconds.

This is the primary way to access the offset amount. It returns the total of the hours, minutes and seconds fields as a single offset that can be added to a time.

Java documentation for java.time.ZoneOffset.getTotalSeconds().

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.

Applies to