private void populateDateTimeSettings ( Record record , ProjectProperties properties ) { properties . setDateOrder ( record . getDateOrder ( 0 ) ) ; properties . setTimeFormat ( record . getTimeFormat ( 1 ) ) ; Date time = getTimeFromInteger ( record . getInteger ( 2 ) ) ; if ( time != null ) { properties . setDefaultStartTime ( time ) ; } Character c = record . getCharacter ( 3 ) ; if ( c != null ) { properties . setDateSeparator ( c . charValue ( ) ) ; } c = record . getCharacter ( 4 ) ; if ( c != null ) { properties . setTimeSeparator ( c . charValue ( ) ) ; } properties . setAMText ( record . getString ( 5 ) ) ; properties . setPMText ( record . getString ( 6 ) ) ; properties . setDateFormat ( record . getDateFormat ( 7 ) ) ; properties . setBarTextDateFormat ( record . getDateFormat ( 8 ) ) ; }
Populates date time settings .