allow initializing with unix timestamp as integer
Merge pull request #930 from jrgensen/develop

allow initializing with unix timestamp as integer