1: <?php
2: /**
3: * Copyright 2009-2012 Horde LLC (http://www.horde.org/)
4: *
5: * See the enclosed file COPYING for license information (LGPL). If you
6: * did not receive this file, see http://www.horde.org/licenses/lgpl21.
7: *
8: * @category Horde
9: * @package Date
10: */
11:
12: /**
13: * @category Horde
14: * @package Date
15: */
16: class Horde_Date_Repeater_Season extends Horde_Date_Repeater
17: {
18: /**
19: * 91 * 24 * 60 * 60
20: */
21: const SEASON_SECONDS = 7862400;
22:
23: public function next($pointer = 'future')
24: {
25: parent::next($pointer);
26: throw new Horde_Date_Repeater_Exception('Not implemented');
27: }
28:
29: public function this($pointer = 'future')
30: {
31: parent::this($pointer);
32: throw new Horde_Date_Repeater_Exception('Not implemented');
33: }
34:
35: public function width()
36: {
37: return self::SEASON_SECONDS;
38: }
39:
40: public function __toString()
41: {
42: return parent::__toString() . '-season';
43: }
44:
45: }
46: