Package ietf.params.xml.ns.icalendar_2
Class PeriodType
java.lang.Object
ietf.params.xml.ns.icalendar_2.PeriodType
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>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected XMLGregorianCalendar
protected XMLGregorianCalendar
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the duration property.getEnd()
Gets the value of the end property.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.
-
Field Details
-
start
-
end
-
duration
-
-
Constructor Details
-
PeriodType
public PeriodType()
-
-
Method Details
-
getStart
Gets the value of the start property.- Returns:
- possible object is
XMLGregorianCalendar
-
setStart
Sets the value of the start property.- Parameters:
value
- allowed object isXMLGregorianCalendar
-
getEnd
Gets the value of the end property.- Returns:
- possible object is
XMLGregorianCalendar
-
setEnd
Sets the value of the end property.- Parameters:
value
- allowed object isXMLGregorianCalendar
-
getDuration
Gets the value of the duration property.- Returns:
- possible object is
String
-
setDuration
Sets the value of the duration property.- Parameters:
value
- allowed object isString
-