public abstract class org.joda.time.base.BaseDuration extends org.joda.time.base.AbstractDuration implements org.joda.time.ReadableDuration, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.joda.time.base.BaseDuration
super_class: org.joda.time.base.AbstractDuration
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2581698638990
private volatile long iMillis;
descriptor: J
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
protected void <init>(long);
descriptor: (J)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.joda.time.base.AbstractDuration.<init>:()V
1: aload 0
lload 1
putfield org.joda.time.base.BaseDuration.iMillis:J
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/joda/time/base/BaseDuration;
0 3 1 duration J
MethodParameters:
Name Flags
duration
protected void <init>(long, long);
descriptor: (JJ)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
invokespecial org.joda.time.base.AbstractDuration.<init>:()V
1: aload 0
lload 3
lload 1
invokestatic org.joda.time.field.FieldUtils.safeSubtract:(JJ)J
putfield org.joda.time.base.BaseDuration.iMillis:J
2: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/joda/time/base/BaseDuration;
0 3 1 startInstant J
0 3 3 endInstant J
MethodParameters:
Name Flags
startInstant
endInstant
protected void <init>(org.joda.time.ReadableInstant, org.joda.time.ReadableInstant);
descriptor: (Lorg/joda/time/ReadableInstant;Lorg/joda/time/ReadableInstant;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.joda.time.base.AbstractDuration.<init>:()V
1: aload 1
aload 2
if_acmpne 4
2: aload 0
lconst_0
putfield org.joda.time.base.BaseDuration.iMillis:J
3: goto 7
4: StackMap locals: org.joda.time.base.BaseDuration org.joda.time.ReadableInstant org.joda.time.ReadableInstant
StackMap stack:
aload 1
invokestatic org.joda.time.DateTimeUtils.getInstantMillis:(Lorg/joda/time/ReadableInstant;)J
lstore 3
start local 3 5: aload 2
invokestatic org.joda.time.DateTimeUtils.getInstantMillis:(Lorg/joda/time/ReadableInstant;)J
lstore 5
start local 5 6: aload 0
lload 5
lload 3
invokestatic org.joda.time.field.FieldUtils.safeSubtract:(JJ)J
putfield org.joda.time.base.BaseDuration.iMillis:J
end local 5 end local 3 7: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/joda/time/base/BaseDuration;
0 8 1 start Lorg/joda/time/ReadableInstant;
0 8 2 end Lorg/joda/time/ReadableInstant;
5 7 3 startMillis J
6 7 5 endMillis J
MethodParameters:
Name Flags
start
end
protected void <init>(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.joda.time.base.AbstractDuration.<init>:()V
1: invokestatic org.joda.time.convert.ConverterManager.getInstance:()Lorg/joda/time/convert/ConverterManager;
aload 1
invokevirtual org.joda.time.convert.ConverterManager.getDurationConverter:(Ljava/lang/Object;)Lorg/joda/time/convert/DurationConverter;
astore 2
start local 2 2: aload 0
aload 2
aload 1
invokeinterface org.joda.time.convert.DurationConverter.getDurationMillis:(Ljava/lang/Object;)J
putfield org.joda.time.base.BaseDuration.iMillis:J
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/joda/time/base/BaseDuration;
0 4 1 duration Ljava/lang/Object;
2 4 2 converter Lorg/joda/time/convert/DurationConverter;
MethodParameters:
Name Flags
duration
public long getMillis();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.joda.time.base.BaseDuration.iMillis:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/joda/time/base/BaseDuration;
protected void setMillis(long);
descriptor: (J)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
putfield org.joda.time.base.BaseDuration.iMillis:J
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/joda/time/base/BaseDuration;
0 2 1 duration J
MethodParameters:
Name Flags
duration
public org.joda.time.Period toPeriod(org.joda.time.PeriodType);
descriptor: (Lorg/joda/time/PeriodType;)Lorg/joda/time/Period;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new org.joda.time.Period
dup
aload 0
invokevirtual org.joda.time.base.BaseDuration.getMillis:()J
aload 1
invokespecial org.joda.time.Period.<init>:(JLorg/joda/time/PeriodType;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/joda/time/base/BaseDuration;
0 1 1 type Lorg/joda/time/PeriodType;
MethodParameters:
Name Flags
type
public org.joda.time.Period toPeriod(org.joda.time.Chronology);
descriptor: (Lorg/joda/time/Chronology;)Lorg/joda/time/Period;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new org.joda.time.Period
dup
aload 0
invokevirtual org.joda.time.base.BaseDuration.getMillis:()J
aload 1
invokespecial org.joda.time.Period.<init>:(JLorg/joda/time/Chronology;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/joda/time/base/BaseDuration;
0 1 1 chrono Lorg/joda/time/Chronology;
MethodParameters:
Name Flags
chrono
public org.joda.time.Period toPeriod(org.joda.time.PeriodType, org.joda.time.Chronology);
descriptor: (Lorg/joda/time/PeriodType;Lorg/joda/time/Chronology;)Lorg/joda/time/Period;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.joda.time.Period
dup
aload 0
invokevirtual org.joda.time.base.BaseDuration.getMillis:()J
aload 1
aload 2
invokespecial org.joda.time.Period.<init>:(JLorg/joda/time/PeriodType;Lorg/joda/time/Chronology;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/joda/time/base/BaseDuration;
0 1 1 type Lorg/joda/time/PeriodType;
0 1 2 chrono Lorg/joda/time/Chronology;
MethodParameters:
Name Flags
type
chrono
public org.joda.time.Period toPeriodFrom(org.joda.time.ReadableInstant);
descriptor: (Lorg/joda/time/ReadableInstant;)Lorg/joda/time/Period;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.joda.time.Period
dup
aload 1
aload 0
invokespecial org.joda.time.Period.<init>:(Lorg/joda/time/ReadableInstant;Lorg/joda/time/ReadableDuration;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/joda/time/base/BaseDuration;
0 1 1 startInstant Lorg/joda/time/ReadableInstant;
MethodParameters:
Name Flags
startInstant
public org.joda.time.Period toPeriodFrom(org.joda.time.ReadableInstant, org.joda.time.PeriodType);
descriptor: (Lorg/joda/time/ReadableInstant;Lorg/joda/time/PeriodType;)Lorg/joda/time/Period;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.joda.time.Period
dup
aload 1
aload 0
aload 2
invokespecial org.joda.time.Period.<init>:(Lorg/joda/time/ReadableInstant;Lorg/joda/time/ReadableDuration;Lorg/joda/time/PeriodType;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/joda/time/base/BaseDuration;
0 1 1 startInstant Lorg/joda/time/ReadableInstant;
0 1 2 type Lorg/joda/time/PeriodType;
MethodParameters:
Name Flags
startInstant
type
public org.joda.time.Period toPeriodTo(org.joda.time.ReadableInstant);
descriptor: (Lorg/joda/time/ReadableInstant;)Lorg/joda/time/Period;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.joda.time.Period
dup
aload 0
aload 1
invokespecial org.joda.time.Period.<init>:(Lorg/joda/time/ReadableDuration;Lorg/joda/time/ReadableInstant;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/joda/time/base/BaseDuration;
0 1 1 endInstant Lorg/joda/time/ReadableInstant;
MethodParameters:
Name Flags
endInstant
public org.joda.time.Period toPeriodTo(org.joda.time.ReadableInstant, org.joda.time.PeriodType);
descriptor: (Lorg/joda/time/ReadableInstant;Lorg/joda/time/PeriodType;)Lorg/joda/time/Period;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.joda.time.Period
dup
aload 0
aload 1
aload 2
invokespecial org.joda.time.Period.<init>:(Lorg/joda/time/ReadableDuration;Lorg/joda/time/ReadableInstant;Lorg/joda/time/PeriodType;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/joda/time/base/BaseDuration;
0 1 1 endInstant Lorg/joda/time/ReadableInstant;
0 1 2 type Lorg/joda/time/PeriodType;
MethodParameters:
Name Flags
endInstant
type
public org.joda.time.Interval toIntervalFrom(org.joda.time.ReadableInstant);
descriptor: (Lorg/joda/time/ReadableInstant;)Lorg/joda/time/Interval;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.joda.time.Interval
dup
aload 1
aload 0
invokespecial org.joda.time.Interval.<init>:(Lorg/joda/time/ReadableInstant;Lorg/joda/time/ReadableDuration;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/joda/time/base/BaseDuration;
0 1 1 startInstant Lorg/joda/time/ReadableInstant;
MethodParameters:
Name Flags
startInstant
public org.joda.time.Interval toIntervalTo(org.joda.time.ReadableInstant);
descriptor: (Lorg/joda/time/ReadableInstant;)Lorg/joda/time/Interval;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.joda.time.Interval
dup
aload 0
aload 1
invokespecial org.joda.time.Interval.<init>:(Lorg/joda/time/ReadableDuration;Lorg/joda/time/ReadableInstant;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/joda/time/base/BaseDuration;
0 1 1 endInstant Lorg/joda/time/ReadableInstant;
MethodParameters:
Name Flags
endInstant
}
SourceFile: "BaseDuration.java"