comparison src/main/java/de/mpiwg/gazetteer/db/DBSectionVersion.java @ 26:ce2e3f2814c0

new: check userGroup when login
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Tue, 30 Jun 2015 14:31:29 +0200
parents 86694755415d
children
comparison
equal deleted inserted replaced
25:86694755415d 26:ce2e3f2814c0
50 public void setEditor(String editor) { 50 public void setEditor(String editor) {
51 this.editor = editor; 51 this.editor = editor;
52 } 52 }
53 53
54 public String getDate() { 54 public String getDate() {
55 // TODO time zone convert
56 // TODO optional time zone 55 // TODO optional time zone
57 56
58 57 // time zone convert
59 SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); 58 SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
60 59
61 String dateInString = this.date; 60 String dateInString = this.date;
62 Date dateBerlin = null; 61 Date dateBerlin = null;
63 try { 62 try {