net.java.quickcheck.generator.support
Class DateGenerator
java.lang.Object
net.java.quickcheck.generator.support.DateGenerator
- All Implemented Interfaces:
- Generator<Date>
public class DateGenerator
- extends Object
- implements Generator<Date>
Method Summary |
Date |
next()
Generates the next instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateGenerator
public DateGenerator(TimeUnit precision,
long low,
long high,
int tries)
next
public Date next()
- Description copied from interface:
Generator
- Generates the next instance.
- Specified by:
next
in interface Generator<Date>
- Returns:
- a newly created instance
Copyright © 2011. All Rights Reserved.