Iso8601DateFormatter ClassApache log4net™ SDK Documentation
Formats the DateTime as "yyyy-MM-dd HH:mm:ss,fff".
Inheritance Hierarchy

SystemObject
  log4net.DateFormatterAbsoluteTimeDateFormatter
    log4net.DateFormatterIso8601DateFormatter

Namespace: log4net.DateFormatter
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

public class Iso8601DateFormatter : AbsoluteTimeDateFormatter

The Iso8601DateFormatter type exposes the following members.

Constructors

  NameDescription
Public methodIso8601DateFormatter
Default constructor
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFormatDate
Renders the date into a string. Format is "HH:mm:ss,fff".
(Inherited from AbsoluteTimeDateFormatter.)
Protected methodFormatDateWithoutMillis
Formats the date without the milliseconds part
(Overrides AbsoluteTimeDateFormatterFormatDateWithoutMillis(DateTime, StringBuilder).)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Remarks

Formats the DateTime specified as a string: "yyyy-MM-dd HH:mm:ss,fff".

See Also

Reference