public static int asShortInt(LocalDate date) {
        if (date.getYear() < 2000) {
            throw new IllegalArgumentException("Can only convert date object to short int if year is less than 2000");
        }
        return asInteger(date.getYear() - 2000, date.getMonthValue(), date.getDayOfMonth());
    }
@Test
    public void shouldConvertLocalDateToShortInt() {
        final LocalDate ld = LocalDate.of(2013, 8, 30);
        assertEquals(130830, DateUtils.asShortInt(ld));
    }