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 * TimeRange
15 *
16 *
17 * <p>Java class for TimeRange complex type.
18 *
19 * <p>The following schema fragment specifies the expected content contained within this class.
20 *
21 * <pre>
22 * <complexType name="TimeRange">
23 * <complexContent>
24 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
25 * <sequence>
26 * <element name="end" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
27 * <element name="start" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
28 * </sequence>
29 * </restriction>
30 * </complexContent>
31 * </complexType>
32 * </pre>
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 * Gets the value of the end property.
52 *
53 * @return
54 * possible object is
55 * {@link Calendar }
56 *
57 */
58 public Calendar getEnd() {
59 return end;
60 }
61
62 /**
63 * Sets the value of the end property.
64 *
65 * @param value
66 * allowed object is
67 * {@link Calendar }
68 *
69 */
70 public void setEnd(Calendar value) {
71 this.end = value;
72 }
73
74 /**
75 * Gets the value of the start property.
76 *
77 * @return
78 * possible object is
79 * {@link Calendar }
80 *
81 */
82 public Calendar getStart() {
83 return start;
84 }
85
86 /**
87 * Sets the value of the start property.
88 *
89 * @param value
90 * allowed object is
91 * {@link Calendar }
92 *
93 */
94 public void setStart(Calendar value) {
95 this.start = value;
96 }
97
98 }