private void updateDateTimeFormats ( ProjectProperties properties ) { String [ ] timePatterns = getTimePatterns ( properties ) ; String [ ] datePatterns = getDatePatterns ( properties ) ; String [ ] dateTimePatterns = getDateTimePatterns ( properties , timePatterns ) ; m_dateTimeFormat . applyPatterns ( dateTimePatterns ) ; m_dateFormat . applyPatterns ( datePatterns ) ; m_timeFormat . applyPatterns ( timePatterns ) ; m_dateTimeFormat . setLocale ( m_locale ) ; m_dateFormat . setLocale ( m_locale ) ; m_dateTimeFormat . setNullText ( m_nullText ) ; m_dateFormat . setNullText ( m_nullText ) ; m_timeFormat . setNullText ( m_nullText ) ; m_dateTimeFormat . setAmPmText ( properties . getAMText ( ) , properties . getPMText ( ) ) ; m_timeFormat . setAmPmText ( properties . getAMText ( ) , properties . getPMText ( ) ) ; }
Updates the date and time formats .