public class BoundaryUtils extends Object
Constructor and Description |
---|
BoundaryUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
createCharacterArray(String availableValues,
Integer size)
create string of specified size from random characters specified by
availableValues
|
static String |
createDate(String restrictionDate,
int daysOffset,
SimpleDateFormat format)
creates date in string representation that is differs from restrictionDate
by daysOffset number of days
|
static String |
createTime(String restrictionTime,
int minutesOffset,
SimpleDateFormat format)
creates time in string representation that is differs from minutesOffset
by minutesOffset number of minutes
|
static String |
randomCharacter(String availableValues)
returns one random character from specified availableValues string
|
public static String createCharacterArray(String availableValues, Integer size)
availableValues
- size
- public static String randomCharacter(String availableValues)
availableValues
- public static String createDate(String restrictionDate, int daysOffset, SimpleDateFormat format)
restrictionDate
- daysOffset
- public static String createTime(String restrictionTime, int minutesOffset, SimpleDateFormat format)
restrictionTime
- minutesOffset
- Copyright © 2019. All Rights Reserved.