Class DateTimeGroupItem
Class DateTimeGroupItem
Namespace: Aspose.Cells
Assembly: Aspose.Cells.dll (25.2.0)
Đại diện cho cài đặt nhóm của datetime.
public class DateTimeGroupItem
Kế thừa
Các thành viên kế thừa
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Bộ xây dựng
DateTimeGroupItem(DateTimeGroupingType, int, int, int, int, int, int)
public DateTimeGroupItem(DateTimeGroupingType type, int year, int month, int day, int hour, int minute, int second)
Tham số
type
DateTimeGroupingType
year
int
month
int
day
int
hour
int
minute
int
second
int
Thuộc tính
DateTimeGroupingType
Lấy và thiết lập loại nhóm.
public DateTimeGroupingType DateTimeGroupingType { get; set; }
Giá trị thuộc tính
Day
Lấy và thiết lập ngày của thời gian nhóm.
public int Day { get; set; }
Giá trị thuộc tính
Hour
Lấy và thiết lập giờ của thời gian nhóm.
public int Hour { get; set; }
Giá trị thuộc tính
MinValue
Lấy giá trị nhỏ nhất.
public DateTime MinValue { get; }
Giá trị thuộc tính
Minute
Lấy và thiết lập phút của thời gian nhóm.
public int Minute { get; set; }
Giá trị thuộc tính
Month
Lấy và thiết lập tháng của thời gian nhóm.
public int Month { get; set; }
Giá trị thuộc tính
Second
Lấy và thiết lập giây của thời gian nhóm.
public int Second { get; set; }
Giá trị thuộc tính
Year
Lấy và thiết lập năm của thời gian nhóm.
public int Year { get; set; }