public static long timestampToMs(Timestamp timestamp) {
    return timestamp == null ? Utils.Infinite_Time : timestamp.getTime();
  }
@param timestamp a {@link Timestamp}, can be null.
@return the milliseconds since the epoch if {@code timestamp} is non-null, or {@link Utils#Infinite_Time} if null.
ambry-utils/src/main/java/com/github/ambry/utils/Utils.java