adjust for Timestamp API

Fixes #4
add the gemspec java platform

Fixes #4