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