We are proud to announce the 5.0.0.Final version of PrettyTime. This release includes several bug-fixes, an improved NLP (time parsing) module, new methods for more convenient configuration of time units, and support for the JDK 8 DateTime API:
public void showMeJDK8() throws Exception { PrettyTime t = new PrettyTime(); Assert.assertEquals("3 months from now", t.format(LocalDateTime.now().plusMonths(3))); } }
Improvements in the NLP module (based on Natty.) Updated to version 0.13.0
The post PrettyTime 5.0.0.Final Released – New APIs, JDK 8 DateTime support first appeared on OCPsoft.