Show / Hide Table of Contents

Class DateTimeRfc1123Converter

A property converter for RFC 1123 dates

Inheritance
Object
DateTimeRfc1123Converter
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
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
Type Name Description
XElement element
Returns
Type Description
DateTime
Implements
IPropertyConverter<T>.FromElement(XElement)
| Improve this Doc View Source

IsValidValue(DateTime)

Declaration
public bool IsValidValue(DateTime value)
Parameters
Type Name Description
DateTime value
Returns
Type Description
Boolean
Implements
IPropertyConverter<T>.IsValidValue(T)
| 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
Type Name Description
XName name
DateTime value
Returns
Type Description
XElement
Implements
IPropertyConverter<T>.ToElement(XName, T)
  • Improve this Doc
  • View Source
Back to top Copyright © 2016-2017 Fubar Development Junker
Generated by DocFX