code: private static BigDecimal daysPlusSeconds(BigInteger days, BigDecimal seconds) {
      return seconds.add(new BigDecimal(days.multiply(BigInteger.valueOf(24*60*60))));
    }
docs: Returns the total number of seconds from a specified number of days and seconds.