code: public long toMilliseconds() {
          final Date now = new Date();
          return TimeCategory.minus(plus(now), now).toMilliseconds();
      }
docs: @see groovy.time.BaseDuration#toMilliseconds()
  
  Change the duration into milliseconds, relative to 'now.'  Therefore
  things like timezone and time of year will affect how this conversion
  occurs.