Code example for Date

Methods: setTime

0
     * */ 
    @Override 
    protected void subAppend(LoggingEvent event) {
        long n = System.currentTimeMillis();
        if (n >= nextCheck) {
            now.setTime(n);
            nextCheck = rc.getNextCheckMillis(now);
            try { 
                rollOver(); 
            } 
            catch (IOException ioe) {
                LogLog.error("rollOver() failed.", ioe);
            } 
        } 
        super.subAppend(event);
    } 
} 
 
 
/** 
 * RollingCalendar is a helper class to DailyRollingFileAppender. Given a