public class sun.util.BuddhistCalendar extends java.util.GregorianCalendar
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.util.BuddhistCalendar
super_class: java.util.GregorianCalendar
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -8527488697350388578
private static final int buddhistOffset;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 543
private transient int yearOffset;
descriptor: I
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.util.GregorianCalendar.<init>:()V
1: aload 0
sipush 543
putfield sun.util.BuddhistCalendar.yearOffset:I
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/util/BuddhistCalendar;
public void <init>(java.util.TimeZone);
descriptor: (Ljava/util/TimeZone;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial java.util.GregorianCalendar.<init>:(Ljava/util/TimeZone;)V
1: aload 0
sipush 543
putfield sun.util.BuddhistCalendar.yearOffset:I
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/util/BuddhistCalendar;
0 3 1 zone Ljava/util/TimeZone;
MethodParameters:
Name Flags
zone
public void <init>(java.util.Locale);
descriptor: (Ljava/util/Locale;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial java.util.GregorianCalendar.<init>:(Ljava/util/Locale;)V
1: aload 0
sipush 543
putfield sun.util.BuddhistCalendar.yearOffset:I
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/util/BuddhistCalendar;
0 3 1 aLocale Ljava/util/Locale;
MethodParameters:
Name Flags
aLocale
public void <init>(java.util.TimeZone, java.util.Locale);
descriptor: (Ljava/util/TimeZone;Ljava/util/Locale;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial java.util.GregorianCalendar.<init>:(Ljava/util/TimeZone;Ljava/util/Locale;)V
1: aload 0
sipush 543
putfield sun.util.BuddhistCalendar.yearOffset:I
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/util/BuddhistCalendar;
0 3 1 zone Ljava/util/TimeZone;
0 3 2 aLocale Ljava/util/Locale;
MethodParameters:
Name Flags
zone
aLocale
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof sun.util.BuddhistCalendar
ifeq 3
1: aload 0
aload 1
invokespecial java.util.GregorianCalendar.equals:(Ljava/lang/Object;)Z
ifeq 3
2: iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/util/BuddhistCalendar;
0 4 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.util.GregorianCalendar.hashCode:()I
sipush 543
ixor
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/BuddhistCalendar;
public int get(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iconst_1
if_icmpne 2
1: aload 0
iload 1
invokespecial java.util.GregorianCalendar.get:(I)I
aload 0
getfield sun.util.BuddhistCalendar.yearOffset:I
iadd
ireturn
2: StackMap locals:
StackMap stack:
aload 0
iload 1
invokespecial java.util.GregorianCalendar.get:(I)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/util/BuddhistCalendar;
0 3 1 field I
MethodParameters:
Name Flags
field
public void set(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iconst_1
if_icmpne 3
1: aload 0
iload 1
iload 2
aload 0
getfield sun.util.BuddhistCalendar.yearOffset:I
isub
invokespecial java.util.GregorianCalendar.set:(II)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
iload 1
iload 2
invokespecial java.util.GregorianCalendar.set:(II)V
4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/util/BuddhistCalendar;
0 5 1 field I
0 5 2 value I
MethodParameters:
Name Flags
field
value
public void add(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.util.BuddhistCalendar.yearOffset:I
istore 3
start local 3 1: aload 0
iconst_0
putfield sun.util.BuddhistCalendar.yearOffset:I
2: aload 0
iload 1
iload 2
invokespecial java.util.GregorianCalendar.add:(II)V
3: goto 7
StackMap locals: sun.util.BuddhistCalendar int int int
StackMap stack: java.lang.Throwable
4: astore 4
5: aload 0
iload 3
putfield sun.util.BuddhistCalendar.yearOffset:I
6: aload 4
athrow
7: StackMap locals:
StackMap stack:
aload 0
iload 3
putfield sun.util.BuddhistCalendar.yearOffset:I
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/util/BuddhistCalendar;
0 9 1 field I
0 9 2 amount I
1 9 3 savedYearOffset I
Exception table:
from to target type
2 4 4 any
MethodParameters:
Name Flags
field
amount
public void roll(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.util.BuddhistCalendar.yearOffset:I
istore 3
start local 3 1: aload 0
iconst_0
putfield sun.util.BuddhistCalendar.yearOffset:I
2: aload 0
iload 1
iload 2
invokespecial java.util.GregorianCalendar.roll:(II)V
3: goto 7
StackMap locals: sun.util.BuddhistCalendar int int int
StackMap stack: java.lang.Throwable
4: astore 4
5: aload 0
iload 3
putfield sun.util.BuddhistCalendar.yearOffset:I
6: aload 4
athrow
7: StackMap locals:
StackMap stack:
aload 0
iload 3
putfield sun.util.BuddhistCalendar.yearOffset:I
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/util/BuddhistCalendar;
0 9 1 field I
0 9 2 amount I
1 9 3 savedYearOffset I
Exception table:
from to target type
2 4 4 any
MethodParameters:
Name Flags
field
amount
public java.lang.String getDisplayName(int, int, java.util.Locale);
descriptor: (IILjava/util/Locale;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 1
ifeq 2
1: aload 0
iload 1
iload 2
aload 3
invokespecial java.util.GregorianCalendar.getDisplayName:(IILjava/util/Locale;)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
iload 1
iflt 4
iload 1
aload 0
getfield sun.util.BuddhistCalendar.fields:[I
arraylength
if_icmpge 4
3: iload 2
iconst_1
if_icmplt 4
iload 2
iconst_2
if_icmple 5
4: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
aload 3
ifnonnull 7
6: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
7: StackMap locals:
StackMap stack:
aload 3
invokestatic sun.util.resources.LocaleData.getDateFormatData:(Ljava/util/Locale;)Ljava/util/ResourceBundle;
astore 4
start local 4 8: aload 4
aload 0
iload 2
invokevirtual sun.util.BuddhistCalendar.getKey:(I)Ljava/lang/String;
invokevirtual java.util.ResourceBundle.getStringArray:(Ljava/lang/String;)[Ljava/lang/String;
astore 5
start local 5 9: aload 5
aload 0
iload 1
invokevirtual sun.util.BuddhistCalendar.get:(I)I
aaload
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 10 0 this Lsun/util/BuddhistCalendar;
0 10 1 field I
0 10 2 style I
0 10 3 locale Ljava/util/Locale;
8 10 4 rb Ljava/util/ResourceBundle;
9 10 5 eras [Ljava/lang/String;
MethodParameters:
Name Flags
field
style
locale
public java.util.Map<java.lang.String, java.lang.Integer> getDisplayNames(int, int, java.util.Locale);
descriptor: (IILjava/util/Locale;)Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 1
ifeq 2
1: aload 0
iload 1
iload 2
aload 3
invokespecial java.util.GregorianCalendar.getDisplayNames:(IILjava/util/Locale;)Ljava/util/Map;
areturn
2: StackMap locals:
StackMap stack:
iload 1
iflt 4
iload 1
aload 0
getfield sun.util.BuddhistCalendar.fields:[I
arraylength
if_icmpge 4
3: iload 2
iflt 4
iload 2
iconst_2
if_icmple 5
4: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
aload 3
ifnonnull 7
6: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
7: StackMap locals:
StackMap stack:
iload 2
ifne 15
8: aload 0
iload 1
iconst_1
aload 3
invokevirtual sun.util.BuddhistCalendar.getDisplayNamesImpl:(IILjava/util/Locale;)Ljava/util/Map;
astore 4
start local 4 9: aload 0
iload 1
iconst_2
aload 3
invokevirtual sun.util.BuddhistCalendar.getDisplayNamesImpl:(IILjava/util/Locale;)Ljava/util/Map;
astore 5
start local 5 10: aload 4
ifnonnull 12
11: aload 5
areturn
12: StackMap locals: java.util.Map java.util.Map
StackMap stack:
aload 5
ifnull 14
13: aload 4
aload 5
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
14: StackMap locals:
StackMap stack:
aload 4
areturn
end local 5 end local 4 15: StackMap locals:
StackMap stack:
aload 0
iload 1
iload 2
aload 3
invokevirtual sun.util.BuddhistCalendar.getDisplayNamesImpl:(IILjava/util/Locale;)Ljava/util/Map;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/util/BuddhistCalendar;
0 16 1 field I
0 16 2 style I
0 16 3 locale Ljava/util/Locale;
9 15 4 shortNames Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>;
10 15 5 longNames Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>;
Signature: (IILjava/util/Locale;)Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>;
MethodParameters:
Name Flags
field
style
locale
private java.util.Map<java.lang.String, java.lang.Integer> getDisplayNamesImpl(int, int, java.util.Locale);
descriptor: (IILjava/util/Locale;)Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokestatic sun.util.resources.LocaleData.getDateFormatData:(Ljava/util/Locale;)Ljava/util/ResourceBundle;
astore 4
start local 4 1: aload 4
aload 0
iload 2
invokevirtual sun.util.BuddhistCalendar.getKey:(I)Ljava/lang/String;
invokevirtual java.util.ResourceBundle.getStringArray:(Ljava/lang/String;)[Ljava/lang/String;
astore 5
start local 5 2: new java.util.HashMap
dup
iconst_4
invokespecial java.util.HashMap.<init>:(I)V
astore 6
start local 6 3: iconst_0
istore 7
start local 7 4: goto 7
5: StackMap locals: sun.util.BuddhistCalendar int int java.util.Locale java.util.ResourceBundle java.lang.String[] java.util.Map int
StackMap stack:
aload 6
aload 5
iload 7
aaload
iload 7
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: iinc 7 1
StackMap locals:
StackMap stack:
7: iload 7
aload 5
arraylength
if_icmplt 5
end local 7 8: aload 6
areturn
end local 6 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 9 0 this Lsun/util/BuddhistCalendar;
0 9 1 field I
0 9 2 style I
0 9 3 locale Ljava/util/Locale;
1 9 4 rb Ljava/util/ResourceBundle;
2 9 5 eras [Ljava/lang/String;
3 9 6 map Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>;
4 8 7 i I
Signature: (IILjava/util/Locale;)Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>;
MethodParameters:
Name Flags
field
style
locale
private java.lang.String getKey(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 1: aload 2
ldc Lsun/util/BuddhistCalendar;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: iload 1
iconst_1
if_icmpne 4
3: aload 2
ldc ".short"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 2
ldc ".Eras"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: 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 6 0 this Lsun/util/BuddhistCalendar;
0 6 1 style I
1 6 2 key Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
style
public int getActualMaximum(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.util.BuddhistCalendar.yearOffset:I
istore 2
start local 2 1: aload 0
iconst_0
putfield sun.util.BuddhistCalendar.yearOffset:I
2: aload 0
iload 1
invokespecial java.util.GregorianCalendar.getActualMaximum:(I)I
istore 4
3: aload 0
iload 2
putfield sun.util.BuddhistCalendar.yearOffset:I
4: iload 4
ireturn
5: StackMap locals: sun.util.BuddhistCalendar int int
StackMap stack: java.lang.Throwable
astore 3
6: aload 0
iload 2
putfield sun.util.BuddhistCalendar.yearOffset:I
7: aload 3
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/util/BuddhistCalendar;
0 8 1 field I
1 8 2 savedYearOffset I
Exception table:
from to target type
2 3 5 any
MethodParameters:
Name Flags
field
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: aload 0
invokespecial java.util.GregorianCalendar.toString:()Ljava/lang/String;
astore 1
start local 1 1: aload 0
iconst_1
invokevirtual sun.util.BuddhistCalendar.isSet:(I)Z
ifne 3
2: aload 1
areturn
3: StackMap locals: java.lang.String
StackMap stack:
aload 1
ldc "YEAR="
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 2
start local 2 4: iload 2
iconst_m1
if_icmpne 6
5: aload 1
areturn
6: StackMap locals: int
StackMap stack:
iload 2
ldc "YEAR="
invokevirtual java.lang.String.length:()I
iadd
istore 2
7: new java.lang.StringBuilder
dup
aload 1
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 3
start local 3 8: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 1
iload 2
iinc 2 1
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isDigit:(C)Z
ifne 8
9: aload 0
iconst_1
invokevirtual sun.util.BuddhistCalendar.internalGet:(I)I
sipush 543
iadd
istore 4
start local 4 10: aload 3
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
aload 1
iload 2
iconst_1
isub
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/util/BuddhistCalendar;
1 12 1 s Ljava/lang/String;
4 12 2 p I
8 12 3 sb Ljava/lang/StringBuilder;
10 12 4 year I
}
SourceFile: "BuddhistCalendar.java"