using LocalDate instead of sql Date or DateTime classes for creating Date