| java.lang.Object org.databene.benerator.primitive.DateGenerator
DateGenerator | public class DateGenerator implements Generator<Date>(Code) | | creates date values by a LongGenerator.
See Also: LongGenerator
See Also:
See Also: Created: 07.06.2006 22:54:28 |
DateGenerator | public DateGenerator()(Code) | | Initializes the generator to create days within about the last 80 years with a one-day resolution
|
DateGenerator | public DateGenerator(Date min, Date max, long precision)(Code) | | Initializes the generator to create dates with a uniform distribution
|
DateGenerator | public DateGenerator(Date min, Date max, long precision, Distribution distribution)(Code) | | Initializes the generator to create dates of a Sequence or WeightFunction
|
available | public boolean available()(Code) | | |
close | public void close()(Code) | | |
generate | public Date generate()(Code) | | Generates a Date by creating a millisecond value from the source generator and wrapping it into a Date
|
getMax | public Date getMax()(Code) | | Returns the latest date to generate
|
getMin | public Date getMin()(Code) | | Returns the earliest date to generate
|
getPrecision | public Long getPrecision()(Code) | | Returns the date precision in milliseconds
|
getVariation1 | public Long getVariation1()(Code) | | Returns the first sequence-specific variation parameter
|
getVariation2 | public Long getVariation2()(Code) | | Returns the second sequence-specific variation parameter
|
reset | public void reset()(Code) | | |
setDistribution | public void setDistribution(Distribution distribution)(Code) | | Sets the distribution to use
|
setMax | public void setMax(Date max)(Code) | | Sets the latest date to generate
|
setMin | public void setMin(Date min)(Code) | | Sets the earliest date to generate
|
setPrecision | public void setPrecision(Long precision)(Code) | | Sets the date precision in milliseconds
|
setVariation1 | public void setVariation1(Long varation1)(Code) | | Sets the first sequence-specific variation parameter
|
setVariation2 | public void setVariation2(Long variation2)(Code) | | Sets the second sequence-specific variation parameter
|
validate | public void validate()(Code) | | |
|
|