use of com.alexstyl.specialdates.events.namedays.NamesInADate in project Memento-Calendar by alexstyl.
the class DailyReminderIntentService method notifyForNamedaysFor.
private void notifyForNamedaysFor(Date date) {
NamedayLocale locale = namedayPreferences.getSelectedLanguage();
NamedayCalendar namedayCalendar = namedayCalendarProvider.loadNamedayCalendarForLocale(locale, date.getYear());
NamesInADate names = namedayCalendar.getAllNamedaysOn(date);
if (containsNames(names)) {
notifier.forNamedays(names.getNames(), date);
}
}
Aggregations