public class DatePrototype extends DateObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/Microsoft.JScript.DatePrototype
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: Microsoft.JScript, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: Microsoft.JScript
|
static java.lang.String |
className
Qualified class name: Microsoft.JScript.DatePrototype
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
DatePrototype() |
DatePrototype(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static DatePrototype |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into DatePrototype, a cast assert is made to check if types are compatible. |
static DateConstructor |
getconstructor() |
static double |
getDate(NetObject thisob) |
static double |
getDay(NetObject thisob) |
static double |
getFullYear(NetObject thisob) |
static double |
getHours(NetObject thisob) |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
static double |
getMilliseconds(NetObject thisob) |
static double |
getMinutes(NetObject thisob) |
static double |
getMonth(NetObject thisob) |
static double |
getSeconds(NetObject thisob) |
static double |
getTime(NetObject thisob) |
static double |
getTimezoneOffset(NetObject thisob) |
static double |
getUTCDate(NetObject thisob) |
static double |
getUTCDay(NetObject thisob) |
static double |
getUTCFullYear(NetObject thisob) |
static double |
getUTCHours(NetObject thisob) |
static double |
getUTCMilliseconds(NetObject thisob) |
static double |
getUTCMinutes(NetObject thisob) |
static double |
getUTCMonth(NetObject thisob) |
static double |
getUTCSeconds(NetObject thisob) |
static NetObject |
getVarDate(NetObject thisob) |
static double |
getYear(NetObject thisob) |
static double |
setDate(NetObject thisob,
double ddate) |
static double |
setFullYear(NetObject thisob,
double dyear,
NetObject month,
NetObject date) |
static double |
setHours(NetObject thisob,
double dhour,
NetObject min,
NetObject sec,
NetObject msec) |
void |
setJCOInstance(JCObject instance) |
static double |
setMilliseconds(NetObject thisob,
double dmsec) |
static double |
setMinutes(NetObject thisob,
double dmin,
NetObject sec,
NetObject msec) |
static double |
setMonth(NetObject thisob,
double dmonth,
NetObject date) |
static double |
setSeconds(NetObject thisob,
double dsec,
NetObject msec) |
static double |
setTime(NetObject thisob,
double time) |
static double |
setUTCDate(NetObject thisob,
double ddate) |
static double |
setUTCFullYear(NetObject thisob,
double dyear,
NetObject month,
NetObject date) |
static double |
setUTCHours(NetObject thisob,
double dhour,
NetObject min,
NetObject sec,
NetObject msec) |
static double |
setUTCMilliseconds(NetObject thisob,
double dmsec) |
static double |
setUTCMinutes(NetObject thisob,
double dmin,
NetObject sec,
NetObject msec) |
static double |
setUTCMonth(NetObject thisob,
double dmonth,
NetObject date) |
static double |
setUTCSeconds(NetObject thisob,
double dsec,
NetObject msec) |
static double |
setYear(NetObject thisob,
double dyear) |
static java.lang.String |
toDateString(NetObject thisob) |
static java.lang.String |
toGMTString(NetObject thisob) |
static java.lang.String |
toLocaleDateString(NetObject thisob) |
static java.lang.String |
toLocaleString(NetObject thisob) |
static java.lang.String |
toLocaleTimeString(NetObject thisob) |
static java.lang.String |
toString(NetObject thisob) |
static java.lang.String |
toTimeString(NetObject thisob) |
static java.lang.String |
toUTCString(NetObject thisob) |
static double |
valueOf(NetObject thisob) |
AddField, GetMember, GetMembers, SetMemberValue2GetField, GetFields, GetMethod, GetMethod, GetMethods, GetParent, GetProperties, GetProperty, GetProperty, getUnderlyingSystemType, InvokeMember, InvokeMemberpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public DatePrototype()
throws java.lang.Throwable
java.lang.Throwablepublic DatePrototype(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static DatePrototype cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into DatePrototype, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedDatePrototype instancejava.lang.Throwable - in case of error during cast operationpublic static DateConstructor getconstructor() throws java.lang.Throwable
java.lang.Throwablepublic static double getDate(NetObject thisob) throws java.lang.Throwable, JScriptException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException
java.lang.ThrowableJScriptExceptionArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionpublic static double getDay(NetObject thisob) throws java.lang.Throwable, JScriptException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException
java.lang.ThrowableJScriptExceptionArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionpublic static double getFullYear(NetObject thisob) throws java.lang.Throwable, JScriptException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException
java.lang.ThrowableJScriptExceptionArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionpublic static double getHours(NetObject thisob) throws java.lang.Throwable, JScriptException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException
java.lang.ThrowableJScriptExceptionArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class DateObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class DateObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class DateObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class DateObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class DateObjectJCType representing the CLR Type of the instantiated Classpublic static double getMilliseconds(NetObject thisob) throws java.lang.Throwable, JScriptException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException
java.lang.ThrowableJScriptExceptionArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionpublic static double getMinutes(NetObject thisob) throws java.lang.Throwable, JScriptException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException
java.lang.ThrowableJScriptExceptionArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionpublic static double getMonth(NetObject thisob) throws java.lang.Throwable, JScriptException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException
java.lang.ThrowableJScriptExceptionArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionpublic static double getSeconds(NetObject thisob) throws java.lang.Throwable, JScriptException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException
java.lang.ThrowableJScriptExceptionArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionpublic static double getTime(NetObject thisob) throws java.lang.Throwable, JScriptException
java.lang.ThrowableJScriptExceptionpublic static double getTimezoneOffset(NetObject thisob) throws java.lang.Throwable, JScriptException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException
java.lang.ThrowableJScriptExceptionArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionpublic static double getUTCDate(NetObject thisob) throws java.lang.Throwable, JScriptException
java.lang.ThrowableJScriptExceptionpublic static double getUTCDay(NetObject thisob) throws java.lang.Throwable, JScriptException
java.lang.ThrowableJScriptExceptionpublic static double getUTCFullYear(NetObject thisob) throws java.lang.Throwable, JScriptException
java.lang.ThrowableJScriptExceptionpublic static double getUTCHours(NetObject thisob) throws java.lang.Throwable, JScriptException
java.lang.ThrowableJScriptExceptionpublic static double getUTCMilliseconds(NetObject thisob) throws java.lang.Throwable, JScriptException
java.lang.ThrowableJScriptExceptionpublic static double getUTCMinutes(NetObject thisob) throws java.lang.Throwable, JScriptException
java.lang.ThrowableJScriptExceptionpublic static double getUTCMonth(NetObject thisob) throws java.lang.Throwable, JScriptException
java.lang.ThrowableJScriptExceptionpublic static double getUTCSeconds(NetObject thisob) throws java.lang.Throwable, JScriptException
java.lang.ThrowableJScriptExceptionpublic static NetObject getVarDate(NetObject thisob) throws java.lang.Throwable, JScriptException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException
java.lang.ThrowableJScriptExceptionArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionpublic static double getYear(NetObject thisob) throws java.lang.Throwable, JScriptException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException
java.lang.ThrowableJScriptExceptionArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionpublic static double setDate(NetObject thisob, double ddate) throws java.lang.Throwable, JScriptException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, ArithmeticException
java.lang.ThrowableJScriptExceptionArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionArithmeticExceptionpublic static double setFullYear(NetObject thisob, double dyear, NetObject month, NetObject date) throws java.lang.Throwable, JScriptException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, NotSupportedException, InvalidOperationException, NotImplementedException, IndexOutOfRangeException, MissingMethodException, NullReferenceException, FormatException, OverflowException, ArithmeticException
java.lang.ThrowableJScriptExceptionArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionNotSupportedExceptionInvalidOperationExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingMethodExceptionNullReferenceExceptionFormatExceptionOverflowExceptionArithmeticExceptionpublic static double setHours(NetObject thisob, double dhour, NetObject min, NetObject sec, NetObject msec) throws java.lang.Throwable, JScriptException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, NotSupportedException, InvalidOperationException, NotImplementedException, IndexOutOfRangeException, MissingMethodException, NullReferenceException, FormatException, OverflowException, ArithmeticException
java.lang.ThrowableJScriptExceptionArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionNotSupportedExceptionInvalidOperationExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingMethodExceptionNullReferenceExceptionFormatExceptionOverflowExceptionArithmeticExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class DateObjectpublic static double setMilliseconds(NetObject thisob, double dmsec) throws java.lang.Throwable, JScriptException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, ArithmeticException
java.lang.ThrowableJScriptExceptionArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionArithmeticExceptionpublic static double setMinutes(NetObject thisob, double dmin, NetObject sec, NetObject msec) throws java.lang.Throwable, JScriptException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, NotSupportedException, InvalidOperationException, NotImplementedException, IndexOutOfRangeException, MissingMethodException, NullReferenceException, FormatException, OverflowException, ArithmeticException
java.lang.ThrowableJScriptExceptionArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionNotSupportedExceptionInvalidOperationExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingMethodExceptionNullReferenceExceptionFormatExceptionOverflowExceptionArithmeticExceptionpublic static double setMonth(NetObject thisob, double dmonth, NetObject date) throws java.lang.Throwable, JScriptException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, NotSupportedException, InvalidOperationException, NotImplementedException, IndexOutOfRangeException, MissingMethodException, NullReferenceException, FormatException, OverflowException, ArithmeticException
java.lang.ThrowableJScriptExceptionArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionNotSupportedExceptionInvalidOperationExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingMethodExceptionNullReferenceExceptionFormatExceptionOverflowExceptionArithmeticExceptionpublic static double setSeconds(NetObject thisob, double dsec, NetObject msec) throws java.lang.Throwable, JScriptException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, NotSupportedException, InvalidOperationException, NotImplementedException, IndexOutOfRangeException, MissingMethodException, NullReferenceException, FormatException, OverflowException, ArithmeticException
java.lang.ThrowableJScriptExceptionArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionNotSupportedExceptionInvalidOperationExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingMethodExceptionNullReferenceExceptionFormatExceptionOverflowExceptionArithmeticExceptionpublic static double setTime(NetObject thisob, double time) throws java.lang.Throwable, JScriptException
java.lang.ThrowableJScriptExceptionpublic static double setUTCDate(NetObject thisob, double ddate) throws java.lang.Throwable, JScriptException, ArithmeticException
java.lang.ThrowableJScriptExceptionArithmeticExceptionpublic static double setUTCFullYear(NetObject thisob, double dyear, NetObject month, NetObject date) throws java.lang.Throwable, JScriptException, NotSupportedException, InvalidOperationException, NotImplementedException, IndexOutOfRangeException, ArgumentNullException, MissingMethodException, ArgumentException, ArgumentOutOfRangeException, NullReferenceException, FormatException, OverflowException, ArithmeticException
java.lang.ThrowableJScriptExceptionNotSupportedExceptionInvalidOperationExceptionNotImplementedExceptionIndexOutOfRangeExceptionArgumentNullExceptionMissingMethodExceptionArgumentExceptionArgumentOutOfRangeExceptionNullReferenceExceptionFormatExceptionOverflowExceptionArithmeticExceptionpublic static double setUTCHours(NetObject thisob, double dhour, NetObject min, NetObject sec, NetObject msec) throws java.lang.Throwable, JScriptException, NotSupportedException, InvalidOperationException, NotImplementedException, IndexOutOfRangeException, ArgumentNullException, MissingMethodException, ArgumentException, ArgumentOutOfRangeException, NullReferenceException, FormatException, OverflowException, ArithmeticException
java.lang.ThrowableJScriptExceptionNotSupportedExceptionInvalidOperationExceptionNotImplementedExceptionIndexOutOfRangeExceptionArgumentNullExceptionMissingMethodExceptionArgumentExceptionArgumentOutOfRangeExceptionNullReferenceExceptionFormatExceptionOverflowExceptionArithmeticExceptionpublic static double setUTCMilliseconds(NetObject thisob, double dmsec) throws java.lang.Throwable, JScriptException, ArithmeticException
java.lang.ThrowableJScriptExceptionArithmeticExceptionpublic static double setUTCMinutes(NetObject thisob, double dmin, NetObject sec, NetObject msec) throws java.lang.Throwable, JScriptException, NotSupportedException, InvalidOperationException, NotImplementedException, IndexOutOfRangeException, ArgumentNullException, MissingMethodException, ArgumentException, ArgumentOutOfRangeException, NullReferenceException, FormatException, OverflowException, ArithmeticException
java.lang.ThrowableJScriptExceptionNotSupportedExceptionInvalidOperationExceptionNotImplementedExceptionIndexOutOfRangeExceptionArgumentNullExceptionMissingMethodExceptionArgumentExceptionArgumentOutOfRangeExceptionNullReferenceExceptionFormatExceptionOverflowExceptionArithmeticExceptionpublic static double setUTCMonth(NetObject thisob, double dmonth, NetObject date) throws java.lang.Throwable, JScriptException, NotSupportedException, InvalidOperationException, NotImplementedException, IndexOutOfRangeException, ArgumentNullException, MissingMethodException, ArgumentException, ArgumentOutOfRangeException, NullReferenceException, FormatException, OverflowException, ArithmeticException
java.lang.ThrowableJScriptExceptionNotSupportedExceptionInvalidOperationExceptionNotImplementedExceptionIndexOutOfRangeExceptionArgumentNullExceptionMissingMethodExceptionArgumentExceptionArgumentOutOfRangeExceptionNullReferenceExceptionFormatExceptionOverflowExceptionArithmeticExceptionpublic static double setUTCSeconds(NetObject thisob, double dsec, NetObject msec) throws java.lang.Throwable, JScriptException, NotSupportedException, InvalidOperationException, NotImplementedException, IndexOutOfRangeException, ArgumentNullException, MissingMethodException, ArgumentException, ArgumentOutOfRangeException, NullReferenceException, FormatException, OverflowException, ArithmeticException
java.lang.ThrowableJScriptExceptionNotSupportedExceptionInvalidOperationExceptionNotImplementedExceptionIndexOutOfRangeExceptionArgumentNullExceptionMissingMethodExceptionArgumentExceptionArgumentOutOfRangeExceptionNullReferenceExceptionFormatExceptionOverflowExceptionArithmeticExceptionpublic static double setYear(NetObject thisob, double dyear) throws java.lang.Throwable, JScriptException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, ArithmeticException
java.lang.ThrowableJScriptExceptionArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionArithmeticExceptionpublic static java.lang.String toDateString(NetObject thisob) throws java.lang.Throwable, JScriptException, ArgumentNullException, FormatException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, IndexOutOfRangeException
public static java.lang.String toGMTString(NetObject thisob) throws java.lang.Throwable, JScriptException, ArgumentNullException, FormatException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException
java.lang.ThrowableJScriptExceptionArgumentNullExceptionFormatExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionIndexOutOfRangeExceptionpublic static java.lang.String toLocaleDateString(NetObject thisob) throws java.lang.Throwable, JScriptException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, TypeInitializationException, InvalidOperationException, IndexOutOfRangeException, OutOfMemoryException, OverflowException, FormatException, CultureNotFoundException, NullReferenceException
public static java.lang.String toLocaleString(NetObject thisob) throws java.lang.Throwable, JScriptException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, TypeInitializationException, InvalidOperationException, IndexOutOfRangeException, OutOfMemoryException, OverflowException, FormatException, CultureNotFoundException, NullReferenceException
public static java.lang.String toLocaleTimeString(NetObject thisob) throws java.lang.Throwable, JScriptException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, TypeInitializationException, InvalidOperationException, IndexOutOfRangeException, OutOfMemoryException, OverflowException, FormatException, CultureNotFoundException, NullReferenceException
public static java.lang.String toString(NetObject thisob) throws java.lang.Throwable, JScriptException, ArgumentNullException, FormatException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, IndexOutOfRangeException
public static java.lang.String toTimeString(NetObject thisob) throws java.lang.Throwable, JScriptException, ArgumentNullException, FormatException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException
java.lang.ThrowableJScriptExceptionArgumentNullExceptionFormatExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionpublic static java.lang.String toUTCString(NetObject thisob) throws java.lang.Throwable, JScriptException, ArgumentNullException, FormatException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException
java.lang.ThrowableJScriptExceptionArgumentNullExceptionFormatExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionIndexOutOfRangeExceptionpublic static double valueOf(NetObject thisob) throws java.lang.Throwable, JScriptException
java.lang.ThrowableJScriptException