The primary motivation for introducing those function is to support international market with a weekend days other than Saturday and Sunday.
The secondary motivation is a shortcut for our users; the user can simply pass the Calendar code instead of calling HOLIDAYS function to construct the list of holidays dates.