public abstract class TimeCoords extends Object
Modifier and Type | Field and Description |
---|---|
static TimeCoords |
CDF_TT2000
Predefined TimeCoords instance for CDF Epoch TT2000.
|
static TimeCoords |
JD
Predefined TimeCoords instance for Julian Day.
|
static TimeCoords |
MJD
Predefined TimeCoords instance for Modified Julian Day.
|
static TimeCoords |
MJD_CNES
Predefined TimeCoords instance for CNES Modified Julian Day.
|
static TimeCoords |
MJD_NASA
Predefined TimeCoords instance for NASA Modified Julian Day.
|
static Map<String,TimeCoords> |
PREDEF_MAP
Map of predefined time_coords_id strings to TimeCoord instances.
|
static Pattern |
TIME_ORIGIN_REGEX
Regex for legal TFCat/DALI ISO-8601 time representations.
|
static Collection<String> |
TIME_SCALES
Collection of permitted time scale values.
|
static TimeCoords |
UNIX
Predefined TimeCoords instance for Unix timestamp.
|
Constructor and Description |
---|
TimeCoords() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getName()
Returns this system's name.
|
abstract String |
getTimeOrigin()
Returns this system's time origin.
|
abstract String |
getTimeScale()
Returns the identifier for this system's time scale.
|
abstract String |
getUnit()
Returns this system's units.
|
public static final Collection<String> TIME_SCALES
public static final Pattern TIME_ORIGIN_REGEX
public static final TimeCoords UNIX
public static final TimeCoords JD
public static final TimeCoords MJD
public static final TimeCoords MJD_NASA
public static final TimeCoords MJD_CNES
public static final TimeCoords CDF_TT2000
public static final Map<String,TimeCoords> PREDEF_MAP
public abstract String getName()
public abstract String getUnit()
public abstract String getTimeOrigin()
TIME_ORIGIN_REGEX
public abstract String getTimeScale()
TIME_SCALES
.Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.