public static boolean isSecond(long ts) {
        return (ts & SECOND_MASK) == 0;
    }
@Test
    public void testIsSecond() {
        Assert.assertFalse(TimeUtils.isSecond(System.currentTimeMillis()));
        Assert.assertTrue(TimeUtils.isSecond(System.currentTimeMillis() / 1000));
    }