I am converting python to java but I do not know python (I know java).
Here is the python:
localtime = time.localtime(time.time())
and it is being used in this way:
policyname = 'LLC-Uninstall-D%s%s%s-T%s%s%s%s' % (localtime[0], localtime[1], localtime[2], localtime[3], localtime[4], localtime[5], localtime[6])
I would like to do the same thing in Java. Is this possible?