Class 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.
Inheritance
Namespace: Telerik.Pivot.Core.Groups
Assembly: Telerik.Pivot.Core.dll
Syntax
public sealed class WeekGroup : ValueType, 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
|
CompareTo(WeekGroup)
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
|
Returns
System.Boolean
|
Equals(WeekGroup)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
System.Int32
|
ToString()
Declaration
public override string ToString()
Returns
System.String
|
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 |