DateTimeScheme
data class DateTimeScheme(var minDateTime: Timestamp = DEFAULT_MIN_DATE_TIME, var maxDateTime: Timestamp = DEFAULT_MAX_DATE_TIME, var pattern: String = DEFAULT_PATTERN, val arrayDecorator: ArrayDecorator = ArrayDecorator()) : Scheme(source)
Contains settings for generating random date-times.
Constructors
Link copied to clipboard
constructor(minDateTime: Timestamp = DEFAULT_MIN_DATE_TIME, maxDateTime: Timestamp = DEFAULT_MAX_DATE_TIME, pattern: String = DEFAULT_PATTERN, arrayDecorator: ArrayDecorator = ArrayDecorator())
Properties
Link copied to clipboard
Settings that determine whether the output should be an array of values.
Link copied to clipboard
Additional logic that determines how strings are generated.
Link copied to clipboard
The maximum date-time to be generated, inclusive.
Link copied to clipboard
The minimum date-time to be generated, inclusive.
Link copied to clipboard
The icon signifying the type of data represented by this scheme, ignoring its decorators; or null
if this scheme does not represent any kind of data, as is the case for DecoratorSchemes.
Link copied to clipboard
Lists the Validators relevant to this State.
Functions
Link copied to clipboard
Returns a deep copy, retaining the uuid if and only if retainUuid is true
.
Link copied to clipboard
Generates count random data according to the settings in this scheme, ignoring settings from decorators.