DateTimePeriod.CreateLastYear() Method
In This Article
Creates the period whose duration is one year. The period includes the year previous to the current year.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v24.2.Core.dll
NuGet Package: DevExpress.Dashboard.Core
#Declaration
public static DateTimePeriod CreateLastYear()
#Returns
Type | Description |
---|---|
Date |
A Date |
#Remarks
To learn how to specify custom periods, see the description of the DateTimePeriod class.
See Also