use of uk.gov.gchq.koryphe.impl.predicate.range.InDateRangeDual in project gaffer-doc by gchq.
the class InDateRangeDualExample method inDateRangeWithTimestamps.
public void inDateRangeWithTimestamps() {
// ---------------------------------------------------------
final InDateRangeDual function = new InDateRangeDual.Builder().start("1483315200").end("1485907200").build();
// ---------------------------------------------------------
runExample(function, null, new Tuple2<>(new Date(1483315198L), new Date(1483315199L)), new Tuple2<>(new Date(1483315198L), new Date(1483315200L)), new Tuple2<>(new Date(1483315200L), new Date(1483315201L)), new Tuple2<>(new Date(1483316200L), new Date(1485907200L)), new Tuple2<>(new Date(1483316200L), new Date(1485907201L)), new Tuple2<>(null, null));
}
Aggregations