Struct
DayGroup

Used for Name values of IGroups that are grouping by DateTime. The DayGroup contains the items with DateTime values with the same Day and Month.

Definition

Namespace:Telerik.Pivot.Core.Groups

Assembly:Telerik.Pivot.Core.dll

Syntax:

cs-api-definition
public struct DayGroup : IComparable, IComparable<DayGroup>, IEquatable<DayGroup>

Implements: IComparableIComparable<DayGroup>IEquatable<DayGroup>

Constructors

DayGroup(int, int)

Initializes a new instance of the DayGroup struct.

Declaration

cs-api-definition
public DayGroup(int month, int day)

Parameters

month

int

The month which this DayGroup will represents.

day

int

The day which this DayGroup will represents.

DayGroup(int, int, CultureInfo)

Initializes a new instance of the DayGroup struct.

Declaration

cs-api-definition
public DayGroup(int month, int day, CultureInfo culture)

Parameters

month

int

The month which this DayGroup will represents.

day

int

The day which this DayGroup will represents.

culture

CultureInfo

The culture.

Properties

Day

Gets the Day this DayGroup represents.

Declaration

cs-api-definition
public int Day { readonly get; set; }

Property Value

int

Month

Gets the Month this DayGroup represents.

Declaration

cs-api-definition
public int Month { readonly get; set; }

Property Value

int

Methods

CompareTo(DayGroup)

Declaration

cs-api-definition
public int CompareTo(DayGroup other)

Parameters

other

DayGroup

Returns

int

Implements IComparable<DayGroup>.CompareTo(DayGroup)

CompareTo(object)

Declaration

cs-api-definition
public int CompareTo(object obj)

Parameters

obj

object

Returns

int

Implements IComparable.CompareTo(object)

Equals(DayGroup)

Declaration

cs-api-definition
public bool Equals(DayGroup other)

Parameters

other

DayGroup

Returns

bool

Implements IEquatable<DayGroup>.Equals(DayGroup)

Equals(object)

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

Returns

bool

Overrides ValueType.Equals(object)

GetHashCode()

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

Overrides ValueType.GetHashCode()

ToString()

Declaration

cs-api-definition
public override string ToString()

Returns

string

Overrides ValueType.ToString()

Operators

operator !=(DayGroup, DayGroup)

Determines whether two specified instances of DayGroup are not equal.

Declaration

cs-api-definition
public static bool operator !=(DayGroup left, DayGroup right)

Parameters

left

DayGroup

The first object to compare.

right

DayGroup

The second object to compare.

Returns

bool

true if left and right do not represent the same day group; otherwise, false.

operator <(DayGroup, DayGroup)

Determines whether one specified DayGroup is less than another specified DayGroup.

Declaration

cs-api-definition
public static bool operator <(DayGroup left, DayGroup right)

Parameters

left

DayGroup

The first object to compare.

right

DayGroup

The second object to compare.

Returns

bool

true if left is less than right; otherwise, false.

operator <=(DayGroup, DayGroup)

Determines whether one specified DayGroup is less than or equal to another specified DayGroup.

Declaration

cs-api-definition
public static bool operator <=(DayGroup left, DayGroup right)

Parameters

left

DayGroup

The first object to compare.

right

DayGroup

The second object to compare.

Returns

bool

true if left is less than or equal to right; otherwise, false.

operator ==(DayGroup, DayGroup)

Determines whether two specified instances of DayGroup are equal.

Declaration

cs-api-definition
public static bool operator ==(DayGroup left, DayGroup right)

Parameters

left

DayGroup

The first object to compare.

right

DayGroup

The second object to compare.

Returns

bool

true if left and right represent the same day group; otherwise, false.

operator >(DayGroup, DayGroup)

Determines whether one specified DayGroup is greater than another specified DayGroup.

Declaration

cs-api-definition
public static bool operator >(DayGroup left, DayGroup right)

Parameters

left

DayGroup

The first object to compare.

right

DayGroup

The second object to compare.

Returns

bool

true if left is greater than right; otherwise, false.

operator >=(DayGroup, DayGroup)

Determines whether one specified DayGroup is greater than or equal to another specified DayGroup.

Declaration

cs-api-definition
public static bool operator >=(DayGroup left, DayGroup right)

Parameters

left

DayGroup

The first object to compare.

right

DayGroup

The second object to compare.

Returns

bool

true if left is greater than or equal to right; otherwise, false.