DateAssert.js revision d0199bcbfc68b65683c19c4e3e0c38e238142e7e
3853N/A * The DateAssert object provides functions to test JavaScript Date objects 3853N/A * Asserts that a date's month, day, and year are equal to another date's. 3853N/A * @param {Date} expected The expected date. 3853N/A * @param {Date} actual The actual date to test. 3853N/A * @param {String} message (Optional) The message to display if the assertion fails. 3853N/A //last, check the day of the month 4518N/A throw new TypeError(
"YUITest.DateAssert.datesAreEqual(): Expected and actual values must be Date objects.");
4803N/A * Asserts that a date's hour, minutes, and seconds are equal to another date's. 3853N/A * @param {Date} expected The expected date. 3853N/A * @param {Date} actual The actual date to test. 3853N/A * @param {String} message (Optional) The message to display if the assertion fails. 4141N/A throw new TypeError(
"YUITest.DateAssert.timesAreEqual(): Expected and actual values must be Date objects.");