public class PeriodType extends Object
Java class for PeriodType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PeriodType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="start" type="{urn:ietf:params:xml:ns:icalendar-2.0}DateTimeType"/>
<sequence>
<choice>
<element name="end" type="{urn:ietf:params:xml:ns:icalendar-2.0}DateTimeType"/>
<element name="duration" type="{urn:ietf:params:xml:ns:icalendar-2.0}DurationValueType"/>
</choice>
</sequence>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
duration |
protected XMLGregorianCalendar |
end |
protected XMLGregorianCalendar |
start |
| Constructor and Description |
|---|
PeriodType() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDuration()
Gets the value of the duration property.
|
XMLGregorianCalendar |
getEnd()
Gets the value of the end property.
|
XMLGregorianCalendar |
getStart()
Gets the value of the start property.
|
void |
setDuration(String value)
Sets the value of the duration property.
|
void |
setEnd(XMLGregorianCalendar value)
Sets the value of the end property.
|
void |
setStart(XMLGregorianCalendar value)
Sets the value of the start property.
|
protected XMLGregorianCalendar start
protected XMLGregorianCalendar end
protected String duration
public XMLGregorianCalendar getStart()
XMLGregorianCalendarpublic void setStart(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic XMLGregorianCalendar getEnd()
XMLGregorianCalendarpublic void setEnd(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic String getDuration()
StringCopyright © 2017 Bedework. All rights reserved.