public class sun.util.calendar.LocalGregorianCalendar extends sun.util.calendar.BaseCalendar
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.util.calendar.LocalGregorianCalendar
super_class: sun.util.calendar.BaseCalendar
{
private java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private sun.util.calendar.Era[] eras;
descriptor: [Lsun/util/calendar/Era;
flags: (0x0002) ACC_PRIVATE
static sun.util.calendar.LocalGregorianCalendar getLocalGregorianCalendar(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/util/calendar/LocalGregorianCalendar;
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=16, args_size=1
start local 0 0: invokestatic sun.util.calendar.CalendarSystem.getCalendarProperties:()Ljava/util/Properties;
astore 1
start local 1 1: goto 4
end local 1 StackMap locals:
StackMap stack: java.lang.Exception
2: astore 2
start local 2 3: new java.lang.InternalError
dup
aload 2
invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 start local 1 4: StackMap locals: java.util.Properties
StackMap stack:
aload 1
new java.lang.StringBuilder
dup
ldc "calendar."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ".eras"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 5: aload 2
ifnonnull 7
6: aconst_null
areturn
7: StackMap locals: java.lang.String
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 8: new java.util.StringTokenizer
dup
aload 2
ldc ";"
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 4
start local 4 9: goto 40
10: StackMap locals: java.util.List java.util.StringTokenizer
StackMap stack:
aload 4
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 5
start local 5 11: new java.util.StringTokenizer
dup
aload 5
ldc ","
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 6
start local 6 12: aconst_null
astore 7
start local 7 13: iconst_1
istore 8
start local 8 14: lconst_0
lstore 9
start local 9 15: aconst_null
astore 11
start local 11 16: goto 37
17: StackMap locals: java.lang.String java.util.Properties java.lang.String java.util.List java.util.StringTokenizer java.lang.String java.util.StringTokenizer java.lang.String int long java.lang.String
StackMap stack:
aload 6
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 12
start local 12 18: aload 12
bipush 61
invokevirtual java.lang.String.indexOf:(I)I
istore 13
start local 13 19: iload 13
iconst_m1
if_icmpne 21
20: aconst_null
areturn
21: StackMap locals: java.lang.String int
StackMap stack:
aload 12
iconst_0
iload 13
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 14
start local 14 22: aload 12
iload 13
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 15
start local 15 23: ldc "name"
aload 14
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 26
24: aload 15
astore 7
25: goto 37
StackMap locals: java.lang.String java.lang.String
StackMap stack:
26: ldc "since"
aload 14
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 33
27: aload 15
ldc "u"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 31
28: iconst_0
istore 8
29: aload 15
iconst_0
aload 15
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.Long.parseLong:(Ljava/lang/String;)J
lstore 9
30: goto 37
31: StackMap locals:
StackMap stack:
aload 15
invokestatic java.lang.Long.parseLong:(Ljava/lang/String;)J
lstore 9
32: goto 37
StackMap locals:
StackMap stack:
33: ldc "abbr"
aload 14
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 36
34: aload 15
astore 11
35: goto 37
36: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "Unknown key word: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 14
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 15 end local 14 end local 13 end local 12 37: StackMap locals: java.lang.String java.util.Properties java.lang.String java.util.List java.util.StringTokenizer java.lang.String java.util.StringTokenizer java.lang.String int long java.lang.String
StackMap stack:
aload 6
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 17
38: new sun.util.calendar.Era
dup
aload 7
aload 11
lload 9
iload 8
invokespecial sun.util.calendar.Era.<init>:(Ljava/lang/String;Ljava/lang/String;JZ)V
astore 12
start local 12 39: aload 3
aload 12
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 12 end local 11 end local 9 end local 8 end local 7 end local 6 end local 5 40: StackMap locals: java.lang.String java.util.Properties java.lang.String java.util.List java.util.StringTokenizer
StackMap stack:
aload 4
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 10
41: aload 3
invokeinterface java.util.List.size:()I
anewarray sun.util.calendar.Era
astore 5
start local 5 42: aload 3
aload 5
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
pop
43: new sun.util.calendar.LocalGregorianCalendar
dup
aload 0
aload 5
invokespecial sun.util.calendar.LocalGregorianCalendar.<init>:(Ljava/lang/String;[Lsun/util/calendar/Era;)V
areturn
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 44 0 name Ljava/lang/String;
1 2 1 calendarProps Ljava/util/Properties;
4 44 1 calendarProps Ljava/util/Properties;
3 4 2 e Ljava/lang/Exception;
5 44 2 props Ljava/lang/String;
8 44 3 eras Ljava/util/List<Lsun/util/calendar/Era;>;
9 44 4 eraTokens Ljava/util/StringTokenizer;
11 40 5 items Ljava/lang/String;
12 40 6 itemTokens Ljava/util/StringTokenizer;
13 40 7 eraName Ljava/lang/String;
14 40 8 localTime Z
15 40 9 since J
16 40 11 abbr Ljava/lang/String;
18 37 12 item Ljava/lang/String;
19 37 13 index I
22 37 14 key Ljava/lang/String;
23 37 15 value Ljava/lang/String;
39 40 12 era Lsun/util/calendar/Era;
42 44 5 eraArray [Lsun/util/calendar/Era;
Exception table:
from to target type
0 1 2 Class java.io.IOException
0 1 2 Class java.lang.IllegalArgumentException
MethodParameters:
Name Flags
name
private void <init>(java.lang.String, sun.util.calendar.Era[]);
descriptor: (Ljava/lang/String;[Lsun/util/calendar/Era;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial sun.util.calendar.BaseCalendar.<init>:()V
1: aload 0
aload 1
putfield sun.util.calendar.LocalGregorianCalendar.name:Ljava/lang/String;
2: aload 0
aload 2
putfield sun.util.calendar.LocalGregorianCalendar.eras:[Lsun/util/calendar/Era;
3: aload 0
aload 2
invokevirtual sun.util.calendar.LocalGregorianCalendar.setEras:([Lsun/util/calendar/Era;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/util/calendar/LocalGregorianCalendar;
0 5 1 name Ljava/lang/String;
0 5 2 eras [Lsun/util/calendar/Era;
MethodParameters:
Name Flags
name
eras
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.util.calendar.LocalGregorianCalendar.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/calendar/LocalGregorianCalendar;
public sun.util.calendar.LocalGregorianCalendar$Date getCalendarDate();
descriptor: ()Lsun/util/calendar/LocalGregorianCalendar$Date;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.lang.System.currentTimeMillis:()J
aload 0
invokevirtual sun.util.calendar.LocalGregorianCalendar.newCalendarDate:()Lsun/util/calendar/LocalGregorianCalendar$Date;
invokevirtual sun.util.calendar.LocalGregorianCalendar.getCalendarDate:(JLsun/util/calendar/CalendarDate;)Lsun/util/calendar/LocalGregorianCalendar$Date;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/calendar/LocalGregorianCalendar;
public sun.util.calendar.LocalGregorianCalendar$Date getCalendarDate(long);
descriptor: (J)Lsun/util/calendar/LocalGregorianCalendar$Date;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
aload 0
invokevirtual sun.util.calendar.LocalGregorianCalendar.newCalendarDate:()Lsun/util/calendar/LocalGregorianCalendar$Date;
invokevirtual sun.util.calendar.LocalGregorianCalendar.getCalendarDate:(JLsun/util/calendar/CalendarDate;)Lsun/util/calendar/LocalGregorianCalendar$Date;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/calendar/LocalGregorianCalendar;
0 1 1 millis J
MethodParameters:
Name Flags
millis
public sun.util.calendar.LocalGregorianCalendar$Date getCalendarDate(long, java.util.TimeZone);
descriptor: (JLjava/util/TimeZone;)Lsun/util/calendar/LocalGregorianCalendar$Date;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
lload 1
aload 0
aload 3
invokevirtual sun.util.calendar.LocalGregorianCalendar.newCalendarDate:(Ljava/util/TimeZone;)Lsun/util/calendar/LocalGregorianCalendar$Date;
invokevirtual sun.util.calendar.LocalGregorianCalendar.getCalendarDate:(JLsun/util/calendar/CalendarDate;)Lsun/util/calendar/LocalGregorianCalendar$Date;
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/calendar/LocalGregorianCalendar;
0 1 1 millis J
0 1 3 zone Ljava/util/TimeZone;
MethodParameters:
Name Flags
millis
zone
public sun.util.calendar.LocalGregorianCalendar$Date getCalendarDate(long, sun.util.calendar.CalendarDate);
descriptor: (JLsun/util/calendar/CalendarDate;)Lsun/util/calendar/LocalGregorianCalendar$Date;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
lload 1
aload 3
invokespecial sun.util.calendar.BaseCalendar.getCalendarDate:(JLsun/util/calendar/CalendarDate;)Lsun/util/calendar/CalendarDate;
checkcast sun.util.calendar.LocalGregorianCalendar$Date
astore 4
start local 4 1: aload 0
aload 4
lload 1
aload 4
invokevirtual sun.util.calendar.LocalGregorianCalendar$Date.getZoneOffset:()I
invokevirtual sun.util.calendar.LocalGregorianCalendar.adjustYear:(Lsun/util/calendar/LocalGregorianCalendar$Date;JI)Lsun/util/calendar/LocalGregorianCalendar$Date;
areturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/util/calendar/LocalGregorianCalendar;
0 2 1 millis J
0 2 3 date Lsun/util/calendar/CalendarDate;
1 2 4 ldate Lsun/util/calendar/LocalGregorianCalendar$Date;
MethodParameters:
Name Flags
millis
date
private sun.util.calendar.LocalGregorianCalendar$Date adjustYear(sun.util.calendar.LocalGregorianCalendar$Date, long, int);
descriptor: (Lsun/util/calendar/LocalGregorianCalendar$Date;JI)Lsun/util/calendar/LocalGregorianCalendar$Date;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
getfield sun.util.calendar.LocalGregorianCalendar.eras:[Lsun/util/calendar/Era;
arraylength
iconst_1
isub
istore 5
start local 5 1: goto 12
2: StackMap locals: int
StackMap stack:
aload 0
getfield sun.util.calendar.LocalGregorianCalendar.eras:[Lsun/util/calendar/Era;
iload 5
aaload
astore 6
start local 6 3: aload 6
aconst_null
invokevirtual sun.util.calendar.Era.getSince:(Ljava/util/TimeZone;)J
lstore 7
start local 7 4: aload 6
invokevirtual sun.util.calendar.Era.isLocalTime:()Z
ifeq 6
5: lload 7
iload 4
i2l
lsub
lstore 7
6: StackMap locals: sun.util.calendar.Era long
StackMap stack:
lload 2
lload 7
lcmp
iflt 11
7: aload 1
aload 6
invokevirtual sun.util.calendar.LocalGregorianCalendar$Date.setLocalEra:(Lsun/util/calendar/Era;)V
8: aload 1
invokevirtual sun.util.calendar.LocalGregorianCalendar$Date.getNormalizedYear:()I
aload 6
invokevirtual sun.util.calendar.Era.getSinceDate:()Lsun/util/calendar/CalendarDate;
invokevirtual sun.util.calendar.CalendarDate.getYear:()I
isub
iconst_1
iadd
istore 9
start local 9 9: aload 1
iload 9
invokevirtual sun.util.calendar.LocalGregorianCalendar$Date.setLocalYear:(I)V
10: goto 13
end local 9 end local 7 end local 6 11: StackMap locals:
StackMap stack:
iinc 5 -1
StackMap locals:
StackMap stack:
12: iload 5
ifge 2
13: StackMap locals:
StackMap stack:
iload 5
ifge 16
14: aload 1
aconst_null
invokevirtual sun.util.calendar.LocalGregorianCalendar$Date.setLocalEra:(Lsun/util/calendar/Era;)V
15: aload 1
aload 1
invokevirtual sun.util.calendar.LocalGregorianCalendar$Date.getNormalizedYear:()I
invokevirtual sun.util.calendar.LocalGregorianCalendar$Date.setLocalYear:(I)V
16: StackMap locals:
StackMap stack:
aload 1
iconst_1
invokevirtual sun.util.calendar.LocalGregorianCalendar$Date.setNormalized:(Z)V
17: aload 1
areturn
end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/util/calendar/LocalGregorianCalendar;
0 18 1 ldate Lsun/util/calendar/LocalGregorianCalendar$Date;
0 18 2 millis J
0 18 4 zoneOffset I
1 18 5 i I
3 11 6 era Lsun/util/calendar/Era;
4 11 7 since J
9 11 9 y I
MethodParameters:
Name Flags
ldate
millis
zoneOffset
public sun.util.calendar.LocalGregorianCalendar$Date newCalendarDate();
descriptor: ()Lsun/util/calendar/LocalGregorianCalendar$Date;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new sun.util.calendar.LocalGregorianCalendar$Date
dup
invokespecial sun.util.calendar.LocalGregorianCalendar$Date.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/calendar/LocalGregorianCalendar;
public sun.util.calendar.LocalGregorianCalendar$Date newCalendarDate(java.util.TimeZone);
descriptor: (Ljava/util/TimeZone;)Lsun/util/calendar/LocalGregorianCalendar$Date;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new sun.util.calendar.LocalGregorianCalendar$Date
dup
aload 1
invokespecial sun.util.calendar.LocalGregorianCalendar$Date.<init>:(Ljava/util/TimeZone;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/calendar/LocalGregorianCalendar;
0 1 1 zone Ljava/util/TimeZone;
MethodParameters:
Name Flags
zone
public boolean validate(sun.util.calendar.CalendarDate);
descriptor: (Lsun/util/calendar/CalendarDate;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
checkcast sun.util.calendar.LocalGregorianCalendar$Date
astore 2
start local 2 1: aload 2
invokevirtual sun.util.calendar.LocalGregorianCalendar$Date.getEra:()Lsun/util/calendar/Era;
astore 3
start local 3 2: aload 3
ifnull 11
3: aload 0
aload 3
invokevirtual sun.util.calendar.LocalGregorianCalendar.validateEra:(Lsun/util/calendar/Era;)Z
ifne 5
4: iconst_0
ireturn
5: StackMap locals: sun.util.calendar.LocalGregorianCalendar$Date sun.util.calendar.Era
StackMap stack:
aload 2
aload 3
invokevirtual sun.util.calendar.Era.getSinceDate:()Lsun/util/calendar/CalendarDate;
invokevirtual sun.util.calendar.CalendarDate.getYear:()I
aload 2
invokevirtual sun.util.calendar.LocalGregorianCalendar$Date.getYear:()I
iadd
iconst_1
isub
invokevirtual sun.util.calendar.LocalGregorianCalendar$Date.setNormalizedYear:(I)V
6: aload 0
aload 1
invokevirtual sun.util.calendar.CalendarDate.getZone:()Ljava/util/TimeZone;
invokevirtual sun.util.calendar.LocalGregorianCalendar.newCalendarDate:(Ljava/util/TimeZone;)Lsun/util/calendar/LocalGregorianCalendar$Date;
astore 4
start local 4 7: aload 4
aload 3
invokevirtual sun.util.calendar.LocalGregorianCalendar$Date.setEra:(Lsun/util/calendar/Era;)Lsun/util/calendar/LocalGregorianCalendar$Date;
aload 1
invokevirtual sun.util.calendar.CalendarDate.getYear:()I
aload 1
invokevirtual sun.util.calendar.CalendarDate.getMonth:()I
aload 1
invokevirtual sun.util.calendar.CalendarDate.getDayOfMonth:()I
invokevirtual sun.util.calendar.LocalGregorianCalendar$Date.setDate:(III)Lsun/util/calendar/CalendarDate;
pop
8: aload 0
aload 4
invokevirtual sun.util.calendar.LocalGregorianCalendar.normalize:(Lsun/util/calendar/CalendarDate;)Z
pop
9: aload 4
invokevirtual sun.util.calendar.LocalGregorianCalendar$Date.getEra:()Lsun/util/calendar/Era;
aload 3
if_acmpeq 14
10: iconst_0
ireturn
end local 4 11: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.util.calendar.CalendarDate.getYear:()I
aload 0
getfield sun.util.calendar.LocalGregorianCalendar.eras:[Lsun/util/calendar/Era;
iconst_0
aaload
invokevirtual sun.util.calendar.Era.getSinceDate:()Lsun/util/calendar/CalendarDate;
invokevirtual sun.util.calendar.CalendarDate.getYear:()I
if_icmplt 13
12: iconst_0
ireturn
13: StackMap locals:
StackMap stack:
aload 2
aload 2
invokevirtual sun.util.calendar.LocalGregorianCalendar$Date.getYear:()I
invokevirtual sun.util.calendar.LocalGregorianCalendar$Date.setNormalizedYear:(I)V
14: StackMap locals:
StackMap stack:
aload 0
aload 2
invokespecial sun.util.calendar.BaseCalendar.validate:(Lsun/util/calendar/CalendarDate;)Z
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/util/calendar/LocalGregorianCalendar;
0 15 1 date Lsun/util/calendar/CalendarDate;
1 15 2 ldate Lsun/util/calendar/LocalGregorianCalendar$Date;
2 15 3 era Lsun/util/calendar/Era;
7 11 4 tmp Lsun/util/calendar/LocalGregorianCalendar$Date;
MethodParameters:
Name Flags
date
private boolean validateEra(sun.util.calendar.Era);
descriptor: (Lsun/util/calendar/Era;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 1
aload 0
getfield sun.util.calendar.LocalGregorianCalendar.eras:[Lsun/util/calendar/Era;
iload 2
aaload
if_acmpne 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
getfield sun.util.calendar.LocalGregorianCalendar.eras:[Lsun/util/calendar/Era;
arraylength
if_icmplt 2
end local 2 6: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/util/calendar/LocalGregorianCalendar;
0 7 1 era Lsun/util/calendar/Era;
1 6 2 i I
MethodParameters:
Name Flags
era
public boolean normalize(sun.util.calendar.CalendarDate);
descriptor: (Lsun/util/calendar/CalendarDate;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=19, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual sun.util.calendar.CalendarDate.isNormalized:()Z
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual sun.util.calendar.LocalGregorianCalendar.normalizeYear:(Lsun/util/calendar/CalendarDate;)V
3: aload 1
checkcast sun.util.calendar.LocalGregorianCalendar$Date
astore 2
start local 2 4: aload 0
aload 2
invokespecial sun.util.calendar.BaseCalendar.normalize:(Lsun/util/calendar/CalendarDate;)Z
pop
5: iconst_0
istore 3
start local 3 6: lconst_0
lstore 4
start local 4 7: aload 2
invokevirtual sun.util.calendar.LocalGregorianCalendar$Date.getNormalizedYear:()I
istore 6
start local 6 8: aconst_null
astore 8
start local 8 9: aload 0
getfield sun.util.calendar.LocalGregorianCalendar.eras:[Lsun/util/calendar/Era;
arraylength
iconst_1
isub
istore 7
start local 7 10: goto 41
11: StackMap locals: sun.util.calendar.LocalGregorianCalendar sun.util.calendar.CalendarDate sun.util.calendar.LocalGregorianCalendar$Date int long int int sun.util.calendar.Era
StackMap stack:
aload 0
getfield sun.util.calendar.LocalGregorianCalendar.eras:[Lsun/util/calendar/Era;
iload 7
aaload
astore 8
12: aload 8
invokevirtual sun.util.calendar.Era.isLocalTime:()Z
ifeq 34
13: aload 8
invokevirtual sun.util.calendar.Era.getSinceDate:()Lsun/util/calendar/CalendarDate;
astore 9
start local 9 14: aload 9
invokevirtual sun.util.calendar.CalendarDate.getYear:()I
istore 10
start local 10 15: iload 6
iload 10
if_icmple 17
16: goto 42
17: StackMap locals: sun.util.calendar.CalendarDate int
StackMap stack:
iload 6
iload 10
if_icmpne 40
18: aload 2
invokevirtual sun.util.calendar.LocalGregorianCalendar$Date.getMonth:()I
istore 11
start local 11 19: aload 9
invokevirtual sun.util.calendar.CalendarDate.getMonth:()I
istore 12
start local 12 20: iload 11
iload 12
if_icmple 22
21: goto 42
22: StackMap locals: int int
StackMap stack:
iload 11
iload 12
if_icmpne 40
23: aload 2
invokevirtual sun.util.calendar.LocalGregorianCalendar$Date.getDayOfMonth:()I
istore 13
start local 13 24: aload 9
invokevirtual sun.util.calendar.CalendarDate.getDayOfMonth:()I
istore 14
start local 14 25: iload 13
iload 14
if_icmple 27
26: goto 42
27: StackMap locals: int int
StackMap stack:
iload 13
iload 14
if_icmpne 40
28: aload 2
invokevirtual sun.util.calendar.LocalGregorianCalendar$Date.getTimeOfDay:()J
lstore 15
start local 15 29: aload 9
invokevirtual sun.util.calendar.CalendarDate.getTimeOfDay:()J
lstore 17
start local 17 30: lload 15
lload 17
lcmp
iflt 32
31: goto 42
32: StackMap locals: long long
StackMap stack:
iinc 7 -1
33: goto 42
end local 17 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 34: StackMap locals: sun.util.calendar.LocalGregorianCalendar sun.util.calendar.CalendarDate sun.util.calendar.LocalGregorianCalendar$Date int long int int sun.util.calendar.Era
StackMap stack:
iload 3
ifne 37
35: aload 0
aload 1
invokespecial sun.util.calendar.BaseCalendar.getTime:(Lsun/util/calendar/CalendarDate;)J
lstore 4
36: iconst_1
istore 3
37: StackMap locals:
StackMap stack:
aload 8
aload 1
invokevirtual sun.util.calendar.CalendarDate.getZone:()Ljava/util/TimeZone;
invokevirtual sun.util.calendar.Era.getSince:(Ljava/util/TimeZone;)J
lstore 9
start local 9 38: lload 4
lload 9
lcmp
iflt 40
39: goto 42
end local 9 40: StackMap locals:
StackMap stack:
iinc 7 -1
StackMap locals:
StackMap stack:
41: iload 7
ifge 11
42: StackMap locals:
StackMap stack:
iload 7
iflt 47
43: aload 2
aload 8
invokevirtual sun.util.calendar.LocalGregorianCalendar$Date.setLocalEra:(Lsun/util/calendar/Era;)V
44: aload 2
invokevirtual sun.util.calendar.LocalGregorianCalendar$Date.getNormalizedYear:()I
aload 8
invokevirtual sun.util.calendar.Era.getSinceDate:()Lsun/util/calendar/CalendarDate;
invokevirtual sun.util.calendar.CalendarDate.getYear:()I
isub
iconst_1
iadd
istore 9
start local 9 45: aload 2
iload 9
invokevirtual sun.util.calendar.LocalGregorianCalendar$Date.setLocalYear:(I)V
end local 9 46: goto 50
47: StackMap locals:
StackMap stack:
aload 2
aconst_null
invokevirtual sun.util.calendar.LocalGregorianCalendar$Date.setEra:(Lsun/util/calendar/Era;)Lsun/util/calendar/LocalGregorianCalendar$Date;
pop
48: aload 2
iload 6
invokevirtual sun.util.calendar.LocalGregorianCalendar$Date.setLocalYear:(I)V
49: aload 2
iload 6
invokevirtual sun.util.calendar.LocalGregorianCalendar$Date.setNormalizedYear:(I)V
50: StackMap locals:
StackMap stack:
aload 2
iconst_1
invokevirtual sun.util.calendar.LocalGregorianCalendar$Date.setNormalized:(Z)V
51: iconst_1
ireturn
end local 8 end local 7 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 52 0 this Lsun/util/calendar/LocalGregorianCalendar;
0 52 1 date Lsun/util/calendar/CalendarDate;
4 52 2 ldate Lsun/util/calendar/LocalGregorianCalendar$Date;
6 52 3 hasMillis Z
7 52 4 millis J
8 52 6 year I
10 52 7 i I
9 52 8 era Lsun/util/calendar/Era;
14 34 9 sinceDate Lsun/util/calendar/CalendarDate;
15 34 10 sinceYear I
19 34 11 month I
20 34 12 sinceMonth I
24 34 13 day I
25 34 14 sinceDay I
29 34 15 timeOfDay J
30 34 17 sinceTimeOfDay J
38 40 9 since J
45 46 9 y I
MethodParameters:
Name Flags
date
void normalizeMonth(sun.util.calendar.CalendarDate);
descriptor: (Lsun/util/calendar/CalendarDate;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.util.calendar.LocalGregorianCalendar.normalizeYear:(Lsun/util/calendar/CalendarDate;)V
1: aload 0
aload 1
invokespecial sun.util.calendar.BaseCalendar.normalizeMonth:(Lsun/util/calendar/CalendarDate;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/util/calendar/LocalGregorianCalendar;
0 3 1 date Lsun/util/calendar/CalendarDate;
MethodParameters:
Name Flags
date
void normalizeYear(sun.util.calendar.CalendarDate);
descriptor: (Lsun/util/calendar/CalendarDate;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
checkcast sun.util.calendar.LocalGregorianCalendar$Date
astore 2
start local 2 1: aload 2
invokevirtual sun.util.calendar.LocalGregorianCalendar$Date.getEra:()Lsun/util/calendar/Era;
astore 3
start local 3 2: aload 3
ifnull 3
aload 0
aload 3
invokevirtual sun.util.calendar.LocalGregorianCalendar.validateEra:(Lsun/util/calendar/Era;)Z
ifne 5
3: StackMap locals: sun.util.calendar.LocalGregorianCalendar$Date sun.util.calendar.Era
StackMap stack:
aload 2
aload 2
invokevirtual sun.util.calendar.LocalGregorianCalendar$Date.getYear:()I
invokevirtual sun.util.calendar.LocalGregorianCalendar$Date.setNormalizedYear:(I)V
4: goto 6
5: StackMap locals:
StackMap stack:
aload 2
aload 3
invokevirtual sun.util.calendar.Era.getSinceDate:()Lsun/util/calendar/CalendarDate;
invokevirtual sun.util.calendar.CalendarDate.getYear:()I
aload 2
invokevirtual sun.util.calendar.LocalGregorianCalendar$Date.getYear:()I
iadd
iconst_1
isub
invokevirtual sun.util.calendar.LocalGregorianCalendar$Date.setNormalizedYear:(I)V
6: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/util/calendar/LocalGregorianCalendar;
0 7 1 date Lsun/util/calendar/CalendarDate;
1 7 2 ldate Lsun/util/calendar/LocalGregorianCalendar$Date;
2 7 3 era Lsun/util/calendar/Era;
MethodParameters:
Name Flags
date
public boolean isLeapYear(int);
descriptor: (I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iload 1
invokestatic sun.util.calendar.CalendarUtils.isGregorianLeapYear:(I)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/calendar/LocalGregorianCalendar;
0 1 1 gregorianYear I
MethodParameters:
Name Flags
gregorianYear
public boolean isLeapYear(sun.util.calendar.Era, int);
descriptor: (Lsun/util/calendar/Era;I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: aload 0
iload 2
invokevirtual sun.util.calendar.LocalGregorianCalendar.isLeapYear:(I)Z
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.util.calendar.Era.getSinceDate:()Lsun/util/calendar/CalendarDate;
invokevirtual sun.util.calendar.CalendarDate.getYear:()I
iload 2
iadd
iconst_1
isub
istore 3
start local 3 3: aload 0
iload 3
invokevirtual sun.util.calendar.LocalGregorianCalendar.isLeapYear:(I)Z
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/util/calendar/LocalGregorianCalendar;
0 4 1 era Lsun/util/calendar/Era;
0 4 2 year I
3 4 3 gyear I
MethodParameters:
Name Flags
era
year
public void getCalendarDateFromFixedDate(sun.util.calendar.CalendarDate, long);
descriptor: (Lsun/util/calendar/CalendarDate;J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
checkcast sun.util.calendar.LocalGregorianCalendar$Date
astore 4
start local 4 1: aload 0
aload 4
lload 2
invokespecial sun.util.calendar.BaseCalendar.getCalendarDateFromFixedDate:(Lsun/util/calendar/CalendarDate;J)V
2: aload 0
aload 4
lload 2
ldc 719163
lsub
ldc 86400000
lmul
iconst_0
invokevirtual sun.util.calendar.LocalGregorianCalendar.adjustYear:(Lsun/util/calendar/LocalGregorianCalendar$Date;JI)Lsun/util/calendar/LocalGregorianCalendar$Date;
pop
3: return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/util/calendar/LocalGregorianCalendar;
0 4 1 date Lsun/util/calendar/CalendarDate;
0 4 2 fixedDate J
1 4 4 ldate Lsun/util/calendar/LocalGregorianCalendar$Date;
MethodParameters:
Name Flags
date
fixedDate
public sun.util.calendar.CalendarDate newCalendarDate(java.util.TimeZone);
descriptor: (Ljava/util/TimeZone;)Lsun/util/calendar/CalendarDate;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual sun.util.calendar.LocalGregorianCalendar.newCalendarDate:(Ljava/util/TimeZone;)Lsun/util/calendar/LocalGregorianCalendar$Date;
areturn
LocalVariableTable:
Start End Slot Name Signature
public sun.util.calendar.CalendarDate newCalendarDate();
descriptor: ()Lsun/util/calendar/CalendarDate;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual sun.util.calendar.LocalGregorianCalendar.newCalendarDate:()Lsun/util/calendar/LocalGregorianCalendar$Date;
areturn
LocalVariableTable:
Start End Slot Name Signature
public sun.util.calendar.CalendarDate getCalendarDate(long, sun.util.calendar.CalendarDate);
descriptor: (JLsun/util/calendar/CalendarDate;)Lsun/util/calendar/CalendarDate;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=3
0: aload 0
lload 1
aload 3
invokevirtual sun.util.calendar.LocalGregorianCalendar.getCalendarDate:(JLsun/util/calendar/CalendarDate;)Lsun/util/calendar/LocalGregorianCalendar$Date;
areturn
LocalVariableTable:
Start End Slot Name Signature
public sun.util.calendar.CalendarDate getCalendarDate(long, java.util.TimeZone);
descriptor: (JLjava/util/TimeZone;)Lsun/util/calendar/CalendarDate;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=3
0: aload 0
lload 1
aload 3
invokevirtual sun.util.calendar.LocalGregorianCalendar.getCalendarDate:(JLjava/util/TimeZone;)Lsun/util/calendar/LocalGregorianCalendar$Date;
areturn
LocalVariableTable:
Start End Slot Name Signature
public sun.util.calendar.CalendarDate getCalendarDate(long);
descriptor: (J)Lsun/util/calendar/CalendarDate;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=2
0: aload 0
lload 1
invokevirtual sun.util.calendar.LocalGregorianCalendar.getCalendarDate:(J)Lsun/util/calendar/LocalGregorianCalendar$Date;
areturn
LocalVariableTable:
Start End Slot Name Signature
public sun.util.calendar.CalendarDate getCalendarDate();
descriptor: ()Lsun/util/calendar/CalendarDate;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual sun.util.calendar.LocalGregorianCalendar.getCalendarDate:()Lsun/util/calendar/LocalGregorianCalendar$Date;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "LocalGregorianCalendar.java"
NestMembers:
sun.util.calendar.LocalGregorianCalendar$Date
InnerClasses:
public Date = sun.util.calendar.LocalGregorianCalendar$Date of sun.util.calendar.LocalGregorianCalendar