public static ZonedDateTime previousOrSameSunday(Instant instant, ZoneId zoneId) {
        ZonedDateTime now = ZonedDateTime.ofInstant(instant, zoneId);
        return now.truncatedTo(ChronoUnit.DAYS)
                .with(PREV_OR_SAME_SUNDAY);
    }
Returns the current time in milliseconds.
precision : milliseconds
@return the current time in milliseconds
commons-timeseries/src/main/java/com/navercorp/pinpoint/common/timeseries/time/DateTimeUtils.java