1
0
mirror of https://github.com/TeamNewPipe/NewPipe.git synced 2024-11-25 04:22:30 +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}. * Get a readable text for a duration in the format {@code hours:minutes:seconds}.
* Prepended zeros are removed. *
* @param duration the duration in seconds * @param duration the duration in seconds
* @return a formatted duration String or {@code 00:00} if the duration is zero. * @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+}. * Get a readable text for a duration in the format {@code hours:minutes:seconds+}. If the given
* Prepended zeros are removed. If the given duration is incomplete, a plus is appended to the * duration is incomplete, a plus is appended to the duration string.
* duration string. *
* @param duration the duration in seconds * @param duration the duration in seconds
* @param isDurationComplete whether the given duration is complete or whether info is missing * @param isDurationComplete whether the given duration is complete or whether info is missing
* @param showDurationPrefix whether the duration-prefix shall be shown * @param showDurationPrefix whether the duration-prefix shall be shown