class ExpirationTimeProvider {

    public long getExpirationMinutes(final long validityValue) {
        return ((validityValue - currentDateProvider.getCurrentTimeInMillis()) / SECOND_DIVIDER) / MINUTE_DIVIDER;
    }

}