Time parameters must be submitted as unix timestamp - in seconds rather than Java's milliseconds. Fix package name and import dependency.