DateTimeConversionMethod Enumeration |
Defines behavior of built-in serializers to conversion of
DateTime value.
Namespace: MsgPack.SerializationAssembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax public enum DateTimeConversionMethod
Public Enumeration DateTimeConversionMethod
public enum class DateTimeConversionMethod
type DateTimeConversionMethod
Members
| Member name | Value | Description |
---|
| Native | 0 |
Uses Ticks context, that is, Gregorian 0000-01-01 based, 100 nano seconds resolution. This value also preserves DateTimeKind.
|
| UnixEpoc | 1 |
Uses Unix epoc context, that is, Gregirian 1970-01-01 based, milliseconds resolution.
|
See Also