aspose.cells

Class DateTimeGroupItem

Represents the datetime's group setting.

Constructor Summary
DateTimeGroupItem(type, year, month, day, hour, minute, second)
 
Property Getters/Setters Summary
functiongetDateTimeGroupingType()
function
           Gets and sets the group type. The value of the property is DateTimeGroupingType integer constant.
functiongetDay()
function
setDay(value)
           Gets and sets the day of the grouped date time.
functiongetHour()
function
setHour(value)
           Gets and sets the hour of the grouped date time.
functiongetMinute()
function
setMinute(value)
           Gets and sets the minute of the grouped date time.
functiongetMinValue()
Gets the min value.
functiongetMonth()
function
setMonth(value)
           Gets and sets the month of the grouped date time.
functiongetSecond()
function
setSecond(value)
           Gets and sets the second of the grouped date time.
functiongetYear()
function
setYear(value)
           Gets and sets the year of the grouped date time.
 

    • Constructor Detail

      • DateTimeGroupItem

        function DateTimeGroupItem(type, year, month, day, hour, minute, second)
        Parameters:
        type: Number - A DateTimeGroupingType value.
        year: Number -
        month: Number -
        day: Number -
        hour: Number -
        minute: Number -
        second: Number -
    • Property Getters/Setters Detail

      • getMinValue : DateTime 

        function getMinValue()
        
        Gets the min value.
      • getDateTimeGroupingType/setDateTimeGroupingType : Number 

        function getDateTimeGroupingType() / function setDateTimeGroupingType(value)
        
        Gets and sets the group type. The value of the property is DateTimeGroupingType integer constant.
      • getYear/setYear : Number 

        function getYear() / function setYear(value)
        
        Gets and sets the year of the grouped date time.
      • getMonth/setMonth : Number 

        function getMonth() / function setMonth(value)
        
        Gets and sets the month of the grouped date time.
      • getDay/setDay : Number 

        function getDay() / function setDay(value)
        
        Gets and sets the day of the grouped date time.
      • getHour/setHour : Number 

        function getHour() / function setHour(value)
        
        Gets and sets the hour of the grouped date time.
      • getMinute/setMinute : Number 

        function getMinute() / function setMinute(value)
        
        Gets and sets the minute of the grouped date time.
      • getSecond/setSecond : Number 

        function getSecond() / function setSecond(value)
        
        Gets and sets the second of the grouped date time.