Struct
MinuteGroup

Used for Name values of IGroups that are grouping by DateTime. The MinuteGroup contains the items with DateTime values with the same Minute.

Definition

Namespace:Telerik.Pivot.Core.Groups

Assembly:Telerik.Pivot.Core.dll

Syntax:

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

Implements: IComparableIComparable<MinuteGroup>IEquatable<MinuteGroup>

Constructors

MinuteGroup(int)

Initializes a new instance of the MinuteGroup struct.

Declaration

cs-api-definition
public MinuteGroup(int minute)

Parameters

minute

int

The minute which this MinuteGroup will represents.

MinuteGroup(int, CultureInfo)

Initializes a new instance of the MinuteGroup struct.

Declaration

cs-api-definition
public MinuteGroup(int minute, CultureInfo culture)

Parameters

minute

int

The minute which this MinuteGroup will represents.

culture

CultureInfo

The culture.

Properties

Minute

Gets the Minute this MinuteGroup represents.

Declaration

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

Property Value

int

Methods

CompareTo(MinuteGroup)

Declaration

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

Parameters

other

MinuteGroup

Returns

int

Implements IComparable<MinuteGroup>.CompareTo(MinuteGroup)

CompareTo(object)

Declaration

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

Parameters

obj

object

Returns

int

Implements IComparable.CompareTo(object)

Equals(MinuteGroup)

Declaration

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

Parameters

other

MinuteGroup

Returns

bool

Implements IEquatable<MinuteGroup>.Equals(MinuteGroup)

Equals(object)

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Usage", "CA2231:OverloadOperatorEqualsOnOverridingValueTypeEquals", Justification = "Design choice.")]
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 !=(MinuteGroup, MinuteGroup)

Determines whether two specified instances of MinuteGroup are not equal.

Declaration

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

Parameters

left

MinuteGroup

The first object to compare.

right

MinuteGroup

The second object to compare.

Returns

bool

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

operator <(MinuteGroup, MinuteGroup)

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

Declaration

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

Parameters

left

MinuteGroup

The first object to compare.

right

MinuteGroup

The second object to compare.

Returns

bool

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

operator <=(MinuteGroup, MinuteGroup)

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

Declaration

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

Parameters

left

MinuteGroup

The first object to compare.

right

MinuteGroup

The second object to compare.

Returns

bool

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

operator ==(MinuteGroup, MinuteGroup)

Determines whether two specified instances of MinuteGroup are equal.

Declaration

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

Parameters

left

MinuteGroup

The first object to compare.

right

MinuteGroup

The second object to compare.

Returns

bool

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

operator >(MinuteGroup, MinuteGroup)

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

Declaration

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

Parameters

left

MinuteGroup

The first object to compare.

right

MinuteGroup

The second object to compare.

Returns

bool

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

operator >=(MinuteGroup, MinuteGroup)

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

Declaration

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

Parameters

left

MinuteGroup

The first object to compare.

right

MinuteGroup

The second object to compare.

Returns

bool

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