public class org.eclipse.jetty.util.DateCache
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.util.DateCache
super_class: java.lang.Object
{
public static final java.lang.String DEFAULT_FORMAT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "EEE MMM dd HH:mm:ss zzz yyyy"
private final java.lang.String _formatString;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String _tzFormatString;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.time.format.DateTimeFormatter _tzFormat;
descriptor: Ljava/time/format/DateTimeFormatter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Locale _locale;
descriptor: Ljava/util/Locale;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.time.ZoneId _zoneId;
descriptor: Ljava/time/ZoneId;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile org.eclipse.jetty.util.DateCache$Tick _tick;
descriptor: Lorg/eclipse/jetty/util/DateCache$Tick;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "EEE MMM dd HH:mm:ss zzz yyyy"
invokespecial org.eclipse.jetty.util.DateCache.<init>:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/util/DateCache;
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokestatic java.util.TimeZone.getDefault:()Ljava/util/TimeZone;
invokespecial org.eclipse.jetty.util.DateCache.<init>:(Ljava/lang/String;Ljava/util/Locale;Ljava/util/TimeZone;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/util/DateCache;
0 2 1 format Ljava/lang/String;
MethodParameters:
Name Flags
format
public void <init>(java.lang.String, java.util.Locale);
descriptor: (Ljava/lang/String;Ljava/util/Locale;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic java.util.TimeZone.getDefault:()Ljava/util/TimeZone;
invokespecial org.eclipse.jetty.util.DateCache.<init>:(Ljava/lang/String;Ljava/util/Locale;Ljava/util/TimeZone;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/util/DateCache;
0 2 1 format Ljava/lang/String;
0 2 2 l Ljava/util/Locale;
MethodParameters:
Name Flags
format
l
public void <init>(java.lang.String, java.util.Locale, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/util/Locale;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokestatic java.util.TimeZone.getTimeZone:(Ljava/lang/String;)Ljava/util/TimeZone;
invokespecial org.eclipse.jetty.util.DateCache.<init>:(Ljava/lang/String;Ljava/util/Locale;Ljava/util/TimeZone;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/util/DateCache;
0 2 1 format Ljava/lang/String;
0 2 2 l Ljava/util/Locale;
0 2 3 tz Ljava/lang/String;
MethodParameters:
Name Flags
format
l
tz
public void <init>(java.lang.String, java.util.Locale, java.util.TimeZone);
descriptor: (Ljava/lang/String;Ljava/util/Locale;Ljava/util/TimeZone;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.eclipse.jetty.util.DateCache._formatString:Ljava/lang/String;
2: aload 0
aload 2
putfield org.eclipse.jetty.util.DateCache._locale:Ljava/util/Locale;
3: aload 0
getfield org.eclipse.jetty.util.DateCache._formatString:Ljava/lang/String;
ldc "ZZZ"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 4
start local 4 4: iload 4
iflt 28
5: aload 0
getfield org.eclipse.jetty.util.DateCache._formatString:Ljava/lang/String;
iconst_0
iload 4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 5
start local 5 6: aload 0
getfield org.eclipse.jetty.util.DateCache._formatString:Ljava/lang/String;
iload 4
iconst_3
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 6
start local 6 7: aload 3
invokevirtual java.util.TimeZone.getRawOffset:()I
istore 7
start local 7 8: new java.lang.StringBuilder
dup
aload 0
getfield org.eclipse.jetty.util.DateCache._formatString:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
bipush 10
iadd
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 8
start local 8 9: aload 8
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: aload 8
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: iload 7
iflt 13
12: aload 8
bipush 43
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
goto 15
13: StackMap locals: org.eclipse.jetty.util.DateCache java.lang.String java.util.Locale java.util.TimeZone int java.lang.String java.lang.String int java.lang.StringBuilder
StackMap stack:
iload 7
ineg
istore 7
14: aload 8
bipush 45
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
15: StackMap locals:
StackMap stack:
iload 7
ldc 60000
idiv
istore 9
start local 9 16: iload 9
bipush 60
idiv
istore 10
start local 10 17: iload 9
bipush 60
irem
istore 11
start local 11 18: iload 10
bipush 10
if_icmpge 20
19: aload 8
bipush 48
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
20: StackMap locals: int int int
StackMap stack:
aload 8
iload 10
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
21: iload 11
bipush 10
if_icmpge 23
22: aload 8
bipush 48
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
23: StackMap locals:
StackMap stack:
aload 8
iload 11
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
24: aload 8
bipush 39
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
25: aload 8
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
26: aload 0
aload 8
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield org.eclipse.jetty.util.DateCache._tzFormatString:Ljava/lang/String;
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 27: goto 29
28: StackMap locals: org.eclipse.jetty.util.DateCache java.lang.String java.util.Locale java.util.TimeZone int
StackMap stack:
aload 0
aload 0
getfield org.eclipse.jetty.util.DateCache._formatString:Ljava/lang/String;
putfield org.eclipse.jetty.util.DateCache._tzFormatString:Ljava/lang/String;
29: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.DateCache._locale:Ljava/util/Locale;
ifnull 32
30: aload 0
aload 0
getfield org.eclipse.jetty.util.DateCache._tzFormatString:Ljava/lang/String;
aload 0
getfield org.eclipse.jetty.util.DateCache._locale:Ljava/util/Locale;
invokestatic java.time.format.DateTimeFormatter.ofPattern:(Ljava/lang/String;Ljava/util/Locale;)Ljava/time/format/DateTimeFormatter;
putfield org.eclipse.jetty.util.DateCache._tzFormat:Ljava/time/format/DateTimeFormatter;
31: goto 33
32: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.eclipse.jetty.util.DateCache._tzFormatString:Ljava/lang/String;
invokestatic java.time.format.DateTimeFormatter.ofPattern:(Ljava/lang/String;)Ljava/time/format/DateTimeFormatter;
putfield org.eclipse.jetty.util.DateCache._tzFormat:Ljava/time/format/DateTimeFormatter;
33: StackMap locals:
StackMap stack:
aload 0
aload 3
invokevirtual java.util.TimeZone.toZoneId:()Ljava/time/ZoneId;
putfield org.eclipse.jetty.util.DateCache._zoneId:Ljava/time/ZoneId;
34: aload 0
getfield org.eclipse.jetty.util.DateCache._tzFormat:Ljava/time/format/DateTimeFormatter;
aload 0
getfield org.eclipse.jetty.util.DateCache._zoneId:Ljava/time/ZoneId;
invokevirtual java.time.format.DateTimeFormatter.withZone:(Ljava/time/ZoneId;)Ljava/time/format/DateTimeFormatter;
pop
35: aload 0
aconst_null
putfield org.eclipse.jetty.util.DateCache._tick:Lorg/eclipse/jetty/util/DateCache$Tick;
36: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 37 0 this Lorg/eclipse/jetty/util/DateCache;
0 37 1 format Ljava/lang/String;
0 37 2 l Ljava/util/Locale;
0 37 3 tz Ljava/util/TimeZone;
4 37 4 zIndex I
6 27 5 ss1 Ljava/lang/String;
7 27 6 ss2 Ljava/lang/String;
8 27 7 tzOffset I
9 27 8 sb Ljava/lang/StringBuilder;
16 27 9 raw I
17 27 10 hr I
18 27 11 min I
MethodParameters:
Name Flags
format
l
tz
public java.util.TimeZone getTimeZone();
descriptor: ()Ljava/util/TimeZone;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.DateCache._zoneId:Ljava/time/ZoneId;
invokestatic java.util.TimeZone.getTimeZone:(Ljava/time/ZoneId;)Ljava/util/TimeZone;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/DateCache;
public java.lang.String format(java.util.Date);
descriptor: (Ljava/util/Date;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.Date.getTime:()J
ldc 1000
ldiv
lstore 2
start local 2 1: aload 0
getfield org.eclipse.jetty.util.DateCache._tick:Lorg/eclipse/jetty/util/DateCache$Tick;
astore 4
start local 4 2: aload 4
ifnull 3
lload 2
aload 4
getfield org.eclipse.jetty.util.DateCache$Tick._seconds:J
lcmp
ifeq 4
3: StackMap locals: long org.eclipse.jetty.util.DateCache$Tick
StackMap stack:
aload 1
invokevirtual java.util.Date.toInstant:()Ljava/time/Instant;
aload 0
getfield org.eclipse.jetty.util.DateCache._zoneId:Ljava/time/ZoneId;
invokestatic java.time.ZonedDateTime.ofInstant:(Ljava/time/Instant;Ljava/time/ZoneId;)Ljava/time/ZonedDateTime;
aload 0
getfield org.eclipse.jetty.util.DateCache._tzFormat:Ljava/time/format/DateTimeFormatter;
invokevirtual java.time.ZonedDateTime.format:(Ljava/time/format/DateTimeFormatter;)Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
aload 4
getfield org.eclipse.jetty.util.DateCache$Tick._string:Ljava/lang/String;
areturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/util/DateCache;
0 5 1 inDate Ljava/util/Date;
1 5 2 seconds J
2 5 4 tick Lorg/eclipse/jetty/util/DateCache$Tick;
MethodParameters:
Name Flags
inDate
public java.lang.String format(long);
descriptor: (J)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: lload 1
ldc 1000
ldiv
lstore 3
start local 3 1: aload 0
getfield org.eclipse.jetty.util.DateCache._tick:Lorg/eclipse/jetty/util/DateCache$Tick;
astore 5
start local 5 2: aload 5
ifnull 3
lload 3
aload 5
getfield org.eclipse.jetty.util.DateCache$Tick._seconds:J
lcmp
ifeq 4
3: StackMap locals: long org.eclipse.jetty.util.DateCache$Tick
StackMap stack:
lload 1
invokestatic java.time.Instant.ofEpochMilli:(J)Ljava/time/Instant;
aload 0
getfield org.eclipse.jetty.util.DateCache._zoneId:Ljava/time/ZoneId;
invokestatic java.time.ZonedDateTime.ofInstant:(Ljava/time/Instant;Ljava/time/ZoneId;)Ljava/time/ZonedDateTime;
aload 0
getfield org.eclipse.jetty.util.DateCache._tzFormat:Ljava/time/format/DateTimeFormatter;
invokevirtual java.time.ZonedDateTime.format:(Ljava/time/format/DateTimeFormatter;)Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
aload 5
getfield org.eclipse.jetty.util.DateCache$Tick._string:Ljava/lang/String;
areturn
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/util/DateCache;
0 5 1 inDate J
1 5 3 seconds J
2 5 5 tick Lorg/eclipse/jetty/util/DateCache$Tick;
MethodParameters:
Name Flags
inDate
public java.lang.String formatNow(long);
descriptor: (J)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: lload 1
ldc 1000
ldiv
lstore 3
start local 3 1: aload 0
getfield org.eclipse.jetty.util.DateCache._tick:Lorg/eclipse/jetty/util/DateCache$Tick;
astore 5
start local 5 2: aload 5
ifnull 4
aload 5
getfield org.eclipse.jetty.util.DateCache$Tick._seconds:J
lload 3
lcmp
ifne 4
3: aload 5
getfield org.eclipse.jetty.util.DateCache$Tick._string:Ljava/lang/String;
areturn
4: StackMap locals: long org.eclipse.jetty.util.DateCache$Tick
StackMap stack:
aload 0
lload 1
invokevirtual org.eclipse.jetty.util.DateCache.formatTick:(J)Lorg/eclipse/jetty/util/DateCache$Tick;
getfield org.eclipse.jetty.util.DateCache$Tick._string:Ljava/lang/String;
areturn
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/util/DateCache;
0 5 1 now J
1 5 3 seconds J
2 5 5 tick Lorg/eclipse/jetty/util/DateCache$Tick;
MethodParameters:
Name Flags
now
public java.lang.String now();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.lang.System.currentTimeMillis:()J
invokevirtual org.eclipse.jetty.util.DateCache.formatNow:(J)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/DateCache;
public org.eclipse.jetty.util.DateCache$Tick tick();
descriptor: ()Lorg/eclipse/jetty/util/DateCache$Tick;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.lang.System.currentTimeMillis:()J
invokevirtual org.eclipse.jetty.util.DateCache.formatTick:(J)Lorg/eclipse/jetty/util/DateCache$Tick;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/DateCache;
protected org.eclipse.jetty.util.DateCache$Tick formatTick(long);
descriptor: (J)Lorg/eclipse/jetty/util/DateCache$Tick;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=7, args_size=2
start local 0 start local 1 0: lload 1
ldc 1000
ldiv
lstore 3
start local 3 1: aload 0
getfield org.eclipse.jetty.util.DateCache._tick:Lorg/eclipse/jetty/util/DateCache$Tick;
astore 5
start local 5 2: aload 5
ifnull 3
aload 5
getfield org.eclipse.jetty.util.DateCache$Tick._seconds:J
lload 3
lcmp
ifeq 6
3: StackMap locals: long org.eclipse.jetty.util.DateCache$Tick
StackMap stack:
invokestatic java.time.Instant.now:()Ljava/time/Instant;
aload 0
getfield org.eclipse.jetty.util.DateCache._zoneId:Ljava/time/ZoneId;
invokestatic java.time.ZonedDateTime.ofInstant:(Ljava/time/Instant;Ljava/time/ZoneId;)Ljava/time/ZonedDateTime;
aload 0
getfield org.eclipse.jetty.util.DateCache._tzFormat:Ljava/time/format/DateTimeFormatter;
invokevirtual java.time.ZonedDateTime.format:(Ljava/time/format/DateTimeFormatter;)Ljava/lang/String;
astore 6
start local 6 4: aload 0
new org.eclipse.jetty.util.DateCache$Tick
dup
lload 3
aload 6
invokespecial org.eclipse.jetty.util.DateCache$Tick.<init>:(JLjava/lang/String;)V
putfield org.eclipse.jetty.util.DateCache._tick:Lorg/eclipse/jetty/util/DateCache$Tick;
5: aload 0
getfield org.eclipse.jetty.util.DateCache._tick:Lorg/eclipse/jetty/util/DateCache$Tick;
astore 5
end local 6 6: StackMap locals:
StackMap stack:
aload 5
areturn
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/jetty/util/DateCache;
0 7 1 now J
1 7 3 seconds J
2 7 5 tick Lorg/eclipse/jetty/util/DateCache$Tick;
4 6 6 s Ljava/lang/String;
MethodParameters:
Name Flags
now
public java.lang.String getFormatString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.DateCache._formatString:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/DateCache;
}
SourceFile: "DateCache.java"
NestMembers:
org.eclipse.jetty.util.DateCache$Tick
InnerClasses:
public Tick = org.eclipse.jetty.util.DateCache$Tick of org.eclipse.jetty.util.DateCache