All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.split.client.impressions.ImpressionUtils Maven / Gradle / Ivy

The newest version!
package io.split.client.impressions;

public class ImpressionUtils {

    private static final long TIME_INTERVAL_MS = 3600L * 1000L;

    public static long truncateTimeframe(long timestampInMs) {
        return timestampInMs - (timestampInMs % TIME_INTERVAL_MS);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy