comparison gwt-client/src/main/java/org/dive4elements/river/client/shared/model/FixFilter.java @ 8400:319aa972a1a3 3.1.7

Fixed date filter for fix overview.
author Raimund Renkert <rrenkert@intevation.de>
date Thu, 09 Oct 2014 12:13:56 +0200
parents ea9eef426962
children 850ce16034e9
comparison
equal deleted inserted replaced
8399:c668520cc5fb 8400:319aa972a1a3
29 this.fromKm = -Double.MAX_VALUE; 29 this.fromKm = -Double.MAX_VALUE;
30 this.toKm = -1; 30 this.toKm = -1;
31 this.currentKm = -1; 31 this.currentKm = -1;
32 this.fromClass = -1; 32 this.fromClass = -1;
33 this.toClass = -1; 33 this.toClass = -1;
34 this.fromDate = -1; 34 this.fromDate = Long.MIN_VALUE;
35 this.toDate = -1; 35 this.toDate = Long.MIN_VALUE;
36 this.hasDate = false; 36 this.hasDate = false;
37 this.events = new int[0]; 37 this.events = new int[0];
38 } 38 }
39 39
40 public void setRiver(String river) { 40 public void setRiver(String river) {
108 } 108 }
109 109
110 public int[] getEvents() { 110 public int[] getEvents() {
111 return this.events; 111 return this.events;
112 } 112 }
113
114 public boolean hasDate() {
115 return fromDate != Long.MIN_VALUE && toDate != Long.MIN_VALUE;
116 }
113 } 117 }
114 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : 118 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org