Here's two examples for the number of working days between two dates:
- http://codesnippets.joyent.com/posts/show/1209
- Also at: http://www.railsonwave.com/2007/1/30/calculate-the-number-of-working-days-between-two-dates
- http://www.ruby-forum.com/topic/93938#190402
Here's a Ruby holidays gem:
- http://github.com/alexdunae/holidays
- Also at: http://code.dunae.ca/holidays/