public class Timesys extends Object
Modifier | Constructor and Description |
---|---|
protected |
Timesys(double timeorigin,
String timescale,
String refposition)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static double |
decodeTimeorigin(String txt)
Turns the value string found in the TIMESYS/@timeorigin attribute
into a numeric value giving JD offset in days.
|
String |
getRefposition()
Returns the reference position identifier.
|
double |
getTimeorigin()
Returns the numeric value of time origin.
|
String |
getTimescale()
Returns the timescale identifier.
|
static Timesys |
getTimesys(ValueInfo info)
Extracts a Timesys instance from a ValueInfo.
|
String |
toString() |
public double getTimeorigin()
public String getTimescale()
public String getRefposition()
public String toString()
public static double decodeTimeorigin(String txt) throws NumberFormatException
txt
- timeorigin attribute valueNumberFormatException
- if the value is not one of the
magic strings and is not a valid numerical representationCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.