回答編集履歴
1
フォーマットのみ
answer
CHANGED
@@ -5,15 +5,16 @@
|
|
5
5
|
public class Main {
|
6
6
|
public static void main(String[] args) throws Exception {
|
7
7
|
// Your code here!
|
8
|
-
SimpleDateFormat fmt = new SimpleDateFormat("
|
8
|
+
SimpleDateFormat fmt = new SimpleDateFormat("EEEEE", new Locale("JA", "jp", "jp"));
|
9
9
|
Date date = new Date();
|
10
10
|
|
11
11
|
|
12
12
|
System.out.println(fmt.format(date));
|
13
13
|
}
|
14
14
|
}
|
15
|
+
|
15
16
|
```
|
16
17
|
|
17
18
|
配列に持たす意味もない気がする。
|
18
19
|
|
19
|
-
[sample](https://paiza.io/projects/
|
20
|
+
[sample](https://paiza.io/projects/kTaSNY5YDkzRkRuISbUD8Q)
|