Skip to content

Commit

Permalink
add timeToMillis feature
Browse files Browse the repository at this point in the history
regenerate docs
  • Loading branch information
Cheikh Semeta committed Jun 14, 2017
1 parent ae4d859 commit 2d403ec
Show file tree
Hide file tree
Showing 28 changed files with 3 additions and 5,208 deletions.
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ And then simply add the following line to the `dependencies` section of your app
compile 'com.github.thunder413:DateTimeUtils:1.3'
```

Javadocs are available [here](http://https://github.com/thunder413/NetRequest/apidocs/index.html).
Javadocs are available [here](http://https://github.com/thunder413/DateTimeUtils/apidocs/index.html).

## Examples

Expand Down Expand Up @@ -146,7 +146,7 @@ int diff = DateTimeUtils.getDateDiff(date,date2, DateTimeUnits.DAYS);

### getTimeAgo

``getTimeAgo`` give ou the elapsed time since a given date, it also offer two print mode the full and short strings ``eg . 3 hours ago | 3h ago`` the strings are localized but at the moment on FR and EN are available if you need your langage to be add just let me know :)
``getTimeAgo`` give ou the elapsed time since a given date, it also offer two print mode the full and short strings ``eg . 3 hours ago | 3h ago`` the strings are localized but at the moment only FR and EN language are available. If you need your langage to be add just let me know :)

```java
String timeAgo = DateTimeUtils.getTimeAgo(context,new Date()); // Full string style will be used
Expand Down
22 changes: 0 additions & 22 deletions docs/allclasses-frame.html

This file was deleted.

22 changes: 0 additions & 22 deletions docs/allclasses-noframe.html

This file was deleted.

Loading

0 comments on commit 2d403ec

Please sign in to comment.