public class ZonedDateTimeGenerator extends Object implements Generator<ZonedDateTime>
| Constructor and Description |
|---|
ZonedDateTimeGenerator() |
| Modifier and Type | Method and Description |
|---|---|
ZonedDateTime |
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 ZonedDateTime generate(Class<?> clazz, Field field, Limiter limiter)
Generatorgenerate in interface Generator<ZonedDateTime>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<ZonedDateTime>clazz - class instance to checkCopyright © 2019. All rights reserved.