You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sebb <se...@gmail.com> on 2010/02/02 18:06:06 UTC

Re: svn commit: r904829 - in /commons/proper/lang/branches/LANG_2_X/src: main/java/org/apache/commons/lang/time/DateUtils.java test/java/org/apache/commons/lang/time/DateUtilsTest.java

On 30/01/2010, niallp@apache.org <ni...@apache.org> wrote:
> Author: niallp
>  Date: Sat Jan 30 17:49:28 2010
>  New Revision: 904829
>
>  URL: http://svn.apache.org/viewvc?rev=904829&view=rev
>  Log:
>  Port LANG-530 to 2.x branch - Fix parseDate() cannot parse ISO8601 dates produced by FastDateFormat
>
>  Modified:

>     commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/time/DateUtilsTest.java
>

>  +    // http://issues.apache.org/jira/browse/LANG-520
>  +    public void testLang520() throws ParseException {

Looks like the above test and comment should really be LANG-530
(likewise in lang3)?

S///

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: svn commit: r904829 - in /commons/proper/lang/branches/LANG_2_X/src: main/java/org/apache/commons/lang/time/DateUtils.java test/java/org/apache/commons/lang/time/DateUtilsTest.java

Posted by Niall Pemberton <ni...@gmail.com>.
On Tue, Feb 2, 2010 at 5:32 PM, sebb <se...@gmail.com> wrote:
> On 02/02/2010, sebb <se...@gmail.com> wrote:
>> On 30/01/2010, niallp@apache.org <ni...@apache.org> wrote:
>>  > Author: niallp
>>  >  Date: Sat Jan 30 17:49:28 2010
>>  >  New Revision: 904829
>>  >
>>  >  URL: http://svn.apache.org/viewvc?rev=904829&view=rev
>>  >  Log:
>>  >  Port LANG-530 to 2.x branch - Fix parseDate() cannot parse ISO8601 dates produced by FastDateFormat
>>  >
>>  >  Modified:
>>
>>
>> >     commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/time/DateUtilsTest.java
>>  >
>>
>>
>> >  +    // http://issues.apache.org/jira/browse/LANG-520
>>  >  +    public void testLang520() throws ParseException {
>>
>>
>> Looks like the above test and comment should really be LANG-530
>>  (likewise in lang3)?
>>
>
> I've just discovered that the test fails with a ParseException on Java
> 1.3 - this is because SimpleDateFormat does not support 'Z' in that
> version of Java. I'll add an exclusion.

Thanks

Niall

>>  S///
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: svn commit: r904829 - in /commons/proper/lang/branches/LANG_2_X/src: main/java/org/apache/commons/lang/time/DateUtils.java test/java/org/apache/commons/lang/time/DateUtilsTest.java

Posted by sebb <se...@gmail.com>.
On 02/02/2010, sebb <se...@gmail.com> wrote:
> On 30/01/2010, niallp@apache.org <ni...@apache.org> wrote:
>  > Author: niallp
>  >  Date: Sat Jan 30 17:49:28 2010
>  >  New Revision: 904829
>  >
>  >  URL: http://svn.apache.org/viewvc?rev=904829&view=rev
>  >  Log:
>  >  Port LANG-530 to 2.x branch - Fix parseDate() cannot parse ISO8601 dates produced by FastDateFormat
>  >
>  >  Modified:
>
>
> >     commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/time/DateUtilsTest.java
>  >
>
>
> >  +    // http://issues.apache.org/jira/browse/LANG-520
>  >  +    public void testLang520() throws ParseException {
>
>
> Looks like the above test and comment should really be LANG-530
>  (likewise in lang3)?
>

I've just discovered that the test fails with a ParseException on Java
1.3 - this is because SimpleDateFormat does not support 'Z' in that
version of Java. I'll add an exclusion.

>  S///
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org