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)
Syntaxpublic static LeapSecondsFacet GetFromContext()
Public Shared Function GetFromContext As LeapSecondsFacet
public:
static LeapSecondsFacet^ GetFromContext()
static member GetFromContext : unit -> LeapSecondsFacet
Return Value
Type:
LeapSecondsFacetThe instance from the calculation context.
See Also