DateTimePeriod.CreateLastQuarters(String, Int32) Method

Creates the period whose duration is the specified number of quarters. The period includes the quarters previous to the current quarter.

Namespace: DevExpress.DashboardCommon

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

Declaration

public static DateTimePeriod CreateLastQuarters(
    string name,
    int count
)
Public Shared Function CreateLastQuarters(
    name As String,
    count As Integer
) As DateTimePeriod

Parameters

Type Name Description
String name

A String value that specifies the period name.

Int32 count

An integer value that specifies the number of quarters.

Returns

Type Description
DateTimePeriod

A DateTimePeriod object that is the created period.

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