Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/fixings/DateRange.java @ 3003:e5e6363e6cba
FixA: Explicit model for date ranges.
flys-artifacts/trunk@4559 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Wed, 30 May 2012 14:45:36 +0000 |
parents | |
children | 5d286d7e54cd |
comparison
equal
deleted
inserted
replaced
3002:e54dd69d306f | 3003:e5e6363e6cba |
---|---|
1 package de.intevation.flys.artifacts.model.fixings; | |
2 | |
3 import java.util.Date; | |
4 | |
5 import java.io.Serializable; | |
6 | |
7 public class DateRange | |
8 implements Serializable | |
9 { | |
10 protected Date from; | |
11 protected Date to; | |
12 | |
13 public DateRange(Date from, Date to) { | |
14 this.from = from; | |
15 this.to = to; | |
16 } | |
17 | |
18 public Date getFrom() { | |
19 return from; | |
20 } | |
21 | |
22 public void setFrom(Date from) { | |
23 this.from = from; | |
24 } | |
25 | |
26 public Date getTo() { | |
27 return to; | |
28 } | |
29 | |
30 public void setTo(Date to) { | |
31 this.to = to; | |
32 } | |
33 } | |
34 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |