docs: function (expected, actual, message){
          YUITest.Assert._increment();
          if (expected instanceof Date && actual instanceof Date){
              var msg = "";
  
              //check years first
              if (expected.getFullYear() != actual.getFullYear()){
                  msg = "Years should be equal.";
              }
  
              //now check months
              if (expected.getMonth() != actual.getMonth()){
                  msg = "Months should be equal.";
              }
  
              //last, check the day of the month
              if (expected.getDate() != actual.getDate()){
                  msg = "Days of month should be equal.";
              }
  
              if (msg.length){
                  throw new YUITest.ComparisonFailure(YUITest.Assert._formatMessage(message, msg), expected, actual);
              }
          } else {
              throw new TypeError("YUITest.DateAssert.datesAreEqual(): Expected and actual values must be Date objects.");
          }
      }