Java library for Date scanning (like Scanner for number)?

前端 未结 1 1860
南旧
南旧 2021-01-27 15:10

Scanner.class give many useful tools to analyse numbers, like .hasNext_() and .next_() methods which can be triggered to specific traitments.

相关标签:
1条回答
  • 2021-01-27 15:46

    Take a look at Natty library. It's pretty cool. It can parse different kinds of dates including "today" "tommorow" "next Friday". Drawbacks is that you cannot really customize it. It has predefined rules for parsing dates and if you want to add/modify them you have to get source code and then compile your own version of natty.

    0 讨论(0)
提交回复
热议问题