java.lang.AssertionError: expected:<Sat Feb 10 12:33:20 PST 2003> but was:<Sat Feb 10 15:33:20 PST 2003> ....

Apache's JIRA Issue Tracker | Franz Wong | 8 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

    [LANG-462] FastDateFormat supports parse - ASF JIRA

    apache.org | 1 year ago
    java.lang.AssertionError: expected:<Sat Feb 10 12:33:20 PST 2003> but was:<Sat Feb 10 15:33:20 PST 2003> ....
  2. 0

    Currently FastDateFormat only supports formatting the ISO8601 time zone, however, it doesn't support parsing such string to Date.

    Apache's JIRA Issue Tracker | 8 years ago | Franz Wong
    java.lang.AssertionError: expected:<Sat Feb 10 12:33:20 PST 2003> but was:<Sat Feb 10 15:33:20 PST 2003> ....

    Root Cause Analysis

    1. java.lang.AssertionError

      expected:<Sat Feb 10 12:33:20 PST 2003> but was:<Sat Feb 10 15:33:20 PST 2003> ....

      at org.apache.commons.lang3.time.FastDateParserTest.testParseLongShort()
    2. Commons Lang
      FastDateParserTest.testParseLongShort
      1. org.apache.commons.lang3.time.FastDateParserTest.testParseLongShort(FastDateParserTest.java:294)
      1 frame