Skip to content

Conversation

@yfakariya
Copy link
Member

This PR add new msgpack timestamp data type support.

Note that there is a breaking change that default DateTime, DateTimeOffset, and FILETIME serialization use timestamp instead of "native ticks".

This type implements MsgPack Timestamp specification with following utilities:
* Arithmatic operations like System.DateTime.
* Basic string conversion. Currently, exact parsing and ISO styles are only supported.
* Date/time components properties like System.DateTime.
* Type conversion between System.DateTime and System.DateTimeOffset.
These are borrowed from the PR of Timestamp spec, but they looks UInt64.MaxValue
and UInt64.MaxValue * -1.
.NET Standard 2.0 does no support RuntimeType serialization, so this feature is not available in .net core.
In addition, this feature is not very important because runtime serialization (binary formatter) is legacy for .net core.
@yfakariya yfakariya merged commit 4586454 into master Oct 1, 2017
@yfakariya yfakariya deleted the wip/timestamp branch October 1, 2017 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants