nicko 2005/02/07 14:41:17
Modified: src/DateFormatter AbsoluteTimeDateFormatter.cs
DateTimeDateFormatter.cs Iso8601DateFormatter.cs
src/Layout/Pattern DatePatternConverter.cs
src/Util/PatternStringConverters DatePatternConverter.cs
Log:
Updated date patterns in doc comments to use .NET DateTime.ToString
formatting patterns rather than Java syntax
Revision Changes Path
1.8 +3 -3
logging-log4net/src/DateFormatter/AbsoluteTimeDateFormatter.cs
Index: AbsoluteTimeDateFormatter.cs
===================================================================
RCS file:
/home/cvs/logging-log4net/src/DateFormatter/AbsoluteTimeDateFormatter.cs,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- AbsoluteTimeDateFormatter.cs 17 Jan 2005 20:18:44 -0000 1.7
+++ AbsoluteTimeDateFormatter.cs 7 Feb 2005 22:41:16 -0000 1.8
@@ -23,11 +23,11 @@
namespace log4net.DateFormatter
{
/// <summary>
- /// Formats a <see cref="DateTime"/> as <c>"HH:mm:ss,SSS"</c>.
+ /// Formats a <see cref="DateTime"/> as <c>"HH:mm:ss,fff"</c>.
/// </summary>
/// <remarks>
/// <para>
- /// Formats a <see cref="DateTime"/> in the format
<c>"HH:mm:ss,SSS"</c> for example, <c>"15:49:37,459"</c>.
+ /// Formats a <see cref="DateTime"/> in the format
<c>"HH:mm:ss,fff"</c> for example, <c>"15:49:37,459"</c>.
/// </para>
/// </remarks>
/// <author>Nicko Cadell</author>
@@ -80,7 +80,7 @@
#region Implementation of IDateFormatter
/// <summary>
- /// Renders the date into a string. Format is "HH:mm:ss,SSS".
+ /// Renders the date into a string. Format is "HH:mm:ss,fff".
/// </summary>
/// <param name="dateToFormat">The date to render into a
string.</param>
/// <param name="writer">The writer to write to.</param>
1.6 +4 -4
logging-log4net/src/DateFormatter/DateTimeDateFormatter.cs
Index: DateTimeDateFormatter.cs
===================================================================
RCS file:
/home/cvs/logging-log4net/src/DateFormatter/DateTimeDateFormatter.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- DateTimeDateFormatter.cs 17 Jan 2005 20:18:44 -0000 1.5
+++ DateTimeDateFormatter.cs 7 Feb 2005 22:41:16 -0000 1.6
@@ -23,12 +23,12 @@
namespace log4net.DateFormatter
{
/// <summary>
- /// Formats a <see cref="DateTime"/> as <c>"dd MMM YYYY
HH:mm:ss,SSS"</c>
+ /// Formats a <see cref="DateTime"/> as <c>"dd MMM yyyy
HH:mm:ss,fff"</c>
/// </summary>
/// <remarks>
/// <para>
/// Formats a <see cref="DateTime"/> in the format
- /// <c>"dd MMM YYYY HH:mm:ss,SSS"</c> for example,
+ /// <c>"dd MMM yyyy HH:mm:ss,fff"</c> for example,
/// <c>"06 Nov 1994 15:49:37,459"</c>.
/// </para>
/// </remarks>
@@ -63,11 +63,11 @@
/// <param name="buffer">The string builder to write to.</param>
/// <remarks>
/// <para>
- /// Formats a DateTime in the format <c>"dd MMM YYYY
HH:mm:ss"</c>
+ /// Formats a DateTime in the format <c>"dd MMM yyyy
HH:mm:ss"</c>
/// for example, <c>"06 Nov 1994 15:49:37"</c>.
/// </para>
/// <para>
- /// The base class will append the <c>",SSS"</c> milliseconds
section.
+ /// The base class will append the <c>",fff"</c> milliseconds
section.
/// This method will only be called at most once per second.
/// </para>
/// </remarks>
1.6 +4 -4 logging-log4net/src/DateFormatter/Iso8601DateFormatter.cs
Index: Iso8601DateFormatter.cs
===================================================================
RCS file:
/home/cvs/logging-log4net/src/DateFormatter/Iso8601DateFormatter.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- Iso8601DateFormatter.cs 17 Jan 2005 20:18:44 -0000 1.5
+++ Iso8601DateFormatter.cs 7 Feb 2005 22:41:16 -0000 1.6
@@ -22,11 +22,11 @@
namespace log4net.DateFormatter
{
/// <summary>
- /// Formats the <see cref="DateTime"/> as <c>"YYYY-MM-dd
HH:mm:ss,SSS"</c>.
+ /// Formats the <see cref="DateTime"/> as <c>"yyyy-MM-dd
HH:mm:ss,fff"</c>.
/// </summary>
/// <remarks>
/// <para>
- /// Formats the <see cref="DateTime"/> specified as a string:
<c>"YYYY-MM-dd HH:mm:ss,SSS"</c>.
+ /// Formats the <see cref="DateTime"/> specified as a string:
<c>"yyyy-MM-dd HH:mm:ss,fff"</c>.
/// </para>
/// </remarks>
/// <author>Nicko Cadell</author>
@@ -58,10 +58,10 @@
/// <param name="buffer">The string builder to write to.</param>
/// <remarks>
/// <para>
- /// Formats the date specified as a string: <c>"YYYY-MM-dd
HH:mm:ss"</c>.
+ /// Formats the date specified as a string: <c>"yyyy-MM-dd
HH:mm:ss"</c>.
/// </para>
/// <para>
- /// The base class will append the <c>",SSS"</c> milliseconds
section.
+ /// The base class will append the <c>",fff"</c> milliseconds
section.
/// This method will only be called at most once per second.
/// </para>
/// </remarks>
1.9 +3 -3
logging-log4net/src/Layout/Pattern/DatePatternConverter.cs
Index: DatePatternConverter.cs
===================================================================
RCS file:
/home/cvs/logging-log4net/src/Layout/Pattern/DatePatternConverter.cs,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- DatePatternConverter.cs 17 Jan 2005 20:18:45 -0000 1.8
+++ DatePatternConverter.cs 7 Feb 2005 22:41:16 -0000 1.9
@@ -46,21 +46,21 @@
/// <term>ISO8601</term>
/// <description>
/// Uses the <see cref="Iso8601DateFormatter"/> formatter.
- /// Formats using the <c>"YYYY-MM-dd HH:mm:ss,SSS"</c>
pattern.
+ /// Formats using the <c>"yyyy-MM-dd HH:mm:ss,fff"</c>
pattern.
/// </description>
/// </item>
/// <item>
/// <term>DATE</term>
/// <description>
/// Uses the <see cref="DateTimeDateFormatter"/> formatter.
- /// Formats using the <c>"dd MMM YYYY HH:mm:ss,SSS"</c> for
example, <c>"06 Nov 1994 15:49:37,459"</c>.
+ /// Formats using the <c>"dd MMM yyyy HH:mm:ss,fff"</c> for
example, <c>"06 Nov 1994 15:49:37,459"</c>.
/// </description>
/// </item>
/// <item>
/// <term>ABSOLUTE</term>
/// <description>
/// Uses the <see cref="AbsoluteTimeDateFormatter"/>
formatter.
- /// Formats using the <c>"HH:mm:ss,SSS"</c> for example,
<c>"15:49:37,459"</c>.
+ /// Formats using the <c>"HH:mm:ss,yyyy"</c> for example,
<c>"15:49:37,459"</c>.
/// </description>
/// </item>
/// <item>
1.8 +3 -3
logging-log4net/src/Util/PatternStringConverters/DatePatternConverter.cs
Index: DatePatternConverter.cs
===================================================================
RCS file:
/home/cvs/logging-log4net/src/Util/PatternStringConverters/DatePatternConverter.cs,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- DatePatternConverter.cs 17 Jan 2005 20:18:50 -0000 1.7
+++ DatePatternConverter.cs 7 Feb 2005 22:41:16 -0000 1.8
@@ -46,21 +46,21 @@
/// <term>ISO8601</term>
/// <description>
/// Uses the <see cref="Iso8601DateFormatter"/> formatter.
- /// Formats using the <c>"YYYY-MM-dd HH:mm:ss,SSS"</c>
pattern.
+ /// Formats using the <c>"yyyy-MM-dd HH:mm:ss,fff"</c>
pattern.
/// </description>
/// </item>
/// <item>
/// <term>DATE</term>
/// <description>
/// Uses the <see cref="DateTimeDateFormatter"/> formatter.
- /// Formats using the <c>"dd MMM YYYY HH:mm:ss,SSS"</c> for
example, <c>"06 Nov 1994 15:49:37,459"</c>.
+ /// Formats using the <c>"dd MMM yyyy HH:mm:ss,fff"</c> for
example, <c>"06 Nov 1994 15:49:37,459"</c>.
/// </description>
/// </item>
/// <item>
/// <term>ABSOLUTE</term>
/// <description>
/// Uses the <see cref="AbsoluteTimeDateFormatter"/>
formatter.
- /// Formats using the <c>"HH:mm:ss,SSS"</c> for example,
<c>"15:49:37,459"</c>.
+ /// Formats using the <c>"HH:mm:ss,fff"</c> for example,
<c>"15:49:37,459"</c>.
/// </description>
/// </item>
/// <item>