Méthode | Description | |
---|---|---|
AddDays ( double days, |
Adds days to date.
|
|
AddHours ( double hours, |
Adds hours to date.
|
|
AddMilliseconds ( double millis, |
Adds millis to date.
|
|
AddMinutes ( double minutes, |
Adds minutes to date.
|
|
AddMonths ( int months, |
Adds months to date.
|
|
AddSeconds ( double seconds, |
Adds seconds to date.
|
|
AddYears ( int years, |
Adds years to date.
|
|
CompareTo ( object obj ) : int | ||
Parse ( string text ) : |
Parses the specified text as a ScriptDate using the current culture.
|
|
ScriptDate ( System.DateTime date ) : System |
Initializes a new instance of the ScriptDate struct.
|
|
ToString ( ) : string | ||
ToString ( string pattern, |
Returns a System.String that represents this instance.
|
Méthode | Description | |
---|---|---|
EvaluateBinaryExpression ( |
||
EvaluateBinaryExpression ( |
||
IScriptCustomType ( |
||
IScriptCustomType ( |
||
IScriptCustomType ( |
||
Register ( ScriptObject builtins ) : void |
public static AddDays ( double days, |
||
days | double | The days. |
date | The date. | |
Résultat |
public static AddHours ( double hours, |
||
hours | double | The hours. |
date | The date. | |
Résultat |
public static AddMilliseconds ( double millis, |
||
millis | double | The millis. |
date | The date. | |
Résultat |
public static AddMinutes ( double minutes, |
||
minutes | double | The minutes. |
date | The date. | |
Résultat |
public static AddMonths ( int months, |
||
months | int | The months. |
date | The date. | |
Résultat |
public static AddSeconds ( double seconds, |
||
seconds | double | The seconds. |
date | The date. | |
Résultat |
public static AddYears ( int years, |
||
years | int | The years. |
date | The date. | |
Résultat |
public static Parse ( string text ) : |
||
text | string | A text representing a date. |
Résultat |
public ScriptDate ( System.DateTime date ) : System | ||
date | System.DateTime | The date. |
Résultat | System |
public static ToString ( string pattern, |
||
pattern | string | The date format pattern. |
date | The date to format. | |
Résultat | string |