1<?php
2/**
3 * Copyright 2009-2017 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 * @author   Chuck Hagenbuch <chuck@horde.org>
9 * @category Horde
10 * @license  http://www.horde.org/licenses/lgpl21 LGPL
11 * @package  Date
12 */
13
14/**
15 * Date repeater.
16 *
17 * @author    Chuck Hagenbuch <chuck@horde.org>
18 * @category  Horde
19 * @copyright 2009-2017 Horde LLC
20 * @license   http://www.horde.org/licenses/lgpl21 LGPL
21 * @package   Date
22 */
23class Horde_Date_Repeater_Season extends Horde_Date_Repeater
24{
25    /**
26     * 91 * 24 * 60 * 60
27     */
28    const SEASON_SECONDS = 7862400;
29
30    public function next($pointer = 'future')
31    {
32        parent::next($pointer);
33        throw new Horde_Date_Repeater_Exception('Not implemented');
34    }
35
36    public function this($pointer = 'future')
37    {
38        parent::this($pointer);
39        throw new Horde_Date_Repeater_Exception('Not implemented');
40    }
41
42    public function width()
43    {
44        return self::SEASON_SECONDS;
45    }
46
47    public function __toString()
48    {
49        return parent::__toString() . '-season';
50    }
51
52}
53