public abstract class sun.util.calendar.AbstractCalendar extends sun.util.calendar.CalendarSystem
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.util.calendar.AbstractCalendar
super_class: sun.util.calendar.CalendarSystem
{
static final int SECOND_IN_MILLIS;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1000
static final int MINUTE_IN_MILLIS;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 60000
static final int HOUR_IN_MILLIS;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 3600000
static final int DAY_IN_MILLIS;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 86400000
static final int EPOCH_OFFSET;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 719163
private sun.util.calendar.Era[] eras;
descriptor: [Lsun/util/calendar/Era;
flags: (0x0002) ACC_PRIVATE
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.util.calendar.CalendarSystem.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/util/calendar/AbstractCalendar;
public sun.util.calendar.Era getEra(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/util/calendar/Era;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.util.calendar.AbstractCalendar.eras:[Lsun/util/calendar/Era;
ifnull 7
1: iconst_0
istore 2
start local 2 2: goto 6
3: StackMap locals: int
StackMap stack:
aload 0
getfield sun.util.calendar.AbstractCalendar.eras:[Lsun/util/calendar/Era;
iload 2
aaload
aload 1
invokevirtual sun.util.calendar.Era.equals:(Ljava/lang/Object;)Z
ifeq 5
4: aload 0
getfield sun.util.calendar.AbstractCalendar.eras:[Lsun/util/calendar/Era;
iload 2
aaload
areturn
5: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
aload 0
getfield sun.util.calendar.AbstractCalendar.eras:[Lsun/util/calendar/Era;
arraylength
if_icmplt 3
end local 2 7: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/util/calendar/AbstractCalendar;
0 8 1 eraName Ljava/lang/String;
2 7 2 i I
MethodParameters:
Name Flags
eraName
public sun.util.calendar.Era[] getEras();
descriptor: ()[Lsun/util/calendar/Era;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
getfield sun.util.calendar.AbstractCalendar.eras:[Lsun/util/calendar/Era;
ifnull 4
2: aload 0
getfield sun.util.calendar.AbstractCalendar.eras:[Lsun/util/calendar/Era;
arraylength
anewarray sun.util.calendar.Era
astore 1
3: aload 0
getfield sun.util.calendar.AbstractCalendar.eras:[Lsun/util/calendar/Era;
iconst_0
aload 1
iconst_0
aload 0
getfield sun.util.calendar.AbstractCalendar.eras:[Lsun/util/calendar/Era;
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: StackMap locals: sun.util.calendar.Era[]
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/util/calendar/AbstractCalendar;
1 5 1 e [Lsun/util/calendar/Era;
public void setEra(sun.util.calendar.CalendarDate, java.lang.String);
descriptor: (Lsun/util/calendar/CalendarDate;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.util.calendar.AbstractCalendar.eras:[Lsun/util/calendar/Era;
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
iconst_0
istore 3
start local 3 3: goto 9
4: StackMap locals: int
StackMap stack:
aload 0
getfield sun.util.calendar.AbstractCalendar.eras:[Lsun/util/calendar/Era;
iload 3
aaload
astore 4
start local 4 5: aload 4
ifnull 8
aload 4
invokevirtual sun.util.calendar.Era.getName:()Ljava/lang/String;
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
6: aload 1
aload 4
invokevirtual sun.util.calendar.CalendarDate.setEra:(Lsun/util/calendar/Era;)Lsun/util/calendar/CalendarDate;
pop
7: return
end local 4 8: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
9: iload 3
aload 0
getfield sun.util.calendar.AbstractCalendar.eras:[Lsun/util/calendar/Era;
arraylength
if_icmplt 4
end local 3 10: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "unknown era name: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
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
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/util/calendar/AbstractCalendar;
0 11 1 date Lsun/util/calendar/CalendarDate;
0 11 2 eraName Ljava/lang/String;
3 10 3 i I
5 8 4 e Lsun/util/calendar/Era;
MethodParameters:
Name Flags
date
eraName
protected void setEras(sun.util.calendar.Era[]);
descriptor: ([Lsun/util/calendar/Era;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.util.calendar.AbstractCalendar.eras:[Lsun/util/calendar/Era;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/util/calendar/AbstractCalendar;
0 2 1 eras [Lsun/util/calendar/Era;
MethodParameters:
Name Flags
eras
public sun.util.calendar.CalendarDate getCalendarDate();
descriptor: ()Lsun/util/calendar/CalendarDate;
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.AbstractCalendar.newCalendarDate:()Lsun/util/calendar/CalendarDate;
invokevirtual sun.util.calendar.AbstractCalendar.getCalendarDate:(JLsun/util/calendar/CalendarDate;)Lsun/util/calendar/CalendarDate;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/calendar/AbstractCalendar;
public sun.util.calendar.CalendarDate getCalendarDate(long);
descriptor: (J)Lsun/util/calendar/CalendarDate;
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.AbstractCalendar.newCalendarDate:()Lsun/util/calendar/CalendarDate;
invokevirtual sun.util.calendar.AbstractCalendar.getCalendarDate:(JLsun/util/calendar/CalendarDate;)Lsun/util/calendar/CalendarDate;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/calendar/AbstractCalendar;
0 1 1 millis J
MethodParameters:
Name Flags
millis
public sun.util.calendar.CalendarDate getCalendarDate(long, java.util.TimeZone);
descriptor: (JLjava/util/TimeZone;)Lsun/util/calendar/CalendarDate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
aload 3
invokevirtual sun.util.calendar.AbstractCalendar.newCalendarDate:(Ljava/util/TimeZone;)Lsun/util/calendar/CalendarDate;
astore 4
start local 4 1: aload 0
lload 1
aload 4
invokevirtual sun.util.calendar.AbstractCalendar.getCalendarDate:(JLsun/util/calendar/CalendarDate;)Lsun/util/calendar/CalendarDate;
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/AbstractCalendar;
0 2 1 millis J
0 2 3 zone Ljava/util/TimeZone;
1 2 4 date Lsun/util/calendar/CalendarDate;
MethodParameters:
Name Flags
millis
zone
public sun.util.calendar.CalendarDate getCalendarDate(long, sun.util.calendar.CalendarDate);
descriptor: (JLsun/util/calendar/CalendarDate;)Lsun/util/calendar/CalendarDate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=11, args_size=3
start local 0 start local 1 start local 3 0: iconst_0
istore 4
start local 4 1: iconst_0
istore 5
start local 5 2: iconst_0
istore 6
start local 6 3: lconst_0
lstore 7
start local 7 4: aload 3
invokevirtual sun.util.calendar.CalendarDate.getZone:()Ljava/util/TimeZone;
astore 9
start local 9 5: aload 9
ifnull 16
6: iconst_2
newarray 10
astore 10
start local 10 7: aload 9
instanceof sun.util.calendar.ZoneInfo
ifeq 10
8: aload 9
checkcast sun.util.calendar.ZoneInfo
lload 1
aload 10
invokevirtual sun.util.calendar.ZoneInfo.getOffsets:(J[I)I
istore 5
9: goto 13
10: StackMap locals: sun.util.calendar.AbstractCalendar long sun.util.calendar.CalendarDate int int int long java.util.TimeZone int[]
StackMap stack:
aload 9
lload 1
invokevirtual java.util.TimeZone.getOffset:(J)I
istore 5
11: aload 10
iconst_0
aload 9
invokevirtual java.util.TimeZone.getRawOffset:()I
iastore
12: aload 10
iconst_1
iload 5
aload 10
iconst_0
iaload
isub
iastore
13: StackMap locals:
StackMap stack:
iload 5
ldc 86400000
idiv
i2l
lstore 7
14: iload 5
ldc 86400000
irem
istore 4
15: aload 10
iconst_1
iaload
istore 6
end local 10 16: StackMap locals:
StackMap stack:
aload 3
iload 5
invokevirtual sun.util.calendar.CalendarDate.setZoneOffset:(I)V
17: aload 3
iload 6
invokevirtual sun.util.calendar.CalendarDate.setDaylightSaving:(I)V
18: lload 7
lload 1
ldc 86400000
ldiv
ladd
lstore 7
19: iload 4
lload 1
ldc 86400000
lrem
l2i
iadd
istore 4
20: iload 4
ldc 86400000
if_icmplt 26
21: iload 4
ldc 86400000
isub
istore 4
22: lload 7
lconst_1
ladd
lstore 7
23: goto 27
24: StackMap locals:
StackMap stack:
iload 4
ldc 86400000
iadd
istore 4
25: lload 7
lconst_1
lsub
lstore 7
26: StackMap locals:
StackMap stack:
iload 4
iflt 24
27: StackMap locals:
StackMap stack:
lload 7
ldc 719163
ladd
lstore 7
28: aload 0
aload 3
lload 7
invokevirtual sun.util.calendar.AbstractCalendar.getCalendarDateFromFixedDate:(Lsun/util/calendar/CalendarDate;J)V
29: aload 0
aload 3
iload 4
invokevirtual sun.util.calendar.AbstractCalendar.setTimeOfDay:(Lsun/util/calendar/CalendarDate;I)Lsun/util/calendar/CalendarDate;
pop
30: aload 3
aload 0
aload 3
invokevirtual sun.util.calendar.AbstractCalendar.isLeapYear:(Lsun/util/calendar/CalendarDate;)Z
invokevirtual sun.util.calendar.CalendarDate.setLeapYear:(Z)V
31: aload 3
iconst_1
invokevirtual sun.util.calendar.CalendarDate.setNormalized:(Z)V
32: aload 3
areturn
end local 9 end local 7 end local 6 end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lsun/util/calendar/AbstractCalendar;
0 33 1 millis J
0 33 3 date Lsun/util/calendar/CalendarDate;
1 33 4 ms I
2 33 5 zoneOffset I
3 33 6 saving I
4 33 7 days J
5 33 9 zi Ljava/util/TimeZone;
7 16 10 offsets [I
MethodParameters:
Name Flags
millis
date
public long getTime(sun.util.calendar.CalendarDate);
descriptor: (Lsun/util/calendar/CalendarDate;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.util.calendar.AbstractCalendar.getFixedDate:(Lsun/util/calendar/CalendarDate;)J
lstore 2
start local 2 1: lload 2
ldc 719163
lsub
ldc 86400000
lmul
aload 0
aload 1
invokevirtual sun.util.calendar.AbstractCalendar.getTimeOfDay:(Lsun/util/calendar/CalendarDate;)J
ladd
lstore 4
start local 4 2: iconst_0
istore 6
start local 6 3: aload 1
invokevirtual sun.util.calendar.CalendarDate.getZone:()Ljava/util/TimeZone;
astore 7
start local 7 4: aload 7
ifnull 19
5: aload 1
invokevirtual sun.util.calendar.CalendarDate.isNormalized:()Z
ifeq 7
6: lload 4
aload 1
invokevirtual sun.util.calendar.CalendarDate.getZoneOffset:()I
i2l
lsub
lreturn
7: StackMap locals: sun.util.calendar.AbstractCalendar sun.util.calendar.CalendarDate long long int java.util.TimeZone
StackMap stack:
iconst_2
newarray 10
astore 8
start local 8 8: aload 1
invokevirtual sun.util.calendar.CalendarDate.isStandardTime:()Z
ifeq 15
9: aload 7
instanceof sun.util.calendar.ZoneInfo
ifeq 13
10: aload 7
checkcast sun.util.calendar.ZoneInfo
lload 4
aload 8
invokevirtual sun.util.calendar.ZoneInfo.getOffsetsByStandard:(J[I)I
pop
11: aload 8
iconst_0
iaload
istore 6
12: goto 19
13: StackMap locals: int[]
StackMap stack:
aload 7
lload 4
aload 7
invokevirtual java.util.TimeZone.getRawOffset:()I
i2l
lsub
invokevirtual java.util.TimeZone.getOffset:(J)I
istore 6
14: goto 19
15: StackMap locals:
StackMap stack:
aload 7
instanceof sun.util.calendar.ZoneInfo
ifeq 18
16: aload 7
checkcast sun.util.calendar.ZoneInfo
lload 4
aload 8
invokevirtual sun.util.calendar.ZoneInfo.getOffsetsByWall:(J[I)I
istore 6
17: goto 19
18: StackMap locals:
StackMap stack:
aload 7
lload 4
aload 7
invokevirtual java.util.TimeZone.getRawOffset:()I
i2l
lsub
invokevirtual java.util.TimeZone.getOffset:(J)I
istore 6
end local 8 19: StackMap locals:
StackMap stack:
lload 4
iload 6
i2l
lsub
lstore 4
20: aload 0
lload 4
aload 1
invokevirtual sun.util.calendar.AbstractCalendar.getCalendarDate:(JLsun/util/calendar/CalendarDate;)Lsun/util/calendar/CalendarDate;
pop
21: lload 4
lreturn
end local 7 end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lsun/util/calendar/AbstractCalendar;
0 22 1 date Lsun/util/calendar/CalendarDate;
1 22 2 gd J
2 22 4 ms J
3 22 6 zoneOffset I
4 22 7 zi Ljava/util/TimeZone;
8 19 8 offsets [I
MethodParameters:
Name Flags
date
protected long getTimeOfDay(sun.util.calendar.CalendarDate);
descriptor: (Lsun/util/calendar/CalendarDate;)J
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual sun.util.calendar.CalendarDate.getTimeOfDay:()J
lstore 2
start local 2 1: lload 2
ldc -9223372036854775808
lcmp
ifeq 3
2: lload 2
lreturn
3: StackMap locals: long
StackMap stack:
aload 0
aload 1
invokevirtual sun.util.calendar.AbstractCalendar.getTimeOfDayValue:(Lsun/util/calendar/CalendarDate;)J
lstore 2
4: aload 1
lload 2
invokevirtual sun.util.calendar.CalendarDate.setTimeOfDay:(J)V
5: lload 2
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/util/calendar/AbstractCalendar;
0 6 1 date Lsun/util/calendar/CalendarDate;
1 6 2 fraction J
MethodParameters:
Name Flags
date
public long getTimeOfDayValue(sun.util.calendar.CalendarDate);
descriptor: (Lsun/util/calendar/CalendarDate;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual sun.util.calendar.CalendarDate.getHours:()I
i2l
lstore 2
start local 2 1: lload 2
ldc 60
lmul
lstore 2
2: lload 2
aload 1
invokevirtual sun.util.calendar.CalendarDate.getMinutes:()I
i2l
ladd
lstore 2
3: lload 2
ldc 60
lmul
lstore 2
4: lload 2
aload 1
invokevirtual sun.util.calendar.CalendarDate.getSeconds:()I
i2l
ladd
lstore 2
5: lload 2
ldc 1000
lmul
lstore 2
6: lload 2
aload 1
invokevirtual sun.util.calendar.CalendarDate.getMillis:()I
i2l
ladd
lstore 2
7: lload 2
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/util/calendar/AbstractCalendar;
0 8 1 date Lsun/util/calendar/CalendarDate;
1 8 2 fraction J
MethodParameters:
Name Flags
date
public sun.util.calendar.CalendarDate setTimeOfDay(sun.util.calendar.CalendarDate, int);
descriptor: (Lsun/util/calendar/CalendarDate;I)Lsun/util/calendar/CalendarDate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ifge 2
1: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.util.calendar.CalendarDate.isNormalized:()Z
istore 3
start local 3 3: iload 2
istore 4
start local 4 4: iload 4
ldc 3600000
idiv
istore 5
start local 5 5: iload 4
ldc 3600000
irem
istore 4
6: iload 4
ldc 60000
idiv
istore 6
start local 6 7: iload 4
ldc 60000
irem
istore 4
8: iload 4
sipush 1000
idiv
istore 7
start local 7 9: iload 4
sipush 1000
irem
istore 4
10: aload 1
iload 5
invokevirtual sun.util.calendar.CalendarDate.setHours:(I)Lsun/util/calendar/CalendarDate;
pop
11: aload 1
iload 6
invokevirtual sun.util.calendar.CalendarDate.setMinutes:(I)Lsun/util/calendar/CalendarDate;
pop
12: aload 1
iload 7
invokevirtual sun.util.calendar.CalendarDate.setSeconds:(I)Lsun/util/calendar/CalendarDate;
pop
13: aload 1
iload 4
invokevirtual sun.util.calendar.CalendarDate.setMillis:(I)Lsun/util/calendar/CalendarDate;
pop
14: aload 1
iload 2
i2l
invokevirtual sun.util.calendar.CalendarDate.setTimeOfDay:(J)V
15: iload 5
bipush 24
if_icmpge 17
iload 3
ifeq 17
16: aload 1
iload 3
invokevirtual sun.util.calendar.CalendarDate.setNormalized:(Z)V
17: StackMap locals: sun.util.calendar.AbstractCalendar sun.util.calendar.CalendarDate int int int int int int
StackMap stack:
aload 1
areturn
end local 7 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 18 0 this Lsun/util/calendar/AbstractCalendar;
0 18 1 cdate Lsun/util/calendar/CalendarDate;
0 18 2 fraction I
3 18 3 normalizedState Z
4 18 4 time I
5 18 5 hours I
7 18 6 minutes I
9 18 7 seconds I
MethodParameters:
Name Flags
cdate
fraction
public int getWeekLength();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: bipush 7
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/calendar/AbstractCalendar;
protected abstract boolean isLeapYear(sun.util.calendar.CalendarDate);
descriptor: (Lsun/util/calendar/CalendarDate;)Z
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
date
public sun.util.calendar.CalendarDate getNthDayOfWeek(int, int, sun.util.calendar.CalendarDate);
descriptor: (IILsun/util/calendar/CalendarDate;)Lsun/util/calendar/CalendarDate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokevirtual sun.util.calendar.CalendarDate.clone:()Ljava/lang/Object;
checkcast sun.util.calendar.CalendarDate
astore 4
start local 4 1: aload 0
aload 4
invokevirtual sun.util.calendar.AbstractCalendar.normalize:(Lsun/util/calendar/CalendarDate;)Z
pop
2: aload 0
aload 4
invokevirtual sun.util.calendar.AbstractCalendar.getFixedDate:(Lsun/util/calendar/CalendarDate;)J
lstore 5
start local 5 3: iload 1
ifle 6
4: bipush 7
iload 1
imul
i2l
lload 5
iload 2
invokestatic sun.util.calendar.AbstractCalendar.getDayOfWeekDateBefore:(JI)J
ladd
lstore 7
start local 7 5: goto 7
end local 7 6: StackMap locals: sun.util.calendar.CalendarDate long
StackMap stack:
bipush 7
iload 1
imul
i2l
lload 5
iload 2
invokestatic sun.util.calendar.AbstractCalendar.getDayOfWeekDateAfter:(JI)J
ladd
lstore 7
start local 7 7: StackMap locals: long
StackMap stack:
aload 0
aload 4
lload 7
invokevirtual sun.util.calendar.AbstractCalendar.getCalendarDateFromFixedDate:(Lsun/util/calendar/CalendarDate;J)V
8: aload 4
areturn
end local 7 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/calendar/AbstractCalendar;
0 9 1 nth I
0 9 2 dayOfWeek I
0 9 3 date Lsun/util/calendar/CalendarDate;
1 9 4 ndate Lsun/util/calendar/CalendarDate;
3 9 5 fd J
5 6 7 nfd J
7 9 7 nfd J
MethodParameters:
Name Flags
nth
dayOfWeek
date
static long getDayOfWeekDateBefore(long, int);
descriptor: (JI)J
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 2 0: lload 0
lconst_1
lsub
iload 2
invokestatic sun.util.calendar.AbstractCalendar.getDayOfWeekDateOnOrBefore:(JI)J
lreturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 fixedDate J
0 1 2 dayOfWeek I
MethodParameters:
Name Flags
fixedDate
dayOfWeek
static long getDayOfWeekDateAfter(long, int);
descriptor: (JI)J
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 2 0: lload 0
ldc 7
ladd
iload 2
invokestatic sun.util.calendar.AbstractCalendar.getDayOfWeekDateOnOrBefore:(JI)J
lreturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 fixedDate J
0 1 2 dayOfWeek I
MethodParameters:
Name Flags
fixedDate
dayOfWeek
public static long getDayOfWeekDateOnOrBefore(long, int);
descriptor: (JI)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=2
start local 0 start local 2 0: lload 0
iload 2
iconst_1
isub
i2l
lsub
lstore 3
start local 3 1: lload 3
lconst_0
lcmp
iflt 3
2: lload 0
lload 3
ldc 7
lrem
lsub
lreturn
3: StackMap locals: long
StackMap stack:
lload 0
lload 3
ldc 7
invokestatic sun.util.calendar.CalendarUtils.mod:(JJ)J
lsub
lreturn
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 fixedDate J
0 4 2 dayOfWeek I
1 4 3 fd J
MethodParameters:
Name Flags
fixedDate
dayOfWeek
protected abstract long getFixedDate(sun.util.calendar.CalendarDate);
descriptor: (Lsun/util/calendar/CalendarDate;)J
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
date
protected abstract void getCalendarDateFromFixedDate(sun.util.calendar.CalendarDate, long);
descriptor: (Lsun/util/calendar/CalendarDate;J)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
date
fixedDate
public boolean validateTime(sun.util.calendar.CalendarDate);
descriptor: (Lsun/util/calendar/CalendarDate;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual sun.util.calendar.CalendarDate.getHours:()I
istore 2
start local 2 1: iload 2
iflt 2
iload 2
bipush 24
if_icmplt 3
2: StackMap locals: int
StackMap stack:
iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.util.calendar.CalendarDate.getMinutes:()I
istore 2
4: iload 2
iflt 5
iload 2
bipush 60
if_icmplt 6
5: StackMap locals:
StackMap stack:
iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.util.calendar.CalendarDate.getSeconds:()I
istore 2
7: iload 2
iflt 8
iload 2
bipush 60
if_icmplt 9
8: StackMap locals:
StackMap stack:
iconst_0
ireturn
9: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.util.calendar.CalendarDate.getMillis:()I
istore 2
10: iload 2
iflt 11
iload 2
sipush 1000
if_icmplt 12
11: StackMap locals:
StackMap stack:
iconst_0
ireturn
12: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/util/calendar/AbstractCalendar;
0 13 1 date Lsun/util/calendar/CalendarDate;
1 13 2 t I
MethodParameters:
Name Flags
date
int normalizeTime(sun.util.calendar.CalendarDate);
descriptor: (Lsun/util/calendar/CalendarDate;)I
flags: (0x0000)
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.util.calendar.AbstractCalendar.getTimeOfDay:(Lsun/util/calendar/CalendarDate;)J
lstore 2
start local 2 1: lconst_0
lstore 4
start local 4 2: lload 2
ldc 86400000
lcmp
iflt 6
3: lload 2
ldc 86400000
ldiv
lstore 4
4: lload 2
ldc 86400000
lrem
lstore 2
5: goto 10
StackMap locals: long long
StackMap stack:
6: lload 2
lconst_0
lcmp
ifge 10
7: lload 2
ldc 86400000
invokestatic sun.util.calendar.CalendarUtils.floorDivide:(JJ)J
lstore 4
8: lload 4
lconst_0
lcmp
ifeq 10
9: lload 2
ldc 86400000
lload 4
lmul
lsub
lstore 2
10: StackMap locals:
StackMap stack:
lload 4
lconst_0
lcmp
ifeq 12
11: aload 1
lload 2
invokevirtual sun.util.calendar.CalendarDate.setTimeOfDay:(J)V
12: StackMap locals:
StackMap stack:
aload 1
lload 2
ldc 1000
lrem
l2i
invokevirtual sun.util.calendar.CalendarDate.setMillis:(I)Lsun/util/calendar/CalendarDate;
pop
13: lload 2
ldc 1000
ldiv
lstore 2
14: aload 1
lload 2
ldc 60
lrem
l2i
invokevirtual sun.util.calendar.CalendarDate.setSeconds:(I)Lsun/util/calendar/CalendarDate;
pop
15: lload 2
ldc 60
ldiv
lstore 2
16: aload 1
lload 2
ldc 60
lrem
l2i
invokevirtual sun.util.calendar.CalendarDate.setMinutes:(I)Lsun/util/calendar/CalendarDate;
pop
17: aload 1
lload 2
ldc 60
ldiv
l2i
invokevirtual sun.util.calendar.CalendarDate.setHours:(I)Lsun/util/calendar/CalendarDate;
pop
18: lload 4
l2i
ireturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lsun/util/calendar/AbstractCalendar;
0 19 1 date Lsun/util/calendar/CalendarDate;
1 19 2 fraction J
2 19 4 days J
MethodParameters:
Name Flags
date
}
SourceFile: "AbstractCalendar.java"