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