Uses of Class
llnl.gnem.core.util.TimeT
Packages that use TimeT
Package
Description
-
Uses of TimeT in gov.llnl.gnem.apps.coda.common.service.util
Methods in gov.llnl.gnem.apps.coda.common.service.util with parameters of type TimeTModifier and TypeMethodDescriptionstatic boolean
WaveformUtils.cutSeismograms
(TimeSeries a, TimeSeries b, TimeT startTime, TimeT endTime) static double[]
WaveformUtils.getMaxTime
(TimeSeries waveform, TimeT originTime) This method mimics the getMaxTime method of SacSeismogram, which is NOT purely the same as the methods in the TimeSeries chain. -
Uses of TimeT in llnl.gnem.core.io.SAC
Fields in llnl.gnem.core.io.SAC declared as TimeTMethods in llnl.gnem.core.io.SAC that return TimeTModifier and TypeMethodDescriptionSACHeader.getBeginTime()
Get the begin Epoch time as a TimeT objectSACHeader.getEndTime()
Get the end Epoch time as a TimeT objectSACHeader.getOriginTime()
Get the origin Epoch time as a TimeT objectSACHeader.getReferenceTime()
Convert the date header fields into a TimeT object Note: if the nzyear...SACFileReader.getStartTime()
Methods in llnl.gnem.core.io.SAC with parameters of type TimeTModifier and TypeMethodDescriptionvoid
SACHeader.setBeginTime
(TimeT begintime) b is defined by the start of the seismogram relative to the reference time (nzyear, ...,nzmsec) NOTE the reference time should be already be definedvoid
SACHeader.setOriginTime
(TimeT origintime) Set the origin time relative to the sac file's reference timevoid
Set the nz(date) fields based on a TimeT object -
Uses of TimeT in llnl.gnem.core.util
Fields in llnl.gnem.core.util declared as TimeTModifier and TypeFieldDescriptionstatic final TimeT
Epoch.MAX_POSSIBLE_TIME
static final TimeT
Epoch.MIN_POSSIBLE_TIME
Methods in llnl.gnem.core.util that return TimeTModifier and TypeMethodDescriptionTimeT.add
(double v) Produce a new TimeT object whose Epoch time is the sum of the Epoch times in this object and the input double (interpreted as an Epoch time).Produce a new TimeT object whose Epoch time is the sum of the Epoch times in this object and the input object.Epoch.getbeginning()
Gets the start of the Epoch as a TimeT objectEpoch.getEndtime()
Gets the endtime attribute of the Epoch objectEpoch.getOffdate()
Gets the offdate attribute of the Epoch objectEpoch.getOndate()
Gets the ondate attribute of the Epoch objectEpoch.getTime()
Gets the time attribute of the Epoch objectstatic TimeT
TimeT.getTimeFromDateString
(String dateStr) static TimeT
TimeT.jdateToTimeT
(int jdate) TimeT.roundToDay()
Round the epoch time to the nearest whole day.TimeT.roundToHour()
Round the epoch time to the nearest whole hour.TimeT.roundToMin()
Round the epoch time to the nearest whole minute.TimeT.roundToSec()
Round the epoch time to the nearest whole second.TimeT.subtract
(double v) Subtract the input TimeT from this TimeT and return the resulting epoch time as a double.Methods in llnl.gnem.core.util with parameters of type TimeTModifier and TypeMethodDescriptionProduce a new TimeT object whose Epoch time is the sum of the Epoch times in this object and the input object.boolean
Epoch.ContainsTime
(TimeT aTime) Determine whether an instant in time falls within this Epochboolean
Return true if this epoch time is greater than or equal to the input epoch timeboolean
Return true if this epoch time is greater than the input epoch timeboolean
Return true if this epoch time is less than or equal to the input epoch timeboolean
Return true if this epoch time is less than the input epoch timevoid
Epoch.setEndtime
(TimeT end) Sets the end time of this Epoch objectvoid
Sets the start time of this Epoch objectSubtract the input TimeT from this TimeT and return the resulting epoch time as a double.double
Subtract the input TimeT from this TimeT and return the resulting epoch time as a double.Constructors in llnl.gnem.core.util with parameters of type TimeT -
Uses of TimeT in llnl.gnem.core.waveform.seismogram
Methods in llnl.gnem.core.waveform.seismogram that return TimeTModifier and TypeMethodDescriptionSeismicSignal.getEndtime()
Gets the endtime attribute of the CssSeismogram objectTimeSeries.getEndtime()
Gets the endtime attribute of the CssSeismogram objectSeismicSignal.getTime()
Gets the start time of the CssSeismogram as a TimeT objectTimeSeries.getTime()
Gets the start time of the CssSeismogram as a TimeT objectMethods in llnl.gnem.core.waveform.seismogram with parameters of type TimeTModifier and TypeMethodDescriptionvoid
Truncate the Seismogram to be a subsection of itself.void
void
int
SeismicSignal.getPointsIn
(TimeT start, TimeT end) int
TimeSeries.getPointsIn
(TimeT start, TimeT end) float[]
TimeSeries.getSubSection
(TimeT start, double duration) Gets a float array which is a subsection of the CssSeismogram's time series.float[]
TimeSeries.getSubSection
(TimeT start, TimeT end) Gets a float array which is a subsection of the Seismogram's time series.float[]
TimeSeries.getSubSection
(TimeT start, TimeT end, float[] result) void
void
Sets the time attribute of the CssSeismogram objectConstructors in llnl.gnem.core.waveform.seismogram with parameters of type TimeTModifierConstructorDescriptionTimeSeries
(float[] data, double samprate, TimeT time) TimeSeries
(BinaryData data, double samprate, TimeT time)