Package org.xlsx4j.sml
Class CTDateGroupItem
java.lang.Object
org.xlsx4j.sml.CTDateGroupItem
- All Implemented Interfaces:
Child
Java class for CT_DateGroupItem complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_DateGroupItem">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="year" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" />
<attribute name="month" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" />
<attribute name="day" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" />
<attribute name="hour" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" />
<attribute name="minute" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" />
<attribute name="second" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" />
<attribute name="dateTimeGrouping" use="required" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_DateTimeGrouping" />
</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.Gets the value of the dateTimeGrouping property.getDay()Gets the value of the day property.getHour()Gets the value of the hour property.Gets the value of the minute property.getMonth()Gets the value of the month property.Gets the parent object in the object tree representing the unmarshalled xml document.Gets the value of the second property.intgetYear()Gets the value of the year property.voidSets the value of the dateTimeGrouping property.voidSets the value of the day property.voidSets the value of the hour property.voidSets the value of the minute property.voidSets the value of the month property.voidvoidSets the value of the second property.voidsetYear(int value) Sets the value of the year property.
-
Field Details
-
year
protected int year -
month
-
day
-
hour
-
minute
-
second
-
dateTimeGrouping
-
-
Constructor Details
-
CTDateGroupItem
public CTDateGroupItem()
-
-
Method Details
-
getYear
public int getYear()Gets the value of the year property. -
setYear
public void setYear(int value) Sets the value of the year property. -
getMonth
Gets the value of the month property.- Returns:
- possible object is
Integer
-
setMonth
Sets the value of the month property.- Parameters:
value- allowed object isInteger
-
getDay
Gets the value of the day property.- Returns:
- possible object is
Integer
-
setDay
Sets the value of the day property.- Parameters:
value- allowed object isInteger
-
getHour
Gets the value of the hour property.- Returns:
- possible object is
Integer
-
setHour
Sets the value of the hour property.- Parameters:
value- allowed object isInteger
-
getMinute
Gets the value of the minute property.- Returns:
- possible object is
Integer
-
setMinute
Sets the value of the minute property.- Parameters:
value- allowed object isInteger
-
getSecond
Gets the value of the second property.- Returns:
- possible object is
Integer
-
setSecond
Sets the value of the second property.- Parameters:
value- allowed object isInteger
-
getDateTimeGrouping
Gets the value of the dateTimeGrouping property.- Returns:
- possible object is
STDateTimeGrouping
-
setDateTimeGrouping
Sets the value of the dateTimeGrouping property.- Parameters:
value- allowed object isSTDateTimeGrouping
-
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.
-