public interface TimeVariable
| Modifier and Type | Method and Description |
|---|---|
boolean |
canSupportPrecision(TimePrecision tp)
Returns whether the given
precision is available
for this variable. |
double |
getFirstMilliSecond()
Returns the millisecond offset of the first record using Epoch 0
as the base time
|
java.lang.String |
getName()
Returns name of the variable.
|
TimePrecision |
getPrecision()
Returns
time precision of the variable. |
int[] |
getRecordRange(int[] startTime,
int[] stopTime)
Returns range of records which fall within the specified range
of times relative to the base of the given
time instant model. |
double[] |
getTimes()
Returns relative times using the default
time instant model. |
double[] |
getTimes(int[] recordRange)
Returns relative times for the specified record range using the default
time instant model. |
double[] |
getTimes(int[] startTime,
int[] stopTime)
Returns relative times for the specified time range using the default
time instant model. |
double[] |
getTimes(int[] startTime,
int[] stopTime,
TimeInstantModel tspec)
Returns relative times for the specified time range using the given
time instant model. |
double[] |
getTimes(int[] recordRange,
TimeInstantModel tspec)
Returns relative times for the specified record range using the specified
time instant model. |
double[] |
getTimes(TimeInstantModel tspec)
Returns relative times using the specified
time instant model. |
boolean |
isTT2000()
Returns whether this is a TT2000 type variable
|
java.lang.String getName()
TimePrecision getPrecision()
time precision of the variable.double[] getTimes()
time instant model.double[] getTimes(TimeInstantModel tspec) throws java.lang.Throwable
time instant model.tspec - java.lang.Throwabledouble[] getTimes(int[] recordRange)
throws java.lang.Throwable
time instant model.recordRange - java.lang.Throwabledouble[] getTimes(int[] recordRange,
TimeInstantModel tspec)
throws java.lang.Throwable
time instant model.recordRange - tspec - java.lang.Throwabledouble[] getTimes(int[] startTime,
int[] stopTime)
throws java.lang.Throwable
time instant model.
startTime - a 3 to 7 element int[], containing year, month,
day,hour, minute, second and millisecond.stopTime - a 3 to 7 element int[], containing year, month,
day,hour, minute, second and millisecond.java.lang.Throwabledouble[] getTimes(int[] startTime,
int[] stopTime,
TimeInstantModel tspec)
throws java.lang.Throwable
time instant model.
startTime - a 3 to 7 element int[], containing year, month,
day,hour, minute, second and millisecond.stopTime - a 3 to 7 element int[], containing year, month,
day,hour, minute, second and millisecond.tspec - java.lang.Throwableint[] getRecordRange(int[] startTime,
int[] stopTime)
throws java.lang.Throwable
time instant model.startTime - a 3 to 7 element int[], containing year, month,
day,hour, minute, second and millisecond.stopTime - a 3 to 7 element int[], containing year, month,
day,hour, minute, second and millisecond.java.lang.Throwabledouble getFirstMilliSecond()
This number may be useful as a base time for a time instant model when looking at high time resolution data.
boolean isTT2000()
boolean canSupportPrecision(TimePrecision tp)
precision is available
for this variable.tp -