public class SimpleDateFormatTool
{
public SimpleDateFormatTool()
{
// TODO Auto-generated constructor stub
}
public static void main(String[] args) throws ParseException
{
SimpleDateFormat myFmt=new SimpleDateFormat("yyyy年MM月dd日 HH时mm分ss秒");
System.out.println(myFmt.toString());
SimpleDateFormat myFmt1=new SimpleDateFormat("yy/MM/dd HH:mm");
System.out.println(myFmt1.toString());
SimpleDateFormat sdf=new SimpleDateFormat("yyyy-mm-dd hh:mm");
System.out.println(sdf.toString());
}
}