[Time] Use new C++ wrapper in common/