編集

次の方法で共有


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

Definition

Sets the year value of a DateObject to the specified year value.

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Parameters

thisob
Object

The object that this method is acting upon.

dyear
Double

The year value to set for thisob.

month
Object

The month value to set for thisob.

date
Object

The date value to set for thisob.

Returns

The year value that is set for thisob.

Attributes

Applies to

See also