Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

DateTimeFormatter.Format Method

Formats the specified DateTime value.

[Visual Basic]
Public NotOverridable Sub Format( _
   ByVal value As Object _
) _
    Implements IFormatter.Format
[C#]
public string Format(
   object value
);

Parameters

value
The value to format.

Return Value

Formatted DateTime value.

Implements

IFormatter.Format

Exceptions

Exception Type Condition
ArgumentNullException If value is null.
ArgumentException If value is not an instance of DateTime.

See Also

DateTimeFormatter Class | Spring.Globalization.Formatters Namespace