Add tm_compare() function.
Add additional tm increment/decrement functions.
Modify inc/dec tm functions, and add tests.