public final class DateFactory extends RandomFactoryBase<Date>
| Constructor and Description |
|---|
DateFactory(RandomValueGenerator randomValueGenerator)
Construct a new Date object factory.
|
| Modifier and Type | Method and Description |
|---|---|
Date |
create()
Create a new Date object.
|
getRandomValueGeneratorpublic DateFactory(RandomValueGenerator randomValueGenerator) throws IllegalArgumentException
randomValueGenerator - A random value generator used by the Factory to generate random values.IllegalArgumentException - If the specified randomValueGenerator is deemed illegal. For example, if it is null.Copyright © 2010–2020 meanbean. All rights reserved.