Questions tagged [jsr310]

JSR 310: Date and Time API in Java JDK 8. Please use the [java-time] tag for questions relating to date & time in Java SE 8.

JSR 310 is the new date and time API added to Java JDK 8 using the package name java.time. More information, backport and related projects are available at the ThreeTen home page.

  • Please avoid using this tag moving forwards
  • Use the tag for questions relating to date & time in Java SE 8
  • Use the tag for questions relating to the backport to Java SE 7
111 questions
0
votes
1 answer

Is it a bug in jackson-datatype-jsr310 deserializer?

I know that's presumptuous to image found a bug in a library used every day by thousands of developpers. So I think the answer to my title question is "NO !!!", but ... I have an object containing a date that I receive from my front end (JS), and I…
Adrien BARRAL
  • 3,474
  • 1
  • 25
  • 37
0
votes
1 answer

Spring Data JPA set LocalDate format

I'm trying to set LocalDate (and LocalDateTime) format in database like dd-MM-yyyy which is very useful sometimes. Instead I'm getting something like this in H2…
Jakub Pomykała
  • 2,082
  • 3
  • 27
  • 58
0
votes
0 answers

Spring Boot / Weblogic 12c - JSR-310 and Joda issues

I want to deploy a Spring Boot .war application to a Weblogic 12c server. I have created the initializer as desrcibed in the documentation and have also added a weblogic.xml with the following…
ChrisGeo
  • 3,807
  • 13
  • 54
  • 92
0
votes
1 answer

Spring java.time.LocalDateTime binding issue

I have a domain object with properties below, upon form submission only the completionDate binds from the form input, while dateRaised is null. No errors except for validation errors. I tried changing the dateRaised type to java.time.LocalDate and…
aalmero
  • 345
  • 2
  • 18
0
votes
0 answers

Force DateTimeFormatter.ISO_* format with fractional part

When formattting (Zoned/Local)DateTimes with the DateFormatter.ISO_[*] formatters I would like to always format the date with the "fractional seconds" part present. However every DateTime object I format which has getNanos == 0 the formatted string…
pvgoddijn
  • 12,638
  • 15
  • 47
  • 56
-2
votes
1 answer

jackson json date format convert

Please help to change date format. **Source** json file **Target** Employee Object I need support for converting file json date to Object. from file { "dateOfBirth": { "year": 1980, "month": "MAY", "monthValue": 5, "dayOfMonth":…
GoutamS
  • 3,535
  • 1
  • 21
  • 25
1 2 3 4 5 6 7
8