hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/client/HddsClientUtils.java
public static String formatDateTime(long millis) {
    ZonedDateTime dateTime = ZonedDateTime.ofInstant(
        Instant.ofEpochSecond(millis), DATE_FORMAT.get().getZone());
    return DATE_FORMAT.get().format(dateTime);
  }
/**
   * Convert time in millisecond to a human readable format required in ozone.
   * @return a human readable string for the input time
   */
Convert time in millisecond to a human readable format required in ozone.
@return a human readable string for the input time
Convert time in millisecond to a human readable format required in ozone . @return a human readable string for the input time
public static String formatDateTime(long millis) {
    ZonedDateTime dateTime = ZonedDateTime.ofInstant(
        Instant.ofEpochSecond(millis), DATE_FORMAT.get().getZone());
    return DATE_FORMAT.get().format(dateTime);
  }
public static String formatDateTime ( long millis ) { ZonedDateTime dateTime = ZonedDateTime . ofInstant ( Instant . ofEpochSecond ( millis ) , DATE_FORMAT . get ( ) . getZone ( ) ) ; return DATE_FORMAT . get ( ) . format ( dateTime ) ; }
Convert time in millisecond to a human readable format required in ozone.
Convert time in millisecond to a human readable format required in ozone .