public class LocalDateTimeGenerator extends Object implements Generator<LocalDateTime>
| Constructor and Description |
|---|
LocalDateTimeGenerator() |
| Modifier and Type | Method and Description |
|---|---|
LocalDateTime |
generate(Class<?> clazz,
Field field,
Limiter limiter)
Generates an instance of this class with random test data
|
boolean |
supportsType(Class<?> clazz)
Returns true if this Generator can generate an instance of this class.
|
public LocalDateTime generate(Class<?> clazz, Field field, Limiter limiter)
Generatorgenerate in interface Generator<LocalDateTime>clazz - class to createfield - used to determine generic type (i.e. collections)limiter - used to limit the randomness of the datapublic boolean supportsType(Class<?> clazz)
GeneratorsupportsType in interface Generator<LocalDateTime>clazz - class instance to checkCopyright © 2019. All rights reserved.