e44a7e37b6
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@151 b3834d28-1941-0410-a4f8-b48e95affb8f
19 lines
595 B
JavaScript
19 lines
595 B
JavaScript
if(!dojo._hasResource["tests.cldr"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
|
|
dojo._hasResource["tests.cldr"] = true;
|
|
dojo.provide("tests.cldr");
|
|
|
|
dojo.require("dojo.cldr.supplemental");
|
|
dojo.require("dojo.cldr.monetary");
|
|
|
|
tests.register("tests.cldr",
|
|
[
|
|
function test_date_getWeekend(t){
|
|
t.is(6, dojo.cldr.supplemental.getWeekend('en-us').start);
|
|
t.is(0, dojo.cldr.supplemental.getWeekend('en-us').end);
|
|
t.is(5, dojo.cldr.supplemental.getWeekend('he-il').start);
|
|
t.is(6, dojo.cldr.supplemental.getWeekend('he-il').end);
|
|
}
|
|
]
|
|
);
|
|
|
|
}
|