commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pascal Schumacher (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (LANG-1165) FastDateFormat should extend DateFormat
Date Wed, 19 Apr 2017 15:31:41 GMT

     [ https://issues.apache.org/jira/browse/LANG-1165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pascal Schumacher closed LANG-1165.
-----------------------------------
    Resolution: Won't Fix

Closed after reading Charles Hontons comment:

{quote}
Unfortunately, having FastDateFormat extend DateFormat causes multiple final method violations:
All of the static getInstance() and getDateInstance methods are final in DataFormat.
{quote}

> FastDateFormat should extend DateFormat
> ---------------------------------------
>
>                 Key: LANG-1165
>                 URL: https://issues.apache.org/jira/browse/LANG-1165
>             Project: Commons Lang
>          Issue Type: Improvement
>          Components: lang.time.*
>    Affects Versions: 3.4
>            Reporter: Michael Osipov
>
> Current FDT extends {{Format}} only, thus making it impossible to replace SDF where {{DateFormat}}
is accepted.
> I am using Jackson's {{ObjectMapper}} which has a {{#setDateFormat}} method. But -- it
accepts {{DateFormat}}. Impossible to use FDT.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message