SimpleDateFormat TestΒΆ
Note
You can find these scripts inside the folder
pmis/STND_PMIS/test/console/example
.If you want to execute them, you can use the
Jython Console
from the devtool
menu.filename => ex13.py
from java.text import *
sdf = SimpleDateFormat("yyyyMMddHHmmss")
df = DateFormat.getDateTimeInstance(DateFormat.MEDIUM, DateFormat.MEDIUM, Locale('en','US'))
print df.format( sdf.parse( '20130101102020' ) ).encode('UTF-8')