Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
佳 邓
Gitlab4j Api
Commits
586cc89e
Commit
586cc89e
authored
Jan 05, 2018
by
Greg Messner
Browse files
Fixed Javados on toString() (#114).
parent
85ad0d84
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/utils/DurationUtils.java
View file @
586cc89e
...
@@ -30,6 +30,8 @@ public class DurationUtils {
...
@@ -30,6 +30,8 @@ public class DurationUtils {
* Create a human readable duration string from seconds.
* Create a human readable duration string from seconds.
*
*
* @param durationSeconds the total number of seconds in the duration
* @param durationSeconds the total number of seconds in the duration
* @param includeMonths when true will include months "mo", in the string otherwise
* uses "4w" for each month
* @return a human readable string representing the duration
* @return a human readable string representing the duration
*/
*/
public
static
final
String
toString
(
int
durationSeconds
,
boolean
includeMonths
)
{
public
static
final
String
toString
(
int
durationSeconds
,
boolean
includeMonths
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment