java test: print current date