Show / Hide Table of Contents

Struct TimeValue

Structure for time value representation.

Implements
IEquatable<TimeValue>
Namespace: OpenDDSharp
Assembly: OpenDDSharp.dll
Syntax
public struct TimeValue

Properties

| Improve this Doc View Source

MicroSeconds

Gets or sets the microseconds.

Declaration
public int MicroSeconds { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Seconds

Gets or sets the seconds.

Declaration
public long Seconds { get; set; }
Property Value
Type Description
System.Int64

Methods

| Improve this Doc View Source

Equals(TimeValue)

Indicates whether the current object is equal to another object of the same type.

Declaration
public bool Equals(TimeValue other)
Parameters
Type Name Description
TimeValue other

An object to compare with this object.

Returns
Type Description
System.Boolean

true if the current object is equal to the other parameter; otherwise, false.

| Improve this Doc View Source

Equals(Object)

Determines whether the specified object is equal to the current object.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj

The object to compare with the current object.

Returns
Type Description
System.Boolean

true if the specified object is equal to the current object; otherwise, false.

| Improve this Doc View Source

GetHashCode()

Serves as the default hash function.

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

A hash code for the current object.

Operators

| Improve this Doc View Source

Equality(TimeValue, TimeValue)

Equals comparison operator.

Declaration
public static bool operator ==(TimeValue left, TimeValue right)
Parameters
Type Name Description
TimeValue left

The left value for the comparison.

TimeValue right

The right value for the comparison.

Returns
Type Description
System.Boolean

true if the left object is equal to the right object; otherwise, false.

| Improve this Doc View Source

Inequality(TimeValue, TimeValue)

Not equals comparison operator.

Declaration
public static bool operator !=(TimeValue left, TimeValue right)
Parameters
Type Name Description
TimeValue left

The left value for the comparison.

TimeValue right

The right value for the comparison.

Returns
Type Description
System.Boolean

false if the left object is equal to the right object; otherwise, true.

Implements

IEquatable<>
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018 Jose Morató