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 static final sun.util.calendar.Era[] JAPANESE_ERAS;
descriptor: [Lsun/util/calendar/Era;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
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 void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=10, locals=0, args_size=0
0: iconst_5
anewarray sun.util.calendar.Era
dup
iconst_0
1: new sun.util.calendar.Era
dup
ldc "Meiji"
ldc "M"
ldc -3218832000000
iconst_1
invokespecial sun.util.calendar.Era.<init>:(Ljava/lang/String;Ljava/lang/String;JZ)V
aastore
dup
iconst_1
2: new sun.util.calendar.Era
dup
ldc "Taisho"
ldc "T"
ldc -1812153600000
iconst_1
invokespecial sun.util.calendar.Era.<init>:(Ljava/lang/String;Ljava/lang/String;JZ)V
aastore
dup
iconst_2
3: new sun.util.calendar.Era
dup
ldc "Showa"
ldc "S"
ldc -1357603200000
iconst_1
invokespecial sun.util.calendar.Era.<init>:(Ljava/lang/String;Ljava/lang/String;JZ)V
aastore
dup
iconst_3
4: new sun.util.calendar.Era
dup
ldc "Heisei"
ldc "H"
ldc 600220800000
iconst_1
invokespecial sun.util.calendar.Era.<init>:(Ljava/lang/String;Ljava/lang/String;JZ)V
aastore
dup
iconst_4
5: new sun.util.calendar.Era
dup
ldc "Reiwa"
ldc "R"
ldc 1556668800000
iconst_1
invokespecial sun.util.calendar.Era.<init>:(Ljava/lang/String;Ljava/lang/String;JZ)V
aastore
6: putstatic sun.util.calendar.LocalGregorianCalendar.JAPANESE_ERAS:[Lsun/util/calendar/Era;
7: return
LocalVariableTable:
Start End Slot Name Signature
private static boolean isValidEra(sun.util.calendar.Era, sun.util.calendar.Era[]);
descriptor: (Lsun/util/calendar/Era;[Lsun/util/calendar/Era;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 1
aload 1
arraylength
iconst_1
isub
aaload
astore 2
start local 2 1: aload 2
aconst_null
invokevirtual sun.util.calendar.Era.getSince:(Ljava/util/TimeZone;)J
aload 0
aconst_null
invokevirtual sun.util.calendar.Era.getSince:(Ljava/util/TimeZone;)J
lcmp
iflt 3
2: iconst_0
ireturn
3: StackMap locals: sun.util.calendar.Era
StackMap stack:
aload 0
invokevirtual sun.util.calendar.Era.getName:()Ljava/lang/String;
astore 3
start local 3 4: aload 1
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 9
StackMap locals: sun.util.calendar.Era sun.util.calendar.Era[] sun.util.calendar.Era java.lang.String top int int sun.util.calendar.Era[]
StackMap stack:
5: aload 7
iload 5
aaload
astore 4
start local 4 6: aload 4
invokevirtual sun.util.calendar.Era.getName:()Ljava/lang/String;
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
7: iconst_0
ireturn
end local 4 8: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
9: iload 5
iload 6
if_icmplt 5
10: iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 newEra Lsun/util/calendar/Era;
0 11 1 eras [Lsun/util/calendar/Era;
1 11 2 last Lsun/util/calendar/Era;
4 11 3 newName Ljava/lang/String;
6 8 4 era Lsun/util/calendar/Era;
MethodParameters:
Name Flags
newEra
eras
static sun.util.calendar.LocalGregorianCalendar getLocalGregorianCalendar(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/util/calendar/LocalGregorianCalendar;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: ldc "japanese"
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
ldc "jdk.calendar.japanese.supplemental.era"
invokestatic sun.security.action.GetPropertyAction.privilegedGetProperty:(Ljava/lang/String;)Ljava/lang/String;
3: astore 1
start local 1 4: aload 1
ifnull 13
5: aload 1
invokestatic sun.util.calendar.LocalGregorianCalendar.parseEraEntry:(Ljava/lang/String;)Lsun/util/calendar/Era;
astore 2
start local 2 6: aload 2
ifnull 13
7: aload 2
getstatic sun.util.calendar.LocalGregorianCalendar.JAPANESE_ERAS:[Lsun/util/calendar/Era;
invokestatic sun.util.calendar.LocalGregorianCalendar.isValidEra:(Lsun/util/calendar/Era;[Lsun/util/calendar/Era;)Z
ifeq 13
8: getstatic sun.util.calendar.LocalGregorianCalendar.JAPANESE_ERAS:[Lsun/util/calendar/Era;
arraylength
istore 3
start local 3 9: iload 3
iconst_1
iadd
anewarray sun.util.calendar.Era
astore 4
start local 4 10: getstatic sun.util.calendar.LocalGregorianCalendar.JAPANESE_ERAS:[Lsun/util/calendar/Era;
iconst_0
aload 4
iconst_0
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
11: aload 4
iload 3
aload 2
aastore
12: new sun.util.calendar.LocalGregorianCalendar
dup
aload 0
aload 4
invokespecial sun.util.calendar.LocalGregorianCalendar.<init>:(Ljava/lang/String;[Lsun/util/calendar/Era;)V
areturn
end local 4 end local 3 end local 2 13: StackMap locals: java.lang.String
StackMap stack:
new sun.util.calendar.LocalGregorianCalendar
dup
aload 0
getstatic sun.util.calendar.LocalGregorianCalendar.JAPANESE_ERAS:[Lsun/util/calendar/Era;
invokespecial sun.util.calendar.LocalGregorianCalendar.<init>:(Ljava/lang/String;[Lsun/util/calendar/Era;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 name Ljava/lang/String;
4 14 1 prop Ljava/lang/String;
6 13 2 era Lsun/util/calendar/Era;
9 13 3 length I
10 13 4 eras [Lsun/util/calendar/Era;
MethodParameters:
Name Flags
name
private static sun.util.calendar.Era parseEraEntry(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/util/calendar/Era;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=15, args_size=1
start local 0 0: aload 0
ldc ","
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 1
start local 1 1: aconst_null
astore 2
start local 2 2: iconst_1
istore 3
start local 3 3: lconst_0
lstore 4
start local 4 4: aconst_null
astore 6
start local 6 5: aload 1
dup
astore 10
arraylength
istore 9
iconst_0
istore 8
goto 29
StackMap locals: java.lang.String java.lang.String[] java.lang.String int long java.lang.String top int int java.lang.String[]
StackMap stack:
6: aload 10
iload 8
aaload
astore 7
start local 7 7: aload 7
ldc "="
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 11
start local 11 8: aload 11
arraylength
iconst_2
if_icmpeq 10
9: aconst_null
areturn
10: StackMap locals: java.lang.String java.lang.String[] java.lang.String int long java.lang.String java.lang.String int int java.lang.String[] java.lang.String[]
StackMap stack:
aload 11
iconst_0
aaload
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 12
start local 12 11: aload 11
iconst_1
aaload
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokestatic sun.util.calendar.LocalGregorianCalendar.convertUnicodeEscape:(Ljava/lang/String;)Ljava/lang/String;
astore 13
start local 13 12: aload 12
dup
astore 14
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 3
2987057: 13
3373707: 14
109441850: 15
default: 27
}
StackMap locals: java.lang.String java.lang.String java.lang.String
StackMap stack:
13: aload 14
ldc "abbr"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 25
goto 27
StackMap locals:
StackMap stack:
14: aload 14
ldc "name"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 16
goto 27
StackMap locals:
StackMap stack:
15: aload 14
ldc "since"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 18
goto 27
16: StackMap locals:
StackMap stack:
aload 13
astore 2
17: goto 28
18: StackMap locals:
StackMap stack:
aload 13
ldc "u"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 21
19: iconst_0
istore 3
20: aload 13
iconst_0
aload 13
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 13
21: StackMap locals:
StackMap stack:
aload 13
invokestatic java.lang.Long.parseLong:(Ljava/lang/String;)J
lstore 4
22: goto 28
StackMap locals:
StackMap stack: java.lang.NumberFormatException
23: pop
24: aconst_null
areturn
25: StackMap locals:
StackMap stack:
aload 13
astore 6
26: goto 28
27: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 13 end local 12 end local 11 end local 7 28: StackMap locals: java.lang.String java.lang.String[] java.lang.String int long java.lang.String top int int java.lang.String[]
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
29: iload 8
iload 9
if_icmplt 6
30: aload 2
ifnull 32
aload 2
invokevirtual java.lang.String.isEmpty:()Z
ifne 32
31: aload 6
ifnull 32
aload 6
invokevirtual java.lang.String.isEmpty:()Z
ifeq 33
32: StackMap locals: java.lang.String java.lang.String[] java.lang.String int long java.lang.String
StackMap stack:
aconst_null
areturn
33: StackMap locals:
StackMap stack:
new sun.util.calendar.Era
dup
aload 2
aload 6
lload 4
iload 3
invokespecial sun.util.calendar.Era.<init>:(Ljava/lang/String;Ljava/lang/String;JZ)V
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 34 0 entry Ljava/lang/String;
1 34 1 keyValuePairs [Ljava/lang/String;
2 34 2 eraName Ljava/lang/String;
3 34 3 localTime Z
4 34 4 since J
5 34 6 abbr Ljava/lang/String;
7 28 7 item Ljava/lang/String;
8 28 11 keyvalue [Ljava/lang/String;
11 28 12 key Ljava/lang/String;
12 28 13 value Ljava/lang/String;
Exception table:
from to target type
21 22 23 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
entry
private static java.lang.String convertUnicodeEscape(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: ldc "\\\\u([0-9a-fA-F]{4})"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
aload 0
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 1
start local 1 1: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 2: goto 6
3: StackMap locals: java.util.regex.Matcher java.lang.StringBuilder
StackMap stack:
aload 1
aload 2
4: aload 1
iconst_1
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
bipush 16
invokestatic java.lang.Integer.parseUnsignedInt:(Ljava/lang/String;I)I
i2c
invokestatic java.lang.Character.toString:(C)Ljava/lang/String;
5: invokevirtual java.util.regex.Matcher.appendReplacement:(Ljava/lang/StringBuilder;Ljava/lang/String;)Ljava/util/regex/Matcher;
pop
6: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.util.regex.Matcher.find:()Z
ifne 3
7: aload 1
aload 2
invokevirtual java.util.regex.Matcher.appendTail:(Ljava/lang/StringBuilder;)Ljava/lang/StringBuilder;
pop
8: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 src Ljava/lang/String;
1 9 1 m Ljava/util/regex/Matcher;
2 9 2 sb Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
src
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=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.util.calendar.LocalGregorianCalendar.eras:[Lsun/util/calendar/Era;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 5
StackMap locals: sun.util.calendar.LocalGregorianCalendar sun.util.calendar.Era top int int sun.util.calendar.Era[]
StackMap stack:
1: aload 5
iload 3
aaload
astore 2
start local 2 2: aload 1
aload 2
if_acmpne 4
3: iconst_1
ireturn
end local 2 4: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 4
if_icmplt 1
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;
2 4 2 era1 Lsun/util/calendar/Era;
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