public static long previousOrSameSundayToMillis(Instant instant, ZoneId zoneId) {
        ZonedDateTime prev = previousOrSameSunday(instant, zoneId);
        return prev.toInstant().toEpochMilli();
    }
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