Click or drag to resize

LeapSecondFile.ReadLeapSeconds Method (String)

Reads an STK leap second file and returns a new LeapSecondsFacet instance initialized with the contents of the file.

Namespace:  AGI.Foundation.Time
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public static LeapSecondsFacet ReadLeapSeconds(
	string fileName
)

Parameters

fileName
Type: System.String
The name of the file from which to read.

Return Value

Type: LeapSecondsFacet
A new LeapSecondsFacet initialized with the contents of the file.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when fileName is null.
InvalidDataException Thrown when there is an error parsing the leap second data.
See Also