我是android的新手,我试图比较两个日期字符串,但我总是得到这个,我不知道如何解决..这是我错误的代码部分
int year=Calendar.getInstance().get(Calendar.YEAR)+1900;
int month=Calendar.getInstance().get(Calendar.MONTH)+1;
int day=Calendar.getInstance().get(Calendar.DAY_OF_MONTH);
DbReminders bazaDelete=new DbReminders(context);
bazaDelete.open();
bazaDelete.deleteReminder("DATE<"+year+"-"+month+"-"+day+" 00:00 AM");
bazaDelete.close();
podsetniciAdapter.notifyDataSetChanged();