Struct
SecondGroup

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

Definition

Namespace:Telerik.Pivot.Core.Groups

Assembly:Telerik.Pivot.Core.dll

Syntax:

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

Implements: IComparableIComparable<SecondGroup>IEquatable<SecondGroup>

Constructors

SecondGroup(int)

Initializes a new instance of the SecondGroup struct.

Declaration

cs-api-definition
public SecondGroup(int second)

Parameters

second

int

The second which this SecondGroup will represents.

SecondGroup(int, CultureInfo)

Initializes a new instance of the SecondGroup struct.

Declaration

cs-api-definition
public SecondGroup(int second, CultureInfo culture)

Parameters

second

int

The second which this SecondGroup will represents.

culture

CultureInfo

The culture.

Properties

Second

Gets the Second this SecondGroup represents.

Declaration

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

Property Value

int

Methods

CompareTo(SecondGroup)

Declaration

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

Parameters

other

SecondGroup

Returns

int

Implements IComparable<SecondGroup>.CompareTo(SecondGroup)

CompareTo(object)

Declaration

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

Parameters

obj

object

Returns

int

Implements IComparable.CompareTo(object)

Equals(SecondGroup)

Declaration

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

Parameters

other

SecondGroup

Returns

bool

Implements IEquatable<SecondGroup>.Equals(SecondGroup)

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 !=(SecondGroup, SecondGroup)

Determines whether two specified instances of SecondGroup are not equal.

Declaration

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

Parameters

left

SecondGroup

The first object to compare.

right

SecondGroup

The second object to compare.

Returns

bool

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

operator <(SecondGroup, SecondGroup)

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

Declaration

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

Parameters

left

SecondGroup

The first object to compare.

right

SecondGroup

The second object to compare.

Returns

bool

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

operator <=(SecondGroup, SecondGroup)

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

Declaration

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

Parameters

left

SecondGroup

The first object to compare.

right

SecondGroup

The second object to compare.

Returns

bool

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

operator ==(SecondGroup, SecondGroup)

Determines whether two specified instances of SecondGroup are equal.

Declaration

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

Parameters

left

SecondGroup

The first object to compare.

right

SecondGroup

The second object to compare.

Returns

bool

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

operator >(SecondGroup, SecondGroup)

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

Declaration

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

Parameters

left

SecondGroup

The first object to compare.

right

SecondGroup

The second object to compare.

Returns

bool

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

operator >=(SecondGroup, SecondGroup)

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

Declaration

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

Parameters

left

SecondGroup

The first object to compare.

right

SecondGroup

The second object to compare.

Returns

bool

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