我正在寻找一种仅从本地日期(JODA TIME)API 获取星期日期的方法?我正在尝试以这种格式编写代码..
LocalDate today = new LocalDate();
LocalDate getDate = new LocalDate(sqlDate);// i will recieve sqldate from sql table
//if the getdate and number of days to remind is equals to today
//and if it is between monday to friday ,send an email.
//ReminderDays is an integer
if(getDate+ReminderDays == today)
SendMail();
如果可能,请提供代码?谢谢你。