Click or drag to resize

ShortTime Methods

The ShortTime type exposes the following members.

Methods
  Name Description
Public method Add Adds timespan to this struct
Public method AddMilliseconds Adds milliseconds to this struct
Public method AddSeconds Adds seconds to this struct
Public method AddTicks Adds ticks to this struct
Public method Elapsed Gets the time that has elapsed since the creation of this time.
Public method Elapsed(ShortTime) The elapsed time
Public method ElapsedMicroseconds The elapsed time in microseconds.
Public method ElapsedMicroseconds(ShortTime) The elapsed time in microseconds
Public method ElapsedMilliseconds The elapsed time in milliseconds.
Public method ElapsedMilliseconds(ShortTime) The elapsed time in milliseconds
Public method ElapsedSeconds The elapsed time in seconds.
Public method ElapsedSeconds(ShortTime) The elapsed time in seconds
Public method ElapsedTicks The elapsed time in ticks.
Public method ElapsedTicks(ShortTime) The elapsed time in ticks
Public method Equals(Object) Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object))
Public method Equals(ShortTime) Indicates whether the current object is equal to another object of the same type.
Public method GetHashCode Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode)
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Public method ToString Shows the UTC time.
(Overrides ValueTypeToString)
Top
Extension Methods
  Name Description
Public Extension Method GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method GetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also