System.out.format("%tB",12);
I should get a "December" out of it, however i get a nice exception
Exception in thread "main" java.util.IllegalFormatConversionException: b != java.lang.Integer
It means the syntax I used is wrong.
I cannot find any reference on line explaining the %tB
formatting command.
Is anybody help to clarify the matter?
Thanks in advance.