Create a new {@link OffsetDateTimeRangeRandomizer}.

@param min  min value
@param max  max value
@param seed initial seed
@return a new {@link OffsetDateTimeRangeRandomizer}.
328068
public static OffsetDateTimeRangeRandomizer aNewOffsetDateTimeRangeRandomizer(final OffsetDateTime min, final OffsetDateTime max, final long seed) {
        return new OffsetDateTimeRangeRandomizer(min, max, seed);
    }
82348
public Date getDate(final Date min, final Date max) {
		return getDate(min.getTime(), max.getTime());
	}
231315
public void setMaxDateCreated(String maxCreationDate) {

        if ((CmsStringUtil.isNotEmptyOrWhitespaceOnly(maxCreationDate)) && (!maxCreationDate.equals("0"))) {
            m_searchParams.setMaxDateCreated(Long.parseLong(maxCreationDate));
        } else {
            m_searchParams.setMaxDateCreated(Long.MAX_VALUE);
        }
    }
176743
public function generate($min = 0, $max = null)
    {  
        if($max === null) {
            $max = 2796203;
        }
        
        if($max > 2796203) {
            throw new ReverseRegexException('Max param has exceeded the maxium 2796203');
        }
        
        if ($this->seed == 0) {
            $this->seed(mt_rand());
        }
        
        $this->seed = ($this->seed * 125) % 2796203;  
        
        
        return $this->seed % ($max - $min + 1) + $min;  
    }
1329540
public static String nextString(int min, int max) {
		StringBuilder result = new StringBuilder();

		int length = RandomInteger.nextInteger(min, max);
		for (int i = 0; i < length; i++) {
			int index = RandomInteger.nextInteger(_chars.length());
			result.append(_chars.charAt(index));
		}

		return result.toString();
	}
993517
public static DateTime offset(Date date, DateField dateField, int offset) {
		Calendar cal = Calendar.getInstance();
		cal.setTime(date);
		cal.add(dateField.getValue(), offset);
		return new DateTime(cal.getTime());
	}
1024271
public static LocalDateRangeRandomizer aNewLocalDateRangeRandomizer(final LocalDate min, final LocalDate max, final long seed) {
        return new LocalDateRangeRandomizer(min, max, seed);
    }
1028019
public void setSelectableDateRange(Date min, Date max) {
		dateUtil.setSelectableDateRange(min, max);
		checkText();
	}
201840
public static Pattern times(final int min, final int max, final CharPredicate predicate) {
    Checks.checkMinMax(min, max);
    return new Pattern() {
      @Override
      public int match(CharSequence src, int begin, int end) {
        int minLen = RepeatCharPredicatePattern.matchRepeat(min, predicate, src, end, begin, 0);
        if (minLen == MISMATCH)
          return MISMATCH;
        return matchSome(max - min, predicate, src, end, begin + minLen, minLen);
      }
    };
  }
405134
public static DoubleRangeRandomizer aNewDoubleRangeRandomizer(final Double min, final Double max, final long seed) {
        return new DoubleRangeRandomizer(min, max, seed);
    }
460509
public static Between betweenExclusiveMin( String property, int minimum, int maximum)
    {
    return new Between( moreThan( property, minimum), notMoreThan( property, maximum));
    }
459976
public static ShortRangeRandomizer aNewShortRangeRandomizer(final Short min, final Short max, final long seed) {
        return new ShortRangeRandomizer(min, max, seed);
    }
464353
public static YearRangeRandomizer aNewYearRangeRandomizer(final Year min, final Year max, final long seed) {
        return new YearRangeRandomizer(min, max, seed);
    }
1211845
public static BigIntegerRangeRandomizer aNewBigIntegerRangeRandomizer(final Integer min, final Integer max, final long seed) {
        return new BigIntegerRangeRandomizer(min, max, seed);
    }
751312
public static final int nextInteger(int min, int max) {
		return min == max ? min : min + getRandom().nextInt(max - min);
	}
1045960
@Deprecated
    protected Map<String, List<Object>> toMultivaluedSeed(final Map<String, Object> seed) {
        return MultivaluedPersonAttributeUtils.toMultivaluedMap(seed);
    }
151211
public final Parser<List<T>> times(int min, int max) {
    Checks.checkMinMax(min, max);
    return new RepeatTimesParser<T>(this, min, max);
  }