1
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-11-24 20:17:16 +01:00

Update documentation

This commit is contained in:
Isira Seneviratne 2024-07-07 14:25:02 +05:30
parent 26dd86e967
commit 07c63f794e

View File

@ -241,7 +241,7 @@ public final class Localization {
/**
* 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.
*/
@ -250,9 +250,9 @@ public final class Localization {
}
/**
* 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