private static boolean hasSecondVInt(byte b) {
    return WritableUtils.isNegativeVInt(b);
  }
Converts the time in seconds or milliseconds to a timestamp.
@param time time in seconds or in milliseconds
@return the timestamp
serde/src/java/org/apache/hadoop/hive/serde2/io/TimestampWritable.java