public @NotNull @NlsSafe String formatTimeWithSeconds(@NotNull Date time) {
    return formatTimeWithSeconds(time.getTime());
  }
public @NotNull @NlsSafe String formatTimeWithSeconds(@NotNull Date time)