Struct
QuarterGroup

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.Pivot.Core.dll

Syntax:

cs-api-definition
public struct QuarterGroup : IComparable, IComparable<QuarterGroup>, IEquatable<QuarterGroup>

Implements: IComparableIComparable<QuarterGroup>IEquatable<QuarterGroup>

Constructors

QuarterGroup(int)

Initializes a new instance of the QuarterGroup struct.

Declaration

cs-api-definition
public QuarterGroup(int quarter)

Parameters

quarter

int

The quarter which this QuarterGroup will represents.

QuarterGroup(int, CultureInfo)

Initializes a new instance of the QuarterGroup struct.

Declaration

cs-api-definition
public QuarterGroup(int quarter, CultureInfo culture)

Parameters

quarter

int

The quarter which this QuarterGroup will represents.

culture

CultureInfo

The culture.

Properties

Quarter

Gets the Quarter this QuarterGroup represents.

Declaration

cs-api-definition
public int Quarter { readonly get; set; }

Property Value

int

Methods

CompareTo(QuarterGroup)

Declaration

cs-api-definition
public int CompareTo(QuarterGroup other)

Parameters

other

QuarterGroup

Returns

int

Implements IComparable<QuarterGroup>.CompareTo(QuarterGroup)

CompareTo(object)

Declaration

cs-api-definition
public int CompareTo(object obj)

Parameters

obj

object

Returns

int

Implements IComparable.CompareTo(object)

Equals(QuarterGroup)

Declaration

cs-api-definition
public bool Equals(QuarterGroup other)

Parameters

other

QuarterGroup

Returns

bool

Implements IEquatable<QuarterGroup>.Equals(QuarterGroup)

Equals(object)

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Usage", "CA2231:OverloadOperatorEqualsOnOverridingValueTypeEquals", Justification = "Design choice.")]
public override bool Equals(object obj)

Parameters

obj

object

Returns

bool

Overrides ValueType.Equals(object)

GetHashCode()

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

Overrides ValueType.GetHashCode()

ToString()

Declaration

cs-api-definition
public override string ToString()

Returns

string

Overrides ValueType.ToString()

Operators

operator !=(QuarterGroup, QuarterGroup)

Determines whether two specified instances of QuarterGroup are not equal.

Declaration

cs-api-definition
public static bool operator !=(QuarterGroup left, QuarterGroup right)

Parameters

left

QuarterGroup

The first object to compare.

right

QuarterGroup

The second object to compare.

Returns

bool

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

operator <(QuarterGroup, QuarterGroup)

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

Declaration

cs-api-definition
public static bool operator <(QuarterGroup left, QuarterGroup right)

Parameters

left

QuarterGroup

The first object to compare.

right

QuarterGroup

The second object to compare.

Returns

bool

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

operator <=(QuarterGroup, QuarterGroup)

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

Declaration

cs-api-definition
public static bool operator <=(QuarterGroup left, QuarterGroup right)

Parameters

left

QuarterGroup

The first object to compare.

right

QuarterGroup

The second object to compare.

Returns

bool

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

operator ==(QuarterGroup, QuarterGroup)

Determines whether two specified instances of QuarterGroup are equal.

Declaration

cs-api-definition
public static bool operator ==(QuarterGroup left, QuarterGroup right)

Parameters

left

QuarterGroup

The first object to compare.

right

QuarterGroup

The second object to compare.

Returns

bool

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

operator >(QuarterGroup, QuarterGroup)

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

Declaration

cs-api-definition
public static bool operator >(QuarterGroup left, QuarterGroup right)

Parameters

left

QuarterGroup

The first object to compare.

right

QuarterGroup

The second object to compare.

Returns

bool

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

operator >=(QuarterGroup, QuarterGroup)

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

Declaration

cs-api-definition
public static bool operator >=(QuarterGroup left, QuarterGroup right)

Parameters

left

QuarterGroup

The first object to compare.

right

QuarterGroup

The second object to compare.

Returns

bool

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