public class java.util.Calendar$Builder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.util.Calendar$Builder
super_class: java.lang.Object
{
private static final int NFIELDS;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 18
private static final int WEEK_YEAR;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 17
private long instant;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private int[] fields;
descriptor: [I
flags: (0x0002) ACC_PRIVATE
private int nextStamp;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int maxFieldIndex;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.lang.String type;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.util.TimeZone zone;
descriptor: Ljava/util/TimeZone;
flags: (0x0002) ACC_PRIVATE
private boolean lenient;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.util.Locale locale;
descriptor: Ljava/util/Locale;
flags: (0x0002) ACC_PRIVATE
private int firstDayOfWeek;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int minimalDaysInFirstWeek;
descriptor: I
flags: (0x0002) ACC_PRIVATE
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.lang.Object.<init>:()V
1: aload 0
iconst_1
putfield java.util.Calendar$Builder.lenient:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/Calendar$Builder;
public java.util.Calendar$Builder setInstant(long);
descriptor: (J)Ljava/util/Calendar$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.Calendar$Builder.fields:[I
ifnull 2
1: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
lload 1
putfield java.util.Calendar$Builder.instant:J
3: aload 0
iconst_1
putfield java.util.Calendar$Builder.nextStamp:I
4: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/util/Calendar$Builder;
0 5 1 instant J
MethodParameters:
Name Flags
instant
public java.util.Calendar$Builder setInstant(java.util.Date);
descriptor: (Ljava/util/Date;)Ljava/util/Calendar$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.util.Date.getTime:()J
invokevirtual java.util.Calendar$Builder.setInstant:(J)Ljava/util/Calendar$Builder;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/Calendar$Builder;
0 1 1 instant Ljava/util/Date;
MethodParameters:
Name Flags
instant
public java.util.Calendar$Builder set(int, int);
descriptor: (II)Ljava/util/Calendar$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iflt 1
iload 1
bipush 17
if_icmplt 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "field is invalid"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.util.Calendar$Builder.isInstantSet:()Z
ifeq 4
3: new java.lang.IllegalStateException
dup
ldc "instant has been set"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.util.Calendar$Builder.allocateFields:()V
5: aload 0
iload 1
iload 2
invokevirtual java.util.Calendar$Builder.internalSet:(II)V
6: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/util/Calendar$Builder;
0 7 1 field I
0 7 2 value I
MethodParameters:
Name Flags
field
value
public java.util.Calendar$Builder setFields(int[]);
descriptor: ([I)Ljava/util/Calendar$Builder;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
arraylength
istore 2
start local 2 1: iload 2
iconst_2
irem
ifeq 3
2: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
3: StackMap locals: int
StackMap stack:
aload 0
invokevirtual java.util.Calendar$Builder.isInstantSet:()Z
ifeq 5
4: new java.lang.IllegalStateException
dup
ldc "instant has been set"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
getfield java.util.Calendar$Builder.nextStamp:I
iload 2
iconst_2
idiv
iadd
ifge 7
6: new java.lang.IllegalStateException
dup
ldc "stamp counter overflow"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.util.Calendar$Builder.allocateFields:()V
8: iconst_0
istore 3
start local 3 9: goto 14
10: StackMap locals: int
StackMap stack:
aload 1
iload 3
iinc 3 1
iaload
istore 4
start local 4 11: iload 4
iflt 12
iload 4
bipush 17
if_icmplt 13
12: StackMap locals: int
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "field is invalid"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack:
aload 0
iload 4
aload 1
iload 3
iinc 3 1
iaload
invokevirtual java.util.Calendar$Builder.internalSet:(II)V
end local 4 14: StackMap locals:
StackMap stack:
iload 3
iload 2
if_icmplt 10
end local 3 15: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljava/util/Calendar$Builder;
0 16 1 fieldValuePairs [I
1 16 2 len I
9 15 3 i I
11 14 4 field I
MethodParameters:
Name Flags
fieldValuePairs
public java.util.Calendar$Builder setDate(int, int, int);
descriptor: (III)Ljava/util/Calendar$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
bipush 6
newarray 10
dup
iconst_0
iconst_1
iastore
dup
iconst_1
iload 1
iastore
dup
iconst_2
iconst_2
iastore
dup
iconst_3
iload 2
iastore
dup
iconst_4
iconst_5
iastore
dup
iconst_5
iload 3
iastore
invokevirtual java.util.Calendar$Builder.setFields:([I)Ljava/util/Calendar$Builder;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/Calendar$Builder;
0 1 1 year I
0 1 2 month I
0 1 3 dayOfMonth I
MethodParameters:
Name Flags
year
month
dayOfMonth
public java.util.Calendar$Builder setTimeOfDay(int, int, int);
descriptor: (III)Ljava/util/Calendar$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
iload 2
iload 3
iconst_0
invokevirtual java.util.Calendar$Builder.setTimeOfDay:(IIII)Ljava/util/Calendar$Builder;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/Calendar$Builder;
0 1 1 hourOfDay I
0 1 2 minute I
0 1 3 second I
MethodParameters:
Name Flags
hourOfDay
minute
second
public java.util.Calendar$Builder setTimeOfDay(int, int, int, int);
descriptor: (IIII)Ljava/util/Calendar$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
bipush 8
newarray 10
dup
iconst_0
bipush 11
iastore
dup
iconst_1
iload 1
iastore
dup
iconst_2
bipush 12
iastore
dup
iconst_3
iload 2
iastore
dup
iconst_4
1: bipush 13
iastore
dup
iconst_5
iload 3
iastore
dup
bipush 6
bipush 14
iastore
dup
bipush 7
iload 4
iastore
2: invokevirtual java.util.Calendar$Builder.setFields:([I)Ljava/util/Calendar$Builder;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/Calendar$Builder;
0 3 1 hourOfDay I
0 3 2 minute I
0 3 3 second I
0 3 4 millis I
MethodParameters:
Name Flags
hourOfDay
minute
second
millis
public java.util.Calendar$Builder setWeekDate(int, int, int);
descriptor: (III)Ljava/util/Calendar$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual java.util.Calendar$Builder.allocateFields:()V
1: aload 0
bipush 17
iload 1
invokevirtual java.util.Calendar$Builder.internalSet:(II)V
2: aload 0
iconst_3
iload 2
invokevirtual java.util.Calendar$Builder.internalSet:(II)V
3: aload 0
bipush 7
iload 3
invokevirtual java.util.Calendar$Builder.internalSet:(II)V
4: aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/util/Calendar$Builder;
0 5 1 weekYear I
0 5 2 weekOfYear I
0 5 3 dayOfWeek I
MethodParameters:
Name Flags
weekYear
weekOfYear
dayOfWeek
public java.util.Calendar$Builder setTimeZone(java.util.TimeZone);
descriptor: (Ljava/util/TimeZone;)Ljava/util/Calendar$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield java.util.Calendar$Builder.zone:Ljava/util/TimeZone;
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/util/Calendar$Builder;
0 4 1 zone Ljava/util/TimeZone;
MethodParameters:
Name Flags
zone
public java.util.Calendar$Builder setLenient(boolean);
descriptor: (Z)Ljava/util/Calendar$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield java.util.Calendar$Builder.lenient:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/Calendar$Builder;
0 2 1 lenient Z
MethodParameters:
Name Flags
lenient
public java.util.Calendar$Builder setCalendarType(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Calendar$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "gregorian"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: ldc "gregory"
astore 1
2: StackMap locals:
StackMap stack:
invokestatic java.util.Calendar.getAvailableCalendarTypes:()Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 5
3: aload 1
ldc "iso8601"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
4: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "unknown calendar type: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
getfield java.util.Calendar$Builder.type:Ljava/lang/String;
ifnonnull 8
6: aload 0
aload 1
putfield java.util.Calendar$Builder.type:Ljava/lang/String;
7: goto 10
8: StackMap locals:
StackMap stack:
aload 0
getfield java.util.Calendar$Builder.type:Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 10
9: new java.lang.IllegalStateException
dup
ldc "calendar type override"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljava/util/Calendar$Builder;
0 11 1 type Ljava/lang/String;
MethodParameters:
Name Flags
type
public java.util.Calendar$Builder setLocale(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/util/Calendar$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield java.util.Calendar$Builder.locale:Ljava/util/Locale;
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/util/Calendar$Builder;
0 4 1 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale
public java.util.Calendar$Builder setWeekDefinition(int, int);
descriptor: (II)Ljava/util/Calendar$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
invokevirtual java.util.Calendar$Builder.isValidWeekParameter:(I)Z
ifeq 2
1: aload 0
iload 2
invokevirtual java.util.Calendar$Builder.isValidWeekParameter:(I)Z
ifne 3
2: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield java.util.Calendar$Builder.firstDayOfWeek:I
4: aload 0
iload 2
putfield java.util.Calendar$Builder.minimalDaysInFirstWeek:I
5: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/util/Calendar$Builder;
0 6 1 firstDayOfWeek I
0 6 2 minimalDaysInFirstWeek I
MethodParameters:
Name Flags
firstDayOfWeek
minimalDaysInFirstWeek
public java.util.Calendar build();
descriptor: ()Ljava/util/Calendar;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: aload 0
getfield java.util.Calendar$Builder.locale:Ljava/util/Locale;
ifnonnull 2
1: aload 0
invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
putfield java.util.Calendar$Builder.locale:Ljava/util/Locale;
2: StackMap locals:
StackMap stack:
aload 0
getfield java.util.Calendar$Builder.zone:Ljava/util/TimeZone;
ifnonnull 4
3: aload 0
invokestatic java.util.TimeZone.getDefault:()Ljava/util/TimeZone;
putfield java.util.Calendar$Builder.zone:Ljava/util/TimeZone;
4: StackMap locals:
StackMap stack:
aload 0
getfield java.util.Calendar$Builder.type:Ljava/lang/String;
ifnonnull 6
5: aload 0
aload 0
getfield java.util.Calendar$Builder.locale:Ljava/util/Locale;
ldc "ca"
invokevirtual java.util.Locale.getUnicodeLocaleType:(Ljava/lang/String;)Ljava/lang/String;
putfield java.util.Calendar$Builder.type:Ljava/lang/String;
6: StackMap locals:
StackMap stack:
aload 0
getfield java.util.Calendar$Builder.type:Ljava/lang/String;
ifnonnull 12
7: aload 0
getfield java.util.Calendar$Builder.locale:Ljava/util/Locale;
invokevirtual java.util.Locale.getCountry:()Ljava/lang/String;
ldc "TH"
if_acmpne 11
8: aload 0
getfield java.util.Calendar$Builder.locale:Ljava/util/Locale;
invokevirtual java.util.Locale.getLanguage:()Ljava/lang/String;
ldc "th"
if_acmpne 11
9: aload 0
ldc "buddhist"
putfield java.util.Calendar$Builder.type:Ljava/lang/String;
10: goto 12
11: StackMap locals:
StackMap stack:
aload 0
ldc "gregory"
putfield java.util.Calendar$Builder.type:Ljava/lang/String;
12: StackMap locals:
StackMap stack:
aload 0
getfield java.util.Calendar$Builder.type:Ljava/lang/String;
dup
astore 2
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 4
-1581060683: 13
-752730191: 14
283776265: 15
2095190916: 16
default: 29
}
StackMap locals: java.util.Calendar$Builder top java.lang.String
StackMap stack:
13: aload 2
ldc "buddhist"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 24
goto 29
StackMap locals:
StackMap stack:
14: aload 2
ldc "japanese"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 27
goto 29
StackMap locals:
StackMap stack:
15: aload 2
ldc "gregory"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 17
goto 29
StackMap locals:
StackMap stack:
16: aload 2
ldc "iso8601"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 19
goto 29
17: StackMap locals:
StackMap stack:
new java.util.GregorianCalendar
dup
aload 0
getfield java.util.Calendar$Builder.zone:Ljava/util/TimeZone;
aload 0
getfield java.util.Calendar$Builder.locale:Ljava/util/Locale;
iconst_1
invokespecial java.util.GregorianCalendar.<init>:(Ljava/util/TimeZone;Ljava/util/Locale;Z)V
astore 1
start local 1 18: goto 30
end local 1 19: StackMap locals:
StackMap stack:
new java.util.GregorianCalendar
dup
aload 0
getfield java.util.Calendar$Builder.zone:Ljava/util/TimeZone;
aload 0
getfield java.util.Calendar$Builder.locale:Ljava/util/Locale;
iconst_1
invokespecial java.util.GregorianCalendar.<init>:(Ljava/util/TimeZone;Ljava/util/Locale;Z)V
astore 3
start local 3 20: aload 3
new java.util.Date
dup
ldc -9223372036854775808
invokespecial java.util.Date.<init>:(J)V
invokevirtual java.util.GregorianCalendar.setGregorianChange:(Ljava/util/Date;)V
21: aload 0
iconst_2
iconst_4
invokevirtual java.util.Calendar$Builder.setWeekDefinition:(II)Ljava/util/Calendar$Builder;
pop
22: aload 3
astore 1
start local 1 23: goto 30
end local 3 end local 1 24: StackMap locals:
StackMap stack:
new sun.util.BuddhistCalendar
dup
aload 0
getfield java.util.Calendar$Builder.zone:Ljava/util/TimeZone;
aload 0
getfield java.util.Calendar$Builder.locale:Ljava/util/Locale;
invokespecial sun.util.BuddhistCalendar.<init>:(Ljava/util/TimeZone;Ljava/util/Locale;)V
astore 1
start local 1 25: aload 1
invokevirtual java.util.Calendar.clear:()V
26: goto 30
end local 1 27: StackMap locals:
StackMap stack:
new java.util.JapaneseImperialCalendar
dup
aload 0
getfield java.util.Calendar$Builder.zone:Ljava/util/TimeZone;
aload 0
getfield java.util.Calendar$Builder.locale:Ljava/util/Locale;
iconst_1
invokespecial java.util.JapaneseImperialCalendar.<init>:(Ljava/util/TimeZone;Ljava/util/Locale;Z)V
astore 1
start local 1 28: goto 30
end local 1 29: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "unknown calendar type: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield java.util.Calendar$Builder.type:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
start local 1 30: StackMap locals: java.util.Calendar$Builder java.util.Calendar
StackMap stack:
aload 1
aload 0
getfield java.util.Calendar$Builder.lenient:Z
invokevirtual java.util.Calendar.setLenient:(Z)V
31: aload 0
getfield java.util.Calendar$Builder.firstDayOfWeek:I
ifeq 34
32: aload 1
aload 0
getfield java.util.Calendar$Builder.firstDayOfWeek:I
invokevirtual java.util.Calendar.setFirstDayOfWeek:(I)V
33: aload 1
aload 0
getfield java.util.Calendar$Builder.minimalDaysInFirstWeek:I
invokevirtual java.util.Calendar.setMinimalDaysInFirstWeek:(I)V
34: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.util.Calendar$Builder.isInstantSet:()Z
ifeq 38
35: aload 1
aload 0
getfield java.util.Calendar$Builder.instant:J
invokevirtual java.util.Calendar.setTimeInMillis:(J)V
36: aload 1
invokevirtual java.util.Calendar.complete:()V
37: aload 1
areturn
38: StackMap locals:
StackMap stack:
aload 0
getfield java.util.Calendar$Builder.fields:[I
ifnull 67
39: aload 0
bipush 17
invokevirtual java.util.Calendar$Builder.isSet:(I)Z
ifeq 42
40: aload 0
getfield java.util.Calendar$Builder.fields:[I
bipush 17
iaload
aload 0
getfield java.util.Calendar$Builder.fields:[I
iconst_1
iaload
41: if_icmple 42
iconst_1
goto 43
StackMap locals:
StackMap stack:
42: iconst_0
StackMap locals:
StackMap stack: int
43: istore 3
start local 3 44: iload 3
ifeq 46
aload 1
invokevirtual java.util.Calendar.isWeekDateSupported:()Z
ifne 46
45: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "week date is unsupported by "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield java.util.Calendar$Builder.type:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
46: StackMap locals: java.util.Calendar$Builder java.util.Calendar top int
StackMap stack:
iconst_2
istore 4
start local 4 47: goto 56
48: StackMap locals: int
StackMap stack:
iconst_0
istore 5
start local 5 49: goto 54
50: StackMap locals: int
StackMap stack:
aload 0
getfield java.util.Calendar$Builder.fields:[I
iload 5
iaload
iload 4
if_icmpne 53
51: aload 1
iload 5
aload 0
getfield java.util.Calendar$Builder.fields:[I
bipush 18
iload 5
iadd
iaload
invokevirtual java.util.Calendar.set:(II)V
52: goto 55
53: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
54: iload 5
aload 0
getfield java.util.Calendar$Builder.maxFieldIndex:I
if_icmple 50
end local 5 55: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
56: iload 4
aload 0
getfield java.util.Calendar$Builder.nextStamp:I
if_icmplt 48
end local 4 57: iload 3
ifeq 66
58: aload 0
iconst_3
invokevirtual java.util.Calendar$Builder.isSet:(I)Z
ifeq 59
aload 0
getfield java.util.Calendar$Builder.fields:[I
bipush 21
iaload
goto 60
StackMap locals:
StackMap stack:
59: iconst_1
StackMap locals:
StackMap stack: int
60: istore 4
start local 4 61: aload 0
bipush 7
invokevirtual java.util.Calendar$Builder.isSet:(I)Z
ifeq 63
62: aload 0
getfield java.util.Calendar$Builder.fields:[I
bipush 25
iaload
goto 64
StackMap locals: int
StackMap stack:
63: aload 1
invokevirtual java.util.Calendar.getFirstDayOfWeek:()I
64: StackMap locals:
StackMap stack: int
istore 5
start local 5 65: aload 1
aload 0
getfield java.util.Calendar$Builder.fields:[I
bipush 35
iaload
iload 4
iload 5
invokevirtual java.util.Calendar.setWeekDate:(III)V
end local 5 end local 4 66: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.util.Calendar.complete:()V
end local 3 67: StackMap locals: java.util.Calendar$Builder java.util.Calendar
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 68 0 this Ljava/util/Calendar$Builder;
18 19 1 cal Ljava/util/Calendar;
23 24 1 cal Ljava/util/Calendar;
25 27 1 cal Ljava/util/Calendar;
28 29 1 cal Ljava/util/Calendar;
30 68 1 cal Ljava/util/Calendar;
20 24 3 gcal Ljava/util/GregorianCalendar;
44 67 3 weekDate Z
47 57 4 stamp I
49 55 5 index I
61 66 4 weekOfYear I
65 66 5 dayOfWeek I
private void allocateFields();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.Calendar$Builder.fields:[I
ifnonnull 4
1: aload 0
bipush 36
newarray 10
putfield java.util.Calendar$Builder.fields:[I
2: aload 0
iconst_2
putfield java.util.Calendar$Builder.nextStamp:I
3: aload 0
iconst_m1
putfield java.util.Calendar$Builder.maxFieldIndex:I
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/util/Calendar$Builder;
private void internalSet(int, int);
descriptor: (II)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield java.util.Calendar$Builder.fields:[I
iload 1
aload 0
dup
getfield java.util.Calendar$Builder.nextStamp:I
dup_x1
iconst_1
iadd
putfield java.util.Calendar$Builder.nextStamp:I
iastore
1: aload 0
getfield java.util.Calendar$Builder.nextStamp:I
ifge 3
2: new java.lang.IllegalStateException
dup
ldc "stamp counter overflow"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getfield java.util.Calendar$Builder.fields:[I
bipush 18
iload 1
iadd
iload 2
iastore
4: iload 1
aload 0
getfield java.util.Calendar$Builder.maxFieldIndex:I
if_icmple 6
iload 1
bipush 17
if_icmpge 6
5: aload 0
iload 1
putfield java.util.Calendar$Builder.maxFieldIndex:I
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/util/Calendar$Builder;
0 7 1 field I
0 7 2 value I
MethodParameters:
Name Flags
field
value
private boolean isInstantSet();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.Calendar$Builder.nextStamp:I
iconst_1
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/Calendar$Builder;
private boolean isSet(int);
descriptor: (I)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.Calendar$Builder.fields:[I
ifnull 1
aload 0
getfield java.util.Calendar$Builder.fields:[I
iload 1
iaload
ifle 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/Calendar$Builder;
0 2 1 index I
MethodParameters:
Name Flags
index
private boolean isValidWeekParameter(int);
descriptor: (I)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifle 1
iload 1
bipush 7
if_icmpgt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/Calendar$Builder;
0 2 1 value I
MethodParameters:
Name Flags
value
}
SourceFile: "Calendar.java"
NestHost: java.util.Calendar
InnerClasses:
public Builder = java.util.Calendar$Builder of java.util.Calendar