jFuzzyDate is a lightweight java library for formatting easily readable time distances and dates.
It is easy to use, fully internationalizable and designed to be extensible.
Please note: This library is currently in an early alpha state and may change without further notice.
The following table shows some examples of how dates and millisecond values get transformed into human readable string representations by jFuzzyDate.
Type | Traditional | Made readable by jFuzzyDate |
---|---|---|
Distance | -84d | 3 months ago |
00:05:20 | in 5 minutes | |
01:02:03 | in an hour | |
Duration | 16d 02:30:40 | two weeks |
55s | a minute |
jFuzzyDate is open source and released under the GNU Lesser Public License (LGPL).