Branch: Tag:

2022-08-24

2022-08-24 10:42:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Variable.Schedule: Add test vectors from PI-172.

84:    // 2022-06-24T14:11:43 (Fri) ==> 2022-07-01T03:45:00 (Fri)    ({ 1656079903, 1656647100 }),    }), +  ({ ({ 2, 1, 1, 0, 3, 0 }), // PI-172 adjusted from 02:00 to 03:00 +  // Every day at 03:00. +  // 2022-06-22T14:11:43 (Wed) ==> 2022-06-23T03:00:00 (Thu) +  ({ 1655907103, 1655953200 }), +  // 2022-06-23T14:11:43 (Thu) ==> 2022-06-24T03:00:00 (Fri) +  ({ 1655993503, 1656039600 }), +  // 2022-06-24T02:11:43 (Fri) ==> 2022-06-24T03:00:00 (Fri) +  ({ 1656036703, 1656039600 }), +  // 2022-06-24T03:11:43 (Fri) ==> 2022-06-25T03:00:00 (Sat) +  ({ 1656040303, 1656126000 }), +  // 2022-06-24T03:21:43 (Fri) ==> 2022-06-25T03:00:00 (Sat) +  ({ 1656040903, 1656126000 }), // Borken 2022-06-25T03:15:00 +  // 2022-06-24T03:51:43 (Fri) ==> 2022-06-25T03:00:00 (Sat) +  ({ 1656042703, 1656126000 }), // Borken 2022-06-25T03:45:00 +  // 2022-06-24T04:11:43 (Fri) ==> 2022-06-25T03:00:00 (Sat) +  ({ 1656043903, 1656126000 }), +  // 2022-06-24T14:11:43 (Fri) ==> 2022-06-25T03:00:00 (Sat) +  ({ 1656079903, 1656126000 }), +  }),    }), array(array(int)) test) {    val = test[0];    while(1) {