我尝试像这样创建日历:
Calendar calendar = Calendar.getInstance();
calendar.add(Calendar.DAY_OF_MONTH, 25);
calendar.add(Calendar.YEAR, 2013);
calendar.add(Calendar.MONTH, 10);
calendar.add(Calendar.HOUR, 22);
calendar.add(Calendar.MINUTE, 22);
calendar.add(Calendar.SECOND, 2);
这个时间接近当前但我的日志错误:Log.i("naq", ""+(calendar.getTimeInMillis()-System.currentTimeMillis())); 我想要 (calendar.getTimeInMillis()-System.currentTimeMillis()) =0(或接近)