private static void initCommonVariable(Calendar _calendar,boolean _traceFlag,int numUser) throws Exception {
  initialize();
  traceFlag=_traceFlag;
  if (_calendar == null) {
    calendar=Calendar.getInstance();
  }
 else {
    calendar=_calendar;
  }
  CloudSimShutdown shutdown=new CloudSimShutdown("CloudSimShutdown",numUser);
  shutdownId=shutdown.getId();
}

private static void initCommonVariable ( Calendar _calendar , boolean _traceFlag , int numUser ) throws Exception { initialize ( ) ; traceFlag = _traceFlag ; if ( _calendar == null ) { calendar = Calendar . getInstance ( ) ; } else { calendar = _calendar ; } CloudSimShutdown shutdown = new CloudSimShutdown ( "CloudSimShutdown" , numUser ) ; shutdownId = shutdown . getId ( ) ; }
initialises all the common attributes .
