diff -r 322d0feea350 -r 89ef5ed3c48b src/cm/media/js/lib/yui/yui_3.10.3/api/classes/Test.DateAssert.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cm/media/js/lib/yui/yui_3.10.3/api/classes/Test.DateAssert.html Tue Jul 16 14:29:46 2013 +0200 @@ -0,0 +1,1905 @@ + + + + + Test.DateAssert - YUI 3 + + + + + + + + +
+
+
+ +

+ +
+
+ API Docs for: 3.10.3 +
+
+
+ +
+ +
+
+
+ Show: + + + + + + + +
+ + +
+
+
+

Test.DateAssert Class

+
+ + + + + +
+ Defined in: test/js/DateAssert.js:3 +
+ + + + + Module: test + + + + +
+ + + +
+

The DateAssert object provides functions to test JavaScript Date objects +for a variety of cases.

+
+ + + +
+ + +
+
+

Item Index

+ + +
+

Methods

+ + +
+ + + + + + + +
+ + +
+

Methods

+ + +
+

datesAreEqual

+ + +
+ (
    + +
  • + + expected + +
  • + +
  • + + actual + +
  • + +
  • + + message + +
  • + +
) +
+ + + + + + + + + + + + static + + + + + + +
+ + + +

+ + Defined in + + + + + test/js/DateAssert.js:14 + +

+ + + + + +
+ +
+

Asserts that a date's month, day, and year are equal to another date's.

+
+ + +
+

Parameters:

+ +
    + +
  • + + expected + Date + + + + +
    +

    The expected date.

    +
    + + +
  • + +
  • + + actual + Date + + + + +
    +

    The actual date to test.

    +
    + + +
  • + +
  • + + message + String + + + + +
    +

    (Optional) The message to display if the assertion fails.

    +
    + + +
  • + +
+
+ + + + + +
+ + +
+

timesAreEqual

+ + +
+ (
    + +
  • + + expected + +
  • + +
  • + + actual + +
  • + +
  • + + message + +
  • + +
) +
+ + + + + + + + + + + + static + + + + + + +
+ + + +

+ + Defined in + + + + + test/js/DateAssert.js:50 + +

+ + + + + +
+ +
+

Asserts that a date's hour, minutes, and seconds are equal to another date's.

+
+ + +
+

Parameters:

+ +
    + +
  • + + expected + Date + + + + +
    +

    The expected date.

    +
    + + +
  • + +
  • + + actual + Date + + + + +
    +

    The actual date to test.

    +
    + + +
  • + +
  • + + message + String + + + + +
    +

    (Optional) The message to display if the assertion fails.

    +
    + + +
  • + +
+
+ + + + + +
+ + +
+ + + + + + + +
+
+ +
+
+
+
+
+
+ + + + + + + + + +