Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add additional functions to uniffi-fixture-time (#1489)
`to_string_timestamp` and `get_pre_epoch_timestamp` separate 2-way back and forth conversion process, making it possible to test 1-way conversion. `to_string_timestamp` ensures that foreign language bindings lower the timestamp correctly, and that foreign language bindings interpret the timestamp the same way that Rust does. `get_pre_epoch_timestamp` ensures that foreign language bindings lift the timestamp correctly, and that Rust interprets the timestamp the same way that foreign language bindings do.
- Loading branch information