Class DateTimeGroupItem

Class DateTimeGroupItem

Namespace: Aspose.Cells
Assembly: Aspose.Cells.dll (25.2.0)

Represents the datetime’s group setting.

public class DateTimeGroupItem

Inheritance

objectDateTimeGroupItem

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

DateTimeGroupItem(DateTimeGroupingType, int, int, int, int, int, int)

public DateTimeGroupItem(DateTimeGroupingType type, int year, int month, int day, int hour, int minute, int second)

Parameters

type DateTimeGroupingType

year int

month int

day int

hour int

minute int

second int

Properties

DateTimeGroupingType

Gets and sets the group type.

public DateTimeGroupingType DateTimeGroupingType { get; set; }

Property Value

DateTimeGroupingType

Day

Gets and sets the day of the grouped date time.

public int Day { get; set; }

Property Value

int

Hour

Gets and sets the hour of the grouped date time.

public int Hour { get; set; }

Property Value

int

MinValue

Gets the min value.

public DateTime MinValue { get; }

Property Value

DateTime

Minute

Gets and sets the minute of the grouped date time.

public int Minute { get; set; }

Property Value

int

Month

Gets and sets the month of the grouped date time.

public int Month { get; set; }

Property Value

int

Second

Gets and sets the second of the grouped date time.

public int Second { get; set; }

Property Value

int

Year

Gets and sets the year of the grouped date time.

public int Year { get; set; }

Property Value

int