A small time kit
Project
- Repository: https://bitbucket.org/haibison/dia-time
- License: Nice License 1.0.1 (see LICENSE file at root directory of main branch)
- This project follows Semantic Versioning 2.0.0
Features
- Constants as seconds:
MINUTE,HOUR,DAY,WEEK. - Constants as milliseconds:
millis::SECOND,millis::MINUTE,millis::HOUR,millis::DAY,millis::WEEK. - Other modules:
micros,nanos,decis,centis,picos,femtos,attos,zeptos,yoctos. - And some helper functions for formatting time...
Some components require lib-c feature. If you can't access them, you should enable that feature. For example:
[]
= { ='...', =['lib-c'] }
Notes
Documentation is built with all features. Some of them are optional. If you see components from other crates, you can view source to see what features are required.