[Minor] Added DateSelection(DateRange)
This commit is contained in:
parent
d385025609
commit
c5e272eabd
|
@ -30,6 +30,10 @@ public class DateSelection extends OrderSelection {
|
||||||
this.dateRange = new DateRange();
|
this.dateRange = new DateRange();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public DateSelection(DateRange dateRange) {
|
||||||
|
this.dateRange = dateRange;
|
||||||
|
}
|
||||||
|
|
||||||
public DateSelection from(Date from, boolean inclusive) {
|
public DateSelection from(Date from, boolean inclusive) {
|
||||||
this.dateRange.from(from, inclusive);
|
this.dateRange.from(from, inclusive);
|
||||||
return this;
|
return this;
|
||||||
|
|
Loading…
Reference in New Issue