DatePrototype.setFullYear(Object, Double, Object, Object) Metodo

Definizione

Imposta il valore dell'anno di un oggetto DateObject sul valore dell'anno specificato.

Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.

public:
 static double setFullYear(System::Object ^ thisob, double dyear, System::Object ^ month, System::Object ^ date);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Date_setFullYear)]
public static double setFullYear (object thisob, double dyear, object month, object date);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Date_setFullYear)>]
static member setFullYear : obj * double * obj * obj -> double
Public Shared Function setFullYear (thisob As Object, dyear As Double, month As Object, date As Object) As Double

Parametri

thisob
Object

Oggetto su cui agisce questo metodo.

dyear
Double

Valore dell'anno da impostare per thisob.

month
Object

Valore del mese da impostare per thisob.

date
Object

Valore della data da impostare per thisob.

Restituisce

Double

Valore dell'anno impostato per thisob.

Attributi

Si applica a

Vedi anche