public static @NlsSafe @NotNull String formatTime(@NotNull Date time) {
    return formats().timeShort().format(toZoned(time));
  }
public static @NlsSafe @NotNull String formatTime(@NotNull Date time)