net.java.quickcheck.generator.support
Class DateGenerator

java.lang.Object
  extended by net.java.quickcheck.generator.support.DateGenerator
All Implemented Interfaces:
Generator<Date>

public class DateGenerator
extends Object
implements Generator<Date>


Constructor Summary
DateGenerator(TimeUnit precision, long low, long high, int tries)
           
 
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
 

Constructor Detail

DateGenerator

public DateGenerator(TimeUnit precision,
                     long low,
                     long high,
                     int tries)
Method Detail

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.