Class JsonDateTimeMcsConverter
- Namespace
- Ecng.Serialization
- Assembly
- Ecng.Serialization.dll
Provides a JSON converter for converting DateTime values from Unix timestamps in microseconds.
public class JsonDateTimeMcsConverter : JsonDateTimeConverter
- Inheritance
-
JsonDateTimeMcsConverter
- Inherited Members
- Extension Methods
Constructors
JsonDateTimeMcsConverter()
Initializes a new instance of the JsonDateTimeMcsConverter class using microseconds.
public JsonDateTimeMcsConverter()
Methods
Convert(double)
Converts the specified double value to a DateTime using microsecond precision.
protected override DateTime Convert(double value)
Parameters
value
doubleThe double value representing the Unix timestamp in microseconds.