SimpleDateFormatter Class | Apache log4net™ SDK Documentation

Formats the DateTime using the [M:DateTime.ToString(string, IFormatProvider)] method.
Inheritance Hierarchy

System
Object
log4net.DateFormatter
SimpleDateFormatter

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

C#
VB
C++
F#
Copy

    public class SimpleDateFormatter : IDateFormatter

    Public Class SimpleDateFormatter
    	Implements IDateFormatter

    public ref class SimpleDateFormatter : IDateFormatter

    type SimpleDateFormatter =
        class
            interface IDateFormatter
        end

The SimpleDateFormatter type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| SimpleDateFormatter | Constructor

Top
Methods

| Name | Description
--- | --- | ---
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
| FormatDate | Formats the date using [M:DateTime.ToString(string, IFormatProvider)].
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.)
| GetType | Gets the Type of the current instance. (Inherited from Object.)
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.)
| ToString | Returns a String that represents the current Object. (Inherited from Object.)

Top
Remarks

Formats the DateTime using the DateTime[M:DateTime.ToString(string, IFormatProvider)] method.

See Also

#### Reference

log4net.DateFormatter Namespace