SoftwareMining - Business Rule Extraction and Documentation 

Business Rule  
COBOL Documentation
TIME2.html
Persistent Records:
Signature (From Linkage Section) 
Working Storage Section

 

Analyst's Description/Comments
Data Filters Applied to this rule:
  • NONE
Statement Category Filters: The following statement types have been filtererd out

Business Rule Code
/**
 * main_M10
 */
public void main_M10 ()
{
  idata.setWsDate(new ACMDate());
  idata.setWsDate2(new ACMDate());
  idata.getWsDate2().setYear(idata.getWsDate2().getYear() + 50);
  idata.setADate(idata.getWsDateValue());
  idata.setWsDow(ACMDate.getDayOfWeek());
  idata.setWsDayDow(ACMDate.getDayOfWeek());
  idata.setWsDayDoy(ACMDate.getDayOfYear());
  idata.setWsTime(new ACMTime());
  idata.setAHr(idata.getWsTime().getHours());
  idata.setAMin(idata.getWsTime().getMinutes());
  idata.setASec(idata.getWsTime().getSeconds());
  stop();
}