public static @NlsSafe @NotNull String formatPrettyDateTime(long time) {
    var pretty = doFormatPretty(time, true);
    return pretty != null ? pretty : formatDateTime(time);
  }
public static @NlsSafe @NotNull String formatPrettyDateTime(long time)