I have my strings like so in my strings.xml:
EEEE
dd. MMMM
You can use WordUtils.capitalize(..) from commons-lang (on the result string)
(this is in case you want to capitalize - i.e. uppercase only the first letter. Otherwise you can simpyl use .toUpperCase()
)
Update: Since it appears this is android, you can open the sources of WordUtils
and copy the implementation from there, rather than getting the whole library.