| 1 | <?php |
||
| 13 | abstract class Converter |
||
| 14 | { |
||
| 15 | use ValidIntegerValidator; |
||
| 16 | |||
| 17 | /** @var int */ |
||
| 18 | protected $day; |
||
| 19 | |||
| 20 | /** @var int */ |
||
| 21 | protected $month; |
||
| 22 | |||
| 23 | /** @var int */ |
||
| 24 | protected $year; |
||
| 25 | |||
| 26 | /** @var int */ |
||
| 27 | protected $jdn; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Get the day. |
||
| 31 | * |
||
| 32 | * @return int |
||
| 33 | */ |
||
| 34 | 81 | public function getDay(): int |
|
| 38 | |||
| 39 | /** |
||
| 40 | * Get the month. |
||
| 41 | * |
||
| 42 | * @return int |
||
| 43 | */ |
||
| 44 | 81 | public function getMonth(): int |
|
| 48 | |||
| 49 | /** |
||
| 50 | * Get the year. |
||
| 51 | * |
||
| 52 | * @return int |
||
| 53 | */ |
||
| 54 | 81 | public function getYear(): int |
|
| 58 | |||
| 59 | /** |
||
| 60 | * Get the JDN. |
||
| 61 | * |
||
| 62 | * @return int |
||
| 63 | */ |
||
| 64 | 81 | public function getJdn(): int |
|
| 68 | } |
||
| 69 |