Package iofXml.v3
Class DateAndOptionalTime
java.lang.Object
iofXml.v3.DateAndOptionalTime
Defines a point in time which either is known by date and time, or just by date. May be used for event dates, when the event date is decided before the time of the first start.
Java class for DateAndOptionalTime complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="DateAndOptionalTime">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Date" type="{http://www.w3.org/2001/XMLSchema}date"/>
<element name="Time" type="{http://www.w3.org/2001/XMLSchema}time" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected XMLGregorianCalendarThe date part, expressed in ISO 8601 format.protected XMLGregorianCalendarThe time part, expressed in ISO 8601 format. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDate()The date part, expressed in ISO 8601 format.getTime()The time part, expressed in ISO 8601 format.voidsetDate(XMLGregorianCalendar value) Sets the value of the date property.voidsetTime(XMLGregorianCalendar value) Sets the value of the time property.
-
Field Details
-
date
The date part, expressed in ISO 8601 format. -
time
The time part, expressed in ISO 8601 format.
-
-
Constructor Details
-
DateAndOptionalTime
public DateAndOptionalTime()
-
-
Method Details
-
getDate
The date part, expressed in ISO 8601 format.- Returns:
- possible object is
XMLGregorianCalendar
-
setDate
Sets the value of the date property.- Parameters:
value- allowed object isXMLGregorianCalendar- See Also:
-
getTime
The time part, expressed in ISO 8601 format.- Returns:
- possible object is
XMLGregorianCalendar
-
setTime
Sets the value of the time property.- Parameters:
value- allowed object isXMLGregorianCalendar- See Also:
-