Return-Path: X-Original-To: apmail-logging-commits-archive@minotaur.apache.org Delivered-To: apmail-logging-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9C8F77278 for ; Fri, 16 Sep 2011 09:38:08 +0000 (UTC) Received: (qmail 93345 invoked by uid 500); 16 Sep 2011 09:38:08 -0000 Delivered-To: apmail-logging-commits-archive@logging.apache.org Received: (qmail 93323 invoked by uid 500); 16 Sep 2011 09:38:08 -0000 Mailing-List: contact commits-help@logging.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@logging.apache.org Delivered-To: mailing list commits@logging.apache.org Received: (qmail 93316 invoked by uid 99); 16 Sep 2011 09:38:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Sep 2011 09:38:08 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Sep 2011 09:38:07 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 6BE0D23888EA; Fri, 16 Sep 2011 09:37:47 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1171474 - /logging/log4net/trunk/src/Appender/RollingFileAppender.cs Date: Fri, 16 Sep 2011 09:37:47 -0000 To: commits@logging.apache.org From: bodewig@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110916093747.6BE0D23888EA@eris.apache.org> Author: bodewig Date: Fri Sep 16 09:37:47 2011 New Revision: 1171474 URL: http://svn.apache.org/viewvc?rev=1171474&view=rev Log: comment out crefs to UniversalDateTime for .NET 1.0 Modified: logging/log4net/trunk/src/Appender/RollingFileAppender.cs Modified: logging/log4net/trunk/src/Appender/RollingFileAppender.cs URL: http://svn.apache.org/viewvc/logging/log4net/trunk/src/Appender/RollingFileAppender.cs?rev=1171474&r1=1171473&r2=1171474&view=diff ============================================================================== --- logging/log4net/trunk/src/Appender/RollingFileAppender.cs (original) +++ logging/log4net/trunk/src/Appender/RollingFileAppender.cs Fri Sep 16 09:37:47 2011 @@ -242,8 +242,10 @@ namespace log4net.Appender /// /// Gets or sets the strategy for determining the current date and time. The default /// implementation is to use LocalDateTime which internally calls through to DateTime.Now. +#if !NET_1_0 /// DateTime.UtcNow may be used on frameworks newer than .NET 1.0 by specifying /// . +#endif /// /// /// An implementation of the interface which returns the current date and time. @@ -254,8 +256,11 @@ namespace log4net.Appender /// /// /// There are two built strategies for determining the current date and time, - /// and . - /// + /// +#if !NET_1_0 + /// and . +#endif + /// /// /// The default strategy is . ///