Package iofXml.v3
Class DateAndOptionalTime
-
- All Implemented Interfaces:
public class 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>
-
-
Constructor Summary
Constructors Constructor Description DateAndOptionalTime()
-
Method Summary
Modifier and Type Method Description XMLGregorianCalendar
getDate()
The date part, expressed in ISO 8601 format. void
setDate(XMLGregorianCalendar value)
Sets the value of the date property. XMLGregorianCalendar
getTime()
The time part, expressed in ISO 8601 format. void
setTime(XMLGregorianCalendar value)
Sets the value of the time property. -
-
Method Detail
-
getDate
XMLGregorianCalendar getDate()
The date part, expressed in ISO 8601 format.
- Returns:
possibleobject is XMLGregorianCalendar
-
setDate
void setDate(XMLGregorianCalendar value)
Sets the value of the date property.
- Parameters:
value
- allowed object is XMLGregorianCalendar
-
getTime
XMLGregorianCalendar getTime()
The time part, expressed in ISO 8601 format.
- Returns:
possibleobject is XMLGregorianCalendar
-
setTime
void setTime(XMLGregorianCalendar value)
Sets the value of the time property.
- Parameters:
value
- allowed object is XMLGregorianCalendar
-
-
-
-