Java8 DateTimeFormatter am/pm

后端 未结 2 1162
执笔经年
执笔经年 2020-12-10 11:59

I am trying to parse some dates, but the DateTimeParser seems to disagree with me on what is valid

import java.time.ZonedDateTime
import java.time.format.Dat         


        
2条回答
  •  一整个雨季
    2020-12-10 12:48

    It turns out this solution also resolves trying to parse mixed-case months (e.g., "Jul") using "MMM".

提交回复
热议问题