Méthode | Description | |
---|---|---|
IsNull ( |
Returns a value indicating whether the specified date represents a null date.
|
|
Parse ( string s ) : |
Converts the specified string representation of a W3C date and time to its W3CDateTime equivalent.
|
|
ToDateString ( ) : string |
Converts the value of this instance to its equivalent string representation.
|
|
ToString ( ) : string |
Converts the value of this instance to its equivalent string representation.
|
|
W3CDateTime ( System.DateTime dateTime ) : System |
Initializes a new instance of the W3CDateTime class.
|
|
W3CDateTime ( System.DateTime dateTime, System.TimeSpan offset ) : System |
Initializes a new instance of the W3CDateTime class.
|
Méthode | Description | |
---|---|---|
FormatOffset ( System.TimeSpan offset, string separator ) : string |
Converts the value of the specified TimeSpan to its equivalent string representation.
|
|
ParseW3COffSet ( string s ) : System.TimeSpan |
Converts the specified string representation of an offset to its TimeSpan equivalent.
|
|
TryParse ( string date, |
public static IsNull ( |
||
dateTime | The |
|
Résultat | bool |
public static Parse ( string s ) : |
||
s | string | A string containing a date and time to convert. |
Résultat |
public W3CDateTime ( System.DateTime dateTime ) : System | ||
dateTime | System.DateTime | The datetime to represent in a W3C format. |
Résultat | System |
public W3CDateTime ( System.DateTime dateTime, System.TimeSpan offset ) : System | ||
dateTime | System.DateTime | The datetime to represent in a W3C format. |
offset | System.TimeSpan | The UTC offest for the datetime. |
Résultat | System |