public boolean isTishaBav() {
int holidayIndex = getYomTovIndex();
return holidayIndex == TISHA_BEAV;
}
public boolean isRoshChodesh() {
int holidayIndex = getYomTovIndex();
return holidayIndex == ROSH_CHODESH;
}
public boolean isYaalehVyavo() {
return isRoshChodesh() || isCholHamoedPesach() || isCholHamoedSuccos();
}
public boolean isPurim() {
int holidayIndex = getYomTovIndex();
return holidayIndex == PURIM;
}
public boolean isAlHanissim() {
return isPurim() || isChanukah();
}
All the above functions will work except isRoshChodesh(). For some reason, the const ROSH_CHODESH does not seem to be used. Why is that?
All the above functions will work except
isRoshChodesh(). For some reason, the constROSH_CHODESHdoes not seem to be used. Why is that?