List of usage examples for org.joda.time ReadableDateTime getDayOfYear
int getDayOfYear();
From source file:com.tmathmeyer.sentinel.ui.views.month.MonthCalendar.java
License:Open Source License
public boolean isToday(ReadableDateTime fom) { DateTime now = DateTime.now();/*from w ww .j a v a 2 s .co m*/ return fom.getYear() == now.getYear() && fom.getDayOfYear() == now.getDayOfYear(); }