NPE check in getTimeInMillis()

added a null check to getTimeInMillis()
and remove the null passed parameters
Then the main argument remains: we don't do argument checking for non public methods and I'm fine with that. So if we do it, we should be consistent.