Package org.xlsx4j.sml
Class CTDateGroupItem
java.lang.Object
org.xlsx4j.sml.CTDateGroupItem
- All Implemented Interfaces:
Child
public class CTDateGroupItem extends java.lang.Object implements 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 Modifier and Type Field Description protected STDateTimeGroupingdateTimeGroupingprotected java.lang.Integerdayprotected java.lang.Integerhourprotected java.lang.Integerminuteprotected java.lang.Integermonthprotected java.lang.Integersecondprotected intyear -
Constructor Summary
Constructors Constructor Description CTDateGroupItem() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.STDateTimeGroupinggetDateTimeGrouping()Gets the value of the dateTimeGrouping property.java.lang.IntegergetDay()Gets the value of the day property.java.lang.IntegergetHour()Gets the value of the hour property.java.lang.IntegergetMinute()Gets the value of the minute property.java.lang.IntegergetMonth()Gets the value of the month property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.java.lang.IntegergetSecond()Gets the value of the second property.intgetYear()Gets the value of the year property.voidsetDateTimeGrouping(STDateTimeGrouping value)Sets the value of the dateTimeGrouping property.voidsetDay(java.lang.Integer value)Sets the value of the day property.voidsetHour(java.lang.Integer value)Sets the value of the hour property.voidsetMinute(java.lang.Integer value)Sets the value of the minute property.voidsetMonth(java.lang.Integer value)Sets the value of the month property.voidsetParent(java.lang.Object parent)voidsetSecond(java.lang.Integer value)Sets the value of the second property.voidsetYear(int value)Sets the value of the year property.
-
Field Details
-
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
public java.lang.Integer getMonth()Gets the value of the month property.- Returns:
- possible object is
Integer
-
setMonth
public void setMonth(java.lang.Integer value)Sets the value of the month property.- Parameters:
value- allowed object isInteger
-
getDay
public java.lang.Integer getDay()Gets the value of the day property.- Returns:
- possible object is
Integer
-
setDay
public void setDay(java.lang.Integer value)Sets the value of the day property.- Parameters:
value- allowed object isInteger
-
getHour
public java.lang.Integer getHour()Gets the value of the hour property.- Returns:
- possible object is
Integer
-
setHour
public void setHour(java.lang.Integer value)Sets the value of the hour property.- Parameters:
value- allowed object isInteger
-
getMinute
public java.lang.Integer getMinute()Gets the value of the minute property.- Returns:
- possible object is
Integer
-
setMinute
public void setMinute(java.lang.Integer value)Sets the value of the minute property.- Parameters:
value- allowed object isInteger
-
getSecond
public java.lang.Integer getSecond()Gets the value of the second property.- Returns:
- possible object is
Integer
-
setSecond
public void setSecond(java.lang.Integer value)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
public java.lang.Object getParent()Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
public void setParent(java.lang.Object parent) -
afterUnmarshal
public void afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)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.
-