A small time kit
Project
- Repository: https://bitbucket.org/haibison/dia-time
- License: Nice License 1.0.0 (see LICENSE file at root directory of
masterbranch) - 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. - Constants as microseconds:
micros::SECOND,micros::MINUTE,micros::HOUR,micros::DAY,micros::WEEK. - Constants as nanoseconds:
nanos::SECOND,nanos::MINUTE,nanos::HOUR,nanos::DAY,nanos::WEEK. - Other modules:
decis,centis,picos,femtos,attos,zeptos,yoctos. - And some helper functions for formatting time...
Some components require unix feature. If you can't access them, you should enable that feature. For example:
[]
= { ='...', =['unix'] }