-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
[Documentation] Comparison with time and chrono crates? #221
Comments
That's a good idea. My experience with chrono and time are limited because I have not had the use for them for years, relying only on hifitime. Off the cuff, I would say that hifitime is more feature complete and more correct: like chrono and time, it can parse date times with and without time zones, but hifitime also handle time systems (thereby supporting specific cases of time dilation). Hifitime also has the concept of The main possible limitation I have in mind is that I think chrono has a way to format epoch so they can be understood by database natively: I don't suspect that to be too difficult, but I haven't looked into it. The chrono-tz crate also allows parsing with named time zones (but not serializing with those named time zones): hifitime cannot do that. Somewhat of another limitation is that chrono and time (I think) support time-only stuff: you can't do that with hifitime, you must specify a year, month, and day. But you can set an Epoch's time using Overall then, hifitime is more precise, has more features that most users need, and can be used for scientific applications. |
Yeah, I think there are very good things in hifitime! Just looking at the documentation of |
Hi! Thanks for the crate!
Would you consider adding a comparison with the popular
time
andchrono
crates?The text was updated successfully, but these errors were encountered: