DatePrototype Class

Definition

Provides static methods and properties for DateObject objects. All methods of this class are called by passing in a reference to the object that is requesting access to the method. This class belongs to the built-in object model category.

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

public ref class DatePrototype : Microsoft::JScript::DateObject
public class DatePrototype : Microsoft.JScript.DateObject
type DatePrototype = class
    inherit DateObject
Public Class DatePrototype
Inherits DateObject
Inheritance
Derived

Fields

engine

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

Stores a reference to the scripting engine.

(Inherited from ScriptObject)
field_table

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

Stores a list of fields that are dynamically added and removed from the object.

(Inherited from JSObject)
parent

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

Stores a reference to the parent object.

(Inherited from ScriptObject)

Properties

constructor

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

Gets a reference to a prototype-based object that is using this prototype.

Item[Double]

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

Gets or sets a member of the script object that is designated by the specified Double index value.

(Inherited from ScriptObject)
Item[Int32]

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

Gets or sets a member of the script object that is designated by the specified Int32 index value.

(Inherited from ScriptObject)
Item[Object[]]

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

Gets or sets a member of the script object that is designated by the specified name, Double index value, or Int32 index value.

(Inherited from ScriptObject)
Item[String]

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

Gets or sets a member of the script object that is designated by the specified name.

(Inherited from ScriptObject)
UnderlyingSystemType

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

Gets the type of the script object.

(Inherited from ScriptObject)

Methods

AddField(String)

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

Adds the specified field to the object.

(Inherited from JSObject)
Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
getDate(Object)

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

Gets the date value of the specified DateObject.

getDay(Object)

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

Gets the day-of-the-week value of the specified DateObject.

GetField(String, BindingFlags)

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

Gets a field that has the specified name.

(Inherited from ScriptObject)
GetFields(BindingFlags)

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

Gets an array of FieldInfo objects that correspond to all fields of the current script object.

(Inherited from ScriptObject)
getFullYear(Object)

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

Gets the year value of the specified DateObject.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
getHours(Object)

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

Gets the hour value of the specified DateObject.

GetMember(String, BindingFlags)

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

Gets an array of MemberInfo objects that correspond to all members that match the specified name.

(Inherited from JSObject)
GetMembers(BindingFlags)

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

Gets an array of MemberInfo objects that correspond to all members of the current script object.

(Inherited from JSObject)
GetMethod(String, BindingFlags)

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

Gets a method that has the specified name.

(Inherited from ScriptObject)
GetMethod(String, BindingFlags, Binder, Type[], ParameterModifier[])

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

Gets a method that has the specified name by using the specified selection criteria.

(Inherited from ScriptObject)
GetMethods(BindingFlags)

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

Gets an array of MethodInfo objects that correspond to all methods of the current script object.

(Inherited from ScriptObject)
getMilliseconds(Object)

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

Gets the millisecond value of the specified DateObject.

getMinutes(Object)

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

Gets the minutes value of the specified DateObject.

getMonth(Object)

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

Gets the month value of the specified DateObject.

GetParent()

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

Gets a reference to the parent object.

(Inherited from ScriptObject)
GetProperties(BindingFlags)

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

Gets an array of PropertyInfo objects that correspond to all properties of the current script object.

(Inherited from ScriptObject)
GetProperty(String, BindingFlags)

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

Gets a property that has the specified name.

(Inherited from ScriptObject)
GetProperty(String, BindingFlags, Binder, Type, Type[], ParameterModifier[])

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

Gets a property that has the specified name by using the specified selection criteria.

(Inherited from ScriptObject)
getSeconds(Object)

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

Gets the seconds value of the specified DateObject.

getTime(Object)

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

Gets the time value of the specified DateObject.

getTimezoneOffset(Object)

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

Gets the offset of the specified DateObject from Coordinated Universal Time (UTC).

GetType()

Gets the Type of the current instance.

(Inherited from Object)
getUTCDate(Object)

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

Gets the date value of the specified DateObject, expressed in Coordinated Universal Time (UTC).

getUTCDay(Object)

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

Gets the day-of-the-week value of the specified DateObject, expressed in Coordinated Universal Time (UTC).

getUTCFullYear(Object)

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

Gets the year value of the specified DateObject, expressed in Coordinated Universal Time (UTC).

getUTCHours(Object)

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

Gets the hour value of the specified DateObject, expressed in Coordinated Universal Time (UTC).

getUTCMilliseconds(Object)

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

Gets the millisecond value of the specified DateObject, expressed in Coordinated Universal Time (UTC).

getUTCMinutes(Object)

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

Gets the minutes value of the specified DateObject, expressed in Coordinated Universal Time (UTC).

getUTCMonth(Object)

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

Gets the month value of the specified DateObject, expressed in Coordinated Universal Time (UTC).

getUTCSeconds(Object)

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

Gets the seconds value of the specified DateObject, expressed in Coordinated Universal Time (UTC).

getVarDate(Object)

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

Returns the specified DateObject as a DateTime object.

getYear(Object)

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

Gets the year value of the specified DateObject, expressed in Coordinated Universal Time (UTC).

InvokeMember(String, BindingFlags, Binder, Object, Object[], ParameterModifier[], CultureInfo, String[])

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

Invokes the specified member.

(Inherited from ScriptObject)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
setDate(Object, Double)

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

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

setFullYear(Object, Double, Object, Object)

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

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

setHours(Object, Double, Object, Object, Object)

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

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

SetMemberValue2(String, Object)

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

Sets the value of a field that was dynamically added to the object and stored in field_table.

(Inherited from JSObject)
setMilliseconds(Object, Double)

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

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

setMinutes(Object, Double, Object, Object)

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

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

setMonth(Object, Double, Object)

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

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

setSeconds(Object, Double, Object)

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

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

setTime(Object, Double)

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

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

setUTCDate(Object, Double)

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

Sets the date value of a DateObject to the specified date value, expressed in Coordinated Universal Time (UTC).

setUTCFullYear(Object, Double, Object, Object)

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

Sets the year value of a DateObject to the specified year value, expressed in Coordinated Universal Time (UTC).

setUTCHours(Object, Double, Object, Object, Object)

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

Sets the hour value of a DateObject to the specified hour value, expressed in Coordinated Universal Time (UTC).

setUTCMilliseconds(Object, Double)

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

Sets the millisecond value of a DateObject to the specified millisecond value, expressed in Coordinated Universal Time (UTC).

setUTCMinutes(Object, Double, Object, Object)

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

Sets the minutes value of a DateObject to the specified minutes value, expressed in Coordinated Universal Time (UTC).

setUTCMonth(Object, Double, Object)

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

Sets the month value of a DateObject to the specified month value, expressed in Coordinated Universal Time (UTC).

setUTCSeconds(Object, Double, Object)

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

Sets the seconds value of a DateObject to the specified seconds value, expressed in Coordinated Universal Time (UTC).

setYear(Object, Double)

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

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

toDateString(Object)

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

Creates a string representation of the specified DateObject that contains the day of the week, the month, the date, and the year.

toGMTString(Object)

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

Creates a string representation of the specified DateObject that contains the day of the week, the month, the date, the year, and the time, expressed in Coordinated Universal Time (UTC). Use toUTCString(Object) instead, when you can.

toLocaleDateString(Object)

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

Creates a string representation of the specified DateObject that contains the date but not the time.

toLocaleString(Object)

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

Creates a string representation of the specified DateObject that contains the date and time.

toLocaleTimeString(Object)

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

Creates a string representation of the specified DateObject that contains the time but not the date.

ToString()

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

Returns a string that represents the current object.

(Inherited from JSObject)
toString(Object)

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

Creates a string representation of the specified DateObject that contains the day of the week, the month, the date, the time, the time zone, and the year.

toTimeString(Object)

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

Creates a string representation of the specified DateObject that contains the time and the time zone.

toUTCString(Object)

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

Creates a string representation of the specified DateObject that contains the day of the week, the month, the date, the year, and the time, expressed in Coordinated Universal Time (UTC).

valueOf(Object)

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

Returns the value of the specified DateObject.

Explicit Interface Implementations

IEnumerable.GetEnumerator()

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

Returns an enumerator that iterates through the members of the object.

(Inherited from JSObject)
IExpando.AddMethod(String, Delegate)

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

Adds the specified method to the object. IExpando.AddMethod(String, Delegate) is not implemented in JScript.

(Inherited from JSObject)
IExpando.AddProperty(String)

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

Adds the specified property to the object. This method is not implemented in JScript.

(Inherited from JSObject)
IExpando.RemoveMember(MemberInfo)

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

Removes the specified member from the object.

(Inherited from JSObject)

Extension Methods

Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable)

Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to

See also