Ignore:
Timestamp:
11/30/12 13:15:27 (12 years ago)
Author:
wojtekp
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • DCWoRMS/trunk/src/simulator/workload/WorkloadLoader.java

    r490 r685  
    5353         
    5454        protected Date simulationStartTime; 
     55        protected boolean simStartTimeDefined = true; 
    5556         
    5657        protected XsltTransformations xsltTransformation = null; 
     
    214215                        simulationStartTime = df.parse(this.localWAParser.getCommentValue(WAFields.COMMENT_STARTTIME)); 
    215216                } catch (NoSuchCommentException e){ 
     217                        simStartTimeDefined = false; 
    216218                        simulationStartTime = new Date(0); 
    217219                        if(log.isWarnEnabled()) 
    218220                                log.warn("Assuming default simulation start time - "+simulationStartTime); 
    219221                } catch (ParseException e) { 
     222                        simStartTimeDefined = false; 
    220223                        simulationStartTime = new Date(0); 
    221224                        if(log.isWarnEnabled()) 
     
    242245                return list; 
    243246        } 
     247 
     248        public boolean isSimStartTimeDefined() { 
     249                return simStartTimeDefined; 
     250        } 
    244251         
    245252} 
Note: See TracChangeset for help on using the changeset viewer.