DateTimeGroupItem

DateTimeGroupItem class

Represents the datetime’s group setting.

Constructors

NameDescription
DateTimeGroupItem

Properties

NameTypeDescription
MinValueDateTimeGets the min value.
DateTimeGroupingTypeNumberGets and sets the group type. The value of the property is DateTimeGroupingType integer constant.
YearNumberGets and sets the year of the grouped date time.
MonthNumberGets and sets the month of the grouped date time.
DayNumberGets and sets the day of the grouped date time.
HourNumberGets and sets the hour of the grouped date time.
MinuteNumberGets and sets the minute of the grouped date time.
SecondNumberGets and sets the second of the grouped date time.

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

ParameterTypeDescription
typeNumberA DateTimeGroupingType value.
yearNumber
monthNumber
dayNumber
hourNumber
minuteNumber
secondNumber

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: Number

DateTimeGroupItem.Year property

Gets and sets the year of the grouped date time.

Type: Number

DateTimeGroupItem.Month property

Gets and sets the month of the grouped date time.

Type: Number

DateTimeGroupItem.Day property

Gets and sets the day of the grouped date time.

Type: Number

DateTimeGroupItem.Hour property

Gets and sets the hour of the grouped date time.

Type: Number

DateTimeGroupItem.Minute property

Gets and sets the minute of the grouped date time.

Type: Number

DateTimeGroupItem.Second property

Gets and sets the second of the grouped date time.

Type: Number