summaryrefslogtreecommitdiff
path: root/sources/utils/VSTools.java
diff options
context:
space:
mode:
Diffstat (limited to 'sources/utils/VSTools.java')
-rw-r--r--sources/utils/VSTools.java24
1 files changed, 24 insertions, 0 deletions
diff --git a/sources/utils/VSTools.java b/sources/utils/VSTools.java
index b1eab28..a6c34a0 100644
--- a/sources/utils/VSTools.java
+++ b/sources/utils/VSTools.java
@@ -1,7 +1,23 @@
+/*
+ * VS is (c) 2008 by Paul C. Buetow
+ * vs@dev.buetow.org
+ */
package utils;
+// TODO: Auto-generated Javadoc
+/**
+ * The Class VSTools.
+ */
public final class VSTools {
+
+ /**
+ * Gets the time string.
+ *
+ * @param time the time
+ *
+ * @return the time string
+ */
public static String getTimeString(long time) {
String ret = ""+time;
@@ -10,6 +26,14 @@ public final class VSTools {
return ret + "ms";
}
+
+ /**
+ * Gets the string time.
+ *
+ * @param string the string
+ *
+ * @return the string time
+ */
public static long getStringTime(String string) {
try {
/* Ignore the "ms" postfix */