1 | <?php |
||
27 | final class Date implements ObjectInitializedInterface { |
||
28 | /** |
||
29 | * @var int day of a month, value in [1, 31] range |
||
30 | */ |
||
31 | private $day = 0; |
||
32 | |||
33 | /** |
||
34 | * @var int month of a year. e.g. 1 = JAN, 2 = FEB etc |
||
35 | */ |
||
36 | private $month = 0; |
||
37 | |||
38 | /** |
||
39 | * @return int day of a month, value in [1, 31] range |
||
40 | */ |
||
41 | 2 | public function getDay() { |
|
44 | |||
45 | /** |
||
46 | * @return int month of a year. e.g. 1 = JAN, 2 = FEB etc |
||
47 | */ |
||
48 | 2 | public function getMonth() { |
|
51 | |||
52 | /** |
||
53 | * @inheritdoc |
||
54 | */ |
||
55 | 1 | public static function initializeByObject(stdClass $Object) { |
|
61 | } |
||
62 |