public boolean monthly() {
      return ordinal() <= MONTH.ordinal();
    }
Whether this is in the YEAR-TO-MONTH family of intervals.
amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common/src/main/java/org/apache/amoro/flink/util/DateTimeUtils.java