Library for time management on-chain (Tranche Sequence)

This library can be applied to various use cases.

https://github.com/ethereum/EIPs/pull/7169