LeapSecondsFacet Methods |
The LeapSecondsFacet type exposes the following members.
Name | Description | |
---|---|---|
![]() | Clone |
Clones this object using the specified context.
(Overrides CalculationContextFacet.Clone(CopyContext).) |
![]() | DoesDayHaveLeapSecond |
Determines if a given day contains a leap second.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() | GetFromContext |
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.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetTaiMinusUtc |
Returns the difference TAI - UTC as of the given date, in seconds.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | UseInCurrentContext |
Adds this instance to the calculation context, making it the official source of leap seconds
in the context.
(Overrides CalculationContextFacet.UseInCurrentContext().) |