Add functions to convert to struct time{spec|val} w/o floating point

7 files changed