code: private String generateName()
     {
  
        Calendar date = Calendar.getInstance();
  
        String sDate = getStrDate(date);
        String sTime = getStrTime(date);
  
        StringBuilder fileName = new StringBuilder(backupSetName).append("-").append(sDate).append("_").append(sTime).append("."); 
  
        if (isFullBackup)
        {
           fileName.append("0");
        }
        else
        {
           fileName.append(getNextSufix());
        }
  
        return fileName.toString();
     }
docs: Generate name for backup file (directory) based on backup set name and current time.