[logback-dev] svn commit: r970 - logback/trunk/logback-core/src/main/java/ch/qos/logback/core/util

noreply.ceki at qos.ch noreply.ceki at qos.ch
Mon Nov 20 22:57:34 CET 2006


Author: ceki
Date: Mon Nov 20 22:57:34 2006
New Revision: 970

Modified:
   logback/trunk/logback-core/src/main/java/ch/qos/logback/core/util/TimeUtil.java

Log:
ongoing work

Modified: logback/trunk/logback-core/src/main/java/ch/qos/logback/core/util/TimeUtil.java
==============================================================================
--- logback/trunk/logback-core/src/main/java/ch/qos/logback/core/util/TimeUtil.java	(original)
+++ logback/trunk/logback-core/src/main/java/ch/qos/logback/core/util/TimeUtil.java	Mon Nov 20 22:57:34 2006
@@ -17,20 +17,20 @@
     return cal.getTime().getTime();
   }
   
-  static long computeStartOfNextWeek(long now) {
-    Calendar cal = Calendar.getInstance();
-    cal.setTime(new Date(now));
-
-    cal.add(Calendar.DAY_OF_MONTH, getFirstDayOfWeek());
-    
-    
-    cal.set(Calendar.HOUR_OF_DAY, 0);
-    cal.set(Calendar.MINUTE, 0);
-    cal.set(Calendar.SECOND, 0);
-    cal.set(Calendar.MILLISECOND, 0);
-    
-    return cal.getTime().getTime();
-  }
+//  static long computeStartOfNextWeek(long now) {
+//    Calendar cal = Calendar.getInstance();
+//    cal.setTime(new Date(now));
+//
+//    cal.add(Calendar.DAY_OF_MONTH, getFirstDayOfWeek());
+//    
+//    
+//    cal.set(Calendar.HOUR_OF_DAY, 0);
+//    cal.set(Calendar.MINUTE, 0);
+//    cal.set(Calendar.SECOND, 0);
+//    cal.set(Calendar.MILLISECOND, 0);
+//    
+//    return cal.getTime().getTime();
+//  }
   
 //  this.set(Calendar.DAY_OF_WEEK, getFirstDayOfWeek());
 //  this.set(Calendar.HOUR_OF_DAY, 0);



More information about the logback-dev mailing list