views:

52

answers:

1

Do you know if it exists a java implementation of distance_of_time_in_words and time_ago_in_words?

For those who don't know, these methods return a human readable description of the time interval between two dates or between a date and now.

By example:

  • 3 days
  • A week ago
  • 2 minutes ago
  • More than a year ago
+1  A: 

Have you looked at http://code.google.com/p/prettytime/?

The MYYN
That's exactly what I was looking for. Thank you!
Manolo Santos