Méthode | Description | |
---|---|---|
Construct ( ) : |
Creates a new Date object and sets its value to the current time.
|
|
Construct ( double milliseconds ) : |
Creates a new Date object from a millisecond value.
|
|
Construct ( int year, int month, int day = 1, int hour, int minute, int second, int millisecond ) : |
Creates a new Date object from various date components, expressed in local time. If any of the parameters are out of range, then the other values are modified accordingly. |
|
Construct ( string dateStr ) : |
Creates a new Date object from a string.
|
Méthode | Description | |
---|---|---|
Call ( ) : string | ||
DateConstructor ( |
Creates a new Date object.
|
|
GetDeclarativeProperties ( ScriptEngine engine ) : List |
||
Now ( ) : double | ||
Parse ( string dateStr ) : double | ||
UTC ( int year, int month, int day = 1, int hour, int minute, int second, int millisecond ) : double | ||
__STUB__Call ( ScriptEngine engine, object thisObj, object args ) : object | ||
__STUB__Construct ( ScriptEngine engine, object thisObj, object args ) : |
||
__STUB__Now ( ScriptEngine engine, object thisObj, object args ) : object | ||
__STUB__Parse ( ScriptEngine engine, object thisObj, object args ) : object | ||
__STUB__UTC ( ScriptEngine engine, object thisObj, object args ) : object |
public Construct ( double milliseconds ) : |
||
milliseconds | double | The number of milliseconds since 1 January 1970 00:00:00 UTC. |
Résultat |
public Construct ( int year, int month, int day = 1, int hour, int minute, int second, int millisecond ) : |
||
year | int | The full year. |
month | int | The month as an integer between 0 and 11 (january to december). |
day | int | The day of the month, from 1 to 31. Defaults to 1. |
hour | int | The number of hours since midnight, from 0 to 23. Defaults to 0. |
minute | int | The number of minutes, from 0 to 59. Defaults to 0. |
second | int | The number of seconds, from 0 to 59. Defaults to 0. |
millisecond | int | The number of milliseconds, from 0 to 999. Defaults to 0. |
Résultat |
public Construct ( string dateStr ) : |
||
dateStr | string | A string representing a date, expressed in RFC 1123 format. |
Résultat |