Can I use Holidays in Domino Directory from code?

to find out if a specific is a holiday in a set of holidays

either by a single call or a known routine

(I would need it to deal with repeating Holiday entries AND those occasions where the holiday is shifted when it falls on a weekend)