com.aspose.cells

Class DateTimeGroupItem

  • java.lang.Object
    • com.aspose.cells.DateTimeGroupItem
public class DateTimeGroupItem 
extends java.lang.Object

Represents the datetime's group setting.

Constructor Summary
DateTimeGroupItem(inttype, intyear, intmonth, intday, inthour, intminute, intsecond)
 
Property Getters/Setters Summary
intgetDateTimeGroupingType()
void
           Gets and sets the group type. The value of the property is DateTimeGroupingType integer constant.
intgetDay()
void
setDay(intvalue)
           Gets and sets the day of the grouped date time.
intgetHour()
void
setHour(intvalue)
           Gets and sets the hour of the grouped date time.
intgetMinute()
void
setMinute(intvalue)
           Gets and sets the minute of the grouped date time.
com.aspose.cells.DateTimegetMinValue()
Gets the min value.
intgetMonth()
void
setMonth(intvalue)
           Gets and sets the month of the grouped date time.
intgetSecond()
void
setSecond(intvalue)
           Gets and sets the second of the grouped date time.
intgetYear()
void
setYear(intvalue)
           Gets and sets the year of the grouped date time.
 

    • Constructor Detail

      • DateTimeGroupItem

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

      • getMinValue

        public com.aspose.cells.DateTime getMinValue()
        
        Gets the min value.
      • getDateTimeGroupingType/setDateTimeGroupingType

        public int getDateTimeGroupingType() / public void setDateTimeGroupingType(int value)
        
        Gets and sets the group type. The value of the property is DateTimeGroupingType integer constant.
      • getYear/setYear

        public int getYear() / public void setYear(int value)
        
        Gets and sets the year of the grouped date time.
      • getMonth/setMonth

        public int getMonth() / public void setMonth(int value)
        
        Gets and sets the month of the grouped date time.
      • getDay/setDay

        public int getDay() / public void setDay(int value)
        
        Gets and sets the day of the grouped date time.
      • getHour/setHour

        public int getHour() / public void setHour(int value)
        
        Gets and sets the hour of the grouped date time.
      • getMinute/setMinute

        public int getMinute() / public void setMinute(int value)
        
        Gets and sets the minute of the grouped date time.
      • getSecond/setSecond

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

    setDateTimeGroupingType

    public voidsetDateTimeGroupingType(intvalue)
    
    Gets and sets the group type. The value of the property is DateTimeGroupingType integer constant.

    setYear

    public voidsetYear(intvalue)
    
    Gets and sets the year of the grouped date time.

    setMonth

    public voidsetMonth(intvalue)
    
    Gets and sets the month of the grouped date time.

    setDay

    public voidsetDay(intvalue)
    
    Gets and sets the day of the grouped date time.

    setHour

    public voidsetHour(intvalue)
    
    Gets and sets the hour of the grouped date time.

    setMinute

    public voidsetMinute(intvalue)
    
    Gets and sets the minute of the grouped date time.

    setSecond

    public voidsetSecond(intvalue)
    
    Gets and sets the second of the grouped date time.