commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Katsubo (JIRA)" <>
Subject [jira] [Commented] (LANG-909) Thread-safe wrapper for SimpleDateFormat
Date Fri, 24 Jan 2014 19:52:38 GMT


Dmitry Katsubo commented on LANG-909:

[~britter]: As you can read from {{FastDateParser}} JavaDoc, it supports into Gregorian calendars.
For other calendars it creates {{SimpleDateFormat}}. In such "unpopular" scenarios {{ThreadSafeSimpleDateFormat}}
is still beneficial. However added value is not big, so maybe one can copy code to his project
directly from this issue after googling a while.

> Thread-safe wrapper for SimpleDateFormat
> ----------------------------------------
>                 Key: LANG-909
>                 URL:
>             Project: Commons Lang
>          Issue Type: New Feature
>          Components: lang.time.*
>    Affects Versions: 3.1
>            Reporter: Dmitry Katsubo
>            Priority: Minor
>             Fix For: Review Patch
>         Attachments:,,
> {{SimpleDateFormat}} implementation in JDK is known to be [not thread-safe|].
The attached helper class solves the problem by holding a separate instance of {{SimpleDateFormat}}
per thread.

This message was sent by Atlassian JIRA

View raw message