public static @NotNull Pair<String, String> getBuildInfo(@NotNull ApplicationInfo appInfo) {
    String buildInfo = IdeBundle.message("about.box.build.number", appInfo.getBuild().asString());
    String buildInfoNonLocalized = MessageFormat.format("Build #{0}", appInfo.getBuild().asString());
    Date buildDate = appInfo.getBuildDate().getTime();
    String formattedBuildDate = DateFormat.getDateInstance(DateFormat.LONG, Locale.US).format(buildDate);

    if (AppMode.isDevServer()) {
      // Dev mode build date is not accurate, so we don't show it to avoid confusion
      buildInfo += IdeBundle.message("about.box.build.date.omitted.in.dev.build.mode");
      buildInfoNonLocalized += ", build date omitted in Dev build mode";
    }
    else if (appInfo.getBuild().isSnapshot()) {
      String buildTime = new SimpleDateFormat("HH:mm").format(buildDate);
      buildInfo += IdeBundle.message("about.box.build.date.time", NlsMessages.formatDateLong(buildDate), buildTime);
      buildInfoNonLocalized += MessageFormat.format(", built on {0} at {1}", formattedBuildDate, buildTime);
    }
    else {
      buildInfo += IdeBundle.message("about.box.build.date", NlsMessages.formatDateLong(buildDate));
      buildInfoNonLocalized += MessageFormat.format(", built on {0}", formattedBuildDate);
    }

    return Pair.create(buildInfo, buildInfoNonLocalized);
  }
public static @NotNull Pair<String, String> getBuildInfo(@NotNull ApplicationInfo appInfo)