java.lang.IllegalArgumentException: Invalid format: "P1M"

Stack Overflow | stackUnderflow | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Parsing ISO 8601 duration format to Joda duration - IllegalArgumentException

    Stack Overflow | 6 months ago | stackUnderflow
    java.lang.IllegalArgumentException: Invalid format: "P1M"

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Invalid format: "P1M"

      at org.joda.time.convert.StringConverter.getDurationMillis()
    2. Joda-Time
      Duration.parse
      1. org.joda.time.convert.StringConverter.getDurationMillis(StringConverter.java:111)
      2. org.joda.time.base.BaseDuration.<init>(BaseDuration.java:105)
      3. org.joda.time.Duration.<init>(Duration.java:209)
      4. org.joda.time.Duration.parse(Duration.java:59)
      4 frames