|
|
Short
|
public struct ShortTime : IEquatable<ShortTime>
The ShortTime type exposes the following members.
| Name | Description | |
|---|---|---|
| Now | The current time in ShortTime | |
| UtcTime | Calculates the approximate DateTime represented by this time. |
| Name | Description | |
|---|---|---|
| Add | Adds timespan to this struct | |
| AddMilliseconds | Adds milliseconds to this struct | |
| AddSeconds | Adds seconds to this struct | |
| AddTicks | Adds ticks to this struct | |
| Elapsed | Gets the time that has elapsed since the creation of this time. | |
| Elapsed(ShortTime) | The elapsed time | |
| ElapsedMicroseconds | The elapsed time in microseconds. | |
| ElapsedMicroseconds(ShortTime) | The elapsed time in microseconds | |
| ElapsedMilliseconds | The elapsed time in milliseconds. | |
| ElapsedMilliseconds(ShortTime) | The elapsed time in milliseconds | |
| ElapsedSeconds | The elapsed time in seconds. | |
| ElapsedSeconds(ShortTime) | The elapsed time in seconds | |
| ElapsedTicks | The elapsed time in ticks. | |
| ElapsedTicks(ShortTime) | The elapsed time in ticks | |
| Equals(Object) | Indicates whether this instance and a specified object are equal. (Overrides ValueTypeEquals(Object)) | |
| Equals(ShortTime) | Indicates whether the current object is equal to another object of the same type. | |
| GetHashCode | Returns the hash code for this instance. (Overrides ValueTypeGetHashCode) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| ToString |
Shows the UTC time.
(Overrides ValueTypeToString) |
| Name | Description | |
|---|---|---|
| Equality(ShortTime, ShortTime) | Are 2 times equal | |
| GreaterThan(ShortTime, ShortTime) | Tests Greather Than | |
| GreaterThanOrEqual(ShortTime, ShortTime) | Tests Greater than or equal Than | |
| Inequality(ShortTime, ShortTime) | Are 2 times not equal | |
| LessThan(ShortTime, ShortTime) | Tests Less Than | |
| LessThanOrEqual(ShortTime, ShortTime) | Tests Less Than or equal | |
| Subtraction(ShortTime, ShortTime) | Subtracts two times. |
| Name | Description | |
|---|---|---|
| GetEnumValueOrDefault |
Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) | |
| GetEnumValueOrDefaultT |
Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |