DateTimeGroupItem
Contents
[
Hide
]DateTimeGroupItem class
Represents the datetime’s group setting.
class DateTimeGroupItem;
Constructors
Name | Description |
---|---|
constructor(VObject) | Constructs from a VObject convertible to this. |
constructor(DateTimeGroupingType, number, number, number, number, number, number) |
Properties
Property | Type | Description |
---|---|---|
minValue | Date | Readonly. Gets the min value. |
dateTimeGroupingType | DateTimeGroupingType | Gets and sets the group type. |
year | number | Gets and sets the year of the grouped date time. |
month | number | Gets and sets the month of the grouped date time. |
day | number | Gets and sets the day of the grouped date time. |
hour | number | Gets and sets the hour of the grouped date time. |
minute | number | Gets and sets the minute of the grouped date time. |
second | number | Gets and sets the second of the grouped date time. |
Methods
Method | Description |
---|---|
toVObject() | Gets the VObject. |
constructor(VObject)
Constructs from a VObject convertible to this.
constructor(vobj: VObject);
Parameters:
Parameter | Type | Description |
---|---|---|
vobj | VObject | The vobject. |
constructor(DateTimeGroupingType, number, number, number, number, number, number)
constructor(type: DateTimeGroupingType, year: number, month: number, day: number, hour: number, minute: number, second: number);
Parameters:
Parameter | Type | Description |
---|---|---|
type | DateTimeGroupingType | |
year | number | |
month | number | |
day | number | |
hour | number | |
minute | number | |
second | number |
minValue
Readonly. Gets the min value.
minValue : Date;
dateTimeGroupingType
Gets and sets the group type.
dateTimeGroupingType : DateTimeGroupingType;
year
Gets and sets the year of the grouped date time.
year : number;
month
Gets and sets the month of the grouped date time.
month : number;
day
Gets and sets the day of the grouped date time.
day : number;
hour
Gets and sets the hour of the grouped date time.
hour : number;
minute
Gets and sets the minute of the grouped date time.
minute : number;
second
Gets and sets the second of the grouped date time.
second : number;
toVObject()
Gets the VObject.
toVObject() : VObject;