Scanner not storing string as a parsed LocalDateTime correctly

前端 未结 0 552
南笙
南笙 2020-12-12 01:50

When I am taking in a string variable from the scanner and parsing it to LocalDateTime in the format "yyyy-MM-dd HH:mm" the Scanner saved the input (i.e 2020-10-12

相关标签:
回答
  • 消灭零回复
提交回复
热议问题