Class DateGen

All Implemented Interfaces:
FieldGen

public class DateGen extends AbstractFieldGen
Very simple date value generator that produces ISO dates uniformly distributed over the last year. ISO format is: 2016-12-07.

There are many possible date formats; this class does not attempt to generate all of them. Drill provides a date type, but we use a string format because example cases from people using the product often read text files. Finally, we (reluctantly) use the old-style date formats instead of the new Java 8 classes because Drill prefers to build with Java 7.

  • Constructor Details

    • DateGen

      public DateGen()
  • Method Details

    • setValue

      public void setValue()