Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Isira-Seneviratne committed Jul 7, 2024
1 parent 26dd86e commit 07c63f7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/src/main/java/org/schabi/newpipe/util/Localization.java
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ public static String likeCount(@NonNull final Context context, final int likeCou

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

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

0 comments on commit 07c63f7

Please sign in to comment.