class java.util.zip.ZipUtils
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: java.util.zip.ZipUtils
super_class: java.lang.Object
{
private static final long WINDOWS_EPOCH_IN_MICROSECONDS;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -11644473600000000
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/zip/ZipUtils;
public static final java.nio.file.attribute.FileTime winTimeToFileTime(long);
descriptor: (J)Ljava/nio/file/attribute/FileTime;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=2, args_size=1
start local 0 0: lload 0
ldc 10
ldiv
ldc -11644473600000000
ladd
1: getstatic java.util.concurrent.TimeUnit.MICROSECONDS:Ljava/util/concurrent/TimeUnit;
2: invokestatic java.nio.file.attribute.FileTime.from:(JLjava/util/concurrent/TimeUnit;)Ljava/nio/file/attribute/FileTime;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 wtime J
MethodParameters:
Name Flags
wtime
public static final long fileTimeToWinTime(java.nio.file.attribute.FileTime);
descriptor: (Ljava/nio/file/attribute/FileTime;)J
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getstatic java.util.concurrent.TimeUnit.MICROSECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual java.nio.file.attribute.FileTime.to:(Ljava/util/concurrent/TimeUnit;)J
ldc -11644473600000000
lsub
ldc 10
lmul
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 ftime Ljava/nio/file/attribute/FileTime;
MethodParameters:
Name Flags
ftime
public static final java.nio.file.attribute.FileTime unixTimeToFileTime(long);
descriptor: (J)Ljava/nio/file/attribute/FileTime;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=1
start local 0 0: lload 0
getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
invokestatic java.nio.file.attribute.FileTime.from:(JLjava/util/concurrent/TimeUnit;)Ljava/nio/file/attribute/FileTime;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 utime J
MethodParameters:
Name Flags
utime
public static final long fileTimeToUnixTime(java.nio.file.attribute.FileTime);
descriptor: (Ljava/nio/file/attribute/FileTime;)J
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual java.nio.file.attribute.FileTime.to:(Ljava/util/concurrent/TimeUnit;)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 ftime Ljava/nio/file/attribute/FileTime;
MethodParameters:
Name Flags
ftime
private static long dosToJavaTime(long);
descriptor: (J)J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=11, locals=3, args_size=1
start local 0 0: new java.util.Date
dup
lload 0
bipush 25
lshr
ldc 127
land
ldc 80
ladd
l2i
1: lload 0
bipush 21
lshr
ldc 15
land
lconst_1
lsub
l2i
2: lload 0
bipush 16
lshr
ldc 31
land
l2i
3: lload 0
bipush 11
lshr
ldc 31
land
l2i
4: lload 0
iconst_5
lshr
ldc 63
land
l2i
5: lload 0
iconst_1
lshl
ldc 62
land
l2i
6: invokespecial java.util.Date.<init>:(IIIIII)V
astore 2
start local 2 7: aload 2
invokevirtual java.util.Date.getTime:()J
lreturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 dtime J
7 8 2 d Ljava/util/Date;
MethodParameters:
Name Flags
dtime
public static long extendedDosToJavaTime(long);
descriptor: (J)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: lload 0
invokestatic java.util.zip.ZipUtils.dosToJavaTime:(J)J
lstore 2
start local 2 1: lload 2
lload 0
bipush 32
lshr
ladd
lreturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 xdostime J
1 2 2 time J
MethodParameters:
Name Flags
xdostime
private static long javaToDosTime(long);
descriptor: (J)J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: new java.util.Date
dup
lload 0
invokespecial java.util.Date.<init>:(J)V
astore 2
start local 2 1: aload 2
invokevirtual java.util.Date.getYear:()I
sipush 1900
iadd
istore 3
start local 3 2: iload 3
sipush 1980
if_icmpge 4
3: ldc 2162688
lreturn
4: StackMap locals: java.util.Date int
StackMap stack:
iload 3
sipush 1980
isub
bipush 25
ishl
aload 2
invokevirtual java.util.Date.getMonth:()I
iconst_1
iadd
bipush 21
ishl
ior
5: aload 2
invokevirtual java.util.Date.getDate:()I
bipush 16
ishl
6: ior
7: aload 2
invokevirtual java.util.Date.getHours:()I
bipush 11
ishl
8: ior
9: aload 2
invokevirtual java.util.Date.getMinutes:()I
iconst_5
ishl
10: ior
11: aload 2
invokevirtual java.util.Date.getSeconds:()I
iconst_1
ishr
12: ior
i2l
lreturn
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 time J
1 13 2 d Ljava/util/Date;
2 13 3 year I
MethodParameters:
Name Flags
time
public static long javaToExtendedDosTime(long);
descriptor: (J)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=1
start local 0 0: lload 0
lconst_0
lcmp
ifge 2
1: ldc 2162688
lreturn
2: StackMap locals:
StackMap stack:
lload 0
invokestatic java.util.zip.ZipUtils.javaToDosTime:(J)J
lstore 2
start local 2 3: lload 2
ldc 2162688
lcmp
ifeq 5
4: lload 2
lload 0
ldc 2000
lrem
bipush 32
lshl
ladd
goto 6
5: StackMap locals: long
StackMap stack:
ldc 2162688
6: StackMap locals:
StackMap stack: long
lreturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 time J
3 7 2 dostime J
MethodParameters:
Name Flags
time
public static final int get16(byte[], int);
descriptor: ([BI)I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
baload
invokestatic java.lang.Byte.toUnsignedInt:(B)I
aload 0
iload 1
iconst_1
iadd
baload
invokestatic java.lang.Byte.toUnsignedInt:(B)I
bipush 8
ishl
ior
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 b [B
0 1 1 off I
MethodParameters:
Name Flags
b
off
public static final long get32(byte[], int);
descriptor: ([BI)J
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokestatic java.util.zip.ZipUtils.get16:([BI)I
i2l
aload 0
iload 1
iconst_2
iadd
invokestatic java.util.zip.ZipUtils.get16:([BI)I
i2l
bipush 16
lshl
lor
ldc 4294967295
land
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 b [B
0 1 1 off I
MethodParameters:
Name Flags
b
off
public static final long get64(byte[], int);
descriptor: ([BI)J
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokestatic java.util.zip.ZipUtils.get32:([BI)J
aload 0
iload 1
iconst_4
iadd
invokestatic java.util.zip.ZipUtils.get32:([BI)J
bipush 32
lshl
lor
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 b [B
0 1 1 off I
MethodParameters:
Name Flags
b
off
}
SourceFile: "ZipUtils.java"