예제 #1
0
 /**
  * Check if observation time is valid, by comparing it with the transmission time.
  *
  * @return
  */
 public boolean isObservationTime() {
   if (observationTime == null) {
     return false;
   }
   if (transmissionTime != null) {
     return !observationTime.isEqual(transmissionTime);
   } else {
     return true;
   }
 }
예제 #2
0
 /**
  * Check if analyse time is valid, by comparing it with the transmission time.
  *
  * @return
  */
 public boolean isAnalyseTime() {
   if (analyseTime == null) {
     return false;
   }
   if (transmissionTime != null) {
     return !analyseTime.isEqual(transmissionTime);
   } else {
     return true;
   }
 }