f-angi
8/16/2017 - 9:57 AM

Checks if today is inside a range of dates.

Checks if today is inside a range of dates.

dataInizio.before(DateUtils.addDays(DateUtils.truncate(new Date(), Calendar.DATE), 1))
&& dataFine.after(DateUtils.addDays(DateUtils.truncate(new Date(), Calendar.DATE), -1));