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