public static long retainToDayLastMin4MinuteBucket(long minuteTimeBucket) {
        if (isMinuteBucket(minuteTimeBucket)) {
            return minuteTimeBucket / 10000 * 10000 + 2359;
        } else {
            throw new UnexpectedException("Current time bucket is not a minute time bucket");
        }
    }
@Test
    public void testRetainToDayLastMin4MinuteBucket() {
        Assertions.assertEquals(202407112359L, TimeBucket.retainToDayLastMin4MinuteBucket(202407112218L));
    }