Volume & Issue no: Volume 5, Issue 6, November - December 2016
____________________________________________________________________________________________________
Title: |
Optimizing the usage of SimpleDateFormat in a Java
multi-threaded environment |
Author Name: |
Mr. Mihai Stancu |
Abstract: |
Abstract
In almost every Java application that uses dates we are
required at some point to perform date formatting. The Java
core libraries offer a great way to format dates using the
DateFormat abstract class, and it’s implementing class
SimpleDateFormat. However the way SimpleDateFormat is
generally used, creating a new SimpleDateFormat object for
every formatting block, is very expensive and should not be
used this way. In this article we will be looking at why this
method is not the way to do it, and how it would be better to
get the same results with lower execution times.
Keywords: Java, optimization, multi-thread enviroment |
Cite this article: |
Mr. Mihai Stancu , "
Optimizing the usage of SimpleDateFormat in a Java
multi-threaded environment" , International Journal of Emerging Trends & Technology in Computer Science (IJETTCS) ,
Volume 5, Issue 6, November - December 2016 , pp.
049-051 , ISSN 2278-6856.
|
Full Text [PDF] Back to Current Issue |
NOTE: Authors note that paper cannot be withdrawn at any condition once it is accepted. The Team of IJETTCS advise you, do not submit same article to the multiple journals simultaneously. This may create a problem for you. Please wait for review report which will take maximum 01 to 02 week.