SofaD2tf Method
Decompose days into hours, minutes, seconds, fraction.
Namespace: ASCOM.ToolsAssembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
public static void D2tf(
int ndp,
double days,
out char sign,
int[] ihmsf
)
Public Shared Sub D2tf (
ndp As Integer,
days As Double,
<OutAttribute> ByRef sign As Char,
ihmsf As Integer()
)
Parameters
- ndp Int32
- Number of decimal places in the seconds field.
- days Double
- Interval in days.
- sign Char
- Returned sign ('+' or '-').
- ihmsf Int32
- Returned fields (length 4): hours, minutes, seconds, fraction.
The sign is returned as a byte representing the ASCII character '+' (0x2B) or '-' (0x2D).
The returned value can be converted to a char for comparison or display by casting it to char.
Supported in: 2.0