public class org.glassfish.grizzly.http.util.FastDateFormat extends java.text.DateFormat
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.http.util.FastDateFormat
super_class: java.text.DateFormat
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -1
final java.text.DateFormat df;
descriptor: Ljava/text/DateFormat;
flags: (0x0010) ACC_FINAL
long lastSec;
descriptor: J
flags: (0x0000)
final java.lang.StringBuffer sb;
descriptor: Ljava/lang/StringBuffer;
flags: (0x0010) ACC_FINAL
final transient java.text.FieldPosition fp;
descriptor: Ljava/text/FieldPosition;
flags: (0x0090) ACC_FINAL, ACC_TRANSIENT
public void <init>(java.text.DateFormat);
descriptor: (Ljava/text/DateFormat;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.text.DateFormat.<init>:()V
1: aload 0
ldc -1
putfield org.glassfish.grizzly.http.util.FastDateFormat.lastSec:J
2: aload 0
new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
putfield org.glassfish.grizzly.http.util.FastDateFormat.sb:Ljava/lang/StringBuffer;
3: aload 0
new java.text.FieldPosition
dup
bipush 8
invokespecial java.text.FieldPosition.<init>:(I)V
putfield org.glassfish.grizzly.http.util.FastDateFormat.fp:Ljava/text/FieldPosition;
4: aload 0
aload 1
putfield org.glassfish.grizzly.http.util.FastDateFormat.df:Ljava/text/DateFormat;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/http/util/FastDateFormat;
0 6 1 df Ljava/text/DateFormat;
MethodParameters:
Name Flags
df
public java.util.Date parse(java.lang.String, java.text.ParsePosition);
descriptor: (Ljava/lang/String;Ljava/text/ParsePosition;)Ljava/util/Date;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.glassfish.grizzly.http.util.FastDateFormat.df:Ljava/text/DateFormat;
aload 1
aload 2
invokevirtual java.text.DateFormat.parse:(Ljava/lang/String;Ljava/text/ParsePosition;)Ljava/util/Date;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/util/FastDateFormat;
0 1 1 text Ljava/lang/String;
0 1 2 pos Ljava/text/ParsePosition;
MethodParameters:
Name Flags
text
pos
public java.lang.StringBuffer format(java.util.Date, java.lang.StringBuffer, java.text.FieldPosition);
descriptor: (Ljava/util/Date;Ljava/lang/StringBuffer;Ljava/text/FieldPosition;)Ljava/lang/StringBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=11, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual java.util.Date.getTime:()J
lstore 4
start local 4 1: lload 4
ldc 1000
ldiv
lstore 6
start local 6 2: lload 6
aload 0
getfield org.glassfish.grizzly.http.util.FastDateFormat.lastSec:J
lcmp
ifeq 7
3: aload 0
getfield org.glassfish.grizzly.http.util.FastDateFormat.sb:Ljava/lang/StringBuffer;
iconst_0
invokevirtual java.lang.StringBuffer.setLength:(I)V
4: aload 0
getfield org.glassfish.grizzly.http.util.FastDateFormat.df:Ljava/text/DateFormat;
aload 1
aload 0
getfield org.glassfish.grizzly.http.util.FastDateFormat.sb:Ljava/lang/StringBuffer;
aload 0
getfield org.glassfish.grizzly.http.util.FastDateFormat.fp:Ljava/text/FieldPosition;
invokevirtual java.text.DateFormat.format:(Ljava/util/Date;Ljava/lang/StringBuffer;Ljava/text/FieldPosition;)Ljava/lang/StringBuffer;
pop
5: aload 0
lload 6
putfield org.glassfish.grizzly.http.util.FastDateFormat.lastSec:J
6: goto 19
7: StackMap locals: long long
StackMap stack:
lload 4
ldc 1000
lrem
l2i
istore 8
start local 8 8: aload 0
getfield org.glassfish.grizzly.http.util.FastDateFormat.fp:Ljava/text/FieldPosition;
invokevirtual java.text.FieldPosition.getEndIndex:()I
istore 9
start local 9 9: aload 0
getfield org.glassfish.grizzly.http.util.FastDateFormat.fp:Ljava/text/FieldPosition;
invokevirtual java.text.FieldPosition.getBeginIndex:()I
istore 10
start local 10 10: iload 9
ifle 19
11: iload 9
iload 10
if_icmple 13
12: aload 0
getfield org.glassfish.grizzly.http.util.FastDateFormat.sb:Ljava/lang/StringBuffer;
iinc 9 -1
iload 9
iload 8
bipush 10
irem
bipush 10
invokestatic java.lang.Character.forDigit:(II)C
invokevirtual java.lang.StringBuffer.setCharAt:(IC)V
13: StackMap locals: int int int
StackMap stack:
iload 8
bipush 10
idiv
istore 8
14: iload 9
iload 10
if_icmple 16
15: aload 0
getfield org.glassfish.grizzly.http.util.FastDateFormat.sb:Ljava/lang/StringBuffer;
iinc 9 -1
iload 9
iload 8
bipush 10
irem
bipush 10
invokestatic java.lang.Character.forDigit:(II)C
invokevirtual java.lang.StringBuffer.setCharAt:(IC)V
16: StackMap locals:
StackMap stack:
iload 8
bipush 10
idiv
istore 8
17: iload 9
iload 10
if_icmple 19
18: aload 0
getfield org.glassfish.grizzly.http.util.FastDateFormat.sb:Ljava/lang/StringBuffer;
iinc 9 -1
iload 9
iload 8
bipush 10
irem
bipush 10
invokestatic java.lang.Character.forDigit:(II)C
invokevirtual java.lang.StringBuffer.setCharAt:(IC)V
end local 10 end local 9 end local 8 19: StackMap locals:
StackMap stack:
aload 2
aload 0
getfield org.glassfish.grizzly.http.util.FastDateFormat.sb:Ljava/lang/StringBuffer;
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
20: aload 2
areturn
end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/glassfish/grizzly/http/util/FastDateFormat;
0 21 1 date Ljava/util/Date;
0 21 2 toAppendTo Ljava/lang/StringBuffer;
0 21 3 fieldPosition Ljava/text/FieldPosition;
1 21 4 dt J
2 21 6 ds J
8 19 8 ms I
9 19 9 pos I
10 19 10 begin I
MethodParameters:
Name Flags
date
toAppendTo
fieldPosition
public java.lang.StringBuilder format(java.util.Date, java.lang.StringBuilder, java.text.FieldPosition);
descriptor: (Ljava/util/Date;Ljava/lang/StringBuilder;Ljava/text/FieldPosition;)Ljava/lang/StringBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=11, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual java.util.Date.getTime:()J
lstore 4
start local 4 1: lload 4
ldc 1000
ldiv
lstore 6
start local 6 2: lload 6
aload 0
getfield org.glassfish.grizzly.http.util.FastDateFormat.lastSec:J
lcmp
ifeq 7
3: aload 0
getfield org.glassfish.grizzly.http.util.FastDateFormat.sb:Ljava/lang/StringBuffer;
iconst_0
invokevirtual java.lang.StringBuffer.setLength:(I)V
4: aload 0
getfield org.glassfish.grizzly.http.util.FastDateFormat.df:Ljava/text/DateFormat;
aload 1
aload 0
getfield org.glassfish.grizzly.http.util.FastDateFormat.sb:Ljava/lang/StringBuffer;
aload 0
getfield org.glassfish.grizzly.http.util.FastDateFormat.fp:Ljava/text/FieldPosition;
invokevirtual java.text.DateFormat.format:(Ljava/util/Date;Ljava/lang/StringBuffer;Ljava/text/FieldPosition;)Ljava/lang/StringBuffer;
pop
5: aload 0
lload 6
putfield org.glassfish.grizzly.http.util.FastDateFormat.lastSec:J
6: goto 19
7: StackMap locals: long long
StackMap stack:
lload 4
ldc 1000
lrem
l2i
istore 8
start local 8 8: aload 0
getfield org.glassfish.grizzly.http.util.FastDateFormat.fp:Ljava/text/FieldPosition;
invokevirtual java.text.FieldPosition.getEndIndex:()I
istore 9
start local 9 9: aload 0
getfield org.glassfish.grizzly.http.util.FastDateFormat.fp:Ljava/text/FieldPosition;
invokevirtual java.text.FieldPosition.getBeginIndex:()I
istore 10
start local 10 10: iload 9
ifle 19
11: iload 9
iload 10
if_icmple 13
12: aload 0
getfield org.glassfish.grizzly.http.util.FastDateFormat.sb:Ljava/lang/StringBuffer;
iinc 9 -1
iload 9
iload 8
bipush 10
irem
bipush 10
invokestatic java.lang.Character.forDigit:(II)C
invokevirtual java.lang.StringBuffer.setCharAt:(IC)V
13: StackMap locals: int int int
StackMap stack:
iload 8
bipush 10
idiv
istore 8
14: iload 9
iload 10
if_icmple 16
15: aload 0
getfield org.glassfish.grizzly.http.util.FastDateFormat.sb:Ljava/lang/StringBuffer;
iinc 9 -1
iload 9
iload 8
bipush 10
irem
bipush 10
invokestatic java.lang.Character.forDigit:(II)C
invokevirtual java.lang.StringBuffer.setCharAt:(IC)V
16: StackMap locals:
StackMap stack:
iload 8
bipush 10
idiv
istore 8
17: iload 9
iload 10
if_icmple 19
18: aload 0
getfield org.glassfish.grizzly.http.util.FastDateFormat.sb:Ljava/lang/StringBuffer;
iinc 9 -1
iload 9
iload 8
bipush 10
irem
bipush 10
invokestatic java.lang.Character.forDigit:(II)C
invokevirtual java.lang.StringBuffer.setCharAt:(IC)V
end local 10 end local 9 end local 8 19: StackMap locals:
StackMap stack:
aload 2
aload 0
getfield org.glassfish.grizzly.http.util.FastDateFormat.sb:Ljava/lang/StringBuffer;
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
20: aload 2
areturn
end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/glassfish/grizzly/http/util/FastDateFormat;
0 21 1 date Ljava/util/Date;
0 21 2 toAppendTo Ljava/lang/StringBuilder;
0 21 3 fieldPosition Ljava/text/FieldPosition;
1 21 4 dt J
2 21 6 ds J
8 19 8 ms I
9 19 9 pos I
10 19 10 begin I
MethodParameters:
Name Flags
date
toAppendTo
fieldPosition
}
SourceFile: "FastDateFormat.java"