Add javadoc to new method
This commit is contained in:
parent
9b56f12ae6
commit
2d7baaf702
1 changed files with 5 additions and 0 deletions
|
@ -55,6 +55,11 @@ public class TimeUtil
|
||||||
return new TimeNotation(years, month, week, day, hour, minute, seconds);
|
return new TimeNotation(years, month, week, day, hour, minute, seconds);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Convert a time notation to seconds
|
||||||
|
* @param notation Notation to convert
|
||||||
|
* @return Total seconds
|
||||||
|
*/
|
||||||
public static int notationToSeconds(TimeNotation notation)
|
public static int notationToSeconds(TimeNotation notation)
|
||||||
{
|
{
|
||||||
int seconds = 0;
|
int seconds = 0;
|
||||||
|
|
Loading…
Reference in a new issue