Commit 76d56c4a by leej

dateFormat修正(MMDDHHmmyyyy.ss →MMddHHmmyyyy.ss)

parent 6cf98100
......@@ -112,7 +112,7 @@ public class UpdateToiletInfoTask extends TimerTask {
JSONObject jsonObject = new JSONObject(jsonString);
Long ntpTimeMillis = (long) ((Double) jsonObject.get("st") * 1000);
String cmd = "date " + DateTimeUtil.toString(new Timestamp(ntpTimeMillis), DateTimeFormat.MMDDHHmmyyyyss__colon);
String cmd = "date " + DateTimeUtil.toString(new Timestamp(ntpTimeMillis), DateTimeFormat.MMddHHmmyyyyss__colon);
Logger.d(TAG,"Current Date : " + DateTimeUtil.toString(DateTimeUtil.getCurrentDate(), DateTimeFormat.yyyyMMddHHmmss_slash));
Logger.d(TAG, "Command=%s, NtpDate=%s", cmd, DateTimeUtil.toString(new Timestamp(ntpTimeMillis), DateTimeFormat.yyyyMMddHHmmss_slash));
......
......@@ -265,8 +265,8 @@ public class DateTimeFormat {
*/
public static final String HHmmssSSS_colon = "HH:mm:ss.SSS";
/**
* 時間を示します。"MMDDHHmmyyyy.ss"
* 時間を示します。"MMddHHmmyyyy.ss"
* @since 1.0.0
*/
public static final String MMDDHHmmyyyyss__colon = "MMDDHHmmyyyy.ss";
public static final String MMddHHmmyyyyss__colon = "MMddHHmmyyyy.ss";
}
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