The TimeOfDay type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| TimeOfDay | Overloaded. |
Methods
| Name | Description | |
|---|---|---|
| CompareTo |
Compares this TimeOfDay to another.
| |
| Equals |
Tests whether another object is equal to this TimeOfDay.
(Overrides ValueType..::.Equals(Object).) | |
| GetHashCode |
Gets a hash code for this object.
(Overrides ValueType..::.GetHashCode()()().) | |
| ToString |
Gets a string representation of the TimeOfDay.
(Overrides ValueType..::.ToString()()().) |
Operators
| Name | Description | |
|---|---|---|
| Equality |
Gets whether one TimeOfDay is equal to another.
| |
| GreaterThan |
Gets whether one TimeOfDay is later than another.
| |
| GreaterThanOrEqual |
Gets whether one TimeOfDay is later than or the same as another.
| |
| Inequality |
Gets whether one TimeOfDay is unequal to another.
| |
| LessThan |
Gets whether one TimeOfDay is earlier than another.
| |
| LessThanOrEqual |
Gets whether one TimeOfDay is earlier than or the same as another.
|
Properties
| Name | Description | |
|---|---|---|
| Hour |
The hour of the TimeOfDay.
| |
| Minute |
The minute of the TimeOfDay.
| |
| TwelveHourClockHour |
The hour of the TimeOfDay, considered on the twelve-hour clock
(e.g. 14:30 returns 2).
|