Class MonthGroup
Used for Name values of IGroups that are grouping by System.DateTime. The MonthGroup contains the items with System.DateTime values with the same Month.
Inheritance
Namespace: Telerik.Pivot.Core.Groups
Assembly: Telerik.Pivot.Core.dll
Syntax
public sealed class MonthGroup : ValueType, IComparable, IComparable<MonthGroup>, IEquatable<MonthGroup>
Constructors
MonthGroup(Int32)
Initializes a new instance of the MonthGroup struct.
Declaration
public MonthGroup(int month)
Parameters
System.Int32
month
The month. |
MonthGroup(Int32, CultureInfo)
Initializes a new instance of the MonthGroup struct.
Declaration
public MonthGroup(int month, CultureInfo culture)
Parameters
System.Int32
month
The month. |
System.Globalization.CultureInfo
culture
The culture. |
Properties
Month
Gets the Month this MonthGroup 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(MonthGroup)
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
|
Returns
System.Boolean
|
Equals(MonthGroup)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
System.Int32
|
ToString()
Declaration
public override string ToString()
Returns
System.String
|
Operators
Equality(MonthGroup, MonthGroup)
Determines whether two specified instances of MonthGroup are equal.
Declaration
public static bool operator ==(MonthGroup left, MonthGroup right)
Parameters
MonthGroup
left
The first object to compare. |
MonthGroup
right
The second object to compare. |
Returns
System.Boolean
true if |
GreaterThan(MonthGroup, MonthGroup)
Determines whether one specified MonthGroup is greater than another specified MonthGroup.
Declaration
public static bool operator>(MonthGroup left, MonthGroup right)
Parameters
MonthGroup
left
The first object to compare. |
MonthGroup
right
The second object to compare. |
Returns
System.Boolean
true if |
GreaterThanOrEqual(MonthGroup, MonthGroup)
Determines whether one specified MonthGroup is greater than or equal to another specified MonthGroup.
Declaration
public static bool operator >=(MonthGroup left, MonthGroup right)
Parameters
MonthGroup
left
The first object to compare. |
MonthGroup
right
The second object to compare. |
Returns
System.Boolean
true if |
Inequality(MonthGroup, MonthGroup)
Determines whether two specified instances of MonthGroup are not equal.
Declaration
public static bool operator !=(MonthGroup left, MonthGroup right)
Parameters
MonthGroup
left
The first object to compare. |
MonthGroup
right
The second object to compare. |
Returns
System.Boolean
true if |
LessThan(MonthGroup, MonthGroup)
Determines whether one specified MonthGroup is less than another specified MonthGroup.
Declaration
public static bool operator <(MonthGroup left, MonthGroup right)
Parameters
MonthGroup
left
The first object to compare. |
MonthGroup
right
The second object to compare. |
Returns
System.Boolean
true if |
LessThanOrEqual(MonthGroup, MonthGroup)
Determines whether one specified MonthGroup is less than or equal to another specified MonthGroup.
Declaration
public static bool operator <=(MonthGroup left, MonthGroup right)
Parameters
MonthGroup
left
The first object to compare. |
MonthGroup
right
The second object to compare. |
Returns
System.Boolean
true if |