asMs method

double asMs()

Returns the TimeUnitDuration in milliseconds

Implementation

double asMs() {
  return amount * timeUnit.asMs();
}