Package org.xlsx4j.sml
Class CTDateTime
java.lang.Object
org.xlsx4j.sml.CTDateTime
- All Implemented Interfaces:
Child
Java class for CT_DateTime complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_DateTime">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="x" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_X" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="v" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
<attribute name="u" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="f" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="c" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
<attribute name="cp" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent) This method is invoked by the JAXB implementation on each instance when unmarshalling completes.getC()Gets the value of the c property.getCp()Gets the value of the cp property.Gets the parent object in the object tree representing the unmarshalled xml document.getV()Gets the value of the v property.getX()Gets the value of the x property.isF()Gets the value of the f property.isU()Gets the value of the u property.voidSets the value of the c property.voidSets the value of the cp property.voidSets the value of the f property.voidvoidSets the value of the u property.voidsetV(XMLGregorianCalendar value) Sets the value of the v property.
-
Field Details
-
x
-
v
-
u
-
f
-
c
-
cp
-
-
Constructor Details
-
CTDateTime
public CTDateTime()
-
-
Method Details
-
getX
Gets the value of the x property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the x property.For example, to add a new item, do as follows:
getX().add(newItem);Objects of the following type(s) are allowed in the list
CTX -
getV
Gets the value of the v property.- Returns:
- possible object is
XMLGregorianCalendar
-
setV
Sets the value of the v property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
isU
Gets the value of the u property.- Returns:
- possible object is
Boolean
-
setU
Sets the value of the u property.- Parameters:
value- allowed object isBoolean
-
isF
Gets the value of the f property.- Returns:
- possible object is
Boolean
-
setF
Sets the value of the f property.- Parameters:
value- allowed object isBoolean
-
getC
Gets the value of the c property.- Returns:
- possible object is
String
-
setC
Sets the value of the c property.- Parameters:
value- allowed object isString
-
getCp
Gets the value of the cp property.- Returns:
- possible object is
Long
-
setCp
Sets the value of the cp property.- Parameters:
value- allowed object isLong
-
getParent
Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
-
afterUnmarshal
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.- Parameters:
parent- The parent object in the object tree.unmarshaller- The unmarshaller that generated the instance.
-