Package microsoft.jscript
Class DatePrototype
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- microsoft.jscript.ScriptObject
-
- microsoft.jscript.JSObject
-
- microsoft.jscript.DateObject
-
- microsoft.jscript.DatePrototype
-
- All Implemented Interfaces:
IJCOBridgeReflected
- Direct Known Subclasses:
LenientDatePrototype
public class DatePrototype extends DateObject
The base .NET class managing Microsoft.JScript.DatePrototype, Microsoft.JScript, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/Microsoft.JScript.DatePrototype
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: Microsoft.JScript, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: Microsoft.JScriptstatic java.lang.String
className
Qualified class name: Microsoft.JScript.DatePrototypestatic org.mases.jcobridge.JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description DatePrototype()
DatePrototype(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DatePrototype
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoDatePrototype
, 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 namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectorg.mases.jcobridge.JCType
getJCOType()
Returns the instantiated class Typestatic 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(org.mases.jcobridge.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)
-
Methods inherited from class microsoft.jscript.JSObject
AddField, GetMember, GetMembers, SetMemberValue2
-
Methods inherited from class microsoft.jscript.ScriptObject
GetField, GetFields, GetMethod, GetMethod, GetMethods, GetParent, GetProperties, GetProperty, GetProperty, getUnderlyingSystemType, InvokeMember, InvokeMember
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: Microsoft.JScript, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: Microsoft.JScript- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: Microsoft.JScript.DatePrototype- See Also:
- Constant Field Values
-
classType
public static org.mases.jcobridge.JCType classType
The type managed from JCOBridge. SeeJCType
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classDateObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classDateObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classDateObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classDateObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
- Overrides:
setJCOInstance
in classDateObject
-
getJCOType
public org.mases.jcobridge.JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classDateObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static DatePrototype cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoDatePrototype
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
DatePrototype
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
getDate
public static double getDate(NetObject thisob) throws java.lang.Throwable, JScriptException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException
- Throws:
java.lang.Throwable
JScriptException
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
-
getDay
public static double getDay(NetObject thisob) throws java.lang.Throwable, JScriptException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException
- Throws:
java.lang.Throwable
JScriptException
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
-
getFullYear
public static double getFullYear(NetObject thisob) throws java.lang.Throwable, JScriptException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException
- Throws:
java.lang.Throwable
JScriptException
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
-
getHours
public static double getHours(NetObject thisob) throws java.lang.Throwable, JScriptException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException
- Throws:
java.lang.Throwable
JScriptException
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
-
getMilliseconds
public static double getMilliseconds(NetObject thisob) throws java.lang.Throwable, JScriptException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException
- Throws:
java.lang.Throwable
JScriptException
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
-
getMinutes
public static double getMinutes(NetObject thisob) throws java.lang.Throwable, JScriptException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException
- Throws:
java.lang.Throwable
JScriptException
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
-
getMonth
public static double getMonth(NetObject thisob) throws java.lang.Throwable, JScriptException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException
- Throws:
java.lang.Throwable
JScriptException
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
-
getSeconds
public static double getSeconds(NetObject thisob) throws java.lang.Throwable, JScriptException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException
- Throws:
java.lang.Throwable
JScriptException
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
-
getTime
public static double getTime(NetObject thisob) throws java.lang.Throwable, JScriptException
- Throws:
java.lang.Throwable
JScriptException
-
getTimezoneOffset
public static double getTimezoneOffset(NetObject thisob) throws java.lang.Throwable, JScriptException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException
- Throws:
java.lang.Throwable
JScriptException
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
-
getUTCDate
public static double getUTCDate(NetObject thisob) throws java.lang.Throwable, JScriptException
- Throws:
java.lang.Throwable
JScriptException
-
getUTCDay
public static double getUTCDay(NetObject thisob) throws java.lang.Throwable, JScriptException
- Throws:
java.lang.Throwable
JScriptException
-
getUTCFullYear
public static double getUTCFullYear(NetObject thisob) throws java.lang.Throwable, JScriptException
- Throws:
java.lang.Throwable
JScriptException
-
getUTCHours
public static double getUTCHours(NetObject thisob) throws java.lang.Throwable, JScriptException
- Throws:
java.lang.Throwable
JScriptException
-
getUTCMilliseconds
public static double getUTCMilliseconds(NetObject thisob) throws java.lang.Throwable, JScriptException
- Throws:
java.lang.Throwable
JScriptException
-
getUTCMinutes
public static double getUTCMinutes(NetObject thisob) throws java.lang.Throwable, JScriptException
- Throws:
java.lang.Throwable
JScriptException
-
getUTCMonth
public static double getUTCMonth(NetObject thisob) throws java.lang.Throwable, JScriptException
- Throws:
java.lang.Throwable
JScriptException
-
getUTCSeconds
public static double getUTCSeconds(NetObject thisob) throws java.lang.Throwable, JScriptException
- Throws:
java.lang.Throwable
JScriptException
-
getYear
public static double getYear(NetObject thisob) throws java.lang.Throwable, JScriptException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException
- Throws:
java.lang.Throwable
JScriptException
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
-
setDate
public static double setDate(NetObject thisob, double ddate) throws java.lang.Throwable, JScriptException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, ArithmeticException
- Throws:
java.lang.Throwable
JScriptException
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
ArithmeticException
-
setFullYear
public 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
- Throws:
java.lang.Throwable
JScriptException
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
NotSupportedException
InvalidOperationException
NotImplementedException
IndexOutOfRangeException
MissingMethodException
NullReferenceException
FormatException
OverflowException
ArithmeticException
-
setHours
public 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
- Throws:
java.lang.Throwable
JScriptException
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
NotSupportedException
InvalidOperationException
NotImplementedException
IndexOutOfRangeException
MissingMethodException
NullReferenceException
FormatException
OverflowException
ArithmeticException
-
setMilliseconds
public static double setMilliseconds(NetObject thisob, double dmsec) throws java.lang.Throwable, JScriptException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, ArithmeticException
- Throws:
java.lang.Throwable
JScriptException
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
ArithmeticException
-
setMinutes
public 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
- Throws:
java.lang.Throwable
JScriptException
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
NotSupportedException
InvalidOperationException
NotImplementedException
IndexOutOfRangeException
MissingMethodException
NullReferenceException
FormatException
OverflowException
ArithmeticException
-
setMonth
public 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
- Throws:
java.lang.Throwable
JScriptException
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
NotSupportedException
InvalidOperationException
NotImplementedException
IndexOutOfRangeException
MissingMethodException
NullReferenceException
FormatException
OverflowException
ArithmeticException
-
setSeconds
public 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
- Throws:
java.lang.Throwable
JScriptException
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
NotSupportedException
InvalidOperationException
NotImplementedException
IndexOutOfRangeException
MissingMethodException
NullReferenceException
FormatException
OverflowException
ArithmeticException
-
setTime
public static double setTime(NetObject thisob, double time) throws java.lang.Throwable, JScriptException
- Throws:
java.lang.Throwable
JScriptException
-
setUTCDate
public static double setUTCDate(NetObject thisob, double ddate) throws java.lang.Throwable, JScriptException, ArithmeticException
- Throws:
java.lang.Throwable
JScriptException
ArithmeticException
-
setUTCFullYear
public 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
- Throws:
java.lang.Throwable
JScriptException
NotSupportedException
InvalidOperationException
NotImplementedException
IndexOutOfRangeException
ArgumentNullException
MissingMethodException
ArgumentException
ArgumentOutOfRangeException
NullReferenceException
FormatException
OverflowException
ArithmeticException
-
setUTCHours
public 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
- Throws:
java.lang.Throwable
JScriptException
NotSupportedException
InvalidOperationException
NotImplementedException
IndexOutOfRangeException
ArgumentNullException
MissingMethodException
ArgumentException
ArgumentOutOfRangeException
NullReferenceException
FormatException
OverflowException
ArithmeticException
-
setUTCMilliseconds
public static double setUTCMilliseconds(NetObject thisob, double dmsec) throws java.lang.Throwable, JScriptException, ArithmeticException
- Throws:
java.lang.Throwable
JScriptException
ArithmeticException
-
setUTCMinutes
public 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
- Throws:
java.lang.Throwable
JScriptException
NotSupportedException
InvalidOperationException
NotImplementedException
IndexOutOfRangeException
ArgumentNullException
MissingMethodException
ArgumentException
ArgumentOutOfRangeException
NullReferenceException
FormatException
OverflowException
ArithmeticException
-
setUTCMonth
public 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
- Throws:
java.lang.Throwable
JScriptException
NotSupportedException
InvalidOperationException
NotImplementedException
IndexOutOfRangeException
ArgumentNullException
MissingMethodException
ArgumentException
ArgumentOutOfRangeException
NullReferenceException
FormatException
OverflowException
ArithmeticException
-
setUTCSeconds
public 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
- Throws:
java.lang.Throwable
JScriptException
NotSupportedException
InvalidOperationException
NotImplementedException
IndexOutOfRangeException
ArgumentNullException
MissingMethodException
ArgumentException
ArgumentOutOfRangeException
NullReferenceException
FormatException
OverflowException
ArithmeticException
-
setYear
public static double setYear(NetObject thisob, double dyear) throws java.lang.Throwable, JScriptException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, ArithmeticException
- Throws:
java.lang.Throwable
JScriptException
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
ArithmeticException
-
valueOf
public static double valueOf(NetObject thisob) throws java.lang.Throwable, JScriptException
- Throws:
java.lang.Throwable
JScriptException
-
getVarDate
public static NetObject getVarDate(NetObject thisob) throws java.lang.Throwable, JScriptException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException
- Throws:
java.lang.Throwable
JScriptException
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
-
toDateString
public static java.lang.String toDateString(NetObject thisob) throws java.lang.Throwable, JScriptException, ArgumentNullException, FormatException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, IndexOutOfRangeException
-
toGMTString
public static java.lang.String toGMTString(NetObject thisob) throws java.lang.Throwable, JScriptException, ArgumentNullException, FormatException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
JScriptException
ArgumentNullException
FormatException
ArgumentOutOfRangeException
InvalidOperationException
IndexOutOfRangeException
-
toLocaleDateString
public static java.lang.String toLocaleDateString(NetObject thisob) throws java.lang.Throwable, JScriptException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, TypeInitializationException, InvalidOperationException, IndexOutOfRangeException, OutOfMemoryException, OverflowException, FormatException, CultureNotFoundException, NullReferenceException
-
toLocaleString
public static java.lang.String toLocaleString(NetObject thisob) throws java.lang.Throwable, JScriptException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, TypeInitializationException, InvalidOperationException, IndexOutOfRangeException, OutOfMemoryException, OverflowException, FormatException, CultureNotFoundException, NullReferenceException
-
toLocaleTimeString
public static java.lang.String toLocaleTimeString(NetObject thisob) throws java.lang.Throwable, JScriptException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, TypeInitializationException, InvalidOperationException, IndexOutOfRangeException, OutOfMemoryException, OverflowException, FormatException, CultureNotFoundException, NullReferenceException
-
toString
public static java.lang.String toString(NetObject thisob) throws java.lang.Throwable, JScriptException, ArgumentNullException, FormatException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, IndexOutOfRangeException
-
toTimeString
public static java.lang.String toTimeString(NetObject thisob) throws java.lang.Throwable, JScriptException, ArgumentNullException, FormatException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
JScriptException
ArgumentNullException
FormatException
ArgumentOutOfRangeException
ArgumentException
IndexOutOfRangeException
-
toUTCString
public static java.lang.String toUTCString(NetObject thisob) throws java.lang.Throwable, JScriptException, ArgumentNullException, FormatException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
JScriptException
ArgumentNullException
FormatException
ArgumentOutOfRangeException
InvalidOperationException
IndexOutOfRangeException
-
getconstructor
public static DateConstructor getconstructor() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-