Class QuarterGroup
Used for Name values of IGroups that are grouping by System.DateTime. The QuarterGroup contains the items with System.DateTime values with the same Quarter.
Inheritance
Namespace: Telerik.Pivot.Core.Groups
Assembly: Telerik.Pivot.Core.dll
Syntax
public sealed class QuarterGroup : ValueType, IComparable, IComparable<QuarterGroup>, IEquatable<QuarterGroup>
Constructors
QuarterGroup(Int32)
Initializes a new instance of the QuarterGroup struct.
Declaration
public QuarterGroup(int quarter)
Parameters
System.Int32
quarter
The quarter which this QuarterGroup will represents. |
QuarterGroup(Int32, CultureInfo)
Initializes a new instance of the QuarterGroup struct.
Declaration
public QuarterGroup(int quarter, CultureInfo culture)
Parameters
System.Int32
quarter
The quarter which this QuarterGroup will represents. |
System.Globalization.CultureInfo
culture
The culture. |
Properties
Quarter
Gets the Quarter this QuarterGroup represents.
Declaration
public int Quarter { get; set; }
Property Value
System.Int32
|
Methods
CompareTo(Object)
Declaration
public int CompareTo(object obj)
Parameters
System.Object
obj
|
Returns
System.Int32
|
CompareTo(QuarterGroup)
Declaration
public int CompareTo(QuarterGroup other)
Parameters
QuarterGroup
other
|
Returns
System.Int32
|
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
|
Returns
System.Boolean
|
Equals(QuarterGroup)
Declaration
public bool Equals(QuarterGroup other)
Parameters
QuarterGroup
other
|
Returns
System.Boolean
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
System.Int32
|
ToString()
Declaration
public override string ToString()
Returns
System.String
|
Operators
Equality(QuarterGroup, QuarterGroup)
Determines whether two specified instances of QuarterGroup are equal.
Declaration
public static bool operator ==(QuarterGroup left, QuarterGroup right)
Parameters
QuarterGroup
left
The first object to compare. |
QuarterGroup
right
The second object to compare. |
Returns
System.Boolean
true if |
GreaterThan(QuarterGroup, QuarterGroup)
Determines whether one specified QuarterGroup is greater than another specified QuarterGroup.
Declaration
public static bool operator>(QuarterGroup left, QuarterGroup right)
Parameters
QuarterGroup
left
The first object to compare. |
QuarterGroup
right
The second object to compare. |
Returns
System.Boolean
true if |
GreaterThanOrEqual(QuarterGroup, QuarterGroup)
Determines whether one specified QuarterGroup is greater than or equal to another specified QuarterGroup.
Declaration
public static bool operator >=(QuarterGroup left, QuarterGroup right)
Parameters
QuarterGroup
left
The first object to compare. |
QuarterGroup
right
The second object to compare. |
Returns
System.Boolean
true if |
Inequality(QuarterGroup, QuarterGroup)
Determines whether two specified instances of QuarterGroup are not equal.
Declaration
public static bool operator !=(QuarterGroup left, QuarterGroup right)
Parameters
QuarterGroup
left
The first object to compare. |
QuarterGroup
right
The second object to compare. |
Returns
System.Boolean
true if |
LessThan(QuarterGroup, QuarterGroup)
Determines whether one specified QuarterGroup is less than another specified QuarterGroup.
Declaration
public static bool operator <(QuarterGroup left, QuarterGroup right)
Parameters
QuarterGroup
left
The first object to compare. |
QuarterGroup
right
The second object to compare. |
Returns
System.Boolean
true if |
LessThanOrEqual(QuarterGroup, QuarterGroup)
Determines whether one specified QuarterGroup is less than or equal to another specified QuarterGroup.
Declaration
public static bool operator <=(QuarterGroup left, QuarterGroup right)
Parameters
QuarterGroup
left
The first object to compare. |
QuarterGroup
right
The second object to compare. |
Returns
System.Boolean
true if |