USHolidays.WSC

A script component to check for US workdays and holidays.
2.3, 2003-01-29
2.3 2003-01-29
  • Corrected misspelling of "Independence" (though it could be an occasion to "dance").

2.2 2003-01-21
  • Fixed IsWorkday.

2.1 2002-05-06
  • Added PrevWorkday, PrevNonWorkday, and PrevHoliday.

  • Improved nonobservational tolerance (anchored next/prev potential arrays with nth day holidays).

  • Fixed a positional math problem in Holiday.

2.0 2002-03-10

Complete Rewrite

  • Rewritten in VBScript, which should improve performance in VBScript (typical ASP) environments.

  • Removed iso8601 date interchange method, since VBScript has much better date support than JScript.

  • Removed daypos weekday-position calculator, in favor of a simple inline equation.

  • Renamed sat2fri, asap, nextUSWorkday, USHoliday, and USWorkday to Sat2Fri, ASAP, NextWorkday, Holiday, and IsWorkday, respectively.

  • Added Sun2Mon, IsOpen, NextNonWorkday, NextHoliday, and IsHoliday (useful for branching in strongly-typed languages like VBScript, which will not interpret the Holiday names to truth).

1.01 2002-01-17

Minor logic reorganization.

1.0 2001-08-13

Original JScript version.