チェンジセット 35
- 更新日時:
- 2014/01/31 10:56:38 (11 年 前)
- パス:
- BH13SPARQLBuilder/src/hozo/sparql
- ファイル:
-
- 4 変更
凡例:
- 変更なし
- 追加
- 削除
-
BH13SPARQLBuilder/src/hozo/sparql/gui/VersionDialog.java
r17 r35 14 14 import javax.swing.JButton; 15 15 16 import com.ibm.icu.text.SimpleDateFormat;16 //import com.ibm.icu.text.SimpleDateFormat; 17 17 18 18 import hozo.sparql.util.Version; … … 50 50 this.setModal(true); 51 51 this.setTitle("Version Info"); 52 SimpleDateFormat sdf = new SimpleDateFormat("yyyy/MM/dd");52 // SimpleDateFormat sdf = new SimpleDateFormat("yyyy/MM/dd"); 53 53 54 54 Version cv = new CoreVersion(); 55 55 56 56 this.getCoreVersionTextField().setText(cv.getVersion()); 57 this.getCoreVersionDateTextField().setText(sdf.format(cv.getDate()));57 // this.getCoreVersionDateTextField().setText(sdf.format(cv.getDate())); 58 58 59 59 GUIVersion gv = new GUIVersion(); 60 60 this.getGuiVersionTextField().setText(gv.getVersion()); 61 this.getGuiVersionDateTextField().setText(sdf.format(gv.getDate()));61 // this.getGuiVersionDateTextField().setText(sdf.format(gv.getDate())); 62 62 63 63 -
BH13SPARQLBuilder/src/hozo/sparql/plugin/compare/Compare.java
r17 r35 18 18 19 19 import com.hp.hpl.jena.rdf.model.RDFNode; 20 import com.ibm.icu.text.SimpleDateFormat;20 //import com.ibm.icu.text.SimpleDateFormat; 21 21 22 22 import hozo.sparql.EndpointSettings; … … 207 207 private String getCurrentTime(){ 208 208 Timestamp time = new Timestamp(new Date().getTime()); 209 210 return new SimpleDateFormat("yyyy/MM/dd HH:mm:ss").format(time) + ":";209 return null; 210 // return new SimpleDateFormat("yyyy/MM/dd HH:mm:ss").format(time) + ":"; 211 211 } 212 212 -
BH13SPARQLBuilder/src/hozo/sparql/plugin/compare/CompareSubject.java
r17 r35 17 17 18 18 import com.hp.hpl.jena.rdf.model.RDFNode; 19 import com.ibm.icu.text.SimpleDateFormat;19 //import com.ibm.icu.text.SimpleDateFormat; 20 20 21 21 import hozo.sparql.EndpointSettings; … … 333 333 private String getCurrentTime(){ 334 334 Timestamp time = new Timestamp(new Date().getTime()); 335 336 return new SimpleDateFormat("yyyy/MM/dd HH:mm:ss").format(time) + ":";335 return null; 336 // return new SimpleDateFormat("yyyy/MM/dd HH:mm:ss").format(time) + ":"; 337 337 } 338 338 -
BH13SPARQLBuilder/src/hozo/sparql/util/Version.java
r17 r35 4 4 import java.util.Date; 5 5 6 import com.ibm.icu.text.SimpleDateFormat;6 //import com.ibm.icu.text.SimpleDateFormat; 7 7 8 8 public abstract class Version { … … 10 10 11 11 public final Date getDate(){ 12 SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMdd");13 try {14 return sdf.parse(getDateString());15 } catch (ParseException e) {16 e.printStackTrace();17 }12 // SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMdd"); 13 // try { 14 // return sdf.parse(getDateString()); 15 // } catch (ParseException e) { 16 // e.printStackTrace(); 17 // } 18 18 return null; 19 19 } 20 20 // 21 21 protected abstract String getDateString(); 22 }22 }