mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-11-21 22:10:11 +01:00
Update documentation
This commit is contained in:
parent
26dd86e967
commit
07c63f794e
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user