code: private String handleBetween(final String input) {
          final String outString = input.replace("BETWEEN ", "")
                  .replace("BET ", "").replace("FROM ", "");
          return truncateAt(truncateAt(outString, " AND "), " TO ").trim();
      }
docs: Process between syntax. Just leave the beginning date.
  
  @param input the source string
  @return the stripped result