New to Telerik UI for WinFormsStart a free 30-day trial

Used for Name values of IGroups that are grouping by DateTime. The QuarterGroup contains the items with DateTime values with the same Quarter.

Definition

Namespace:Telerik.Pivot.Core.Groups

Assembly:Telerik.WinControls.PivotGrid.dll

Syntax:

C#
public struct QuarterGroup : IComparable, IComparable<QuarterGroup>, IEquatable<QuarterGroup>

Implements: IComparableIComparable<QuarterGroup>IEquatable<QuarterGroup>

Constructors

Initializes a new instance of the QuarterGroup struct.

C#
public QuarterGroup(int quarter, CultureInfo culture)
Parameters:quarterint

The quarter which this QuarterGroup will represents.

cultureCultureInfo

The culture.

Initializes a new instance of the QuarterGroup struct.

C#
public QuarterGroup(int quarter)
Parameters:quarterint

The quarter which this QuarterGroup will represents.

Properties

Gets the Quarter this QuarterGroup represents.

C#
public int Quarter { readonly get; set; }

Methods

C#
public int CompareTo(object obj)
Parameters:objobjectReturns:

int

Implements: IComparable.CompareTo(object)

C#
public int CompareTo(QuarterGroup other)
Parameters:otherQuarterGroupReturns:

int

Implements: IComparable<QuarterGroup>.CompareTo(QuarterGroup)

C#
public override bool Equals(object obj)
Parameters:objobjectReturns:

bool

Overrides: ValueType.Equals(object)

C#
public bool Equals(QuarterGroup other)
Parameters:otherQuarterGroupReturns:

bool

Implements: IEquatable<QuarterGroup>.Equals(QuarterGroup)

C#
public override int GetHashCode()
Returns:

int

Overrides: ValueType.GetHashCode()

C#
public override string ToString()
Returns:

string

Overrides: ValueType.ToString()

Operators

Determines whether two specified instances of QuarterGroup are not equal.

C#
public static bool operator !=(QuarterGroup left, QuarterGroup right)
Parameters:leftQuarterGroup

The first object to compare.

rightQuarterGroup

The second object to compare.

Returns:

bool

true if left and right do not represent the same quarter group; otherwise, false.

Determines whether one specified QuarterGroup is less than another specified QuarterGroup.

C#
public static bool operator <(QuarterGroup left, QuarterGroup right)
Parameters:leftQuarterGroup

The first object to compare.

rightQuarterGroup

The second object to compare.

Returns:

bool

true if left is less than right; otherwise, false.

Determines whether one specified QuarterGroup is less than or equal to another specified QuarterGroup.

C#
public static bool operator <=(QuarterGroup left, QuarterGroup right)
Parameters:leftQuarterGroup

The first object to compare.

rightQuarterGroup

The second object to compare.

Returns:

bool

true if left is less than or equal to right; otherwise, false.

Determines whether two specified instances of QuarterGroup are equal.

C#
public static bool operator ==(QuarterGroup left, QuarterGroup right)
Parameters:leftQuarterGroup

The first object to compare.

rightQuarterGroup

The second object to compare.

Returns:

bool

true if left and right represent the same quarter group; otherwise, false.

Determines whether one specified QuarterGroup is greater than another specified QuarterGroup.

C#
public static bool operator >(QuarterGroup left, QuarterGroup right)
Parameters:leftQuarterGroup

The first object to compare.

rightQuarterGroup

The second object to compare.

Returns:

bool

true if left is greater than right; otherwise, false.

Determines whether one specified QuarterGroup is greater than or equal to another specified QuarterGroup.

C#
public static bool operator >=(QuarterGroup left, QuarterGroup right)
Parameters:leftQuarterGroup

The first object to compare.

rightQuarterGroup

The second object to compare.

Returns:

bool

true if left is greater than or equal to right; otherwise, false.