[This is preliminary documentation and is subject to change.]

The Time type exposes the following members.

Constructors

  NameDescription
TimeOverloaded.

Methods

  NameDescription
AddHours
Add the specified hours to the Time
AddMinutes
Add the specified minutes to the Time
AddSeconds
Add the specified seconds to the Time
AddToDateTime
Cast
Casts the object specified in the basedOn parameter to a Time. If the cast fails an InvalidCastException is thrown
CompareTo (Overrides DataTypeBase..::.CompareTo(Object).)
Equals (Overrides Object..::.Equals(Object).)
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.)
FromDateTime
Extracts the Time from a DateTime.
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Parse
Parses text and returns the parsed value as Time
ToStringOverloaded.
Returns a String that represents the current Time. The result string is formatted using the format provided in the format parameter.
Returns a String that represents the value specified in time. The result string is formatted using the format provided in the format parameter.
TryCast

Operators

Properties

  NameDescription
Hour
Gets the value determining the Time's hour
Minute
Gets the value determining the Time's minute
Now
Return the current time
Second
Gets the value determining the Time's second
StartOfDay
Represents the hour 00:00:00
TotalSeconds
Get's the total seconds from 00:00:00 and this Time

See Also