org.threeten.bp.format.DateTimeParseException: Text '2007-12-03T10:15:30:00' could not be parsed at index 19

GitHub | gortiz | 4 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    It seems that Instant#parse is not working

    GitHub | 4 years ago | gortiz
    org.threeten.bp.format.DateTimeParseException: Text '2007-12-03T10:15:30:00' could not be parsed at index 19

    Root Cause Analysis

    1. org.threeten.bp.format.DateTimeParseException

      Text '2007-12-03T10:15:30:00' could not be parsed at index 19

      at org.threeten.bp.format.DateTimeFormatter.parseToBuilder()
    2. ThreeTen backport
      Instant.parse
      1. org.threeten.bp.format.DateTimeFormatter.parseToBuilder(DateTimeFormatter.java:1319)
      2. org.threeten.bp.format.DateTimeFormatter.parse(DateTimeFormatter.java:1223)
      3. org.threeten.bp.Instant.parse(Instant.java:339)
      3 frames
    3. org.modelinglab.ocl
      InstantDate.testParse
      1. org.modelinglab.ocl.ext.time.classes.InstantDate.testParse(InstantDate.java:19)
      1 frame