diff -r 000000000000 -r 40c8f766c9b8 src/cm/media/js/lib/yui/yui_3.0.0b1/api/Test.DateAssert.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cm/media/js/lib/yui/yui_3.0.0b1/api/Test.DateAssert.html Mon Nov 23 15:14:29 2009 +0100 @@ -0,0 +1,346 @@ + + + + + API: test Test.DateAssert (YUI Library) + + + + + + + + + + +
+
+

Yahoo! UI Library

+

test  3.0.0b1

+ Yahoo! UI Library + > test + > Test.DateAssert + +
+
+ Search: +
+   +
+
+
+
+ +
+
+
+
+
+ Filters + + + +
+
+ +

+ + + static + + Class Test.DateAssert + + + +

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

Methods

+
+
+

+ datesAreEqual

+
+ + + static + + void + datesAreEqual + ( + + + expected + + + , + actual + + + , + message + + + ) + + +
+ 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. +
+
+ +
+
Returns: + + void +
+
+
+ + + + +
+ +
+
+
+
+

+ timesAreEqual

+
+ + + static + + void + timesAreEqual + ( + + + expected + + + , + actual + + + , + message + + + ) + + +
+ 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. +
+
+ +
+
Returns: + + void +
+
+
+ + + + +
+ +
+
+
+
+
+ +
+ +
+ + +
+ +
+ +
+ +
+
+ +
+
+
+ Copyright © 2009 Yahoo! Inc. All rights reserved. +
+
+ + +