docs: private static long truncateToSeconds(long analysisDate) {
      Instant instant = new Date(analysisDate).toInstant();
      instant = instant.truncatedTo(ChronoUnit.SECONDS);
      return Date.from(instant).getTime();
    }