Added comments and getDateInstace(int format,Locale locale)