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