Exemplo n.º 1
0
 public int getDifference(long minuendInstant, long subtrahendInstant) {
   return FieldUtils.safeToInt(FieldUtils.safeSubtract(minuendInstant, subtrahendInstant));
 }
Exemplo n.º 2
0
 public long getDifferenceAsLong(long minuendInstant, long subtrahendInstant) {
   return FieldUtils.safeSubtract(minuendInstant, subtrahendInstant);
 }
 public long getDifferenceAsLong(long minuendInstant, long subtrahendInstant) {
   long difference = FieldUtils.safeSubtract(minuendInstant, subtrahendInstant);
   return difference / iUnitMillis;
 }