The TimeOfDay type exposes the following members.

Constructors

  NameDescription
Public methodTimeOfDay(Int32)
Initializes a new instance of the TimeOfDay class.
Public methodTimeOfDay(Int32, Int32)
Initializes a new instance of the TimeOfDay class.

Methods

  NameDescription
Public methodCompareTo
Compares this TimeOfDay to another.
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Gets a string representation of the TimeOfDay.
(Overrides ValueType..::..ToString()()()().)

Operators

  NameDescription
Public operatorStatic memberGreaterThan
Gets whether one TimeOfDay is later than another.
Public operatorStatic memberGreaterThanOrEqual
Gets whether one TimeOfDay is later than or the same as another.
Public operatorStatic memberLessThan
Gets whether one TimeOfDay is earlier than another.
Public operatorStatic memberLessThanOrEqual
Gets whether one TimeOfDay is earlier than or the same as another.

Properties

  NameDescription
Public propertyHour
The hour of the TimeOfDay.
Public propertyMinute
The minute of the TimeOfDay.
Public propertyTwelveHourClockHour
The hour of the TimeOfDay, considered on the twelve-hour clock (e.g. 14:30 returns 2).

See Also