1 package net.jaekl.cfb.store;
3 import net.jaekl.cfb.CfbBundle;
4 import net.jaekl.cfb.analyze.Analysis;
7 java.util.Date m_analysisStart;
10 public Run(Analysis analysis)
12 m_analysisStart = analysis.getStart();
13 m_buildNumber = analysis.getBuildNumber();
16 public java.util.Date getAnalysisStart() { return new java.util.Date(m_analysisStart.getTime()); }
17 public String getBuildNumber() { return m_buildNumber; }
19 public String constructVersionText(CfbBundle bundle)
21 if (null == m_buildNumber) {
22 return bundle.get(CfbBundle.ANALYZED_AT, m_analysisStart);
24 return bundle.get(CfbBundle.VERSION_NUM, m_analysisStart, m_buildNumber);