Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

DateTimeFormatter Class

Implementation of IFormatter that can be used to format and parse DateTime values.

For a list of all members of this type, see DateTimeFormatter Members .

System.Object
   DateTimeFormatter

[Visual Basic]
Public Class DateTimeFormatter
    Implements IFormatter
[C#]
public class DateTimeFormatter : IFormatter

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

DateTimeFormatter uses properties of the DateTimeFormatInfo to format and parse DateTime values.

If you use one of the constructors that accept culture as a parameter to create an instance of DateTimeFormatter, default DateTimeFormatInfo for the specified culture will be used.

You can also use properties exposed by the DateTimeFormatter in order to override some of the default formatting parameters.

Requirements

Namespace: Spring.Globalization.Formatters

Assembly: Spring.Core (in Spring.Core.dll)

See Also

DateTimeFormatter Members | Spring.Globalization.Formatters Namespace