Aspose::Cells::DateTimeGroupItem class

DateTimeGroupItem class

Represents the datetime’s group setting.

class DateTimeGroupItem

Methods

MethodDescription
DateTimeGroupItem(DateTimeGroupingType type, int32_t year, int32_t month, int32_t day, int32_t hour, int32_t minute, int32_t second)
DateTimeGroupItem(DateTimeGroupItem_Impl* impl)Constructs from an implementation object.
DateTimeGroupItem(const Aspose::Cells::Object& obj)Constructs from an Object convertible to this.
DateTimeGroupItem(const DateTimeGroupItem& src)Copy constructor.
GetDateTimeGroupingType()Gets and sets the group type.
GetDay()Gets and sets the day of the grouped date time.
GetHour()Gets and sets the hour of the grouped date time.
GetMinute()Gets and sets the minute of the grouped date time.
GetMinValue()Gets the min value.
GetMonth()Gets and sets the month of the grouped date time.
GetSecond()Gets and sets the second of the grouped date time.
GetYear()Gets and sets the year of the grouped date time.
IsNull() constChecks whether the implementation object is nullptr.
explicit operator bool() constoperator bool()
operator=(const DateTimeGroupItem& src)operator=
SetDateTimeGroupingType(DateTimeGroupingType value)Gets and sets the group type.
SetDay(int32_t value)Gets and sets the day of the grouped date time.
SetHour(int32_t value)Gets and sets the hour of the grouped date time.
SetMinute(int32_t value)Gets and sets the minute of the grouped date time.
SetMonth(int32_t value)Gets and sets the month of the grouped date time.
SetSecond(int32_t value)Gets and sets the second of the grouped date time.
SetYear(int32_t value)Gets and sets the year of the grouped date time.
ToObject()Gets the Object.
~DateTimeGroupItem()Destructor.

Fields

FieldDescription
_implThe implementation object.

See Also