A generic timer utility that supports pause and resume operations. Can be used for Android as well.