TimeSpanDelta
Defines a TimeSpan Delta, which provides Major and Minor deltas as used in DateTimeAxis
Implementa: IAxisDelta<TimeSpan>, IAxisDelta, ICloneable, IEquatable<TimeSpanDelta>
Construtores
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.
Propriedades
MajorDelta : TimeSpan
Gets or sets the major delta.
MinorDelta : TimeSpan
Gets or sets the minor delta.
Métodos
Equals(object) : bool
Determines whether the specified Object is equal to this instance.
- obj
- The Object to compare with the current Object.
Retorna: 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.
Retorna: true if the current object is equal to the parameter; otherwise, false.
GetHashCode() : int
Returns a hash code for this instance.
Retorna: 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.
Retorna: The result of the operator.
op_Inequality(TimeSpanDelta, TimeSpanDelta) : bool
Implements the operator !=.
- left
- The left.
- right
- The right.
Retorna: The result of the operator.