void () { var now = System.currentTimeMillis() / 1000; var expectedDate = ZonedDateTime.ofInstant(Instant.ofEpochSecond(now), ZoneOffset.UTC) .format(ApplicationInfoPropertiesImplKt.getMAJOR_RELEASE_DATE_PATTERN()); assertEquals(expectedDate, ApplicationInfoPropertiesImplKt.formatMajorReleaseDate(null, now)); assertEquals(expectedDate, ApplicationInfoPropertiesImplKt.formatMajorReleaseDate("__BUILD_DATE__", now)); }