StructMonthGroup
Used for Name values of IGroups that are grouping by DateTime. The MonthGroup contains the items with DateTime values with the same Month.
Definition
Namespace:Telerik.Pivot.Core.Groups
Assembly:Telerik.Pivot.Core.dll
Syntax:
public struct MonthGroup : IComparable, IComparable<MonthGroup>, IEquatable<MonthGroup>
Implements:
Constructors
MonthGroup(int)
Initializes a new instance of the MonthGroup struct.
MonthGroup(int, CultureInfo)
Initializes a new instance of the MonthGroup struct.
Declaration
public MonthGroup(int month, CultureInfo culture)
Parameters
month
The month.
culture
The culture.
Properties
Month
Gets the Month this MonthGroup represents.
Methods
CompareTo(MonthGroup)
Declaration
public int CompareTo(MonthGroup other)
Parameters
other
Returns
Implements
Equals(MonthGroup)
Declaration
public bool Equals(MonthGroup other)
Parameters
other
Returns
Implements
Operators
operator !=(MonthGroup, MonthGroup)
Determines whether two specified instances of MonthGroup are not equal.
Declaration
public static bool operator !=(MonthGroup left, MonthGroup right)
Parameters
left
The first object to compare.
right
The second object to compare.
Returns
true if left and right do not represent the same month group; otherwise, false.
operator <(MonthGroup, MonthGroup)
Determines whether one specified MonthGroup is less than another specified MonthGroup.
Declaration
public static bool operator <(MonthGroup left, MonthGroup right)
Parameters
left
The first object to compare.
right
The second object to compare.
Returns
true if left is less than right; otherwise, false.
operator <=(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
left
The first object to compare.
right
The second object to compare.
Returns
true if left is less than or equal to right; otherwise, false.
operator ==(MonthGroup, MonthGroup)
Determines whether two specified instances of MonthGroup are equal.
Declaration
public static bool operator ==(MonthGroup left, MonthGroup right)
Parameters
left
The first object to compare.
right
The second object to compare.
Returns
true if left and right represent the same month group; otherwise, false.
operator >(MonthGroup, MonthGroup)
Determines whether one specified MonthGroup is greater than another specified MonthGroup.
Declaration
public static bool operator >(MonthGroup left, MonthGroup right)
Parameters
left
The first object to compare.
right
The second object to compare.
Returns
true if left is greater than right; otherwise, false.
operator >=(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
left
The first object to compare.
right
The second object to compare.
Returns
true if left is greater than or equal to right; otherwise, false.