Hi Volkan, On Wed, 1 Nov 2023 at 12:07, Volkan Yazıcı <vol...@yazi.ci> wrote: > Curious: *In the context of logging, does `FastDateParser` need to be fast > while parsing?* We certainly need to *"format"* the instant fast. Though do > we really need to *"parse"* it fast too?
No we don't. In Commons Lang the parser and formatter are bound together, that is why we have a parser. Actually we don't need a fast formatter either. Except for the rolling file manager that can require a date from the past, the layouts format timestamps close to 'now'. We can format all dates the same way `FixedDateFormat` does: we let any date formatter to format the date part once a day and we format the time part ourselves. Piotr