| @@ 127-136 (lines=10) @@ | ||
| 124 | * |
|
| 125 | * @return null|string Data w formacie YYY-MM-DD |
|
| 126 | */ |
|
| 127 | public function PobierzDateAktualnegoKatTerc() |
|
| 128 | { |
|
| 129 | $res = $this->oClient->request('PobierzDateAktualnegoKatTerc'); |
|
| 130 | ||
| 131 | try { |
|
| 132 | return (new \DateTime($res))->format('Y-m-d'); |
|
| 133 | } catch (\Exception $e) { |
|
| 134 | return null; |
|
| 135 | } |
|
| 136 | } |
|
| 137 | ||
| 138 | /** |
|
| 139 | * Data początkowa bieżącego stanu katalogu NTS |
|
| @@ 143-152 (lines=10) @@ | ||
| 140 | * |
|
| 141 | * @return null|string Data w formacie YYY-MM-DD |
|
| 142 | */ |
|
| 143 | public function PobierzDateAktualnegoKatNTS() |
|
| 144 | { |
|
| 145 | $res = $this->oClient->request('PobierzDateAktualnegoKatNTS'); |
|
| 146 | ||
| 147 | try { |
|
| 148 | return (new \DateTime($res))->format('Y-m-d'); |
|
| 149 | } catch (\Exception $e) { |
|
| 150 | return null; |
|
| 151 | } |
|
| 152 | } |
|
| 153 | ||
| 154 | /** |
|
| 155 | * Data początkowa bieżącego stanu katalogu SIMC |
|
| @@ 159-168 (lines=10) @@ | ||
| 156 | * |
|
| 157 | * @return null|string Data w formacie YYY-MM-DD |
|
| 158 | */ |
|
| 159 | public function PobierzDateAktualnegoKatSimc() |
|
| 160 | { |
|
| 161 | $res = $this->oClient->request('PobierzDateAktualnegoKatSimc'); |
|
| 162 | ||
| 163 | try { |
|
| 164 | return (new \DateTime($res))->format('Y-m-d'); |
|
| 165 | } catch (\Exception $e) { |
|
| 166 | return null; |
|
| 167 | } |
|
| 168 | } |
|
| 169 | ||
| 170 | /** |
|
| 171 | * Data początkowa bieżącego stanu katalogu ULIC |
|
| @@ 175-184 (lines=10) @@ | ||
| 172 | * |
|
| 173 | * @return null|string Data w formacie YYY-MM-DD |
|
| 174 | */ |
|
| 175 | public function PobierzDateAktualnegoKatUlic() |
|
| 176 | { |
|
| 177 | $res = $this->oClient->request('PobierzDateAktualnegoKatUlic'); |
|
| 178 | ||
| 179 | try { |
|
| 180 | return (new \DateTime($res))->format('Y-m-d'); |
|
| 181 | } catch (\Exception $e) { |
|
| 182 | return null; |
|
| 183 | } |
|
| 184 | } |
|
| 185 | ||
| 186 | /** |
|
| 187 | * Dane z systemu identyfikatorów TERC z wybranego stanu katalogu w wersji adresowej |
|