Social Style Date and Time Formatting for Java
Learn more at http://ocpsoft.org/prettytime/
To use prettytime in android, first add the following dependency to your app level build.gradle
compile 'org.ocpsoft.prettytime:prettytime:4.0.1.Final'
When using Android with ProGuard, you must add the following to your ProGuard configuration script:
-keep class org.ocpsoft.prettytime.i18n.**