Property | Type | Description | |
---|---|---|---|
END_OF_DAY | |||
START_OF_DAY |
Method | Description | |
---|---|---|
CompareTo ( Object other ) : int |
Returns the result of comparing this instance to another Object.
|
|
CompareTo ( |
Returns the result of comparing this instance to another Time instance.
|
|
Equals ( |
Determines if the Time instance and another hold the same value.
|
|
Equals ( object other ) : bool |
Determines if the Time instance and another Object hold the same value.
|
|
GetHashCode ( ) : int |
Returns the hash value of the date for hash based data structures and algorithms.
|
|
Parse ( string text ) : |
Parses a character string in the format HH:MM:SS and uses the extracted values to construct a Time instance.
|
|
Time ( int hours, int minutes ) : System |
Constructs a Time instance based on the supplied hour and minute values.
|
|
Time ( int hours, int minutes, decimal seconds, bool utc ) : System |
Constructs a Time instance based on the supplied hour, minute and seconds values.
|
|
Time ( int hours, int minutes, decimal seconds, int offset ) : System |
Constructs a Time instance based on the supplied hour, minute and seconds values.
|
|
Time ( int hours, int minutes, int seconds ) : System |
Constructs a Time instance based on the supplied hour, minute and seconds values.
|
|
Time ( int hours, int minutes, int seconds, bool utc ) : System |
Constructs a Time instance based on the supplied hour, minute and seconds values.
|
|
Time ( int hours, int minutes, int seconds, int offset ) : System |
Constructs a Time instance based on the supplied hour, minute and seconds values.
|
|
ToString ( ) : string |
Converts the value of this Time instance into a string for display in full ISO format (e.g. HH:MM:SS[.S+][[Z|+HH:MM|-HH:MM]]).
|
Method | Description | |
---|---|---|
Time ( |
Constructs a Time from its time and time zone components.
|
|
ToDateTime ( ) : DateTime |
Creates a DateTime instance from the current time.
|
public CompareTo ( Object other ) : int | ||
other | Object | The other |
return | int |
public CompareTo ( |
||
other | The other Time instance to compare with. | |
return | int |
public Equals ( |
||
other | The |
|
return | bool |
public Equals ( object other ) : bool | ||
other | object | The |
return | bool |
public static Parse ( string text ) : |
||
text | string | The character string to be parsed. |
return |
public Time ( int hours, int minutes ) : System | ||
hours | int | The number of hours (0-24). |
minutes | int | The number of minutes (0-59). |
return | System |
public Time ( int hours, int minutes, decimal seconds, bool utc ) : System | ||
hours | int | The number of hours (0-24). |
minutes | int | The number of minutes (0-59). |
seconds | decimal | The number of seconds (0-59.99). |
utc | bool | Indicates UTC time zone. |
return | System |
public Time ( int hours, int minutes, decimal seconds, int offset ) : System | ||
hours | int | The number of hours (0-24). |
minutes | int | The number of minutes (0-59). |
seconds | decimal | The number of seconds (0-59.99). |
offset | int | The time zone offset. |
return | System |
public Time ( int hours, int minutes, int seconds ) : System | ||
hours | int | The number of hours (0-24). |
minutes | int | The number of minutes (0-59). |
seconds | int | The number of seconds (0-59). |
return | System |
public Time ( int hours, int minutes, int seconds, bool utc ) : System | ||
hours | int | The number of hours (0-24). |
minutes | int | The number of minutes (0-59). |
seconds | int | The number of seconds (0-59). |
utc | bool | Indicates UTC time zone. |
return | System |
public Time ( int hours, int minutes, int seconds, int offset ) : System | ||
hours | int | The number of hours (0-24). |
minutes | int | The number of minutes (0-59). |
seconds | int | The number of seconds (0-59). |
offset | int | The time zone offset. |
return | System |