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

Adds API for comparing timestamps for instant equality. #4

Open
wants to merge 1 commit into
base: fixes-3
Choose a base branch
from

Conversation

tgregg
Copy link
Owner

@tgregg tgregg commented Apr 19, 2017

ion-tests has two different timestamp equality semantics: equality under the data model (see the spec), and "instant" equality. The latter measures whether two timestamps represent the same instant in time without caring about precision or having the same local offset.

The _ion_timestamp_to_utc method has been added because the ion_timestamp_to_time_t has platform-specific dependencies and can only handle dates representable in time_t.

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.

1 participant