@@ -42,6 +42,9 @@ |
||
| 42 | 42 | unset($this->formats[$code]); |
| 43 | 43 | } |
| 44 | 44 | |
| 45 | + /** |
|
| 46 | + * @param string $code |
|
| 47 | + */ |
|
| 45 | 48 | public function getFormat($code) |
| 46 | 49 | { |
| 47 | 50 | if (isset($this->formats[$code])) { |
@@ -44,6 +44,9 @@ |
||
| 44 | 44 | return $currencies; |
| 45 | 45 | } |
| 46 | 46 | |
| 47 | + /** |
|
| 48 | + * @param string $format |
|
| 49 | + */ |
|
| 47 | 50 | protected function setDate($format, $value) |
| 48 | 51 | { |
| 49 | 52 | $this->date = DateTime::createFromFormat($format, $value); |