-
Notifications
You must be signed in to change notification settings - Fork 322
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
drop Java 7 support ?
Lines 12 to 13 in 81d540d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@frsyuki has confirmed it works in Java6 and Java7 even if Instant class is in the import statement. Only programs that use Instance related methods will fail to compile.
TODO:
- Add timestamp MessageFormat types?
- Add timestamp Value type
How is the timestamp feature coming along? I know the msgpack-js project is getting close to a release: kawanet/msgpack-lite#76
@mattbishop We haven't decided how to add above two things; whether to add MessageFormat
type and ValueType for describing timestamp.
In the msgpack spec, timestamp is just one of the Extention types. We think adding these two additional types will be convenient for timestamp users. However, adding these types is a big change to the API (since most of the users is using switch case statement for checking data type, so rewriting will be necessary by adding case Timestamp: ...). We need to be careful so as not to break user programs that started to use timestamp types in future versions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@frsyuki nsec is uint32, so &xffffffffL mask is necessary to convert negative int32 to uint32
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@frsyuki Need to convert to uint32 by applying 0xFFFFFFFFL mask
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This also needs to be converted to uint32 with 0xFFFFFFFFL mask
gustf
commented
Apr 18, 2020
Hi there, any progress on this feature?
Continuing the work at #565
xerial
commented
May 12, 2021
Closing this PR in favor of #565
Uh oh!
There was an error while loading. Please reload this page.
Implementation is still working in progress.
Here is the spec of the new timestamp type: msgpack/msgpack#209