Formats a DateTime as "HH:mm:ss,fff".
Inheritance Hierarchy
log4net.DateFormatterAbsoluteTimeDateFormatter
log4net.DateFormatterDateTimeDateFormatter
log4net.DateFormatterIso8601DateFormatter
Namespace: log4net.DateFormatter
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax
The AbsoluteTimeDateFormatter type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | AbsoluteTimeDateFormatter | Initializes a new instance of the AbsoluteTimeDateFormatter class |
Methods
Name | Description | |
---|---|---|
![]() | Equals | (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 |
Renders the date into a string. Format is "HH:mm:ss,fff".
|
![]() | FormatDateWithoutMillis |
Renders the date into a string. Format is "HH:mm:ss".
|
![]() | 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 | (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
![]() ![]() | AbsoluteTimeDateFormat |
String constant used to specify AbsoluteTimeDateFormat in layouts. Current value is ABSOLUTE.
|
![]() ![]() | DateAndTimeDateFormat |
String constant used to specify DateTimeDateFormat in layouts. Current value is DATE.
|
![]() ![]() | Iso8601TimeDateFormat |
String constant used to specify ISO8601DateFormat in layouts. Current value is ISO8601.
|
Remarks
Formats a DateTime in the format "HH:mm:ss,fff" for example, "15:49:37,459".
See Also