GnssClock.LeapSecond Property

Definition

Gets the leap second associated with the clock's time.

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

Property Value

Attributes

Remarks

Gets the leap second associated with the clock's time.

The sign of the value is defined by the following equation:

UtcTimeNanos = TimeNanos - (FullBiasNanos + BiasNanos) - LeapSecond * 1,000,000,000

The value is only available if #hasLeapSecond() is true.

Java documentation for android.location.GnssClock.getLeapSecond().

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