Class DateTimeRfc1123Converter
A property converter for RFC 1123 dates
Inheritance
DateTimeRfc1123Converter
Namespace:FubarDev.WebDavServer.Props.Converters
Assembly:FubarDev.WebDavServer.dll
Syntax
public class DateTimeRfc1123Converter : IPropertyConverter<DateTime>
Methods
|
Improve this Doc
View Source
FromElement(XElement)
Declaration
public DateTime FromElement(XElement element)
Parameters
Returns
Implements
|
Improve this Doc
View Source
IsValidValue(DateTime)
Declaration
public bool IsValidValue(DateTime value)
Parameters
Returns
Implements
|
Improve this Doc
View Source
Parse(String)
Parses a string with a RFC 1123 date
Declaration
public static DateTime Parse([NotNull] string s)
Parameters
Type |
Name |
Description |
String |
s |
The string to parse
|
Returns
Type |
Description |
DateTime |
The parsed date
|
|
Improve this Doc
View Source
ToElement(XName, DateTime)
Declaration
public XElement ToElement(XName name, DateTime value)
Parameters
Returns
Implements