Improve JCR
[lgpl/argeo-commons.git] / server / runtime / org.argeo.server.jcr / src / main / java / org / argeo / jcr / JcrUtils.java
index b89a2845c34660e3131745c2574c4d6c7b2092d5..4e197d5fbcd2a65e30775c7515668f8ec45bbcba 100644 (file)
@@ -90,7 +90,14 @@ public class JcrUtils {
                return dateAsPath(cal, false);
        }
 
-       /** The provided data as a path ('/' at the end, not the beginning) */
+       /**
+        * The provided data as a path ('/' at the end, not the beginning)
+        * 
+        * @param cal
+        *            the date
+        * @param addHour
+        *            whether to add hour as well
+        */
        public static String dateAsPath(Calendar cal, Boolean addHour) {
                StringBuffer buf = new StringBuffer(14);
                buf.append('Y').append(cal.get(Calendar.YEAR));// 5