Skip to content

stik3nd/dotiw

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dotiw for java

Distance of time in words for Java. just use this method to show distance of time in words

Pass in the time as a variable :

calculate_difference_of_time(long yourTimeInSeconds)

The distance is calculated with respect to cuurent time only. That means you will receive the distance of time till now.

calculate_difference_of_time(long yourTimeInSeconds)
=> About 7 months ago

Supports Seconds, Hours, Days, Weeks, Months and Years too !

Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

Thank you !

About

Distance of time in words for Java

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published