public static TimePeriod fromEpochTo(final Instant to) {
        return new TimePeriod(
                Instant.EPOCH.truncatedTo(ChronoUnit.MILLIS),
                to.truncatedTo(ChronoUnit.MILLIS));
    }
@param from Is inclusive. Will be truncated to millisecond precision.
@param to   Is exclusive. Will be truncated to millisecond precision.
stroom-util/src/main/java/stroom/util/time/TimePeriod.java