edu.iris.dmc.timeseries.model
Class Util

java.lang.Object
  extended by edu.iris.dmc.timeseries.model.Util

public class Util
extends Object


Constructor Summary
Util()
           
 
Method Summary
static Timestamp addSeconds(Timestamp tstamp, double seconds)
           
static boolean isLeftTimeTolerable(Timestamp start, Timestamp expected, double period)
           
static boolean isRateTolerable(float a, float b)
           
static boolean isRightTimeTolerable(Timestamp end, Timestamp expected, double period)
           
static Timestamp roundTime(Timestamp timestamp)
           
static Timestamp toTime(edu.sc.seis.seisFile.mseed.Btime bTime, byte activityFlags, int timeCorrection, byte microseconds)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
Method Detail

toTime

public static Timestamp toTime(edu.sc.seis.seisFile.mseed.Btime bTime,
                               byte activityFlags,
                               int timeCorrection,
                               byte microseconds)

roundTime

public static Timestamp roundTime(Timestamp timestamp)

addSeconds

public static Timestamp addSeconds(Timestamp tstamp,
                                   double seconds)

isRateTolerable

public static boolean isRateTolerable(float a,
                                      float b)

isRightTimeTolerable

public static boolean isRightTimeTolerable(Timestamp end,
                                           Timestamp expected,
                                           double period)

isLeftTimeTolerable

public static boolean isLeftTimeTolerable(Timestamp start,
                                          Timestamp expected,
                                          double period)


Copyright © 2013. All Rights Reserved.