From 2d7baaf702991a39aa9caa8074aa9b6dbacc2bf6 Mon Sep 17 00:00:00 2001 From: Zontreck Date: Fri, 16 Feb 2024 14:57:25 -0700 Subject: [PATCH] Add javadoc to new method --- src/main/java/dev/zontreck/ariaslib/util/TimeUtil.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/dev/zontreck/ariaslib/util/TimeUtil.java b/src/main/java/dev/zontreck/ariaslib/util/TimeUtil.java index b1f8d28..d8f5b8e 100644 --- a/src/main/java/dev/zontreck/ariaslib/util/TimeUtil.java +++ b/src/main/java/dev/zontreck/ariaslib/util/TimeUtil.java @@ -55,6 +55,11 @@ public class TimeUtil 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) { int seconds = 0;