TimeSpanDelta
Defines a TimeSpan Delta, which provides Major and Minor deltas as used in DateTimeAxis
Implements: IAxisDelta<TimeSpan>, IAxisDelta, ICloneable, IEquatable<TimeSpanDelta>
Constructors
TimeSpanDelta()
Initializes a new instance of the TimeSpanDelta class.
TimeSpanDelta(TimeSpan, TimeSpan)
Initializes a new instance of the TimeSpanDelta class.
- minorDelta
- The minor delta.
- majorDelta
- The major delta.
Properties
MajorDelta : TimeSpan
Gets or sets the major delta.
MinorDelta : TimeSpan
Gets or sets the minor delta.
Methods
Equals(object) : bool
Determines whether the specified Object is equal to this instance.
- obj
- The Object to compare with the current Object.
Returns: true if the specified Object is equal to this instance; otherwise, false.
Equals(TimeSpanDelta) : bool
Indicates whether the current object is equal to another object of the same type.
- other
- An object to compare with this object.
Returns: true if the current object is equal to the parameter; otherwise, false.
GetHashCode() : int
Returns a hash code for this instance.
Returns: A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
op_Equality(TimeSpanDelta, TimeSpanDelta) : bool
Implements the operator ==.
- left
- The left.
- right
- The right.
Returns: The result of the operator.
op_Inequality(TimeSpanDelta, TimeSpanDelta) : bool
Implements the operator !=.
- left
- The left.
- right
- The right.
Returns: The result of the operator.