DateTimePeriod.CreateLastYear() Method

Creates the period whose duration is one year. The period includes the year previous to the current year.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v18.2.Core.dll

Declaration

public static DateTimePeriod CreateLastYear()
Public Shared Function CreateLastYear As DateTimePeriod

Returns

Type Description
DateTimePeriod

A DateTimePeriod object that is the created period.

Remarks

To learn how to specify custom periods, see the description of the DateTimePeriod class.

See Also