private void rotateLog(long time){
  if (m_fileNameDate == null || m_fileNameDate.equals(getFileNameDate(time)))   return;
  rotateLog();
}

private void rotateLog ( long time ) { if ( m_fileNameDate == null || m_fileNameDate . equals ( getFileNameDate ( time ) ) ) return ; rotateLog ( ) ; }
rotate log when day changes
