December 19th, 2020 by Lincoln Baxter III

PrettyTime 5.0.0.Final Released – New APIs, JDK 8 DateTime support

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

Get PrettyTime 5.0.0.Final

Posted in PrettyTime, Releases

One Comment

  1. Simply wish to say your article is as amazing The clearness in your post is just nice and i could assume youre an expert on this subject Well with your permission let me to grab your feed to keep updated with forthcoming post Thanks a million and please carry on the gratifying work

Leave a Comment




Please note: In order to submit code or special characters, wrap it in

[code lang="xml"][/code]
(for your language) - or your tags will be eaten.

Please note: Comment moderation is enabled and may delay your comment from appearing. There is no need to resubmit your comment.