| 1 | <?php |
||
| 8 | class MonthDay extends Natural |
||
| 9 | { |
||
| 10 | const MIN_MONTH_DAY = 1; |
||
| 11 | const MAX_MONTH_DAY = 31; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * Returns a new MonthDay |
||
| 15 | * |
||
| 16 | * @param int $value |
||
| 17 | */ |
||
| 18 | 30 | public function __construct($value) |
|
| 32 | |||
| 33 | /** |
||
| 34 | * Returns the current month day. |
||
| 35 | * |
||
| 36 | * @return MonthDay |
||
| 37 | */ |
||
| 38 | 4 | public static function now() |
|
| 45 | } |
||
| 46 |