Creates the period whose duration is one year. The period includes the year previous to the current year.
NuGet Packages: DevExpress.Dashboard.Core, DevExpress.Win.Dashboard.Design
public static DateTimePeriod CreateLastYear()
Public Shared Function CreateLastYear As DateTimePeriod
A DateTimePeriod object that is the created period.
To learn how to specify custom periods, see the description of the DateTimePeriod class.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the CreateLastYear() method.
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.