質問編集履歴
3
コードの修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -28,7 +28,7 @@
|
|
28
28
|
|
29
29
|
String dateString = "2020-01-01T12:00:00.123Z"; //ここを"~.12"にしたい
|
30
30
|
|
31
|
-
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.S'Z'");
|
31
|
+
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SS'Z'");
|
32
32
|
|
33
33
|
dateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
|
34
34
|
|
2
コードの修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -26,7 +26,7 @@
|
|
26
26
|
|
27
27
|
``` Java
|
28
28
|
|
29
|
-
String dateString = "2020-01-01T12:00:00.123
|
29
|
+
String dateString = "2020-01-01T12:00:00.123Z"; //ここを"~.12"にしたい
|
30
30
|
|
31
31
|
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.S'Z'");
|
32
32
|
|
1
コードの修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -26,7 +26,7 @@
|
|
26
26
|
|
27
27
|
``` Java
|
28
28
|
|
29
|
-
String dateString = "2020-01-01T12:00:00.
|
29
|
+
String dateString = "2020-01-01T12:00:00.1231Z"; //ここを"~.12"にしたい
|
30
30
|
|
31
31
|
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.S'Z'");
|
32
32
|
|