KTIJ-37400 [kotlin]: Show IntelliJ IDEA 2026.1 15 years of Kotlin artwork

Show the splash screen between July 6th and 12th.

GitOrigin-RevId: c1991d898ce94dd590d13cd45711ea194d82c577
This commit is contained in:
Vladimir Dolzhenko
2026-02-13 10:20:40 +01:00
committed by intellij-monorepo-bot
parent b19a626b15
commit 035b44daf7
3 changed files with 17 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 286 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 907 KiB

View File

@@ -25,6 +25,8 @@ import org.jetbrains.annotations.VisibleForTesting;
import java.nio.file.Files;
import java.nio.file.Path;
import java.text.MessageFormat;
import java.time.LocalDate;
import java.time.Month;
import java.time.ZoneOffset;
import java.time.ZonedDateTime;
import java.util.ArrayList;
@@ -376,6 +378,21 @@ public final class ApplicationInfoImpl extends ApplicationInfoEx {
@Override
public @Nullable String getSplashImageUrl() {
if (getVersionName().equals("IntelliJ IDEA")) {
LocalDate startDate = LocalDate.of(2026, Month.JULY, 5);
LocalDate endDate = LocalDate.of(2026, Month.JULY, 13);
LocalDate nowDate = LocalDate.now();
String splashUrl = splashImageUrl;
if (splashUrl != null &&
(
Boolean.parseBoolean(System.getProperty("show.kotlin.anniversary.splash")) ||
nowDate.isAfter(startDate) && nowDate.isBefore(endDate)
)
) {
return splashUrl.replace(".png", "_kotlin_15.png");
}
}
if (isEap && eapSplashImageUrl != null) return eapSplashImageUrl;
if (simplifiedSplashImageUrl != null) {