tinterval is added and tested. Found some format difference between
tinterval and SysTime.
Merge branch 'issue#17' of https://github.com/DSoftOut/rpc-sql-proxy.git into issue#17