[Java] 纯文本查看 复制代码
Exception in thread "main" java.lang.IllegalArgumentException: Illegal pattern character 'x'
at java.base/java.text.SimpleDateFormat.compile(SimpleDateFormat.java:844)
at java.base/java.text.SimpleDateFormat.initialize(SimpleDateFormat.java:652)
at java.base/java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:623)
at java.base/java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:598)
at zuoye2.Demo2.medth(Demo2.java:29)
at zuoye2.Demo2.main(Demo2.java:13)