The TimeOfDay type exposes the following members.

Constructors

  NameDescription
TimeOfDayOverloaded.

Methods

  NameDescription
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

  NameDescription
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

  NameDescription
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).

See Also