code: public DurationRule maxAge(long maxAge, TimeUnit timeUnit) {
      return maxAge(Duration.ofNanos(TimeUnit.NANOSECONDS.convert(maxAge, timeUnit)));
    }
docs: Creates a new instance of the DurationRule
  
  @param maxAge - maximum age of the cell to keep
  @param timeUnit - timeunit for the age