Add timestamp arithmetic functions

Test: npm run test:unit
Change-Id: If0cd31e713c1e0abd402a5d4081f488faaa031c8
2 files changed