Top "Localdate" questions

LocalDate is part of the java.

DateTimeParseException: Text could not be parsed: Unable to obtain LocalDateTime from TemporalAccessor

LocalDateTime.parse("2017-02-02 08:59:12", DateTimeFormatter.ofPattern("yyyy-MM-dd hh:mm:ss")); It prints error: java.time.format.DateTimeParseException: Text '2017-02…

java datetime datetime-format localdate
Failed to convert value of type 'java.lang.String' to required type 'java.time.LocalDate';

As in topic I want to get date passed as a parameter. I've got this dependency: <dependency> <…

java json localdate
Mapstruct LocalDateTime to Instant

I am new in Mapstruct. I have a model object which includes LocalDateTime type field. DTO includes Instant type field. …

java-time mapstruct datetime-conversion localdate java.time.instant
Sorting list of objects by date property

I have an object that contains two LocalDate properties: public class SomeObject { private LocalDate startDate; private LocalDate endDate; } Constructor and …

java sorting localdate
How make implicit Ordered on java.time.LocalDate

I want to use java.time.LocalDate and java.time.LocalDateTime with an implicit Ordered like: val date1 = java.time.…

scala implicit java-time localdate
java.time.format.DateTimeParseException could not be parsed at index 0

I am trying to tell Gson how to parse LocalDateTime and LocalDate, but I'm getting this error, which looks to …

java gson java-time datetime-parsing localdate
Map HTML input date to LocalDate of Java Object

I have a input field (type: 'date') - who could I map it to a 'LocalDate' field in my Object …

java spring-boot thymeleaf localdate
JPA: How to convert LocalDateTime to LocalDate

How could I use @NamedQuery to get a coloumn as LocalDate type which is defined LocalDateTime type. How can i …

hibernate jpa named-query localdate
Scala how to get LocalDate by pattern

I try to get LocaDate by format so i took this function that receive date and search for format to …

scala localdate
How to format LocalDate to ISO 8601 with T and Z?

I'm trying to generate a random date and time, and convert it to the "yyyy-MM-dd'T'HH:mm:ss'Z'" format. Here is …

java datetime datetime-format localdate datetimeformatter