File tree 1 file changed +3
-2
lines changed
db-scheduler-ui/src/main/java/no/bekk/dbscheduler/ui/model
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 14
14
package no .bekk .dbscheduler .ui .model ;
15
15
16
16
import java .time .Instant ;
17
+ import java .time .temporal .ChronoUnit ;
17
18
18
19
public class TaskRequestParams {
19
20
@@ -55,8 +56,8 @@ public TaskRequestParams(
55
56
this .searchTermTaskInstance = searchTermTaskInstance ;
56
57
this .taskNameExactMatch = taskNameExactMatch != null ? taskNameExactMatch : false ;
57
58
this .taskInstanceExactMatch = taskInstanceExactMatch != null ? taskInstanceExactMatch : false ;
58
- this .startTime = startTime != null ? startTime : Instant .MIN ;
59
- this .endTime = endTime != null ? endTime : Instant .MAX ;
59
+ this .startTime = startTime != null ? startTime : Instant .now (). minus ( 50 , ChronoUnit . DAYS ) ;
60
+ this .endTime = endTime != null ? endTime : Instant .now (). plus ( 50 , ChronoUnit . DAYS ) ;
60
61
this .refresh = refresh != null ? refresh : true ;
61
62
}
62
63
You can’t perform that action at this time.
0 commit comments