datetime test: print out values of the TimeUnit enums for manual checking
datetime: use 'll' suffix on TimeUnit constants to make GCC 4.7 happy

Otherwise GCC 4.7 never promotes the values to 64-bit and reports errors
due to overflow.