public final class jdk.nashorn.internal.objects.NativeDate extends jdk.nashorn.internal.runtime.ScriptObject
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.nashorn.internal.objects.NativeDate
super_class: jdk.nashorn.internal.runtime.ScriptObject
{
private static final java.lang.String INVALID_DATE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "Invalid Date"
private static final int YEAR;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int MONTH;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int DAY;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int HOUR;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private static final int MINUTE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private static final int SECOND;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 5
private static final int MILLISECOND;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 6
private static final int FORMAT_DATE_TIME;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int FORMAT_DATE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int FORMAT_TIME;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int FORMAT_LOCAL_DATE_TIME;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private static final int FORMAT_LOCAL_DATE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private static final int FORMAT_LOCAL_TIME;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 5
private static final int hoursPerDay;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 24
private static final int minutesPerHour;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 60
private static final int secondsPerMinute;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 60
private static final int msPerSecond;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1000
private static final int msPerMinute;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 60000
private static final double msPerHour;
descriptor: D
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3600000.0
private static final double msPerDay;
descriptor: D
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8.64E7
private static int[][] firstDayInMonth;
descriptor: [[I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.String[] weekDays;
descriptor: [Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.String[] months;
descriptor: [Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final java.lang.Object TO_ISO_STRING;
descriptor: Ljava/lang/Object;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private double time;
descriptor: D
flags: (0x0002) ACC_PRIVATE
private final java.util.TimeZone timezone;
descriptor: Ljava/util/TimeZone;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static jdk.nashorn.internal.runtime.PropertyMap $nasgenmap$;
descriptor: Ljdk/nashorn/internal/runtime/PropertyMap;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=0, args_size=0
0: ldc Ljdk/nashorn/internal/objects/NativeDate;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic jdk.nashorn.internal.objects.NativeDate.$assertionsDisabled:Z
3: iconst_2
anewarray int[]
dup
iconst_0
4: bipush 12
newarray 10
dup
iconst_1
bipush 31
iastore
dup
iconst_2
bipush 59
iastore
dup
iconst_3
bipush 90
iastore
dup
iconst_4
bipush 120
iastore
dup
iconst_5
sipush 151
iastore
dup
bipush 6
sipush 181
iastore
dup
bipush 7
sipush 212
iastore
dup
bipush 8
sipush 243
iastore
dup
bipush 9
sipush 273
iastore
dup
bipush 10
sipush 304
iastore
dup
bipush 11
sipush 334
iastore
aastore
dup
iconst_1
5: bipush 12
newarray 10
dup
iconst_1
bipush 31
iastore
dup
iconst_2
bipush 60
iastore
dup
iconst_3
bipush 91
iastore
dup
iconst_4
bipush 121
iastore
dup
iconst_5
sipush 152
iastore
dup
bipush 6
sipush 182
iastore
dup
bipush 7
sipush 213
iastore
dup
bipush 8
sipush 244
iastore
dup
bipush 9
sipush 274
iastore
dup
bipush 10
sipush 305
iastore
dup
bipush 11
sipush 335
iastore
aastore
6: putstatic jdk.nashorn.internal.objects.NativeDate.firstDayInMonth:[[I
7: bipush 7
anewarray java.lang.String
dup
iconst_0
8: ldc "Sun"
aastore
dup
iconst_1
ldc "Mon"
aastore
dup
iconst_2
ldc "Tue"
aastore
dup
iconst_3
ldc "Wed"
aastore
dup
iconst_4
ldc "Thu"
aastore
dup
iconst_5
ldc "Fri"
aastore
dup
bipush 6
ldc "Sat"
aastore
9: putstatic jdk.nashorn.internal.objects.NativeDate.weekDays:[Ljava/lang/String;
10: bipush 12
anewarray java.lang.String
dup
iconst_0
11: ldc "Jan"
aastore
dup
iconst_1
ldc "Feb"
aastore
dup
iconst_2
ldc "Mar"
aastore
dup
iconst_3
ldc "Apr"
aastore
dup
iconst_4
ldc "May"
aastore
dup
iconst_5
ldc "Jun"
aastore
dup
bipush 6
ldc "Jul"
aastore
dup
bipush 7
ldc "Aug"
aastore
dup
bipush 8
ldc "Sep"
aastore
dup
bipush 9
ldc "Oct"
aastore
dup
bipush 10
ldc "Nov"
aastore
dup
bipush 11
ldc "Dec"
aastore
12: putstatic jdk.nashorn.internal.objects.NativeDate.months:[Ljava/lang/String;
13: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic jdk.nashorn.internal.objects.NativeDate.TO_ISO_STRING:Ljava/lang/Object;
14: return
LocalVariableTable:
Start End Slot Name Signature
private static jdk.nashorn.internal.runtime.linker.InvokeByName getTO_ISO_STRING();
descriptor: ()Ljdk/nashorn/internal/runtime/linker/InvokeByName;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: invokestatic jdk.nashorn.internal.objects.Global.instance:()Ljdk/nashorn/internal/objects/Global;
getstatic jdk.nashorn.internal.objects.NativeDate.TO_ISO_STRING:Ljava/lang/Object;
1: new jdk.nashorn.internal.objects.NativeDate$1
dup
invokespecial jdk.nashorn.internal.objects.NativeDate$1.<init>:()V
2: invokevirtual jdk.nashorn.internal.objects.Global.getInvokeByName:(Ljava/lang/Object;Ljava/util/concurrent/Callable;)Ljdk/nashorn/internal/runtime/linker/InvokeByName;
areturn
LocalVariableTable:
Start End Slot Name Signature
private void <init>(double, jdk.nashorn.internal.runtime.ScriptObject, jdk.nashorn.internal.runtime.PropertyMap);
descriptor: (DLjdk/nashorn/internal/runtime/ScriptObject;Ljdk/nashorn/internal/runtime/PropertyMap;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 3 start local 4 0: aload 0
aload 3
aload 4
invokespecial jdk.nashorn.internal.runtime.ScriptObject.<init>:(Ljdk/nashorn/internal/runtime/ScriptObject;Ljdk/nashorn/internal/runtime/PropertyMap;)V
1: invokestatic jdk.nashorn.internal.objects.Global.getEnv:()Ljdk/nashorn/internal/runtime/ScriptEnvironment;
astore 5
start local 5 2: aload 0
dload 1
putfield jdk.nashorn.internal.objects.NativeDate.time:D
3: aload 0
aload 5
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._timezone:Ljava/util/TimeZone;
putfield jdk.nashorn.internal.objects.NativeDate.timezone:Ljava/util/TimeZone;
4: return
end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/nashorn/internal/objects/NativeDate;
0 5 1 time D
0 5 3 proto Ljdk/nashorn/internal/runtime/ScriptObject;
0 5 4 map Ljdk/nashorn/internal/runtime/PropertyMap;
2 5 5 env Ljdk/nashorn/internal/runtime/ScriptEnvironment;
MethodParameters:
Name Flags
time final
proto final
map final
void <init>(double, jdk.nashorn.internal.runtime.ScriptObject);
descriptor: (DLjdk/nashorn/internal/runtime/ScriptObject;)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
dload 1
aload 3
getstatic jdk.nashorn.internal.objects.NativeDate.$nasgenmap$:Ljdk/nashorn/internal/runtime/PropertyMap;
invokespecial jdk.nashorn.internal.objects.NativeDate.<init>:(DLjdk/nashorn/internal/runtime/ScriptObject;Ljdk/nashorn/internal/runtime/PropertyMap;)V
1: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/objects/NativeDate;
0 2 1 time D
0 2 3 proto Ljdk/nashorn/internal/runtime/ScriptObject;
MethodParameters:
Name Flags
time final
proto final
void <init>(double, jdk.nashorn.internal.objects.Global);
descriptor: (DLjdk/nashorn/internal/objects/Global;)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
dload 1
aload 3
invokevirtual jdk.nashorn.internal.objects.Global.getDatePrototype:()Ljdk/nashorn/internal/runtime/ScriptObject;
getstatic jdk.nashorn.internal.objects.NativeDate.$nasgenmap$:Ljdk/nashorn/internal/runtime/PropertyMap;
invokespecial jdk.nashorn.internal.objects.NativeDate.<init>:(DLjdk/nashorn/internal/runtime/ScriptObject;Ljdk/nashorn/internal/runtime/PropertyMap;)V
1: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/objects/NativeDate;
0 2 1 time D
0 2 3 global Ljdk/nashorn/internal/objects/Global;
MethodParameters:
Name Flags
time final
global final
private void <init>(double);
descriptor: (D)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dload 1
invokestatic jdk.nashorn.internal.objects.Global.instance:()Ljdk/nashorn/internal/objects/Global;
invokespecial jdk.nashorn.internal.objects.NativeDate.<init>:(DLjdk/nashorn/internal/objects/Global;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/objects/NativeDate;
0 2 1 time D
MethodParameters:
Name Flags
time final
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.lang.System.currentTimeMillis:()J
l2d
invokespecial jdk.nashorn.internal.objects.NativeDate.<init>:(D)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/objects/NativeDate;
public java.lang.String getClassName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "Date"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/objects/NativeDate;
public getDefaultValue(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ifnonnull 1
ldc Ljava/lang/String;
goto 2
StackMap locals:
StackMap stack: jdk.nashorn.internal.objects.NativeDate
1: aload 1
StackMap locals: jdk.nashorn.internal.objects.NativeDate java.lang.Class
StackMap stack: jdk.nashorn.internal.objects.NativeDate java.lang.Class
2: invokespecial jdk.nashorn.internal.runtime.ScriptObject.getDefaultValue:(Ljava/lang/Class;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/objects/NativeDate;
0 3 1 hint Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/Object;
MethodParameters:
Name Flags
hint final
public static java.lang.Object construct(boolean, java.lang.Object);
descriptor: (ZLjava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: new jdk.nashorn.internal.objects.NativeDate
dup
invokespecial jdk.nashorn.internal.objects.NativeDate.<init>:()V
astore 2
start local 2 1: iload 0
ifeq 2
aload 2
goto 3
StackMap locals: jdk.nashorn.internal.objects.NativeDate
StackMap stack:
2: aload 2
iconst_0
invokestatic jdk.nashorn.internal.objects.NativeDate.toStringImpl:(Ljava/lang/Object;I)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.Object
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 isNew Z
0 4 1 self Ljava/lang/Object;
1 4 2 result Ljdk/nashorn/internal/objects/NativeDate;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.SpecializedFunction(isConstructor = true)
MethodParameters:
Name Flags
isNew final
self final
public static java.lang.Object construct(boolean, java.lang.Object, java.lang.Object[]);
descriptor: (ZLjava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=10, args_size=3
start local 0 start local 1 start local 2 0: iload 0
ifne 2
1: new jdk.nashorn.internal.objects.NativeDate
dup
invokespecial jdk.nashorn.internal.objects.NativeDate.<init>:()V
iconst_0
invokestatic jdk.nashorn.internal.objects.NativeDate.toStringImpl:(Ljava/lang/Object;I)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 2
arraylength
tableswitch { // 0 - 1
0: 3
1: 5
default: 12
}
3: StackMap locals:
StackMap stack:
new jdk.nashorn.internal.objects.NativeDate
dup
invokespecial jdk.nashorn.internal.objects.NativeDate.<init>:()V
astore 3
start local 3 4: goto 19
end local 3 5: StackMap locals:
StackMap stack:
aload 2
iconst_0
aaload
invokestatic jdk.nashorn.internal.runtime.JSType.toPrimitive:(Ljava/lang/Object;)Ljava/lang/Object;
astore 6
start local 6 6: aload 6
invokestatic jdk.nashorn.internal.runtime.JSType.isString:(Ljava/lang/Object;)Z
ifeq 9
7: aload 6
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokestatic jdk.nashorn.internal.objects.NativeDate.parseDateString:(Ljava/lang/String;)D
dstore 4
start local 4 8: goto 10
end local 4 9: StackMap locals: int java.lang.Object java.lang.Object[] top top top java.lang.Object
StackMap stack:
aload 2
iconst_0
aaload
invokestatic jdk.nashorn.internal.runtime.JSType.toNumber:(Ljava/lang/Object;)D
invokestatic jdk.nashorn.internal.objects.NativeDate.timeClip:(D)D
dstore 4
start local 4 10: StackMap locals: int java.lang.Object java.lang.Object[] top double java.lang.Object
StackMap stack:
new jdk.nashorn.internal.objects.NativeDate
dup
dload 4
invokespecial jdk.nashorn.internal.objects.NativeDate.<init>:(D)V
astore 3
start local 3 11: goto 19
end local 6 end local 4 end local 3 12: StackMap locals: int java.lang.Object java.lang.Object[]
StackMap stack:
new jdk.nashorn.internal.objects.NativeDate
dup
dconst_0
invokespecial jdk.nashorn.internal.objects.NativeDate.<init>:(D)V
astore 3
start local 3 13: aload 2
invokestatic jdk.nashorn.internal.objects.NativeDate.convertCtorArgs:([Ljava/lang/Object;)[D
astore 7
start local 7 14: aload 7
ifnonnull 17
15: aload 3
ldc NaN
invokevirtual jdk.nashorn.internal.objects.NativeDate.setTime:(D)V
16: goto 19
17: StackMap locals: int java.lang.Object java.lang.Object[] jdk.nashorn.internal.objects.NativeDate top top top double[]
StackMap stack:
aload 7
invokestatic jdk.nashorn.internal.objects.NativeDate.makeDate:([D)D
aload 3
invokevirtual jdk.nashorn.internal.objects.NativeDate.getTimeZone:()Ljava/util/TimeZone;
invokestatic jdk.nashorn.internal.objects.NativeDate.utc:(DLjava/util/TimeZone;)D
invokestatic jdk.nashorn.internal.objects.NativeDate.timeClip:(D)D
dstore 8
start local 8 18: aload 3
dload 8
invokevirtual jdk.nashorn.internal.objects.NativeDate.setTime:(D)V
end local 8 end local 7 19: StackMap locals: int java.lang.Object java.lang.Object[] jdk.nashorn.internal.objects.NativeDate
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 isNew Z
0 20 1 self Ljava/lang/Object;
0 20 2 args [Ljava/lang/Object;
4 5 3 result Ljdk/nashorn/internal/objects/NativeDate;
11 12 3 result Ljdk/nashorn/internal/objects/NativeDate;
13 20 3 result Ljdk/nashorn/internal/objects/NativeDate;
8 9 4 num D
10 12 4 num D
6 12 6 arg Ljava/lang/Object;
14 19 7 d [D
18 19 8 time D
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Constructor(arity = 7)
MethodParameters:
Name Flags
isNew final
self final
args final
public java.lang.String safeToString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual jdk.nashorn.internal.objects.NativeDate.isValidDate:()Z
ifeq 1
aload 0
invokestatic jdk.nashorn.internal.objects.NativeDate.toISOStringImpl:(Ljava/lang/Object;)Ljava/lang/String;
goto 2
StackMap locals:
StackMap stack:
1: ldc "Invalid Date"
StackMap locals:
StackMap stack: java.lang.String
2: astore 1
start local 1 3: new java.lang.StringBuilder
dup
ldc "[Date "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/internal/objects/NativeDate;
3 4 1 str Ljava/lang/String;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.nashorn.internal.objects.NativeDate.isValidDate:()Z
ifeq 1
aload 0
invokestatic jdk.nashorn.internal.objects.NativeDate.toString:(Ljava/lang/Object;)Ljava/lang/String;
goto 2
StackMap locals:
StackMap stack:
1: ldc "Invalid Date"
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/objects/NativeDate;
public static double parse(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic jdk.nashorn.internal.runtime.JSType.toString:(Ljava/lang/Object;)Ljava/lang/String;
invokestatic jdk.nashorn.internal.objects.NativeDate.parseDateString:(Ljava/lang/String;)D
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
0 1 1 string Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2, where = jdk.nashorn.internal.objects.annotations.Where.CONSTRUCTOR:Ljdk/nashorn/internal/objects/annotations/Where;)
MethodParameters:
Name Flags
self final
string final
public static double UTC(java.lang.Object, java.lang.Object[]);
descriptor: (Ljava/lang/Object;[Ljava/lang/Object;)D
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: new jdk.nashorn.internal.objects.NativeDate
dup
dconst_0
invokespecial jdk.nashorn.internal.objects.NativeDate.<init>:(D)V
astore 2
start local 2 1: aload 1
invokestatic jdk.nashorn.internal.objects.NativeDate.convertCtorArgs:([Ljava/lang/Object;)[D
astore 3
start local 3 2: aload 3
ifnonnull 3
ldc NaN
goto 4
StackMap locals: jdk.nashorn.internal.objects.NativeDate double[]
StackMap stack:
3: aload 3
invokestatic jdk.nashorn.internal.objects.NativeDate.makeDate:([D)D
invokestatic jdk.nashorn.internal.objects.NativeDate.timeClip:(D)D
StackMap locals:
StackMap stack: double
4: dstore 4
start local 4 5: aload 2
dload 4
invokevirtual jdk.nashorn.internal.objects.NativeDate.setTime:(D)V
6: dload 4
dreturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 self Ljava/lang/Object;
0 7 1 args [Ljava/lang/Object;
1 7 2 nd Ljdk/nashorn/internal/objects/NativeDate;
2 7 3 d [D
5 7 4 time D
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2, arity = 7, where = jdk.nashorn.internal.objects.annotations.Where.CONSTRUCTOR:Ljdk/nashorn/internal/objects/annotations/Where;)
MethodParameters:
Name Flags
self final
args final
public static double now(java.lang.Object);
descriptor: (Ljava/lang/Object;)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic java.lang.System.currentTimeMillis:()J
l2d
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2, where = jdk.nashorn.internal.objects.annotations.Where.CONSTRUCTOR:Ljdk/nashorn/internal/objects/annotations/Where;)
MethodParameters:
Name Flags
self final
public static java.lang.String toString(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokestatic jdk.nashorn.internal.objects.NativeDate.toStringImpl:(Ljava/lang/Object;I)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
public static java.lang.String toDateString(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokestatic jdk.nashorn.internal.objects.NativeDate.toStringImpl:(Ljava/lang/Object;I)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
public static java.lang.String toTimeString(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_2
invokestatic jdk.nashorn.internal.objects.NativeDate.toStringImpl:(Ljava/lang/Object;I)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
public static java.lang.String toLocaleString(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_3
invokestatic jdk.nashorn.internal.objects.NativeDate.toStringImpl:(Ljava/lang/Object;I)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
public static java.lang.String toLocaleDateString(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_4
invokestatic jdk.nashorn.internal.objects.NativeDate.toStringImpl:(Ljava/lang/Object;I)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
public static java.lang.String toLocaleTimeString(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_5
invokestatic jdk.nashorn.internal.objects.NativeDate.toStringImpl:(Ljava/lang/Object;I)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
public static double valueOf(java.lang.Object);
descriptor: (Ljava/lang/Object;)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeDate.getNativeDate:(Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeDate;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
invokevirtual jdk.nashorn.internal.objects.NativeDate.getTime:()D
goto 3
StackMap locals: jdk.nashorn.internal.objects.NativeDate
StackMap stack:
2: ldc NaN
StackMap locals:
StackMap stack: double
3: dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 self Ljava/lang/Object;
1 4 1 nd Ljdk/nashorn/internal/objects/NativeDate;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
public static double getTime(java.lang.Object);
descriptor: (Ljava/lang/Object;)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeDate.getNativeDate:(Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeDate;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
invokevirtual jdk.nashorn.internal.objects.NativeDate.getTime:()D
goto 3
StackMap locals: jdk.nashorn.internal.objects.NativeDate
StackMap stack:
2: ldc NaN
StackMap locals:
StackMap stack: double
3: dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 self Ljava/lang/Object;
1 4 1 nd Ljdk/nashorn/internal/objects/NativeDate;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
public static java.lang.Object getFullYear(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokestatic jdk.nashorn.internal.objects.NativeDate.getField:(Ljava/lang/Object;I)D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
public static double getUTCFullYear(java.lang.Object);
descriptor: (Ljava/lang/Object;)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokestatic jdk.nashorn.internal.objects.NativeDate.getUTCField:(Ljava/lang/Object;I)D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
public static double getYear(java.lang.Object);
descriptor: (Ljava/lang/Object;)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeDate.getNativeDate:(Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeDate;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
invokevirtual jdk.nashorn.internal.objects.NativeDate.isValidDate:()Z
ifeq 2
aload 1
invokevirtual jdk.nashorn.internal.objects.NativeDate.getLocalTime:()D
invokestatic jdk.nashorn.internal.objects.NativeDate.yearFromTime:(D)I
sipush 1900
isub
i2d
goto 3
StackMap locals: jdk.nashorn.internal.objects.NativeDate
StackMap stack:
2: ldc NaN
StackMap locals:
StackMap stack: double
3: dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 self Ljava/lang/Object;
1 4 1 nd Ljdk/nashorn/internal/objects/NativeDate;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
public static double getMonth(java.lang.Object);
descriptor: (Ljava/lang/Object;)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokestatic jdk.nashorn.internal.objects.NativeDate.getField:(Ljava/lang/Object;I)D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
public static double getUTCMonth(java.lang.Object);
descriptor: (Ljava/lang/Object;)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokestatic jdk.nashorn.internal.objects.NativeDate.getUTCField:(Ljava/lang/Object;I)D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
public static double getDate(java.lang.Object);
descriptor: (Ljava/lang/Object;)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_2
invokestatic jdk.nashorn.internal.objects.NativeDate.getField:(Ljava/lang/Object;I)D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
public static double getUTCDate(java.lang.Object);
descriptor: (Ljava/lang/Object;)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_2
invokestatic jdk.nashorn.internal.objects.NativeDate.getUTCField:(Ljava/lang/Object;I)D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
public static double getDay(java.lang.Object);
descriptor: (Ljava/lang/Object;)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeDate.getNativeDate:(Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeDate;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
invokevirtual jdk.nashorn.internal.objects.NativeDate.isValidDate:()Z
ifeq 2
aload 1
invokevirtual jdk.nashorn.internal.objects.NativeDate.getLocalTime:()D
invokestatic jdk.nashorn.internal.objects.NativeDate.weekDay:(D)I
i2d
goto 3
StackMap locals: jdk.nashorn.internal.objects.NativeDate
StackMap stack:
2: ldc NaN
StackMap locals:
StackMap stack: double
3: dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 self Ljava/lang/Object;
1 4 1 nd Ljdk/nashorn/internal/objects/NativeDate;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
public static double getUTCDay(java.lang.Object);
descriptor: (Ljava/lang/Object;)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeDate.getNativeDate:(Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeDate;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
invokevirtual jdk.nashorn.internal.objects.NativeDate.isValidDate:()Z
ifeq 2
aload 1
invokevirtual jdk.nashorn.internal.objects.NativeDate.getTime:()D
invokestatic jdk.nashorn.internal.objects.NativeDate.weekDay:(D)I
i2d
goto 3
StackMap locals: jdk.nashorn.internal.objects.NativeDate
StackMap stack:
2: ldc NaN
StackMap locals:
StackMap stack: double
3: dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 self Ljava/lang/Object;
1 4 1 nd Ljdk/nashorn/internal/objects/NativeDate;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
public static double getHours(java.lang.Object);
descriptor: (Ljava/lang/Object;)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_3
invokestatic jdk.nashorn.internal.objects.NativeDate.getField:(Ljava/lang/Object;I)D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
public static double getUTCHours(java.lang.Object);
descriptor: (Ljava/lang/Object;)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_3
invokestatic jdk.nashorn.internal.objects.NativeDate.getUTCField:(Ljava/lang/Object;I)D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
public static double getMinutes(java.lang.Object);
descriptor: (Ljava/lang/Object;)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_4
invokestatic jdk.nashorn.internal.objects.NativeDate.getField:(Ljava/lang/Object;I)D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
public static double getUTCMinutes(java.lang.Object);
descriptor: (Ljava/lang/Object;)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_4
invokestatic jdk.nashorn.internal.objects.NativeDate.getUTCField:(Ljava/lang/Object;I)D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
public static double getSeconds(java.lang.Object);
descriptor: (Ljava/lang/Object;)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_5
invokestatic jdk.nashorn.internal.objects.NativeDate.getField:(Ljava/lang/Object;I)D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
public static double getUTCSeconds(java.lang.Object);
descriptor: (Ljava/lang/Object;)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_5
invokestatic jdk.nashorn.internal.objects.NativeDate.getUTCField:(Ljava/lang/Object;I)D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
public static double getMilliseconds(java.lang.Object);
descriptor: (Ljava/lang/Object;)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
bipush 6
invokestatic jdk.nashorn.internal.objects.NativeDate.getField:(Ljava/lang/Object;I)D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
public static double getUTCMilliseconds(java.lang.Object);
descriptor: (Ljava/lang/Object;)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
bipush 6
invokestatic jdk.nashorn.internal.objects.NativeDate.getUTCField:(Ljava/lang/Object;I)D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
public static double getTimezoneOffset(java.lang.Object);
descriptor: (Ljava/lang/Object;)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeDate.getNativeDate:(Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeDate;
astore 1
start local 1 1: aload 1
ifnull 4
aload 1
invokevirtual jdk.nashorn.internal.objects.NativeDate.isValidDate:()Z
ifeq 4
2: aload 1
invokevirtual jdk.nashorn.internal.objects.NativeDate.getTime:()D
d2l
lstore 2
start local 2 3: aload 1
invokevirtual jdk.nashorn.internal.objects.NativeDate.getTimeZone:()Ljava/util/TimeZone;
lload 2
invokevirtual java.util.TimeZone.getOffset:(J)I
ineg
ldc 60000
idiv
i2d
dreturn
end local 2 4: StackMap locals: jdk.nashorn.internal.objects.NativeDate
StackMap stack:
ldc NaN
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 self Ljava/lang/Object;
1 5 1 nd Ljdk/nashorn/internal/objects/NativeDate;
3 4 2 msec J
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
public static double setTime(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeDate.getNativeDate:(Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeDate;
astore 2
start local 2 1: aload 1
invokestatic jdk.nashorn.internal.runtime.JSType.toNumber:(Ljava/lang/Object;)D
invokestatic jdk.nashorn.internal.objects.NativeDate.timeClip:(D)D
dstore 3
start local 3 2: aload 2
dload 3
invokevirtual jdk.nashorn.internal.objects.NativeDate.setTime:(D)V
3: dload 3
dreturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 self Ljava/lang/Object;
0 4 1 time Ljava/lang/Object;
1 4 2 nd Ljdk/nashorn/internal/objects/NativeDate;
2 4 3 num D
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
time final
public static double setMilliseconds(java.lang.Object, java.lang.Object[]);
descriptor: (Ljava/lang/Object;[Ljava/lang/Object;)D
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeDate.getNativeDate:(Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeDate;
astore 2
start local 2 1: aload 2
bipush 6
aload 1
iconst_1
invokestatic jdk.nashorn.internal.objects.NativeDate.setFields:(Ljdk/nashorn/internal/objects/NativeDate;I[Ljava/lang/Object;Z)V
2: aload 2
invokevirtual jdk.nashorn.internal.objects.NativeDate.getTime:()D
dreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 self Ljava/lang/Object;
0 3 1 args [Ljava/lang/Object;
1 3 2 nd Ljdk/nashorn/internal/objects/NativeDate;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2, arity = 1)
MethodParameters:
Name Flags
self final
args final
public static double setUTCMilliseconds(java.lang.Object, java.lang.Object[]);
descriptor: (Ljava/lang/Object;[Ljava/lang/Object;)D
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeDate.getNativeDate:(Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeDate;
astore 2
start local 2 1: aload 2
bipush 6
aload 1
iconst_0
invokestatic jdk.nashorn.internal.objects.NativeDate.setFields:(Ljdk/nashorn/internal/objects/NativeDate;I[Ljava/lang/Object;Z)V
2: aload 2
invokevirtual jdk.nashorn.internal.objects.NativeDate.getTime:()D
dreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 self Ljava/lang/Object;
0 3 1 args [Ljava/lang/Object;
1 3 2 nd Ljdk/nashorn/internal/objects/NativeDate;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2, arity = 1)
MethodParameters:
Name Flags
self final
args final
public static double setSeconds(java.lang.Object, java.lang.Object[]);
descriptor: (Ljava/lang/Object;[Ljava/lang/Object;)D
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeDate.getNativeDate:(Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeDate;
astore 2
start local 2 1: aload 2
iconst_5
aload 1
iconst_1
invokestatic jdk.nashorn.internal.objects.NativeDate.setFields:(Ljdk/nashorn/internal/objects/NativeDate;I[Ljava/lang/Object;Z)V
2: aload 2
invokevirtual jdk.nashorn.internal.objects.NativeDate.getTime:()D
dreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 self Ljava/lang/Object;
0 3 1 args [Ljava/lang/Object;
1 3 2 nd Ljdk/nashorn/internal/objects/NativeDate;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2, arity = 2)
MethodParameters:
Name Flags
self final
args final
public static double setUTCSeconds(java.lang.Object, java.lang.Object[]);
descriptor: (Ljava/lang/Object;[Ljava/lang/Object;)D
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeDate.getNativeDate:(Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeDate;
astore 2
start local 2 1: aload 2
iconst_5
aload 1
iconst_0
invokestatic jdk.nashorn.internal.objects.NativeDate.setFields:(Ljdk/nashorn/internal/objects/NativeDate;I[Ljava/lang/Object;Z)V
2: aload 2
invokevirtual jdk.nashorn.internal.objects.NativeDate.getTime:()D
dreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 self Ljava/lang/Object;
0 3 1 args [Ljava/lang/Object;
1 3 2 nd Ljdk/nashorn/internal/objects/NativeDate;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2, arity = 2)
MethodParameters:
Name Flags
self final
args final
public static double setMinutes(java.lang.Object, java.lang.Object[]);
descriptor: (Ljava/lang/Object;[Ljava/lang/Object;)D
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeDate.getNativeDate:(Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeDate;
astore 2
start local 2 1: aload 2
iconst_4
aload 1
iconst_1
invokestatic jdk.nashorn.internal.objects.NativeDate.setFields:(Ljdk/nashorn/internal/objects/NativeDate;I[Ljava/lang/Object;Z)V
2: aload 2
invokevirtual jdk.nashorn.internal.objects.NativeDate.getTime:()D
dreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 self Ljava/lang/Object;
0 3 1 args [Ljava/lang/Object;
1 3 2 nd Ljdk/nashorn/internal/objects/NativeDate;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2, arity = 3)
MethodParameters:
Name Flags
self final
args final
public static double setUTCMinutes(java.lang.Object, java.lang.Object[]);
descriptor: (Ljava/lang/Object;[Ljava/lang/Object;)D
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeDate.getNativeDate:(Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeDate;
astore 2
start local 2 1: aload 2
iconst_4
aload 1
iconst_0
invokestatic jdk.nashorn.internal.objects.NativeDate.setFields:(Ljdk/nashorn/internal/objects/NativeDate;I[Ljava/lang/Object;Z)V
2: aload 2
invokevirtual jdk.nashorn.internal.objects.NativeDate.getTime:()D
dreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 self Ljava/lang/Object;
0 3 1 args [Ljava/lang/Object;
1 3 2 nd Ljdk/nashorn/internal/objects/NativeDate;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2, arity = 3)
MethodParameters:
Name Flags
self final
args final
public static double setHours(java.lang.Object, java.lang.Object[]);
descriptor: (Ljava/lang/Object;[Ljava/lang/Object;)D
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeDate.getNativeDate:(Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeDate;
astore 2
start local 2 1: aload 2
iconst_3
aload 1
iconst_1
invokestatic jdk.nashorn.internal.objects.NativeDate.setFields:(Ljdk/nashorn/internal/objects/NativeDate;I[Ljava/lang/Object;Z)V
2: aload 2
invokevirtual jdk.nashorn.internal.objects.NativeDate.getTime:()D
dreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 self Ljava/lang/Object;
0 3 1 args [Ljava/lang/Object;
1 3 2 nd Ljdk/nashorn/internal/objects/NativeDate;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2, arity = 4)
MethodParameters:
Name Flags
self final
args final
public static double setUTCHours(java.lang.Object, java.lang.Object[]);
descriptor: (Ljava/lang/Object;[Ljava/lang/Object;)D
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeDate.getNativeDate:(Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeDate;
astore 2
start local 2 1: aload 2
iconst_3
aload 1
iconst_0
invokestatic jdk.nashorn.internal.objects.NativeDate.setFields:(Ljdk/nashorn/internal/objects/NativeDate;I[Ljava/lang/Object;Z)V
2: aload 2
invokevirtual jdk.nashorn.internal.objects.NativeDate.getTime:()D
dreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 self Ljava/lang/Object;
0 3 1 args [Ljava/lang/Object;
1 3 2 nd Ljdk/nashorn/internal/objects/NativeDate;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2, arity = 4)
MethodParameters:
Name Flags
self final
args final
public static double setDate(java.lang.Object, java.lang.Object[]);
descriptor: (Ljava/lang/Object;[Ljava/lang/Object;)D
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeDate.getNativeDate:(Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeDate;
astore 2
start local 2 1: aload 2
iconst_2
aload 1
iconst_1
invokestatic jdk.nashorn.internal.objects.NativeDate.setFields:(Ljdk/nashorn/internal/objects/NativeDate;I[Ljava/lang/Object;Z)V
2: aload 2
invokevirtual jdk.nashorn.internal.objects.NativeDate.getTime:()D
dreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 self Ljava/lang/Object;
0 3 1 args [Ljava/lang/Object;
1 3 2 nd Ljdk/nashorn/internal/objects/NativeDate;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2, arity = 1)
MethodParameters:
Name Flags
self final
args final
public static double setUTCDate(java.lang.Object, java.lang.Object[]);
descriptor: (Ljava/lang/Object;[Ljava/lang/Object;)D
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeDate.getNativeDate:(Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeDate;
astore 2
start local 2 1: aload 2
iconst_2
aload 1
iconst_0
invokestatic jdk.nashorn.internal.objects.NativeDate.setFields:(Ljdk/nashorn/internal/objects/NativeDate;I[Ljava/lang/Object;Z)V
2: aload 2
invokevirtual jdk.nashorn.internal.objects.NativeDate.getTime:()D
dreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 self Ljava/lang/Object;
0 3 1 args [Ljava/lang/Object;
1 3 2 nd Ljdk/nashorn/internal/objects/NativeDate;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2, arity = 1)
MethodParameters:
Name Flags
self final
args final
public static double setMonth(java.lang.Object, java.lang.Object[]);
descriptor: (Ljava/lang/Object;[Ljava/lang/Object;)D
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeDate.getNativeDate:(Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeDate;
astore 2
start local 2 1: aload 2
iconst_1
aload 1
iconst_1
invokestatic jdk.nashorn.internal.objects.NativeDate.setFields:(Ljdk/nashorn/internal/objects/NativeDate;I[Ljava/lang/Object;Z)V
2: aload 2
invokevirtual jdk.nashorn.internal.objects.NativeDate.getTime:()D
dreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 self Ljava/lang/Object;
0 3 1 args [Ljava/lang/Object;
1 3 2 nd Ljdk/nashorn/internal/objects/NativeDate;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2, arity = 2)
MethodParameters:
Name Flags
self final
args final
public static double setUTCMonth(java.lang.Object, java.lang.Object[]);
descriptor: (Ljava/lang/Object;[Ljava/lang/Object;)D
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeDate.ensureNativeDate:(Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeDate;
astore 2
start local 2 1: aload 2
iconst_1
aload 1
iconst_0
invokestatic jdk.nashorn.internal.objects.NativeDate.setFields:(Ljdk/nashorn/internal/objects/NativeDate;I[Ljava/lang/Object;Z)V
2: aload 2
invokevirtual jdk.nashorn.internal.objects.NativeDate.getTime:()D
dreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 self Ljava/lang/Object;
0 3 1 args [Ljava/lang/Object;
1 3 2 nd Ljdk/nashorn/internal/objects/NativeDate;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2, arity = 2)
MethodParameters:
Name Flags
self final
args final
public static double setFullYear(java.lang.Object, java.lang.Object[]);
descriptor: (Ljava/lang/Object;[Ljava/lang/Object;)D
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeDate.ensureNativeDate:(Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeDate;
astore 2
start local 2 1: aload 2
invokevirtual jdk.nashorn.internal.objects.NativeDate.isValidDate:()Z
ifeq 4
2: aload 2
iconst_0
aload 1
iconst_1
invokestatic jdk.nashorn.internal.objects.NativeDate.setFields:(Ljdk/nashorn/internal/objects/NativeDate;I[Ljava/lang/Object;Z)V
3: goto 9
4: StackMap locals: jdk.nashorn.internal.objects.NativeDate
StackMap stack:
aload 1
dconst_0
iconst_0
iconst_0
iconst_3
invokestatic jdk.nashorn.internal.objects.NativeDate.convertArgs:([Ljava/lang/Object;DIII)[D
astore 3
start local 3 5: aload 3
ifnull 8
6: aload 2
aload 3
iconst_0
daload
aload 3
iconst_1
daload
aload 3
iconst_2
daload
invokestatic jdk.nashorn.internal.objects.NativeDate.makeDay:(DDD)D
dconst_0
invokestatic jdk.nashorn.internal.objects.NativeDate.makeDate:(DD)D
aload 2
invokevirtual jdk.nashorn.internal.objects.NativeDate.getTimeZone:()Ljava/util/TimeZone;
invokestatic jdk.nashorn.internal.objects.NativeDate.utc:(DLjava/util/TimeZone;)D
invokestatic jdk.nashorn.internal.objects.NativeDate.timeClip:(D)D
invokevirtual jdk.nashorn.internal.objects.NativeDate.setTime:(D)V
7: goto 9
8: StackMap locals: double[]
StackMap stack:
aload 2
ldc NaN
invokevirtual jdk.nashorn.internal.objects.NativeDate.setTime:(D)V
end local 3 9: StackMap locals:
StackMap stack:
aload 2
invokevirtual jdk.nashorn.internal.objects.NativeDate.getTime:()D
dreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 self Ljava/lang/Object;
0 10 1 args [Ljava/lang/Object;
1 10 2 nd Ljdk/nashorn/internal/objects/NativeDate;
5 9 3 d [D
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2, arity = 3)
MethodParameters:
Name Flags
self final
args final
public static double setUTCFullYear(java.lang.Object, java.lang.Object[]);
descriptor: (Ljava/lang/Object;[Ljava/lang/Object;)D
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeDate.ensureNativeDate:(Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeDate;
astore 2
start local 2 1: aload 2
invokevirtual jdk.nashorn.internal.objects.NativeDate.isValidDate:()Z
ifeq 4
2: aload 2
iconst_0
aload 1
iconst_0
invokestatic jdk.nashorn.internal.objects.NativeDate.setFields:(Ljdk/nashorn/internal/objects/NativeDate;I[Ljava/lang/Object;Z)V
3: goto 6
4: StackMap locals: jdk.nashorn.internal.objects.NativeDate
StackMap stack:
aload 1
dconst_0
iconst_0
iconst_0
iconst_3
invokestatic jdk.nashorn.internal.objects.NativeDate.convertArgs:([Ljava/lang/Object;DIII)[D
astore 3
start local 3 5: aload 2
aload 3
iconst_0
daload
aload 3
iconst_1
daload
aload 3
iconst_2
daload
invokestatic jdk.nashorn.internal.objects.NativeDate.makeDay:(DDD)D
dconst_0
invokestatic jdk.nashorn.internal.objects.NativeDate.makeDate:(DD)D
invokestatic jdk.nashorn.internal.objects.NativeDate.timeClip:(D)D
invokevirtual jdk.nashorn.internal.objects.NativeDate.setTime:(D)V
end local 3 6: StackMap locals:
StackMap stack:
aload 2
invokevirtual jdk.nashorn.internal.objects.NativeDate.getTime:()D
dreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 self Ljava/lang/Object;
0 7 1 args [Ljava/lang/Object;
1 7 2 nd Ljdk/nashorn/internal/objects/NativeDate;
5 6 3 d [D
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2, arity = 3)
MethodParameters:
Name Flags
self final
args final
public static double setYear(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeDate.getNativeDate:(Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeDate;
astore 2
start local 2 1: aload 2
invokevirtual jdk.nashorn.internal.objects.NativeDate.getTime:()D
invokestatic java.lang.Double.isNaN:(D)Z
ifeq 3
2: aload 2
dconst_0
aload 2
invokevirtual jdk.nashorn.internal.objects.NativeDate.getTimeZone:()Ljava/util/TimeZone;
invokestatic jdk.nashorn.internal.objects.NativeDate.utc:(DLjava/util/TimeZone;)D
invokevirtual jdk.nashorn.internal.objects.NativeDate.setTime:(D)V
3: StackMap locals: jdk.nashorn.internal.objects.NativeDate
StackMap stack:
aload 1
invokestatic jdk.nashorn.internal.runtime.JSType.toNumber:(Ljava/lang/Object;)D
dstore 3
start local 3 4: dload 3
invokestatic java.lang.Double.isNaN:(D)Z
ifeq 7
5: aload 2
ldc NaN
invokevirtual jdk.nashorn.internal.objects.NativeDate.setTime:(D)V
6: aload 2
invokevirtual jdk.nashorn.internal.objects.NativeDate.getTime:()D
dreturn
7: StackMap locals: double
StackMap stack:
dload 3
d2i
istore 5
start local 5 8: iload 5
iflt 10
iload 5
bipush 99
if_icmpgt 10
9: iinc 5 1900
10: StackMap locals: int
StackMap stack:
aload 2
iconst_0
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
iconst_1
invokestatic jdk.nashorn.internal.objects.NativeDate.setFields:(Ljdk/nashorn/internal/objects/NativeDate;I[Ljava/lang/Object;Z)V
11: aload 2
invokevirtual jdk.nashorn.internal.objects.NativeDate.getTime:()D
dreturn
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 self Ljava/lang/Object;
0 12 1 year Ljava/lang/Object;
1 12 2 nd Ljdk/nashorn/internal/objects/NativeDate;
4 12 3 yearNum D
8 12 5 yearInt I
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
year final
public static java.lang.String toUTCString(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeDate.toGMTStringImpl:(Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
public static java.lang.String toGMTString(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeDate.toGMTStringImpl:(Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
public static java.lang.String toISOString(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeDate.toISOStringImpl:(Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
public static java.lang.Object toJSON(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokestatic jdk.nashorn.internal.objects.Global.toObject:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 1: aload 2
instanceof jdk.nashorn.internal.runtime.ScriptObject
ifne 3
2: aconst_null
areturn
3: StackMap locals: java.lang.Object
StackMap stack:
aload 2
checkcast jdk.nashorn.internal.runtime.ScriptObject
astore 3
start local 3 4: aload 3
ldc Ljava/lang/Number;
invokevirtual jdk.nashorn.internal.runtime.ScriptObject.getDefaultValue:(Ljava/lang/Class;)Ljava/lang/Object;
astore 4
start local 4 5: aload 4
instanceof java.lang.Number
ifeq 9
6: aload 4
checkcast java.lang.Number
invokevirtual java.lang.Number.doubleValue:()D
dstore 5
start local 5 7: dload 5
invokestatic java.lang.Double.isInfinite:(D)Z
ifne 8
dload 5
invokestatic java.lang.Double.isNaN:(D)Z
ifeq 9
8: StackMap locals: jdk.nashorn.internal.runtime.ScriptObject java.lang.Object double
StackMap stack:
aconst_null
areturn
end local 5 9: StackMap locals:
StackMap stack:
invokestatic jdk.nashorn.internal.objects.NativeDate.getTO_ISO_STRING:()Ljdk/nashorn/internal/runtime/linker/InvokeByName;
astore 5
start local 5 10: aload 5
invokevirtual jdk.nashorn.internal.runtime.linker.InvokeByName.getGetter:()Ljava/lang/invoke/MethodHandle;
aload 3
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljdk/nashorn/internal/runtime/ScriptObject;)Ljava/lang/Object;
astore 6
start local 6 11: aload 6
invokestatic jdk.nashorn.internal.runtime.linker.Bootstrap.isCallable:(Ljava/lang/Object;)Z
ifeq 14
12: aload 5
invokevirtual jdk.nashorn.internal.runtime.linker.InvokeByName.getInvoker:()Ljava/lang/invoke/MethodHandle;
aload 6
aload 3
aload 1
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljava/lang/Object;Ljdk/nashorn/internal/runtime/ScriptObject;Ljava/lang/Object;)Ljava/lang/Object;
13: areturn
14: StackMap locals: jdk.nashorn.internal.runtime.linker.InvokeByName java.lang.Object
StackMap stack:
ldc "not.a.function"
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 6
invokestatic jdk.nashorn.internal.runtime.ScriptRuntime.safeToString:(Ljava/lang/Object;)Ljava/lang/String;
aastore
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.typeError:(Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
athrow
end local 6 end local 5 15: StackMap locals: java.lang.Object java.lang.Object java.lang.Object jdk.nashorn.internal.runtime.ScriptObject java.lang.Object
StackMap stack: java.lang.Throwable
astore 5
start local 5 16: aload 5
athrow
end local 5 17: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
start local 5 18: new java.lang.RuntimeException
dup
aload 5
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 self Ljava/lang/Object;
0 19 1 key Ljava/lang/Object;
1 19 2 selfObj Ljava/lang/Object;
4 19 3 sobj Ljdk/nashorn/internal/runtime/ScriptObject;
5 19 4 value Ljava/lang/Object;
7 9 5 num D
10 15 5 toIsoString Ljdk/nashorn/internal/runtime/linker/InvokeByName;
11 15 6 func Ljava/lang/Object;
16 17 5 e Ljava/lang/Throwable;
18 19 5 t Ljava/lang/Throwable;
Exception table:
from to target type
9 13 15 Class java.lang.RuntimeException
14 15 15 Class java.lang.RuntimeException
9 13 15 Class java.lang.Error
14 15 15 Class java.lang.Error
9 13 17 Class java.lang.Throwable
14 15 17 Class java.lang.Throwable
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
key final
private static double parseDateString(java.lang.String);
descriptor: (Ljava/lang/String;)D
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: new jdk.nashorn.internal.parser.DateParser
dup
aload 0
invokespecial jdk.nashorn.internal.parser.DateParser.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: aload 1
invokevirtual jdk.nashorn.internal.parser.DateParser.parse:()Z
ifeq 10
2: aload 1
invokevirtual jdk.nashorn.internal.parser.DateParser.getDateFields:()[Ljava/lang/Integer;
astore 2
start local 2 3: aload 2
invokestatic jdk.nashorn.internal.objects.NativeDate.makeDate:([Ljava/lang/Integer;)D
dstore 3
start local 3 4: aload 2
bipush 7
aaload
ifnull 7
5: dload 3
aload 2
bipush 7
aaload
invokevirtual java.lang.Integer.intValue:()I
ldc 60000
imul
i2d
dsub
dstore 3
6: goto 8
7: StackMap locals: jdk.nashorn.internal.parser.DateParser java.lang.Integer[] double
StackMap stack:
dload 3
invokestatic jdk.nashorn.internal.objects.Global.getEnv:()Ljdk/nashorn/internal/runtime/ScriptEnvironment;
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._timezone:Ljava/util/TimeZone;
invokestatic jdk.nashorn.internal.objects.NativeDate.utc:(DLjava/util/TimeZone;)D
dstore 3
8: StackMap locals:
StackMap stack:
dload 3
invokestatic jdk.nashorn.internal.objects.NativeDate.timeClip:(D)D
dstore 3
9: dload 3
dreturn
end local 3 end local 2 10: StackMap locals:
StackMap stack:
ldc NaN
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 str Ljava/lang/String;
1 11 1 parser Ljdk/nashorn/internal/parser/DateParser;
3 10 2 fields [Ljava/lang/Integer;
4 10 3 d D
MethodParameters:
Name Flags
str final
private static void zeroPad(java.lang.StringBuilder, int, int);
descriptor: (Ljava/lang/StringBuilder;II)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iconst_1
istore 3
start local 3 1: bipush 10
istore 4
start local 4 2: goto 6
3: StackMap locals: int int
StackMap stack:
iload 1
iload 4
if_icmpge 5
4: aload 0
bipush 48
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
5: StackMap locals:
StackMap stack:
iinc 3 1
iload 4
bipush 10
imul
istore 4
StackMap locals:
StackMap stack:
6: iload 3
iload 2
if_icmplt 3
end local 4 end local 3 7: aload 0
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 sb Ljava/lang/StringBuilder;
0 9 1 n I
0 9 2 length I
1 7 3 l I
2 7 4 d I
MethodParameters:
Name Flags
sb final
n final
length final
private static java.lang.String toStringImpl(java.lang.Object, int);
descriptor: (Ljava/lang/Object;I)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=11, args_size=2
start local 0 start local 1 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeDate.getNativeDate:(Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeDate;
astore 2
start local 2 1: aload 2
ifnull 50
aload 2
invokevirtual jdk.nashorn.internal.objects.NativeDate.isValidDate:()Z
ifeq 50
2: new java.lang.StringBuilder
dup
bipush 40
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 3
start local 3 3: aload 2
invokevirtual jdk.nashorn.internal.objects.NativeDate.getLocalTime:()D
dstore 4
start local 4 4: iload 1
tableswitch { // 0 - 5
0: 5
1: 5
2: 15
3: 5
4: 36
5: 42
default: 48
}
5: StackMap locals: jdk.nashorn.internal.objects.NativeDate java.lang.StringBuilder double
StackMap stack:
aload 3
getstatic jdk.nashorn.internal.objects.NativeDate.weekDays:[Ljava/lang/String;
dload 4
invokestatic jdk.nashorn.internal.objects.NativeDate.weekDay:(D)I
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
7: getstatic jdk.nashorn.internal.objects.NativeDate.months:[Ljava/lang/String;
dload 4
invokestatic jdk.nashorn.internal.objects.NativeDate.monthFromTime:(D)I
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
9: aload 3
dload 4
invokestatic jdk.nashorn.internal.objects.NativeDate.dayFromTime:(D)I
iconst_2
invokestatic jdk.nashorn.internal.objects.NativeDate.zeroPad:(Ljava/lang/StringBuilder;II)V
10: aload 3
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
11: aload 3
dload 4
invokestatic jdk.nashorn.internal.objects.NativeDate.yearFromTime:(D)I
iconst_4
invokestatic jdk.nashorn.internal.objects.NativeDate.zeroPad:(Ljava/lang/StringBuilder;II)V
12: iload 1
iconst_1
if_icmpne 14
13: goto 49
14: StackMap locals:
StackMap stack:
aload 3
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
15: StackMap locals:
StackMap stack:
aload 2
invokevirtual jdk.nashorn.internal.objects.NativeDate.getTimeZone:()Ljava/util/TimeZone;
astore 6
start local 6 16: aload 2
invokevirtual jdk.nashorn.internal.objects.NativeDate.getTime:()D
dstore 7
start local 7 17: aload 6
dload 7
d2l
invokevirtual java.util.TimeZone.getOffset:(J)I
ldc 60000
idiv
istore 9
start local 9 18: iload 9
aload 6
invokevirtual java.util.TimeZone.getRawOffset:()I
ldc 60000
idiv
if_icmpeq 19
iconst_1
goto 20
StackMap locals: java.util.TimeZone double int
StackMap stack:
19: iconst_0
StackMap locals:
StackMap stack: int
20: istore 10
start local 10 21: iload 9
bipush 60
idiv
bipush 100
imul
iload 9
bipush 60
irem
iadd
istore 9
22: aload 3
dload 4
invokestatic jdk.nashorn.internal.objects.NativeDate.hourFromTime:(D)I
iconst_2
invokestatic jdk.nashorn.internal.objects.NativeDate.zeroPad:(Ljava/lang/StringBuilder;II)V
23: aload 3
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
24: aload 3
dload 4
invokestatic jdk.nashorn.internal.objects.NativeDate.minFromTime:(D)I
iconst_2
invokestatic jdk.nashorn.internal.objects.NativeDate.zeroPad:(Ljava/lang/StringBuilder;II)V
25: aload 3
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
26: aload 3
dload 4
invokestatic jdk.nashorn.internal.objects.NativeDate.secFromTime:(D)I
iconst_2
invokestatic jdk.nashorn.internal.objects.NativeDate.zeroPad:(Ljava/lang/StringBuilder;II)V
27: aload 3
ldc " GMT"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
28: iload 9
ifge 29
bipush 45
goto 30
StackMap locals: java.lang.Object int jdk.nashorn.internal.objects.NativeDate java.lang.StringBuilder double java.util.TimeZone double int int
StackMap stack: java.lang.StringBuilder
29: bipush 43
StackMap locals: java.lang.Object int jdk.nashorn.internal.objects.NativeDate java.lang.StringBuilder double java.util.TimeZone double int int
StackMap stack: java.lang.StringBuilder int
30: invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
31: aload 3
iload 9
invokestatic java.lang.Math.abs:(I)I
iconst_4
invokestatic jdk.nashorn.internal.objects.NativeDate.zeroPad:(Ljava/lang/StringBuilder;II)V
32: aload 3
ldc " ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
33: aload 6
iload 10
iconst_0
getstatic java.util.Locale.US:Ljava/util/Locale;
invokevirtual java.util.TimeZone.getDisplayName:(ZILjava/util/Locale;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
34: bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
35: goto 49
end local 10 end local 9 end local 7 end local 6 36: StackMap locals: java.lang.Object int jdk.nashorn.internal.objects.NativeDate java.lang.StringBuilder double
StackMap stack:
aload 3
dload 4
invokestatic jdk.nashorn.internal.objects.NativeDate.yearFromTime:(D)I
iconst_4
invokestatic jdk.nashorn.internal.objects.NativeDate.zeroPad:(Ljava/lang/StringBuilder;II)V
37: aload 3
bipush 45
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
38: aload 3
dload 4
invokestatic jdk.nashorn.internal.objects.NativeDate.monthFromTime:(D)I
iconst_1
iadd
iconst_2
invokestatic jdk.nashorn.internal.objects.NativeDate.zeroPad:(Ljava/lang/StringBuilder;II)V
39: aload 3
bipush 45
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
40: aload 3
dload 4
invokestatic jdk.nashorn.internal.objects.NativeDate.dayFromTime:(D)I
iconst_2
invokestatic jdk.nashorn.internal.objects.NativeDate.zeroPad:(Ljava/lang/StringBuilder;II)V
41: goto 49
42: StackMap locals:
StackMap stack:
aload 3
dload 4
invokestatic jdk.nashorn.internal.objects.NativeDate.hourFromTime:(D)I
iconst_2
invokestatic jdk.nashorn.internal.objects.NativeDate.zeroPad:(Ljava/lang/StringBuilder;II)V
43: aload 3
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
44: aload 3
dload 4
invokestatic jdk.nashorn.internal.objects.NativeDate.minFromTime:(D)I
iconst_2
invokestatic jdk.nashorn.internal.objects.NativeDate.zeroPad:(Ljava/lang/StringBuilder;II)V
45: aload 3
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
46: aload 3
dload 4
invokestatic jdk.nashorn.internal.objects.NativeDate.secFromTime:(D)I
iconst_2
invokestatic jdk.nashorn.internal.objects.NativeDate.zeroPad:(Ljava/lang/StringBuilder;II)V
47: goto 49
48: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "format: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
49: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 4 end local 3 50: StackMap locals:
StackMap stack:
ldc "Invalid Date"
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 51 0 self Ljava/lang/Object;
0 51 1 format I
1 51 2 nd Ljdk/nashorn/internal/objects/NativeDate;
3 50 3 sb Ljava/lang/StringBuilder;
4 50 4 t D
16 36 6 tz Ljava/util/TimeZone;
17 36 7 utcTime D
18 36 9 offset I
21 36 10 inDaylightTime Z
MethodParameters:
Name Flags
self final
format final
private static java.lang.String toGMTStringImpl(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeDate.getNativeDate:(Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeDate;
astore 1
start local 1 1: aload 1
ifnull 19
aload 1
invokevirtual jdk.nashorn.internal.objects.NativeDate.isValidDate:()Z
ifeq 19
2: new java.lang.StringBuilder
dup
bipush 29
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 2
start local 2 3: aload 1
invokevirtual jdk.nashorn.internal.objects.NativeDate.getTime:()D
dstore 3
start local 3 4: aload 2
getstatic jdk.nashorn.internal.objects.NativeDate.weekDays:[Ljava/lang/String;
dload 3
invokestatic jdk.nashorn.internal.objects.NativeDate.weekDay:(D)I
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 2
dload 3
invokestatic jdk.nashorn.internal.objects.NativeDate.dayFromTime:(D)I
iconst_2
invokestatic jdk.nashorn.internal.objects.NativeDate.zeroPad:(Ljava/lang/StringBuilder;II)V
7: aload 2
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
8: getstatic jdk.nashorn.internal.objects.NativeDate.months:[Ljava/lang/String;
dload 3
invokestatic jdk.nashorn.internal.objects.NativeDate.monthFromTime:(D)I
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
10: aload 2
dload 3
invokestatic jdk.nashorn.internal.objects.NativeDate.yearFromTime:(D)I
iconst_4
invokestatic jdk.nashorn.internal.objects.NativeDate.zeroPad:(Ljava/lang/StringBuilder;II)V
11: aload 2
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
12: aload 2
dload 3
invokestatic jdk.nashorn.internal.objects.NativeDate.hourFromTime:(D)I
iconst_2
invokestatic jdk.nashorn.internal.objects.NativeDate.zeroPad:(Ljava/lang/StringBuilder;II)V
13: aload 2
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
14: aload 2
dload 3
invokestatic jdk.nashorn.internal.objects.NativeDate.minFromTime:(D)I
iconst_2
invokestatic jdk.nashorn.internal.objects.NativeDate.zeroPad:(Ljava/lang/StringBuilder;II)V
15: aload 2
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
16: aload 2
dload 3
invokestatic jdk.nashorn.internal.objects.NativeDate.secFromTime:(D)I
iconst_2
invokestatic jdk.nashorn.internal.objects.NativeDate.zeroPad:(Ljava/lang/StringBuilder;II)V
17: aload 2
ldc " GMT"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
18: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 19: StackMap locals: jdk.nashorn.internal.objects.NativeDate
StackMap stack:
ldc "invalid.date"
iconst_0
anewarray java.lang.String
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.rangeError:(Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 self Ljava/lang/Object;
1 20 1 nd Ljdk/nashorn/internal/objects/NativeDate;
3 19 2 sb Ljava/lang/StringBuilder;
4 19 3 t D
MethodParameters:
Name Flags
self final
private static java.lang.String toISOStringImpl(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeDate.getNativeDate:(Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeDate;
astore 1
start local 1 1: aload 1
ifnull 19
aload 1
invokevirtual jdk.nashorn.internal.objects.NativeDate.isValidDate:()Z
ifeq 19
2: new java.lang.StringBuilder
dup
bipush 24
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 2
start local 2 3: aload 1
invokevirtual jdk.nashorn.internal.objects.NativeDate.getTime:()D
dstore 3
start local 3 4: aload 2
dload 3
invokestatic jdk.nashorn.internal.objects.NativeDate.yearFromTime:(D)I
iconst_4
invokestatic jdk.nashorn.internal.objects.NativeDate.zeroPad:(Ljava/lang/StringBuilder;II)V
5: aload 2
bipush 45
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
6: aload 2
dload 3
invokestatic jdk.nashorn.internal.objects.NativeDate.monthFromTime:(D)I
iconst_1
iadd
iconst_2
invokestatic jdk.nashorn.internal.objects.NativeDate.zeroPad:(Ljava/lang/StringBuilder;II)V
7: aload 2
bipush 45
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
8: aload 2
dload 3
invokestatic jdk.nashorn.internal.objects.NativeDate.dayFromTime:(D)I
iconst_2
invokestatic jdk.nashorn.internal.objects.NativeDate.zeroPad:(Ljava/lang/StringBuilder;II)V
9: aload 2
bipush 84
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
10: aload 2
dload 3
invokestatic jdk.nashorn.internal.objects.NativeDate.hourFromTime:(D)I
iconst_2
invokestatic jdk.nashorn.internal.objects.NativeDate.zeroPad:(Ljava/lang/StringBuilder;II)V
11: aload 2
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
12: aload 2
dload 3
invokestatic jdk.nashorn.internal.objects.NativeDate.minFromTime:(D)I
iconst_2
invokestatic jdk.nashorn.internal.objects.NativeDate.zeroPad:(Ljava/lang/StringBuilder;II)V
13: aload 2
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
14: aload 2
dload 3
invokestatic jdk.nashorn.internal.objects.NativeDate.secFromTime:(D)I
iconst_2
invokestatic jdk.nashorn.internal.objects.NativeDate.zeroPad:(Ljava/lang/StringBuilder;II)V
15: aload 2
bipush 46
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
16: aload 2
dload 3
invokestatic jdk.nashorn.internal.objects.NativeDate.msFromTime:(D)I
iconst_3
invokestatic jdk.nashorn.internal.objects.NativeDate.zeroPad:(Ljava/lang/StringBuilder;II)V
17: aload 2
ldc "Z"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
18: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 19: StackMap locals: jdk.nashorn.internal.objects.NativeDate
StackMap stack:
ldc "invalid.date"
iconst_0
anewarray java.lang.String
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.rangeError:(Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 self Ljava/lang/Object;
1 20 1 nd Ljdk/nashorn/internal/objects/NativeDate;
3 19 2 sb Ljava/lang/StringBuilder;
4 19 3 t D
MethodParameters:
Name Flags
self final
private static double day(double);
descriptor: (D)D
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: dload 0
ldc 8.64E7
ddiv
invokestatic java.lang.Math.floor:(D)D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 t D
MethodParameters:
Name Flags
t final
private static double timeWithinDay(double);
descriptor: (D)D
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: dload 0
ldc 8.64E7
drem
dstore 2
start local 2 1: dload 2
dconst_0
dcmpg
ifge 2
dload 2
ldc 8.64E7
dadd
goto 3
StackMap locals: double
StackMap stack:
2: dload 2
StackMap locals:
StackMap stack: double
3: dreturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 t D
1 4 2 val D
MethodParameters:
Name Flags
t final
private static boolean isLeapYear(int);
descriptor: (I)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
iconst_4
irem
ifne 2
iload 0
bipush 100
irem
ifne 1
iload 0
sipush 400
irem
ifne 2
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 y I
MethodParameters:
Name Flags
y final
private static int daysInYear(int);
descriptor: (I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
invokestatic jdk.nashorn.internal.objects.NativeDate.isLeapYear:(I)Z
ifeq 1
sipush 366
goto 2
StackMap locals:
StackMap stack:
1: sipush 365
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 y I
MethodParameters:
Name Flags
y final
private static double dayFromYear(double);
descriptor: (D)D
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: ldc 365.0
dload 0
ldc 1970.0
dsub
dmul
1: dload 0
ldc 1969.0
dsub
ldc 4.0
ddiv
invokestatic java.lang.Math.floor:(D)D
2: dadd
3: dload 0
ldc 1901.0
dsub
ldc 100.0
ddiv
invokestatic java.lang.Math.floor:(D)D
4: dsub
5: dload 0
ldc 1601.0
dsub
ldc 400.0
ddiv
invokestatic java.lang.Math.floor:(D)D
6: dadd
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 y D
MethodParameters:
Name Flags
y final
private static double timeFromYear(int);
descriptor: (I)D
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: iload 0
i2d
invokestatic jdk.nashorn.internal.objects.NativeDate.dayFromYear:(D)D
ldc 8.64E7
dmul
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 y I
MethodParameters:
Name Flags
y final
private static int yearFromTime(double);
descriptor: (D)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=5, args_size=1
start local 0 0: dload 0
ldc 3.1556952E10
ddiv
invokestatic java.lang.Math.floor:(D)D
d2i
sipush 1970
iadd
istore 2
start local 2 1: iload 2
invokestatic jdk.nashorn.internal.objects.NativeDate.timeFromYear:(I)D
dstore 3
start local 3 2: dload 3
dload 0
dcmpl
ifle 5
3: iinc 2 -1
4: goto 7
StackMap locals: int double
StackMap stack:
5: dload 3
ldc 8.64E7
iload 2
invokestatic jdk.nashorn.internal.objects.NativeDate.daysInYear:(I)I
i2d
dmul
dadd
dload 0
dcmpg
ifgt 7
6: iinc 2 1
7: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 t D
1 8 2 y I
2 8 3 t2 D
MethodParameters:
Name Flags
t final
private static int dayWithinYear(double, int);
descriptor: (DI)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 2 0: dload 0
invokestatic jdk.nashorn.internal.objects.NativeDate.day:(D)D
iload 2
i2d
invokestatic jdk.nashorn.internal.objects.NativeDate.dayFromYear:(D)D
dsub
d2i
ireturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 t D
0 1 2 year I
MethodParameters:
Name Flags
t final
year final
private static int monthFromTime(double);
descriptor: (D)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, args_size=1
start local 0 0: dload 0
invokestatic jdk.nashorn.internal.objects.NativeDate.yearFromTime:(D)I
istore 2
start local 2 1: dload 0
iload 2
invokestatic jdk.nashorn.internal.objects.NativeDate.dayWithinYear:(DI)I
istore 3
start local 3 2: getstatic jdk.nashorn.internal.objects.NativeDate.firstDayInMonth:[[I
iload 2
invokestatic jdk.nashorn.internal.objects.NativeDate.isLeapYear:(I)Z
ifeq 3
iconst_1
goto 4
StackMap locals: double int int
StackMap stack: int[][]
3: iconst_0
StackMap locals: double int int
StackMap stack: int[][] int
4: aaload
astore 4
start local 4 5: iconst_0
istore 5
start local 5 6: goto 8
7: StackMap locals: int[] int
StackMap stack:
iinc 5 1
8: StackMap locals:
StackMap stack:
iload 5
bipush 11
if_icmpge 9
aload 4
iload 5
iconst_1
iadd
iaload
iload 3
if_icmple 7
9: StackMap locals:
StackMap stack:
iload 5
ireturn
end local 5 end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 t D
1 10 2 year I
2 10 3 day I
5 10 4 firstDay [I
6 10 5 month I
MethodParameters:
Name Flags
t final
private static int dayFromTime(double);
descriptor: (D)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, args_size=1
start local 0 0: dload 0
invokestatic jdk.nashorn.internal.objects.NativeDate.yearFromTime:(D)I
istore 2
start local 2 1: dload 0
iload 2
invokestatic jdk.nashorn.internal.objects.NativeDate.dayWithinYear:(DI)I
istore 3
start local 3 2: getstatic jdk.nashorn.internal.objects.NativeDate.firstDayInMonth:[[I
iload 2
invokestatic jdk.nashorn.internal.objects.NativeDate.isLeapYear:(I)Z
ifeq 3
iconst_1
goto 4
StackMap locals: double int int
StackMap stack: int[][]
3: iconst_0
StackMap locals: double int int
StackMap stack: int[][] int
4: aaload
astore 4
start local 4 5: iconst_0
istore 5
start local 5 6: goto 8
7: StackMap locals: int[] int
StackMap stack:
iinc 5 1
8: StackMap locals:
StackMap stack:
iload 5
bipush 11
if_icmpge 9
aload 4
iload 5
iconst_1
iadd
iaload
iload 3
if_icmple 7
9: StackMap locals:
StackMap stack:
iconst_1
iload 3
iadd
aload 4
iload 5
iaload
isub
ireturn
end local 5 end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 t D
1 10 2 year I
2 10 3 day I
5 10 4 firstDay [I
6 10 5 month I
MethodParameters:
Name Flags
t final
private static int dayFromMonth(int, int);
descriptor: (II)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: getstatic jdk.nashorn.internal.objects.NativeDate.$assertionsDisabled:Z
ifne 2
iload 0
iflt 1
iload 0
bipush 11
if_icmple 2
StackMap locals:
StackMap stack:
1: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
getstatic jdk.nashorn.internal.objects.NativeDate.firstDayInMonth:[[I
iload 1
invokestatic jdk.nashorn.internal.objects.NativeDate.isLeapYear:(I)Z
ifeq 3
iconst_1
goto 4
StackMap locals:
StackMap stack: int[][]
3: iconst_0
StackMap locals: int int
StackMap stack: int[][] int
4: aaload
astore 2
start local 2 5: aload 2
iload 0
iaload
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 month I
0 6 1 year I
5 6 2 firstDay [I
MethodParameters:
Name Flags
month final
year final
private static int weekDay(double);
descriptor: (D)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: dload 0
invokestatic jdk.nashorn.internal.objects.NativeDate.day:(D)D
ldc 4.0
dadd
d2i
bipush 7
irem
istore 2
start local 2 1: iload 2
ifge 2
iload 2
bipush 7
iadd
goto 3
StackMap locals: int
StackMap stack:
2: iload 2
StackMap locals:
StackMap stack: int
3: ireturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 time D
1 4 2 day I
MethodParameters:
Name Flags
time final
private static double localTime(double, java.util.TimeZone);
descriptor: (DLjava/util/TimeZone;)D
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 2 0: dload 0
aload 2
dload 0
d2l
invokevirtual java.util.TimeZone.getOffset:(J)I
i2d
dadd
dreturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 time D
0 1 2 tz Ljava/util/TimeZone;
MethodParameters:
Name Flags
time final
tz final
private static double utc(double, java.util.TimeZone);
descriptor: (DLjava/util/TimeZone;)D
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 2 0: dload 0
aload 2
dload 0
aload 2
invokevirtual java.util.TimeZone.getRawOffset:()I
i2d
dsub
d2l
invokevirtual java.util.TimeZone.getOffset:(J)I
i2d
dsub
dreturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 time D
0 1 2 tz Ljava/util/TimeZone;
MethodParameters:
Name Flags
time final
tz final
private static int hourFromTime(double);
descriptor: (D)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: dload 0
ldc 3600000.0
ddiv
invokestatic java.lang.Math.floor:(D)D
ldc 24.0
drem
d2i
istore 2
start local 2 1: iload 2
ifge 2
iload 2
bipush 24
iadd
goto 3
StackMap locals: int
StackMap stack:
2: iload 2
StackMap locals:
StackMap stack: int
3: ireturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 t D
1 4 2 h I
MethodParameters:
Name Flags
t final
private static int minFromTime(double);
descriptor: (D)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: dload 0
ldc 60000.0
ddiv
invokestatic java.lang.Math.floor:(D)D
ldc 60.0
drem
d2i
istore 2
start local 2 1: iload 2
ifge 2
iload 2
bipush 60
iadd
goto 3
StackMap locals: int
StackMap stack:
2: iload 2
StackMap locals:
StackMap stack: int
3: ireturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 t D
1 4 2 m I
MethodParameters:
Name Flags
t final
private static int secFromTime(double);
descriptor: (D)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: dload 0
ldc 1000.0
ddiv
invokestatic java.lang.Math.floor:(D)D
ldc 60.0
drem
d2i
istore 2
start local 2 1: iload 2
ifge 2
iload 2
bipush 60
iadd
goto 3
StackMap locals: int
StackMap stack:
2: iload 2
StackMap locals:
StackMap stack: int
3: ireturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 t D
1 4 2 s I
MethodParameters:
Name Flags
t final
private static int msFromTime(double);
descriptor: (D)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: dload 0
ldc 1000.0
drem
d2i
istore 2
start local 2 1: iload 2
ifge 2
iload 2
sipush 1000
iadd
goto 3
StackMap locals: int
StackMap stack:
2: iload 2
StackMap locals:
StackMap stack: int
3: ireturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 t D
1 4 2 m I
MethodParameters:
Name Flags
t final
private static int valueFromTime(int, double);
descriptor: (ID)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: iload 0
tableswitch { // 0 - 6
0: 1
1: 2
2: 3
3: 4
4: 5
5: 6
6: 7
default: 8
}
1: StackMap locals:
StackMap stack:
dload 1
invokestatic jdk.nashorn.internal.objects.NativeDate.yearFromTime:(D)I
ireturn
2: StackMap locals:
StackMap stack:
dload 1
invokestatic jdk.nashorn.internal.objects.NativeDate.monthFromTime:(D)I
ireturn
3: StackMap locals:
StackMap stack:
dload 1
invokestatic jdk.nashorn.internal.objects.NativeDate.dayFromTime:(D)I
ireturn
4: StackMap locals:
StackMap stack:
dload 1
invokestatic jdk.nashorn.internal.objects.NativeDate.hourFromTime:(D)I
ireturn
5: StackMap locals:
StackMap stack:
dload 1
invokestatic jdk.nashorn.internal.objects.NativeDate.minFromTime:(D)I
ireturn
6: StackMap locals:
StackMap stack:
dload 1
invokestatic jdk.nashorn.internal.objects.NativeDate.secFromTime:(D)I
ireturn
7: StackMap locals:
StackMap stack:
dload 1
invokestatic jdk.nashorn.internal.objects.NativeDate.msFromTime:(D)I
ireturn
8: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
iload 0
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 unit I
0 9 1 t D
MethodParameters:
Name Flags
unit final
t final
private static double makeTime(double, double, double, double);
descriptor: (DDDD)D
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=8, args_size=4
start local 0 start local 2 start local 4 start local 6 0: dload 0
ldc 3600000.0
dmul
dload 2
ldc 60000.0
dmul
dadd
dload 4
ldc 1000.0
dmul
dadd
dload 6
dadd
dreturn
end local 6 end local 4 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 hour D
0 1 2 min D
0 1 4 sec D
0 1 6 ms D
MethodParameters:
Name Flags
hour final
min final
sec final
ms final
private static double makeDay(double, double, double);
descriptor: (DDD)D
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=11, args_size=3
start local 0 start local 2 start local 4 0: dload 0
dload 2
ldc 12.0
ddiv
invokestatic java.lang.Math.floor:(D)D
dadd
dstore 6
start local 6 1: dload 2
ldc 12.0
drem
d2i
istore 8
start local 8 2: iload 8
ifge 4
3: iinc 8 12
4: StackMap locals: double int
StackMap stack:
dload 6
invokestatic jdk.nashorn.internal.objects.NativeDate.dayFromYear:(D)D
dstore 9
start local 9 5: dload 9
iload 8
dload 6
d2i
invokestatic jdk.nashorn.internal.objects.NativeDate.dayFromMonth:(II)I
i2d
dadd
dstore 9
6: dload 9
dload 4
dadd
dconst_1
dsub
dreturn
end local 9 end local 8 end local 6 end local 4 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 year D
0 7 2 month D
0 7 4 date D
1 7 6 y D
2 7 8 m I
5 7 9 d D
MethodParameters:
Name Flags
year final
month final
date final
private static double makeDate(double, double);
descriptor: (DD)D
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 2 0: dload 0
ldc 8.64E7
dmul
dload 2
dadd
dreturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 day D
0 1 2 time D
MethodParameters:
Name Flags
day final
time final
private static double makeDate(java.lang.Integer[]);
descriptor: ([Ljava/lang/Integer;)D
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=10, locals=3, args_size=1
start local 0 0: aload 0
iconst_0
aaload
invokevirtual java.lang.Integer.intValue:()I
i2d
aload 0
iconst_1
aaload
invokevirtual java.lang.Integer.intValue:()I
i2d
aload 0
iconst_2
aaload
invokevirtual java.lang.Integer.intValue:()I
i2d
invokestatic jdk.nashorn.internal.objects.NativeDate.makeDay:(DDD)D
ldc 8.64E7
dmul
dstore 1
start local 1 1: dload 1
aload 0
iconst_3
aaload
invokevirtual java.lang.Integer.intValue:()I
i2d
aload 0
iconst_4
aaload
invokevirtual java.lang.Integer.intValue:()I
i2d
aload 0
iconst_5
aaload
invokevirtual java.lang.Integer.intValue:()I
i2d
aload 0
bipush 6
aaload
invokevirtual java.lang.Integer.intValue:()I
i2d
invokestatic jdk.nashorn.internal.objects.NativeDate.makeTime:(DDDD)D
dadd
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 d [Ljava/lang/Integer;
1 2 1 time D
MethodParameters:
Name Flags
d final
private static double makeDate(double[]);
descriptor: ([D)D
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=10, locals=3, args_size=1
start local 0 0: aload 0
iconst_0
daload
aload 0
iconst_1
daload
aload 0
iconst_2
daload
invokestatic jdk.nashorn.internal.objects.NativeDate.makeDay:(DDD)D
ldc 8.64E7
dmul
dstore 1
start local 1 1: dload 1
aload 0
iconst_3
daload
aload 0
iconst_4
daload
aload 0
iconst_5
daload
aload 0
bipush 6
daload
invokestatic jdk.nashorn.internal.objects.NativeDate.makeTime:(DDDD)D
dadd
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 d [D
1 2 1 time D
MethodParameters:
Name Flags
d final
private static double[] convertCtorArgs(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)[D
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=6, args_size=1
start local 0 0: bipush 7
newarray 7
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 14
4: StackMap locals: double[] int int
StackMap stack:
iload 3
aload 0
arraylength
if_icmpge 10
5: aload 0
iload 3
aaload
invokestatic jdk.nashorn.internal.runtime.JSType.toNumber:(Ljava/lang/Object;)D
dstore 4
start local 4 6: dload 4
invokestatic java.lang.Double.isNaN:(D)Z
ifne 7
dload 4
invokestatic java.lang.Double.isInfinite:(D)Z
ifeq 8
7: StackMap locals: double
StackMap stack:
iconst_1
istore 2
8: StackMap locals:
StackMap stack:
aload 1
iload 3
dload 4
d2l
l2d
dastore
end local 4 9: goto 13
10: StackMap locals:
StackMap stack:
aload 1
iload 3
iload 3
iconst_2
if_icmpne 11
iconst_1
goto 12
StackMap locals: java.lang.Object[] double[] int int
StackMap stack: double[] int
11: iconst_0
StackMap locals: java.lang.Object[] double[] int int
StackMap stack: double[] int int
12: i2d
dastore
13: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
14: iload 3
aload 1
arraylength
if_icmplt 4
end local 3 15: dconst_0
aload 1
iconst_0
daload
dcmpg
ifgt 17
aload 1
iconst_0
daload
ldc 99.0
dcmpg
ifgt 17
16: aload 1
iconst_0
dup2
daload
ldc 1900.0
dadd
dastore
17: StackMap locals:
StackMap stack:
iload 2
ifeq 18
aconst_null
goto 19
StackMap locals:
StackMap stack:
18: aload 1
StackMap locals:
StackMap stack: double[]
19: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 args [Ljava/lang/Object;
1 20 1 d [D
2 20 2 nullReturn Z
3 15 3 i I
6 9 4 darg D
MethodParameters:
Name Flags
args final
private static double[] convertArgs(java.lang.Object[], double, int, int, int);
descriptor: ([Ljava/lang/Object;DIII)[D
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=11, args_size=5
start local 0 start local 1 start local 3 start local 4 start local 5 0: iload 5
newarray 7
astore 6
start local 6 1: iconst_0
istore 7
start local 7 2: iload 4
istore 8
start local 8 3: goto 15
4: StackMap locals: double[] int int
StackMap stack:
iload 3
iload 8
if_icmpgt 10
iload 8
iload 3
aload 0
arraylength
iadd
if_icmpge 10
5: aload 0
iload 8
iload 3
isub
aaload
invokestatic jdk.nashorn.internal.runtime.JSType.toNumber:(Ljava/lang/Object;)D
dstore 9
start local 9 6: dload 9
invokestatic java.lang.Double.isNaN:(D)Z
ifne 7
dload 9
invokestatic java.lang.Double.isInfinite:(D)Z
ifeq 8
7: StackMap locals: double
StackMap stack:
iconst_1
istore 7
8: StackMap locals:
StackMap stack:
aload 6
iload 8
iload 4
isub
dload 9
d2l
l2d
dastore
end local 9 9: goto 14
10: StackMap locals:
StackMap stack:
iload 8
iload 3
if_icmpne 12
11: iconst_1
istore 7
12: StackMap locals:
StackMap stack:
iload 7
ifne 14
dload 1
invokestatic java.lang.Double.isNaN:(D)Z
ifne 14
13: aload 6
iload 8
iload 4
isub
iload 8
dload 1
invokestatic jdk.nashorn.internal.objects.NativeDate.valueFromTime:(ID)I
i2d
dastore
14: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
15: iload 8
iload 4
iload 5
iadd
if_icmplt 4
end local 8 16: iload 7
ifeq 17
aconst_null
goto 18
StackMap locals:
StackMap stack:
17: aload 6
StackMap locals:
StackMap stack: double[]
18: areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 args [Ljava/lang/Object;
0 19 1 time D
0 19 3 fieldId I
0 19 4 start I
0 19 5 length I
1 19 6 d [D
2 19 7 nullReturn Z
3 16 8 i I
6 9 9 darg D
MethodParameters:
Name Flags
args final
time final
fieldId final
start final
length final
private static double timeClip(double);
descriptor: (D)D
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: dload 0
invokestatic java.lang.Double.isInfinite:(D)Z
ifne 1
dload 0
invokestatic java.lang.Double.isNaN:(D)Z
ifne 1
dload 0
invokestatic java.lang.Math.abs:(D)D
ldc 8.64E15
dcmpl
ifle 2
1: StackMap locals:
StackMap stack:
ldc NaN
dreturn
2: StackMap locals:
StackMap stack:
dload 0
d2l
l2d
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 time D
MethodParameters:
Name Flags
time final
private static jdk.nashorn.internal.objects.NativeDate ensureNativeDate(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeDate;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeDate.getNativeDate:(Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeDate;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
MethodParameters:
Name Flags
self final
private static jdk.nashorn.internal.objects.NativeDate getNativeDate(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeDate;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
instanceof jdk.nashorn.internal.objects.NativeDate
ifeq 2
1: aload 0
checkcast jdk.nashorn.internal.objects.NativeDate
areturn
2: StackMap locals:
StackMap stack:
aload 0
ifnull 4
aload 0
invokestatic jdk.nashorn.internal.objects.Global.instance:()Ljdk/nashorn/internal/objects/Global;
invokevirtual jdk.nashorn.internal.objects.Global.getDatePrototype:()Ljdk/nashorn/internal/runtime/ScriptObject;
if_acmpne 4
3: invokestatic jdk.nashorn.internal.objects.Global.instance:()Ljdk/nashorn/internal/objects/Global;
invokevirtual jdk.nashorn.internal.objects.Global.getDefaultDate:()Ljdk/nashorn/internal/objects/NativeDate;
areturn
4: StackMap locals:
StackMap stack:
ldc "not.a.date"
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0
invokestatic jdk.nashorn.internal.runtime.ScriptRuntime.safeToString:(Ljava/lang/Object;)Ljava/lang/String;
aastore
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.typeError:(Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 self Ljava/lang/Object;
MethodParameters:
Name Flags
self final
private static double getField(java.lang.Object, int);
descriptor: (Ljava/lang/Object;I)D
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeDate.getNativeDate:(Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeDate;
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
invokevirtual jdk.nashorn.internal.objects.NativeDate.isValidDate:()Z
ifeq 2
iload 1
aload 2
invokevirtual jdk.nashorn.internal.objects.NativeDate.getLocalTime:()D
invokestatic jdk.nashorn.internal.objects.NativeDate.valueFromTime:(ID)I
i2d
goto 3
StackMap locals: jdk.nashorn.internal.objects.NativeDate
StackMap stack:
2: ldc NaN
StackMap locals:
StackMap stack: double
3: dreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 self Ljava/lang/Object;
0 4 1 field I
1 4 2 nd Ljdk/nashorn/internal/objects/NativeDate;
MethodParameters:
Name Flags
self final
field final
private static double getUTCField(java.lang.Object, int);
descriptor: (Ljava/lang/Object;I)D
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeDate.getNativeDate:(Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeDate;
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
invokevirtual jdk.nashorn.internal.objects.NativeDate.isValidDate:()Z
ifeq 2
iload 1
aload 2
invokevirtual jdk.nashorn.internal.objects.NativeDate.getTime:()D
invokestatic jdk.nashorn.internal.objects.NativeDate.valueFromTime:(ID)I
i2d
goto 3
StackMap locals: jdk.nashorn.internal.objects.NativeDate
StackMap stack:
2: ldc NaN
StackMap locals:
StackMap stack: double
3: dreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 self Ljava/lang/Object;
0 4 1 field I
1 4 2 nd Ljdk/nashorn/internal/objects/NativeDate;
MethodParameters:
Name Flags
self final
field final
private static void setFields(jdk.nashorn.internal.objects.NativeDate, int, java.lang.Object[], boolean);
descriptor: (Ljdk/nashorn/internal/objects/NativeDate;I[Ljava/lang/Object;Z)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=10, locals=11, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 1
iconst_3
if_icmpge 4
1: iconst_0
istore 4
start local 4 2: iconst_3
istore 5
start local 5 3: goto 6
end local 5 end local 4 4: StackMap locals:
StackMap stack:
iconst_3
istore 4
start local 4 5: iconst_4
istore 5
start local 5 6: StackMap locals: int int
StackMap stack:
iload 3
ifeq 7
aload 0
invokevirtual jdk.nashorn.internal.objects.NativeDate.getLocalTime:()D
goto 8
StackMap locals:
StackMap stack:
7: aload 0
invokevirtual jdk.nashorn.internal.objects.NativeDate.getTime:()D
StackMap locals:
StackMap stack: double
8: dstore 6
start local 6 9: aload 2
dload 6
iload 1
iload 4
iload 5
invokestatic jdk.nashorn.internal.objects.NativeDate.convertArgs:([Ljava/lang/Object;DIII)[D
astore 8
start local 8 10: aload 0
invokevirtual jdk.nashorn.internal.objects.NativeDate.isValidDate:()Z
ifne 12
11: return
12: StackMap locals: double double[]
StackMap stack:
aload 8
ifnonnull 15
13: ldc NaN
dstore 9
start local 9 14: goto 22
end local 9 15: StackMap locals:
StackMap stack:
iload 4
ifne 18
16: aload 8
iconst_0
daload
aload 8
iconst_1
daload
aload 8
iconst_2
daload
invokestatic jdk.nashorn.internal.objects.NativeDate.makeDay:(DDD)D
dload 6
invokestatic jdk.nashorn.internal.objects.NativeDate.timeWithinDay:(D)D
invokestatic jdk.nashorn.internal.objects.NativeDate.makeDate:(DD)D
dstore 9
start local 9 17: goto 19
end local 9 18: StackMap locals:
StackMap stack:
dload 6
invokestatic jdk.nashorn.internal.objects.NativeDate.day:(D)D
aload 8
iconst_0
daload
aload 8
iconst_1
daload
aload 8
iconst_2
daload
aload 8
iconst_3
daload
invokestatic jdk.nashorn.internal.objects.NativeDate.makeTime:(DDDD)D
invokestatic jdk.nashorn.internal.objects.NativeDate.makeDate:(DD)D
dstore 9
start local 9 19: StackMap locals: double
StackMap stack:
iload 3
ifeq 21
20: dload 9
aload 0
invokevirtual jdk.nashorn.internal.objects.NativeDate.getTimeZone:()Ljava/util/TimeZone;
invokestatic jdk.nashorn.internal.objects.NativeDate.utc:(DLjava/util/TimeZone;)D
dstore 9
21: StackMap locals:
StackMap stack:
dload 9
invokestatic jdk.nashorn.internal.objects.NativeDate.timeClip:(D)D
dstore 9
22: StackMap locals:
StackMap stack:
aload 0
dload 9
invokevirtual jdk.nashorn.internal.objects.NativeDate.setTime:(D)V
23: return
end local 9 end local 8 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 nd Ljdk/nashorn/internal/objects/NativeDate;
0 24 1 fieldId I
0 24 2 args [Ljava/lang/Object;
0 24 3 local Z
2 4 4 start I
5 24 4 start I
3 4 5 length I
6 24 5 length I
9 24 6 time D
10 24 8 d [D
14 15 9 newTime D
17 18 9 newTime D
19 24 9 newTime D
MethodParameters:
Name Flags
nd final
fieldId final
args final
local final
private boolean isValidDate();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.objects.NativeDate.time:D
invokestatic java.lang.Double.isNaN:(D)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/objects/NativeDate;
private double getLocalTime();
descriptor: ()D
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.objects.NativeDate.time:D
aload 0
getfield jdk.nashorn.internal.objects.NativeDate.timezone:Ljava/util/TimeZone;
invokestatic jdk.nashorn.internal.objects.NativeDate.localTime:(DLjava/util/TimeZone;)D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/objects/NativeDate;
private double getTime();
descriptor: ()D
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.objects.NativeDate.time:D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/objects/NativeDate;
private void setTime(double);
descriptor: (D)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dload 1
putfield jdk.nashorn.internal.objects.NativeDate.time:D
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/objects/NativeDate;
0 2 1 time D
MethodParameters:
Name Flags
time final
private java.util.TimeZone getTimeZone();
descriptor: ()Ljava/util/TimeZone;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.objects.NativeDate.timezone:Ljava/util/TimeZone;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/objects/NativeDate;
}
SourceFile: "NativeDate.java"
NestMembers:
jdk.nashorn.internal.objects.NativeDate$1
InnerClasses:
jdk.nashorn.internal.objects.NativeDate$1
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.ScriptClass(value = "Date")