Struct 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.
Inherited Members
Namespace: Telerik.Pivot.Core.Groups
Assembly: Telerik.WinControls.PivotGrid.dll
Syntax
public struct MonthGroup : 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
|
Implements
CompareTo(MonthGroup)
Declaration
public int CompareTo(MonthGroup other)
Parameters
MonthGroup
other
|
Returns
System.Int32
|
Implements
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
|
Returns
System.Boolean
|
Overrides
Equals(MonthGroup)
Declaration
public bool Equals(MonthGroup other)
Parameters
MonthGroup
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(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 |