public class sun.util.calendar.CalendarUtils
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.util.calendar.CalendarUtils
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // sun.util.calendar.CalendarUtils this
0: .line 31
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // sun.util.calendar.CalendarUtils this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/calendar/CalendarUtils;
public static final boolean isGregorianLeapYear(int);
descriptor: (I)Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 // int gregorianYear
0: .line 43
iload 0 /* gregorianYear */
iconst_4
irem
ifne 3
1: .line 44
iload 0 /* gregorianYear */
bipush 100
irem
ifne 2
iload 0 /* gregorianYear */
sipush 400
irem
ifne 3
2: .line 43
StackMap locals:
StackMap stack:
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 0 // int gregorianYear
LocalVariableTable:
Start End Slot Name Signature
0 4 0 gregorianYear I
MethodParameters:
Name Flags
gregorianYear
public static final boolean isJulianLeapYear(int);
descriptor: (I)Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 // int normalizedJulianYear
0: .line 58
iload 0 /* normalizedJulianYear */
iconst_4
irem
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 // int normalizedJulianYear
LocalVariableTable:
Start End Slot Name Signature
0 2 0 normalizedJulianYear I
MethodParameters:
Name Flags
normalizedJulianYear
public static final long floorDivide(long, long);
descriptor: (JJ)J
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=4, args_size=2
start local 0 // long n
start local 2 // long d
0: .line 71
lload 0 /* n */
lconst_0
lcmp
iflt 2
1: .line 72
lload 0 /* n */
lload 2 /* d */
ldiv
goto 3
StackMap locals:
StackMap stack:
2: lload 0 /* n */
lconst_1
ladd
lload 2 /* d */
ldiv
lconst_1
lsub
3: .line 71
StackMap locals:
StackMap stack: long
lreturn
end local 2 // long d
end local 0 // long n
LocalVariableTable:
Start End Slot Name Signature
0 4 0 n J
0 4 2 d J
MethodParameters:
Name Flags
n
d
public static final int floorDivide(int, int);
descriptor: (II)I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 // int n
start local 1 // int d
0: .line 85
iload 0 /* n */
iflt 2
1: .line 86
iload 0 /* n */
iload 1 /* d */
idiv
goto 3
StackMap locals:
StackMap stack:
2: iload 0 /* n */
iconst_1
iadd
iload 1 /* d */
idiv
iconst_1
isub
3: .line 85
StackMap locals:
StackMap stack: int
ireturn
end local 1 // int d
end local 0 // int n
LocalVariableTable:
Start End Slot Name Signature
0 4 0 n I
0 4 1 d I
MethodParameters:
Name Flags
n
d
public static final int floorDivide(int, int, int[]);
descriptor: (II[I)I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=5, locals=4, args_size=3
start local 0 // int n
start local 1 // int d
start local 2 // int[] r
0: .line 103
iload 0 /* n */
iflt 3
1: .line 104
aload 2 /* r */
iconst_0
iload 0 /* n */
iload 1 /* d */
irem
iastore
2: .line 105
iload 0 /* n */
iload 1 /* d */
idiv
ireturn
3: .line 107
StackMap locals:
StackMap stack:
iload 0 /* n */
iconst_1
iadd
iload 1 /* d */
idiv
iconst_1
isub
istore 3 /* q */
start local 3 // int q
4: .line 108
aload 2 /* r */
iconst_0
iload 0 /* n */
iload 3 /* q */
iload 1 /* d */
imul
isub
iastore
5: .line 109
iload 3 /* q */
ireturn
end local 3 // int q
end local 2 // int[] r
end local 1 // int d
end local 0 // int n
LocalVariableTable:
Start End Slot Name Signature
0 6 0 n I
0 6 1 d I
0 6 2 r [I
4 6 3 q I
MethodParameters:
Name Flags
n
d
r
public static final int floorDivide(long, int, int[]);
descriptor: (JI[I)I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=6, locals=5, args_size=3
start local 0 // long n
start local 2 // int d
start local 3 // int[] r
0: .line 126
lload 0 /* n */
lconst_0
lcmp
iflt 3
1: .line 127
aload 3 /* r */
iconst_0
lload 0 /* n */
iload 2 /* d */
i2l
lrem
l2i
iastore
2: .line 128
lload 0 /* n */
iload 2 /* d */
i2l
ldiv
l2i
ireturn
3: .line 130
StackMap locals:
StackMap stack:
lload 0 /* n */
lconst_1
ladd
iload 2 /* d */
i2l
ldiv
lconst_1
lsub
l2i
istore 4 /* q */
start local 4 // int q
4: .line 131
aload 3 /* r */
iconst_0
lload 0 /* n */
iload 4 /* q */
iload 2 /* d */
imul
i2l
lsub
l2i
iastore
5: .line 132
iload 4 /* q */
ireturn
end local 4 // int q
end local 3 // int[] r
end local 2 // int d
end local 0 // long n
LocalVariableTable:
Start End Slot Name Signature
0 6 0 n J
0 6 2 d I
0 6 3 r [I
4 6 4 q I
MethodParameters:
Name Flags
n
d
r
public static final long mod(long, long);
descriptor: (JJ)J
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=8, locals=4, args_size=2
start local 0 // long x
start local 2 // long y
0: .line 136
lload 0 /* x */
lload 2 /* y */
lload 0 /* x */
lload 2 /* y */
invokestatic sun.util.calendar.CalendarUtils.floorDivide:(JJ)J
lmul
lsub
lreturn
end local 2 // long y
end local 0 // long x
LocalVariableTable:
Start End Slot Name Signature
0 1 0 x J
0 1 2 y J
MethodParameters:
Name Flags
x
y
public static final int mod(int, int);
descriptor: (II)I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=2, args_size=2
start local 0 // int x
start local 1 // int y
0: .line 140
iload 0 /* x */
iload 1 /* y */
iload 0 /* x */
iload 1 /* y */
invokestatic sun.util.calendar.CalendarUtils.floorDivide:(II)I
imul
isub
ireturn
end local 1 // int y
end local 0 // int x
LocalVariableTable:
Start End Slot Name Signature
0 1 0 x I
0 1 1 y I
MethodParameters:
Name Flags
x
y
public static final int amod(int, int);
descriptor: (II)I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=2, locals=3, args_size=2
start local 0 // int x
start local 1 // int y
0: .line 144
iload 0 /* x */
iload 1 /* y */
invokestatic sun.util.calendar.CalendarUtils.mod:(II)I
istore 2 /* z */
start local 2 // int z
1: .line 145
iload 2 /* z */
ifne 2
iload 1 /* y */
goto 3
StackMap locals: int
StackMap stack:
2: iload 2 /* z */
StackMap locals:
StackMap stack: int
3: ireturn
end local 2 // int z
end local 1 // int y
end local 0 // int x
LocalVariableTable:
Start End Slot Name Signature
0 4 0 x I
0 4 1 y I
1 4 2 z I
MethodParameters:
Name Flags
x
y
public static final long amod(long, long);
descriptor: (JJ)J
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=6, args_size=2
start local 0 // long x
start local 2 // long y
0: .line 149
lload 0 /* x */
lload 2 /* y */
invokestatic sun.util.calendar.CalendarUtils.mod:(JJ)J
lstore 4 /* z */
start local 4 // long z
1: .line 150
lload 4 /* z */
lconst_0
lcmp
ifne 2
lload 2 /* y */
goto 3
StackMap locals: long
StackMap stack:
2: lload 4 /* z */
StackMap locals:
StackMap stack: long
3: lreturn
end local 4 // long z
end local 2 // long y
end local 0 // long x
LocalVariableTable:
Start End Slot Name Signature
0 4 0 x J
0 4 2 y J
1 4 4 z J
MethodParameters:
Name Flags
x
y
public static final java.lang.StringBuilder sprintf0d(java.lang.StringBuilder, int, int);
descriptor: (Ljava/lang/StringBuilder;II)Ljava/lang/StringBuilder;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=7, args_size=3
start local 0 // java.lang.StringBuilder sb
start local 1 // int value
start local 2 // int width
0: .line 157
iload 1 /* value */
i2l
lstore 3 /* d */
start local 3 // long d
1: .line 158
lload 3 /* d */
lconst_0
lcmp
ifge 5
2: .line 159
aload 0 /* sb */
bipush 45
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
3: .line 160
lload 3 /* d */
lneg
lstore 3 /* d */
4: .line 161
iinc 2 /* width */ -1
5: .line 163
StackMap locals: long
StackMap stack:
bipush 10
istore 5 /* n */
start local 5 // int n
6: .line 164
iconst_2
istore 6 /* i */
start local 6 // int i
7: goto 10
8: .line 165
StackMap locals: int int
StackMap stack:
iload 5 /* n */
bipush 10
imul
istore 5 /* n */
9: .line 164
iinc 6 /* i */ 1
StackMap locals:
StackMap stack:
10: iload 6 /* i */
iload 2 /* width */
if_icmplt 8
end local 6 // int i
11: .line 167
iconst_1
istore 6 /* i */
start local 6 // int i
12: goto 16
13: .line 168
StackMap locals:
StackMap stack:
aload 0 /* sb */
bipush 48
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
14: .line 169
iload 5 /* n */
bipush 10
idiv
istore 5 /* n */
15: .line 167
iinc 6 /* i */ 1
StackMap locals:
StackMap stack:
16: iload 6 /* i */
iload 2 /* width */
if_icmpge 17
lload 3 /* d */
iload 5 /* n */
i2l
lcmp
iflt 13
end local 6 // int i
17: .line 171
StackMap locals:
StackMap stack:
aload 0 /* sb */
lload 3 /* d */
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
pop
18: .line 172
aload 0 /* sb */
areturn
end local 5 // int n
end local 3 // long d
end local 2 // int width
end local 1 // int value
end local 0 // java.lang.StringBuilder sb
LocalVariableTable:
Start End Slot Name Signature
0 19 0 sb Ljava/lang/StringBuilder;
0 19 1 value I
0 19 2 width I
1 19 3 d J
6 19 5 n I
7 11 6 i I
12 17 6 i I
MethodParameters:
Name Flags
sb
value
width
public static final java.lang.StringBuffer sprintf0d(java.lang.StringBuffer, int, int);
descriptor: (Ljava/lang/StringBuffer;II)Ljava/lang/StringBuffer;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=7, args_size=3
start local 0 // java.lang.StringBuffer sb
start local 1 // int value
start local 2 // int width
0: .line 176
iload 1 /* value */
i2l
lstore 3 /* d */
start local 3 // long d
1: .line 177
lload 3 /* d */
lconst_0
lcmp
ifge 5
2: .line 178
aload 0 /* sb */
bipush 45
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
3: .line 179
lload 3 /* d */
lneg
lstore 3 /* d */
4: .line 180
iinc 2 /* width */ -1
5: .line 182
StackMap locals: long
StackMap stack:
bipush 10
istore 5 /* n */
start local 5 // int n
6: .line 183
iconst_2
istore 6 /* i */
start local 6 // int i
7: goto 10
8: .line 184
StackMap locals: int int
StackMap stack:
iload 5 /* n */
bipush 10
imul
istore 5 /* n */
9: .line 183
iinc 6 /* i */ 1
StackMap locals:
StackMap stack:
10: iload 6 /* i */
iload 2 /* width */
if_icmplt 8
end local 6 // int i
11: .line 186
iconst_1
istore 6 /* i */
start local 6 // int i
12: goto 16
13: .line 187
StackMap locals:
StackMap stack:
aload 0 /* sb */
bipush 48
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
14: .line 188
iload 5 /* n */
bipush 10
idiv
istore 5 /* n */
15: .line 186
iinc 6 /* i */ 1
StackMap locals:
StackMap stack:
16: iload 6 /* i */
iload 2 /* width */
if_icmpge 17
lload 3 /* d */
iload 5 /* n */
i2l
lcmp
iflt 13
end local 6 // int i
17: .line 190
StackMap locals:
StackMap stack:
aload 0 /* sb */
lload 3 /* d */
invokevirtual java.lang.StringBuffer.append:(J)Ljava/lang/StringBuffer;
pop
18: .line 191
aload 0 /* sb */
areturn
end local 5 // int n
end local 3 // long d
end local 2 // int width
end local 1 // int value
end local 0 // java.lang.StringBuffer sb
LocalVariableTable:
Start End Slot Name Signature
0 19 0 sb Ljava/lang/StringBuffer;
0 19 1 value I
0 19 2 width I
1 19 3 d J
6 19 5 n I
7 11 6 i I
12 17 6 i I
MethodParameters:
Name Flags
sb
value
width
}
SourceFile: "CalendarUtils.java"