public static int asLongInt(LocalDate date) {
        return asInteger(date.getYear(), date.getMonthValue(), date.getDayOfMonth());
    }
@Test
    public void shouldConvertLocalDateToLongInt() {
        final LocalDate ld = LocalDate.of(2013, 8, 30);
        assertEquals(20130830, DateUtils.asLongInt(ld));
    }