Commit ebc59094 by Kazuyuki Hida

一部のソースを整理

parent 0b758ac4
......@@ -14,7 +14,6 @@ import org.json.adf.JSONException;
import org.json.adf.JSONObject;
import java.util.Date;
import java.util.Locale;
public abstract class AcmsJSONParser extends CloneableObject {
/**
......@@ -184,7 +183,7 @@ public abstract class AcmsJSONParser extends CloneableObject {
protected Date getDateOrNull(JSONObject json, String key) {
if (json.has(key)) {
return DateTimeUtil.toDate(json.getString(key), Locale.getDefault().getLanguage(), DateTimeFormat.yyyyMMddHHmmss_hyphen);
return DateTimeUtil.toDate(json.getString(key), "UTC", DateTimeFormat.yyyyMMddHHmmss_hyphen);
} else {
return null;
}
......
......@@ -41,5 +41,5 @@ public class UnlockReportJSON extends AcmsCommonJSON {
}
@SuppressWarnings("unused")
public Integer getReportStatus() {return reportStatus; }
public int getReportStatus() {return reportStatus; }
}
......@@ -34,8 +34,9 @@ import java.util.Date;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.TimeZone;
import java.util.concurrent.ConcurrentHashMap;
import jp.agentec.abook.abv.bl.acms.type.OperationType;
......@@ -1364,4 +1365,5 @@ public abstract class ABVContentViewActivity extends ABVAuthenticatedActivity {
} catch (Exception e) {
return null;
}
}}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment