public void applyPatterns ( String [ ] patterns ) { m_formats = new SimpleDateFormat [ patterns . length ] ; for ( int index = 0 ; index < patterns . length ; index ++ ) { m_formats [ index ] = new SimpleDateFormat ( patterns [ index ] ) ; } }
This method is used to configure the format pattern .