【发布时间】:2013-04-16 21:26:20
【问题描述】:
无论用户的位置和当前设备时间如何,如何获取德国的当前时间?
Calendar buttoncal = Calendar.getInstance();
String tdate = new SimpleDateFormat("dd.MM",Locale.GERMANY).format(buttoncal.getTime());
String tday = new SimpleDateFormat("EEEE",Locale.GERMANY).format(buttoncal.getTime());
one_date.setText(tdate.toString());
one_day.setText(tday);
【问题讨论】: