Click or drag to resize

LeapSecond Structure

Describes a single leap second.

Namespace:  AGI.Foundation.Time
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public struct LeapSecond : IEquatable<LeapSecond>

The LeapSecond type exposes the following members.

Constructors
  NameDescription
Public methodLeapSecond(Double, Double)
Initializes a new instance.
Public methodLeapSecond(JulianDate, Double)
Initializes a new instance of a Leap Second.
Top
Properties
  NameDescription
Public propertyDate
Gets the date of the leap second.
Public propertyTotalTaiOffsetFromUtc
Gets the total difference TAI - UTC after this leap second, in seconds.
Top
Methods
  NameDescription
Public methodEquals(LeapSecond)
Indicates whether another instance of this type is exactly equal to this instance.
Public methodEquals(Object)
Indicates whether another object is exactly equal to this instance.
(Overrides ValueTypeEquals(Object).)
Public methodGetHashCode
Returns a hash code for this instance, which is suitable for use in hashing algorithms and data structures like a hash table.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the date of this LeapSecond and offset from UTC as a string.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Returns if the two instances are exactly equal.
Public operatorStatic memberInequality
Returns if the two instances are not exactly equal.
Top
Remarks
The International Earth Rotation Service (IERS) periodically introduces an intercalary adjustment to the Coordinated Universal Time (UTC) time scale in order to keep it in close agreement with the Universal Time (UT1) time scale. This adjustment amounts to a one second discontinuity, a leap second, in the UTC time scale that, in addition to the UT1 time scales, also affects transformations to other continuous time scales. Since the inception of leap seconds, all adjustments have been performed either at the end of 30 June or 31 December UTC though a leap second could, by rule, be applied at the end of any month.
See Also