- };
- if (imports) {
- load = function(ar) {
- Date = ar;
- imports.lang.copyPropertiesNoOverwrite( date,ar);
- imports.lang.copyPropertiesNoOverwrite(datePrototype, ar.prototype);
-
- };
- } else {
- // non imports version.
- for(i in datePrototype) {
- if (!Date.prototype[i]) {
- Date.prototype[i] = datePrototype[i];
- }
- }
- for(i in date) {
- if (!Date[i]) {
- Date[i] = date[i];
- }
- }
- }
-})();
\ No newline at end of file