Examples of toDateTimeAtStartOfDay()


Examples of org.joda.time.LocalDate.toDateTimeAtStartOfDay()

    @Test
    public void canDeserializeLocalDate() {
        LocalDate localDate = new LocalDate();

        Object value = converter.fromDbValue(localDate.toDateTimeAtStartOfDay().getMillis());

        assertThat(value, notNullValue());
        assertThat((LocalDate) value, is(localDate));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.