public static Integer parseDateExpressionToInt(String dateExpression) {
    return DateUtils.parseDateExpressionToInt(dateExpression);
  }
Storage the duration into two parts: month part and non-month part, the non-month part's
precision is depended on current time precision. e.g. ms precision: '1y1mo1ms' -> monthDuration
= 13, nonMonthDuration = 1, ns precision: '1y1mo1ms' -> monthDuration = 13, nonMonthDuration =
1000_000.

@param duration the input duration string
@return the TimeDuration instance contains month part and non-month part
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/DateTimeUtils.java