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