import java.util.Date;
import java.text.SimpleDateFormat;
class Test5_16
{  
	public static void main(String args[])
   	{  
		Date nowTime=new Date();
      		System.out.println(nowTime);
      		SimpleDateFormat matter1=new SimpleDateFormat("'time':yyyyMMddE ʱ");
      		System.out.println(matter1.format(nowTime));
      		SimpleDateFormat matter2=
      		new SimpleDateFormat("ʱ:yyMMddHHʱmmss");
      		System.out.println(matter2.format(nowTime));
     	 	Date date1=new Date(1000), date2=new Date(-1000);
      		System.out.println(matter2.format(date1));
      		System.out.println(matter2.format(date2));
      		System.out.println(new Date(System.currentTimeMillis()));
   }
}
