[ 
https://issues.apache.org/jira/browse/LANG-1165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14694949#comment-14694949
 ] 

Michael Osipov commented on LANG-1165:
--------------------------------------

Why use a delegate pattern if we could directly extend from {{DateFormat}} 
(given that {{FastDateFormat}} obeys the contract)?

> 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.4#6332)

Reply via email to