aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net
diff options
context:
space:
mode:
authorJiri Vanek <[email protected]>2012-06-05 16:14:42 +0200
committerJiri Vanek <[email protected]>2012-06-05 16:14:42 +0200
commit31100d1348be0847c96afb270089161da41ca9ed (patch)
treeef19046a99eef6c9eeac575414884259735f19b6 /netx/net
parent99598df7c4a6b49d290963b2b4a9d92045e6d5b6 (diff)
isDateInRange renamed to isDateInRange_internallForIcedTeaWebTesting
Diffstat (limited to 'netx/net')
-rw-r--r--netx/net/sourceforge/jnlp/runtime/pac-funcs.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/netx/net/sourceforge/jnlp/runtime/pac-funcs.js b/netx/net/sourceforge/jnlp/runtime/pac-funcs.js
index 3028706..de074f2 100644
--- a/netx/net/sourceforge/jnlp/runtime/pac-funcs.js
+++ b/netx/net/sourceforge/jnlp/runtime/pac-funcs.js
@@ -326,19 +326,19 @@ function weekdayRange() {
*/
function dateRange() {
switch (arguments.length) {
- case 1: return isDateInRange(new Date(),arguments[0]);
- case 2: return isDateInRange(new Date(),arguments[0],arguments[1]);
- case 3: return isDateInRange(new Date(),arguments[0],arguments[1],arguments[2]);
- case 4: return isDateInRange(new Date(),arguments[0],arguments[1],arguments[2],arguments[3]);
- case 5: return isDateInRange(new Date(),arguments[0],arguments[1],arguments[2],arguments[3],arguments[4]);
- case 6: return isDateInRange(new Date(),arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);
- case 7: return isDateInRange(new Date(),arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]); //GMT
+ case 1: return isDateInRange_internallForIcedTeaWebTesting(new Date(),arguments[0]);
+ case 2: return isDateInRange_internallForIcedTeaWebTesting(new Date(),arguments[0],arguments[1]);
+ case 3: return isDateInRange_internallForIcedTeaWebTesting(new Date(),arguments[0],arguments[1],arguments[2]);
+ case 4: return isDateInRange_internallForIcedTeaWebTesting(new Date(),arguments[0],arguments[1],arguments[2],arguments[3]);
+ case 5: return isDateInRange_internallForIcedTeaWebTesting(new Date(),arguments[0],arguments[1],arguments[2],arguments[3],arguments[4]);
+ case 6: return isDateInRange_internallForIcedTeaWebTesting(new Date(),arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);
+ case 7: return isDateInRange_internallForIcedTeaWebTesting(new Date(),arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]); //GMT
default:
return false;
}
}
-function isDateInRange() {
+function isDateInRange_internallForIcedTeaWebTesting() {
function isDate(date) {
if (typeof(date) === 'number' && (date <= 31 && date >= 1)) {