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