public static long unixTimestampCeil(TimeUnitRange range, long timestamp) {
    int date = (int) (timestamp / MILLIS_PER_DAY);
    final long f = julianDateFloor(range, date + EPOCH_JULIAN, false);
    return f * MILLIS_PER_DAY;
  }
Appends year-month-day to a buffer; assumes they are valid.
amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common/src/main/java/org/apache/amoro/flink/util/DateTimeUtils.java