summaryrefslogtreecommitdiffstats
path: root/src/test/resources/data/pac/testTimeRange.pac
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/resources/data/pac/testTimeRange.pac')
-rw-r--r--src/test/resources/data/pac/testTimeRange.pac11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/resources/data/pac/testTimeRange.pac b/src/test/resources/data/pac/testTimeRange.pac
new file mode 100644
index 0000000..21138ac
--- /dev/null
+++ b/src/test/resources/data/pac/testTimeRange.pac
@@ -0,0 +1,11 @@
+// Test weekday functions
+
+function FindProxyForURL(url, host) {
+ timeRange(12);
+ timeRange(11, 16);
+ timeRange(10, 30, 17, 30, "gmt");
+ timeRange(10, 30, 00, 17, 30, 30, "GMT");
+ timeRange(19, 9);
+
+ return "DIRECT";
+} \ No newline at end of file