Class DateTimeValueSerializer
ValueSerializer for DateTime.
public class DateTimeValueSerializer : ValueSerializer
- Inheritance
-
DateTimeValueSerializer
Constructors
- DateTimeValueSerializer()
Initializes a new instance of the DateTimeConverter class.
Methods
- CanConvertFromString(string, IValueSerializerContext)
Indicate that we do convert DateTime's from string.
- CanConvertToString(object, IValueSerializerContext)
Indicate that we do convert a DateTime to string.
- ConvertFromString(string, IValueSerializerContext)
Converts the given value object to a DateTime.
- ConvertToString(object, IValueSerializerContext)
Converts the given value object to a DateTime using the arguments.