Click or drag to resize

LeapSecondsFacet.GetFromContext Method

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.

Namespace:  AGI.Foundation.Time
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
public static LeapSecondsFacet GetFromContext()

Return Value

Type: LeapSecondsFacet
The instance from the calculation context.
See Also