setTimeInterval method
Sets the start time and end time for data to be deleted.
The start time must be greater than 0
, and the end time must not be earlier
than the start time.
Implementation
void setTimeInterval(DateTime startTime, DateTime endTime) {
this.startTime = startTime;
this.endTime = endTime;
}