ConcurrentDateFormat can be casted to
SimpleDateFormat with additional thread safety which
SimpleDateFormat cannot provide.DateFormat.format(Date) method is final
and calls this method.FastDateFormat
class.String to retrieve a date from it, using the provided
SimpleDateFormat instances.DateFormat.format(Date) method which
(in this case) unnecessarily calls the
format(Date, StringBuffer, FieldPosition) method with the result
of creating unnecessary StringBuffer instances; please use this
substitute of DateFormat.format(Date).Copyright © 2016. All rights reserved.