changed Calendar to Joda LocalDate