@Override
   public boolean equals(Object obj) {
      if (obj == null || !(obj instanceof Time)) {
         return false;
      }
      Time t = (Time) obj;
      return (t.value == this.value) && (t.isRelative == this.isRelative);
   }