The TimeOfDay type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| TimeOfDay(Int32) |
Initializes a new instance of the TimeOfDay class.
| |
| TimeOfDay(Int32, Int32) |
Initializes a new instance of the TimeOfDay class.
|
Methods
| Name | Description | |
|---|---|---|
| CompareTo |
Compares this TimeOfDay to another.
| |
| Equals |
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode |
Returns the hash code for this instance.
(Inherited from ValueType.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| ToString |
Gets a string representation of the TimeOfDay.
(Overrides ValueType..::..ToString()()()().) |
Operators
| Name | Description | |
|---|---|---|
| GreaterThan |
Gets whether one TimeOfDay is later than another.
| |
| GreaterThanOrEqual |
Gets whether one TimeOfDay is later than or the same as 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.
| |
| Now |
Returns a TimeOfDay representing the current system clock time.
| |
| TwelveHourClockHour |
The hour of the TimeOfDay, considered on the twelve-hour clock
(e.g. 14:30 returns 2).
|