LeapSecondFileReadLeapSeconds Method (TextReader) |
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(
TextReader source
)
Public Shared Function ReadLeapSeconds (
source As TextReader
) As LeapSecondsFacet
public:
static LeapSecondsFacet^ ReadLeapSeconds(
TextReader^ source
)
static member ReadLeapSeconds :
source : TextReader -> LeapSecondsFacet
Parameters
- source
- Type: System.IOTextReader
The stream from which to read.
Return Value
Type:
LeapSecondsFacetA new
LeapSecondsFacet initialized with the contents of the file.
Exceptions See Also