1
2 package org.miloss.fgsms.services.interfaces.common;
3
4 import javax.xml.bind.annotation.XmlAccessType;
5 import javax.xml.bind.annotation.XmlAccessorType;
6 import javax.xml.bind.annotation.XmlElement;
7 import javax.xml.bind.annotation.XmlSchemaType;
8 import javax.xml.bind.annotation.XmlType;
9 import java.util.Calendar;
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36 @XmlAccessorType(XmlAccessType.FIELD)
37 @XmlType(name = "TimeRange", propOrder = {
38 "end",
39 "start"
40 })
41 public class TimeRange {
42
43 @XmlElement(required = true)
44 @XmlSchemaType(name = "dateTime")
45 protected Calendar end;
46 @XmlElement(required = true)
47 @XmlSchemaType(name = "dateTime")
48 protected Calendar start;
49
50
51
52
53
54
55
56
57
58 public Calendar getEnd() {
59 return end;
60 }
61
62
63
64
65
66
67
68
69
70 public void setEnd(Calendar value) {
71 this.end = value;
72 }
73
74
75
76
77
78
79
80
81
82 public Calendar getStart() {
83 return start;
84 }
85
86
87
88
89
90
91
92
93
94 public void setStart(Calendar value) {
95 this.start = value;
96 }
97
98 }