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 STDateTimeGrouping dateTimeGrouping  
    protected java.lang.Integer day  
    protected java.lang.Integer hour  
    protected java.lang.Integer minute  
    protected java.lang.Integer month  
    protected java.lang.Integer second  
    protected int year  
  • Constructor Summary

    Constructors
    Constructor Description
    CTDateGroupItem()  
  • Method Summary

    Modifier and Type Method Description
    void afterUnmarshal​(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)
    This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
    STDateTimeGrouping getDateTimeGrouping()
    Gets the value of the dateTimeGrouping property.
    java.lang.Integer getDay()
    Gets the value of the day property.
    java.lang.Integer getHour()
    Gets the value of the hour property.
    java.lang.Integer getMinute()
    Gets the value of the minute property.
    java.lang.Integer getMonth()
    Gets the value of the month property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    java.lang.Integer getSecond()
    Gets the value of the second property.
    int getYear()
    Gets the value of the year property.
    void setDateTimeGrouping​(STDateTimeGrouping value)
    Sets the value of the dateTimeGrouping property.
    void setDay​(java.lang.Integer value)
    Sets the value of the day property.
    void setHour​(java.lang.Integer value)
    Sets the value of the hour property.
    void setMinute​(java.lang.Integer value)
    Sets the value of the minute property.
    void setMonth​(java.lang.Integer value)
    Sets the value of the month property.
    void setParent​(java.lang.Object parent)  
    void setSecond​(java.lang.Integer value)
    Sets the value of the second property.
    void setYear​(int value)
    Sets the value of the year property.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • year

      protected int year
    • month

      protected java.lang.Integer month
    • day

      protected java.lang.Integer day
    • hour

      protected java.lang.Integer hour
    • minute

      protected java.lang.Integer minute
    • second

      protected java.lang.Integer second
    • dateTimeGrouping

      protected STDateTimeGrouping 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

      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 is Integer
    • 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 is Integer
    • 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 is Integer
    • 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 is Integer
    • 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 is Integer
    • getDateTimeGrouping

      public STDateTimeGrouping getDateTimeGrouping()
      Gets the value of the dateTimeGrouping property.
      Returns:
      possible object is STDateTimeGrouping
    • setDateTimeGrouping

      public void setDateTimeGrouping​(STDateTimeGrouping value)
      Sets the value of the dateTimeGrouping property.
      Parameters:
      value - allowed object is STDateTimeGrouping
    • getParent

      public java.lang.Object getParent()
      Gets the parent object in the object tree representing the unmarshalled xml document.
      Specified by:
      getParent in interface Child
      Returns:
      The parent object.
    • setParent

      public void setParent​(java.lang.Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public void afterUnmarshal​(jakarta.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.