DateTimeGroupItem

DateTimeGroupItem class

Represents the datetime’s group setting.

Constructors

NameDescription
DateTimeGroupItem

Properties

NameTypeDescription
MinValueDateTimeGets the min value.
DateTimeGroupingTypeintGets and sets the group type. The value of the property is DateTimeGroupingType integer constant.
YearintGets and sets the year of the grouped date time.
MonthintGets and sets the month of the grouped date time.
DayintGets and sets the day of the grouped date time.
HourintGets and sets the hour of the grouped date time.
MinuteintGets and sets the minute of the grouped date time.
SecondintGets and sets the second of the grouped date time.

DateTimeGroupItem(type, year, month, day, hour, minute, second)

ParameterTypeDescription
typeintA DateTimeGroupingType value.
yearint
monthint
dayint
hourint
minuteint
secondint

DateTimeGroupItem.MinValue property

Gets the min value.

Type: DateTime

DateTimeGroupItem.DateTimeGroupingType property

Gets and sets the group type. The value of the property is DateTimeGroupingType integer constant.

Type: int

DateTimeGroupItem.Year property

Gets and sets the year of the grouped date time.

Type: int

DateTimeGroupItem.Month property

Gets and sets the month of the grouped date time.

Type: int

DateTimeGroupItem.Day property

Gets and sets the day of the grouped date time.

Type: int

DateTimeGroupItem.Hour property

Gets and sets the hour of the grouped date time.

Type: int

DateTimeGroupItem.Minute property

Gets and sets the minute of the grouped date time.

Type: int

DateTimeGroupItem.Second property

Gets and sets the second of the grouped date time.

Type: int