Click or drag to resize

LeapSecondsFacet Methods

The LeapSecondsFacet type exposes the following members.

Public methodClone
Clones this object using the specified context.
(Overrides CalculationContextFacetClone(CopyContext).)
Public methodDoesDayHaveLeapSecond
Determines if a given day contains a leap second.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberGetFromContext
Gets the LeapSecondsFacet instance from the calculation context. If the context does not contain leap second data, a default instance is created containing the leap seconds that were known when the library was released and it is added to the calculation context.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetTaiMinusUtc
Returns the difference TAI - UTC as of the given date, in seconds.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUseInCurrentContext
Adds this instance to the calculation context, making it the official source of leap seconds in the context.
(Overrides CalculationContextFacetUseInCurrentContext.)
See Also