Skip to content

Commit 07c63f7

Browse files
Update documentation
1 parent 26dd86e commit 07c63f7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

app/src/main/java/org/schabi/newpipe/util/Localization.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ public static String likeCount(@NonNull final Context context, final int likeCou
241241

242242
/**
243243
* Get a readable text for a duration in the format {@code hours:minutes:seconds}.
244-
* Prepended zeros are removed.
244+
*
245245
* @param duration the duration in seconds
246246
* @return a formatted duration String or {@code 00:00} if the duration is zero.
247247
*/
@@ -250,9 +250,9 @@ public static String getDurationString(final long duration) {
250250
}
251251

252252
/**
253-
* Get a readable text for a duration in the format {@code hours:minutes:seconds+}.
254-
* Prepended zeros are removed. If the given duration is incomplete, a plus is appended to the
255-
* duration string.
253+
* Get a readable text for a duration in the format {@code hours:minutes:seconds+}. If the given
254+
* duration is incomplete, a plus is appended to the duration string.
255+
*
256256
* @param duration the duration in seconds
257257
* @param isDurationComplete whether the given duration is complete or whether info is missing
258258
* @param showDurationPrefix whether the duration-prefix shall be shown

0 commit comments

Comments
 (0)