public class Time : DataTypeBase, IComparable
Public Class Time
Inherits DataTypeBase
Implements IComparable
type Time =
class
inherit DataTypeBase
interface IComparable
end
Time | Initializes a new instance of the Time class. |
Time(Int32, Int32, Int32) | Creates a Time based on the hours, minutes and seconds |
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 |
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 | Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. (Overrides DataTypeBaseCompareTo(Object)) |
Equals | Determines whether the specified Object is equal to the current Object. (Overrides ObjectEquals(Object)) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it 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. (Overrides ObjectGetHashCode) |
GetType | Gets the Type of the current instance. (Inherited from Object) |
IsNullOrStartOfDay | |
IsSpecialNullInstance | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
Parse | Parses text and returns the parsed value as Time |
ToString | Returns a String that represents the current Time. (Overrides ObjectToString) |
ToString(String) | Returns a String that represents the current Time. The result string is formatted using the format provided in the format parameter. (Overrides DataTypeBaseToString(String)) |
ToString(String, IFormatProvider) | Returns a String that represents the value specified in format. The result string is formatted using the format provided in the format parameter. (Inherited from DataTypeBase) |
ToString(Time, String) | Returns a String that represents the value specified in time. The result string is formatted using the format provided in the format parameter. |
TryCast |