Created
May 8, 2017 08:32
-
-
Save yongjhih/35e7474351e73d26ad26432901101902 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun Date.relativeTimeSpan(): CharSequence { | |
return DateUtils.getRelativeTimeSpanString(time) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment