public class Day {
public static void main(String[] args) {
Date date=new Date();
System.out.println(date);
DateFormat format=DateFormat.getDateInstance(DateFormat.FULL,Locale.CHINA);
String s=format.format(date);
System.out.println("中国日期:\t"+s);
format=DateFormat.getDateInstance(DateFormat.FULL,Locale.CANADA);
System.out.println("加拿大日期:\t"+s);
format=DateFormat.getDateInstance(DateFormat.FULL,Locale.JAPAN);
System.out.println("日本日期:\t"+s);
format=DateFormat.getDateInstance(DateFormat.FULL,Locale.FRANCE);
System.out.println("法国日期:\t"+s);
format=DateFormat.getDateInstance(DateFormat.FULL,Locale.GERMAN);
System.out.println("德国日期:\t"+s);
format=DateFormat.getDateInstance(DateFormat.FULL,Locale.ITALIAN);
System.out.println("意大利日期:\t"+s);
}
}