code: public int days() {
          if (isInfinite()) {
              return 0;
          }
          Period p = new Period(asInterval(), PeriodType.days());
          return p.getDays();
      }
docs: The duration in days
  
  @return