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

GitHub | gortiz | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    It seems that Instant#parse is not working

    GitHub | 3 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