rem: var compareDates = dojo.lang.hitch(getNyTz(),cosmo.datetime.timezone.Timezone.prototype._compareDates); 
add: var compareDates = cosmo.datetime.timezone._compareDates; 
context: function test_compareDates(){    var compareDates = dojo.lang.hitch(getNyTz(),cosmo.datetime.timezone.Timezone.prototype._compareDates);    var jsDate1 = new Date(2006, 11, 10, 12, 33, 30);    var jsDate2 = new Date(2007, 11, 10, 12, 33, 30);    jum.assertTrue(compareDates(jsDate1, jsDate2) < 0);    jsDate1 = new Date(2006, 11, 10, 12, 33, 30);    jsDate2 = new Date(2006, 11, 10, 12, 33, 30);    jum.assertTrue(compareDates(jsDate1, jsDate2) == 0);    jsDate1 = new Date(2006, 11, 10, 12, 33, 31);    jsDate2 = new Date(2006, 11, 10, 12, 33, 30);    jum.assertTrue(compareDates(jsDate1, jsDate2)  > 0);    jsDate1 = new Date(2006, 11, 10, 13, 33, 31);    jsDate2 = new Date(2006, 11, 10, 12, 33, 31);    jum.assertTrue(compareDates(jsDate1, jsDate2)  > 0);    var sparseHashDate = { year: 2006,                           month: 11 };    jsDate2 = new Date(2006, 11, 1, 1, 1, 1, 1);    jum.assertTrue(compareDates(sparseHashDate, jsDate2) < 0);}
meta: 1859	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1859/ff88e63363e5f0c692821756f71efafc81c2db26/test_timezone.js/clean/src/test/unit/js/cosmo/datetime/test_timezone.js