Earth Observation Mission CFI Software Lib Software User Manual for JAVA |
Base class for Time objects. More...
Public Member Functions | |
Time (double value, long reference, long timeFormat) | |
Class constructor. | |
Time (TimeCorrelation timeCorr, double value, long reference, long timeFormat) | |
Class constructor (time correlations). | |
native void | setAscii (String asciiTime, long reference, long timeFormat) throws CfiError |
Set time in ASCII format. | |
native void | setTransport (long transportTime[], long reference, long timeFormat) throws CfiError |
Set time in Transport format. | |
void | setProcessing (double procTime, long reference, long timeFormat) |
Set time in Processing format. | |
native String | getAscii (long reference, long timeFormat) throws CfiError |
Get time in ASCII format. | |
native void | getTransport (long transportTime[], long reference, long timeFormat) throws CfiError |
Get time in transport format. | |
native Time | getProcessing (long reference, long timeFormat) throws CfiError |
Get the time in processing days (J2000) for the requested reference and format. | |
native void | change (long reference, long timeFormat) throws CfiError |
Get change the time reference and format. | |
void | setBOM () |
Set time to Beggining of mission (BOM). | |
void | setEOM () |
Set time to End of mission (EOM). | |
native Time | add (double d) |
Operator + (add a time duration). | |
native Time | subtract (double d) |
Operator - (subtract a time duration). | |
native double | subtract (Time t) throws CfiError |
Time difference between Time objects. | |
native boolean | gt (Time t) throws CfiError |
gt > (greater than). | |
native boolean | lt (Time t) throws CfiError |
lt < (less than). | |
native boolean | ge (Time t) throws CfiError |
ge >= (greater or equal than). | |
native boolean | le (Time t) throws CfiError |
le < (less or equal than). | |
native boolean | eq (Time t) throws CfiError |
eq == (equal than). | |
native boolean | neq (Time t) throws CfiError |
neq != (non equal than). | |
Public Attributes | |
double | time |
Time value (J2000 days). | |
long | ref |
Time reference. | |
long | format |
Time format. |
Base class for Time objects.
EECFI.Time::Time | ( | double | value, | |
long | reference, | |||
long | timeFormat | |||
) |
EECFI.Time::Time | ( | TimeCorrelation | timeCorr, | |
double | value, | |||
long | reference, | |||
long | timeFormat | |||
) |
Time EECFI.Time::add | ( | double | d | ) |
Operator + (add a time duration).
d | Time duration in processing days. |
void EECFI.Time::change | ( | long | reference, | |
long | timeFormat | |||
) | throws CfiError |
String EECFI.Time::getAscii | ( | long | reference, | |
long | timeFormat | |||
) | throws CfiError |
void EECFI.Time::getTransport | ( | long | transportTime[], | |
long | reference, | |||
long | timeFormat | |||
) | throws CfiError |
Get time in transport format.
The meanings and units of the different array elements from the Transport time strongly depend upon the selected Transport format (by means of the Transport format ID). The table below shows the choices:Input | Array Element | Unit (Format) | Allowed Range |
---|---|---|---|
XL_TRANS_STD | [0] | Integer days | [-18262,36524] |
[1] | Integer seconds | [0,86399] | |
[2] | Integer microseconds | [0,999999] | |
XL_TRANS_ENVI_GS | [0] | Integer days | [-18262,36524] |
[1] | Integer seconds | [0,86399] | |
[2] | Integer microseconds | [0,999999] | |
XL_TRANS_CRYO_GS | [0] | Integer days | [-18262,36524] |
[1] | Integer seconds | [0,86399] | |
[2] | Integer microseconds | [0,999999] | |
XL_TRANS_CRYO_TM | [0] | Integer days | [-18262,36524] |
[1] | Integer milliseconds | [0,86399999] | |
[2] | Integer microseconds | [0,999] | |
XL_TRANS_CRYO_TM_SIRAL | [0] | Integer days | [-18262,36524] |
[1] | Integer milliseconds | [0,86399999] | |
[2] | Integer microseconds | [0,999] | |
[3] | SIRAL extra counter | [0,1745454545] | |
XL_TRANS_SMOS_TM | [0] | Week number | [-1566, 6260] |
[1] | Seconds of week | [0, 604799] | [2] | Fraction of seconds | [0, 65535] |
void EECFI.Time::setAscii | ( | String | asciiTime, | |
long | reference, | |||
long | timeFormat | |||
) | throws CfiError |
void EECFI.Time.setBOM | ( | ) |
Set time to Beggining of mission (BOM).
void EECFI.Time.setEOM | ( | ) |
Set time to End of mission (EOM).
void EECFI.Time::setProcessing | ( | double | procTime, | |
long | reference, | |||
long | timeFormat | |||
) |
void EECFI.Time::setTransport | ( | long | transportTime[], | |
long | reference, | |||
long | timeFormat | |||
) | throws CfiError |
Time EECFI.Time::subtract | ( | double | d | ) |
Operator - (subtract a time duration).
d | Time duration in processing days. |
long EECFI.Time.format |
Time format.
long EECFI.Time.ref |
Time reference.
double EECFI.Time.time |
Time value (J2000 days).