Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support binary calendar types with tick units other than seconds and milliseconds #8

Open
mbeckerle opened this issue Nov 23, 2020 · 1 comment
Labels
DFDL 2.0 For issues associated with DFDL v2.0 (next major revision)

Comments

@mbeckerle
Copy link
Collaborator

Currently DFDL binary timestamp representations are limited to 'binarySeconds' and 'binaryMilliseconds. Other 'tick' intervals have been observed in the real world, for example:

Windows FILETIME - 100ns
OPC-UA protocol - 100ns.

It would be useful for DFDL to be able to handle any 'tick' interval.

It would also be useful for DFDL to allow any length of binary timestamp - currently the lengths are fixed depending on the representation.

The other variable is epoch, but DFDL already allows the epoch start to be specified in a sufficiently flexible way.

These should be considered as candidate improvements for DFDL 2.0.

@mbeckerle mbeckerle added the DFDL 2.0 For issues associated with DFDL v2.0 (next major revision) label Nov 23, 2020
@mbeckerle
Copy link
Collaborator Author

Note: When creating a DFDL schema for NTP messages, there was a specific issue having to do with signed/unsigned integers being usable for creating seconds or milliseconds.... don't recall exactly, but this needs to be revisited to inform this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DFDL 2.0 For issues associated with DFDL v2.0 (next major revision)
Projects
None yet
Development

No branches or pull requests

1 participant