2 // Copyright (C) 2010-2011 Aron Racho <aron@mi-squred.com>
4 // This program is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU General Public License
6 // as published by the Free Software Foundation; either version 2
7 // of the License, or (at your option) any later version.
10 * Description of ReminderIntervalDetail
14 class ReminderIntervalDetail
18 * @var ReminderIntervalType
23 * @var ReminderIntervalRange
35 * @param ReminderIntervalType $type
36 * @param ReminderIntervalRange $range
37 * @param integer $amount
38 * @param TimeUnit $unit
40 function __construct($type, $range, $amount, $unit)
42 $this->intervalType
= $type;
43 $this->intervalRange
= $range;
44 $this->amount
= $amount;
45 $this->timeUnit
= $unit;
50 $display = xl($this->intervalRange
->lbl
) . ": "
51 . xl($this->amount
) . " " . xl($this->timeUnit
->lbl
);