| Offset 1, 4 lines modified | Offset 1, 4 lines modified | ||
| 1 | ·00 | 1 | ·5043410a274058a1cd1bbd7af27ad9f9·975812·doc·optional·faker-doc_33.3.1-2_all.deb |
| 2 | ·68d471a887677906067a34bda858cccc·30712·python·optional·faker_33.3.1-2_all.deb | 2 | ·68d471a887677906067a34bda858cccc·30712·python·optional·faker_33.3.1-2_all.deb |
| 3 | ·f1ca3140a2be37ca43d4fd744b0d88f4·1313492·python·optional·python3-fake-factory_33.3.1-2_all.deb | 3 | ·f1ca3140a2be37ca43d4fd744b0d88f4·1313492·python·optional·python3-fake-factory_33.3.1-2_all.deb |
| Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
| 1 | -rw-r--r--···0········0········0········4·2025-10-12·16:15:00.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2025-10-12·16:15:00.000000·debian-binary |
| 2 | -rw-r--r--···0········0········0·····6992·2025-10-12·16:15:00.000000·control.tar.xz | 2 | -rw-r--r--···0········0········0·····6992·2025-10-12·16:15:00.000000·control.tar.xz |
| 3 | -rw-r--r--···0········0········0···9 | 3 | -rw-r--r--···0········0········0···968628·2025-10-12·16:15:00.000000·data.tar.xz |
| Offset 1, 13 lines modified | Offset 1, 13 lines modified | ||
| 1 | Package:·faker-doc | 1 | Package:·faker-doc |
| 2 | Source:·faker | 2 | Source:·faker |
| 3 | Version:·33.3.1-2 | 3 | Version:·33.3.1-2 |
| 4 | Architecture:·all | 4 | Architecture:·all |
| 5 | Maintainer:·Debian·Python·Team·<team+python@tracker.debian.org> | 5 | Maintainer:·Debian·Python·Team·<team+python@tracker.debian.org> |
| 6 | Installed-Size:·339 | 6 | Installed-Size:·33924 |
| 7 | Depends:·libjs-sphinxdoc·(>=·8.2) | 7 | Depends:·libjs-sphinxdoc·(>=·8.2) |
| 8 | Section:·doc | 8 | Section:·doc |
| 9 | Priority:·optional | 9 | Priority:·optional |
| 10 | Multi-Arch:·foreign | 10 | Multi-Arch:·foreign |
| 11 | Homepage:·https://github.com/joke2k/faker | 11 | Homepage:·https://github.com/joke2k/faker |
| 12 | Description:·Faker·is·a·Python·library·that·generates·fake·data·(Documentation) | 12 | Description:·Faker·is·a·Python·library·that·generates·fake·data·(Documentation) |
| 13 | ·The·fake·data·can·be·used·to·bootstrap·a·database,·create·XML·documents,·or | 13 | ·The·fake·data·can·be·used·to·bootstrap·a·database,·create·XML·documents,·or |
| Offset 154, 142 lines modified | Offset 154, 142 lines modified | ||
| 154 | -rw-r--r--···0·root·········(0)·root·········(0)·····9444·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/communityproviders.html | 154 | -rw-r--r--···0·root·········(0)·root·········(0)·····9444·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/communityproviders.html |
| 155 | -rw-r--r--···0·root·········(0)·root·········(0)····37252·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/fakerclass.html | 155 | -rw-r--r--···0·root·········(0)·root·········(0)····37252·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/fakerclass.html |
| 156 | -rw-r--r--···0·root·········(0)·root·········(0)··1384618·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/genindex.html | 156 | -rw-r--r--···0·root·········(0)·root·········(0)··1384618·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/genindex.html |
| 157 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/includes/ | 157 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/includes/ |
| 158 | -rw-r--r--···0·root·········(0)·root·········(0)·····3126·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/includes/substitutions.html | 158 | -rw-r--r--···0·root·········(0)·root·········(0)·····3126·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/includes/substitutions.html |
| 159 | -rw-r--r--···0·root·········(0)·root·········(0)····60508·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/index.html | 159 | -rw-r--r--···0·root·········(0)·root·········(0)····60508·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/index.html |
| 160 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/ | 160 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/ |
| 161 | -rw-r--r--···0·root·········(0)·root·········(0)···4158 | 161 | -rw-r--r--···0·root·········(0)·root·········(0)···415832·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/ar_AA.html |
| 162 | -rw-r--r--···0·root·········(0)·root·········(0)····25953·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/ar_AE.html | 162 | -rw-r--r--···0·root·········(0)·root·········(0)····25953·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/ar_AE.html |
| 163 | -rw-r--r--···0·root·········(0)·root·········(0)····10637·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/ar_BH.html | 163 | -rw-r--r--···0·root·········(0)·root·········(0)····10637·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/ar_BH.html |
| 164 | -rw-r--r--···0·root·········(0)·root·········(0)···1611 | 164 | -rw-r--r--···0·root·········(0)·root·········(0)···161182·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/ar_EG.html |
| 165 | -rw-r--r--···0·root·········(0)·root·········(0)····30003·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/ar_JO.html | 165 | -rw-r--r--···0·root·········(0)·root·········(0)····30003·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/ar_JO.html |
| 166 | -rw-r--r--···0·root·········(0)·root·········(0)···123288·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/ar_PS.html | 166 | -rw-r--r--···0·root·········(0)·root·········(0)···123288·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/ar_PS.html |
| 167 | -rw-r--r--···0·root·········(0)·root·········(0)····58630·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/ar_SA.html | 167 | -rw-r--r--···0·root·········(0)·root·········(0)····58630·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/ar_SA.html |
| 168 | -rw-r--r--···0·root·········(0)·root·········(0)···5985 | 168 | -rw-r--r--···0·root·········(0)·root·········(0)···598516·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/az_AZ.html |
| 169 | -rw-r--r--···0·root·········(0)·root·········(0)···222550·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/bg_BG.html | 169 | -rw-r--r--···0·root·········(0)·root·········(0)···222550·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/bg_BG.html |
| 170 | -rw-r--r--···0·root·········(0)·root·········(0)···645 | 170 | -rw-r--r--···0·root·········(0)·root·········(0)···645659·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/bn_BD.html |
| 171 | -rw-r--r--···0·root·········(0)·root·········(0)···122995·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/bs_BA.html | 171 | -rw-r--r--···0·root·········(0)·root·········(0)···122995·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/bs_BA.html |
| 172 | -rw-r--r--···0·root·········(0)·root·········(0)···59036 | 172 | -rw-r--r--···0·root·········(0)·root·········(0)···590367·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/cs_CZ.html |
| 173 | -rw-r--r--···0·root·········(0)·root·········(0)···4600 | 173 | -rw-r--r--···0·root·········(0)·root·········(0)···460004·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/da_DK.html |
| 174 | -rw-r--r--···0·root·········(0)·root·········(0)····18313·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/de.html | 174 | -rw-r--r--···0·root·········(0)·root·········(0)····18313·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/de.html |
| 175 | -rw-r--r--···0·root·········(0)·root·········(0)···522 | 175 | -rw-r--r--···0·root·········(0)·root·········(0)···522592·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/de_AT.html |
| 176 | -rw-r--r--···0·root·········(0)·root·········(0)···126656·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/de_CH.html | 176 | -rw-r--r--···0·root·········(0)·root·········(0)···126656·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/de_CH.html |
| 177 | -rw-r--r--···0·root·········(0)·root·········(0)···523 | 177 | -rw-r--r--···0·root·········(0)·root·········(0)···523280·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/de_DE.html |
| 178 | -rw-r--r--···0·root·········(0)·root·········(0)····10127·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/dk_DK.html | 178 | -rw-r--r--···0·root·········(0)·root·········(0)····10127·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/dk_DK.html |
| 179 | -rw-r--r--···0·root·········(0)·root·········(0)····10139·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/el_CY.html | 179 | -rw-r--r--···0·root·········(0)·root·········(0)····10139·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/el_CY.html |
| 180 | -rw-r--r--···0·root·········(0)·root·········(0)···6151 | 180 | -rw-r--r--···0·root·········(0)·root·········(0)···615139·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/el_GR.html |
| 181 | -rw-r--r--···0·root·········(0)·root·········(0)····38324·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/en.html | 181 | -rw-r--r--···0·root·········(0)·root·········(0)····38324·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/en.html |
| 182 | -rw-r--r--···0·root·········(0)·root·········(0)···172227·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/en_AU.html | 182 | -rw-r--r--···0·root·········(0)·root·········(0)···172227·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/en_AU.html |
| 183 | -rw-r--r--···0·root·········(0)·root·········(0)····43378·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/en_BD.html | 183 | -rw-r--r--···0·root·········(0)·root·········(0)····43378·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/en_BD.html |
| 184 | -rw-r--r--···0·root·········(0)·root·········(0)···156745·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/en_CA.html | 184 | -rw-r--r--···0·root·········(0)·root·········(0)···156745·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/en_CA.html |
| 185 | -rw-r--r--···0·root·········(0)·root·········(0)···236444·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/en_GB.html | 185 | -rw-r--r--···0·root·········(0)·root·········(0)···236444·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/en_GB.html |
| 186 | -rw-r--r--···0·root·········(0)·root·········(0)···132728·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/en_IE.html | 186 | -rw-r--r--···0·root·········(0)·root·········(0)···132728·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/en_IE.html |
| 187 | -rw-r--r--···0·root·········(0)·root·········(0)···149156·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/en_IN.html | 187 | -rw-r--r--···0·root·········(0)·root·········(0)···149156·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/en_IN.html |
| 188 | -rw-r--r--···0·root·········(0)·root·········(0)····46654·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/en_MS.html | 188 | -rw-r--r--···0·root·········(0)·root·········(0)····46654·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/en_MS.html |
| 189 | -rw-r--r--···0·root·········(0)·root·········(0)···202935·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/en_NZ.html | 189 | -rw-r--r--···0·root·········(0)·root·········(0)···202935·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/en_NZ.html |
| 190 | -rw-r--r--···0·root·········(0)·root·········(0)··112 | 190 | -rw-r--r--···0·root·········(0)·root·········(0)··1125685·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/en_PH.html |
| 191 | -rw-r--r--···0·root·········(0)·root·········(0)····46167·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/en_PK.html | 191 | -rw-r--r--···0·root·········(0)·root·········(0)····46167·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/en_PK.html |
| 192 | -rw-r--r--···0·root·········(0)·root·········(0)····46771·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/en_TH.html | 192 | -rw-r--r--···0·root·········(0)·root·········(0)····46771·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/en_TH.html |
| 193 | -rw-r--r--···0·root·········(0)·root·········(0)··141 | 193 | -rw-r--r--···0·root·········(0)·root·········(0)··1415475·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/en_US.html |
| 194 | -rw-r--r--···0·root·········(0)·root·········(0)···201507·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/es.html | 194 | -rw-r--r--···0·root·········(0)·root·········(0)···201507·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/es.html |
| 195 | -rw-r--r--···0·root·········(0)·root·········(0)···429 | 195 | -rw-r--r--···0·root·········(0)·root·········(0)···429194·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/es_AR.html |
| 196 | -rw-r--r--···0·root·········(0)·root·········(0)····63654·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/es_CA.html | 196 | -rw-r--r--···0·root·········(0)·root·········(0)····63654·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/es_CA.html |
| 197 | -rw-r--r--···0·root·········(0)·root·········(0)···496 | 197 | -rw-r--r--···0·root·········(0)·root·········(0)···496696·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/es_CL.html |
| 198 | -rw-r--r--···0·root·········(0)·root·········(0)···122985·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/es_CO.html | 198 | -rw-r--r--···0·root·········(0)·root·········(0)···122985·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/es_CO.html |
| 199 | -rw-r--r--···0·root·········(0)·root·········(0)···551 | 199 | -rw-r--r--···0·root·········(0)·root·········(0)···551262·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/es_ES.html |
| 200 | -rw-r--r--···0·root·········(0)·root·········(0)···165998·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/es_MX.html | 200 | -rw-r--r--···0·root·········(0)·root·········(0)···165998·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/es_MX.html |
| 201 | -rw-r--r--···0·root·········(0)·root·········(0)····75455·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/et_EE.html | 201 | -rw-r--r--···0·root·········(0)·root·········(0)····75455·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/et_EE.html |
| 202 | -rw-r--r--···0·root·········(0)·root·········(0)···433865·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/fa_IR.html | 202 | -rw-r--r--···0·root·········(0)·root·········(0)···433865·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/fa_IR.html |
| 203 | -rw-r--r--···0·root·········(0)·root·········(0)···258625·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/fi_FI.html | 203 | -rw-r--r--···0·root·········(0)·root·········(0)···258625·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/fi_FI.html |
| 204 | -rw-r--r--···0·root·········(0)·root·········(0)··108 | 204 | -rw-r--r--···0·root·········(0)·root·········(0)··1082296·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/fil_PH.html |
| 205 | -rw-r--r--···0·root·········(0)·root·········(0)····46551·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/fr_BE.html | 205 | -rw-r--r--···0·root·········(0)·root·········(0)····46551·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/fr_BE.html |
| 206 | -rw-r--r--···0·root·········(0)·root·········(0)···3406 | 206 | -rw-r--r--···0·root·········(0)·root·········(0)···340633·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/fr_CA.html |
| 207 | -rw-r--r--···0·root·········(0)·root·········(0)···268717·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/fr_CH.html | 207 | -rw-r--r--···0·root·········(0)·root·········(0)···268717·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/fr_CH.html |
| 208 | -rw-r--r--···0·root·········(0)·root·········(0)···592 | 208 | -rw-r--r--···0·root·········(0)·root·········(0)···592177·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/fr_FR.html |
| 209 | -rw-r--r--···0·root·········(0)·root·········(0)····46918·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/fr_QC.html | 209 | -rw-r--r--···0·root·········(0)·root·········(0)····46918·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/fr_QC.html |
| 210 | -rw-r--r--···0·root·········(0)·root·········(0)····46952·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/ga_IE.html | 210 | -rw-r--r--···0·root·········(0)·root·········(0)····46952·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/ga_IE.html |
| 211 | -rw-r--r--···0·root·········(0)·root·········(0)···210 | 211 | -rw-r--r--···0·root·········(0)·root·········(0)···210374·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/gu_IN.html |
| 212 | -rw-r--r--···0·root·········(0)·root·········(0)···243131·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/he_IL.html | 212 | -rw-r--r--···0·root·········(0)·root·········(0)···243131·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/he_IL.html |
| 213 | -rw-r--r--···0·root·········(0)·root·········(0)···2453 | 213 | -rw-r--r--···0·root·········(0)·root·········(0)···245307·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/hi_IN.html |
| 214 | -rw-r--r--···0·root·········(0)·root·········(0)···418 | 214 | -rw-r--r--···0·root·········(0)·root·········(0)···418176·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/hr_HR.html |
| 215 | -rw-r--r--···0·root·········(0)·root·········(0)···438 | 215 | -rw-r--r--···0·root·········(0)·root·········(0)···438879·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/hu_HU.html |
| 216 | -rw-r--r--···0·root·········(0)·root·········(0)···425 | 216 | -rw-r--r--···0·root·········(0)·root·········(0)···425879·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/hy_AM.html |
| 217 | -rw-r--r--···0·root·········(0)·root·········(0)···4202 | 217 | -rw-r--r--···0·root·········(0)·root·········(0)···420210·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/id_ID.html |
| 218 | -rw-r--r--···0·root·········(0)·root·········(0)····36092·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/it_CH.html | 218 | -rw-r--r--···0·root·········(0)·root·········(0)····36092·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/it_CH.html |
| 219 | -rw-r--r--···0·root·········(0)·root·········(0)···5224 | 219 | -rw-r--r--···0·root·········(0)·root·········(0)···522419·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/it_IT.html |
| 220 | -rw-r--r--···0·root·········(0)·root·········(0)···5743 | 220 | -rw-r--r--···0·root·········(0)·root·········(0)···574329·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/ja_JP.html |
| 221 | -rw-r--r--···0·root·········(0)·root·········(0)···29 | 221 | -rw-r--r--···0·root·········(0)·root·········(0)···298929·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/ka_GE.html |
| 222 | -rw-r--r--···0·root·········(0)·root·········(0)···408 | 222 | -rw-r--r--···0·root·········(0)·root·········(0)···408092·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/ko_KR.html |
| 223 | -rw-r--r--···0·root·········(0)·root·········(0)····46683·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/la.html | 223 | -rw-r--r--···0·root·········(0)·root·········(0)····46683·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/la.html |
| 224 | -rw-r--r--···0·root·········(0)·root·········(0)····10267·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/lb_LU.html | 224 | -rw-r--r--···0·root·········(0)·root·········(0)····10267·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/lb_LU.html |
| 225 | -rw-r--r--···0·root·········(0)·root·········(0)····66171·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/lt_LT.html | 225 | -rw-r--r--···0·root·········(0)·root·········(0)····66171·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/lt_LT.html |
| 226 | -rw-r--r--···0·root·········(0)·root·········(0)····61336·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/lv_LV.html | 226 | -rw-r--r--···0·root·········(0)·root·········(0)····61336·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/lv_LV.html |
| 227 | -rw-r--r--···0·root·········(0)·root·········(0)····10279·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/mt_MT.html | 227 | -rw-r--r--···0·root·········(0)·root·········(0)····10279·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/mt_MT.html |
| 228 | -rw-r--r--···0·root·········(0)·root·········(0)····91035·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/ne_NP.html | 228 | -rw-r--r--···0·root·········(0)·root·········(0)····91035·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/ne_NP.html |
| 229 | -rw-r--r--···0·root·········(0)·root·········(0)···231696·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/nl_BE.html | 229 | -rw-r--r--···0·root·········(0)·root·········(0)···231696·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/nl_BE.html |
| 230 | -rw-r--r--···0·root·········(0)·root·········(0)···4138 | 230 | -rw-r--r--···0·root·········(0)·root·········(0)···413820·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/nl_NL.html |
| 231 | -rw-r--r--···0·root·········(0)·root·········(0)···394 | 231 | -rw-r--r--···0·root·········(0)·root·········(0)···394595·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/no_NO.html |
| 232 | -rw-r--r--···0·root·········(0)·root·········(0)····52012·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/or_IN.html | 232 | -rw-r--r--···0·root·········(0)·root·········(0)····52012·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/or_IN.html |
| 233 | -rw-r--r--···0·root·········(0)·root·········(0)···5759 | 233 | -rw-r--r--···0·root·········(0)·root·········(0)···575978·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/pl_PL.html |
| 234 | -rw-r--r--···0·root·········(0)·root·········(0)···4716 | 234 | -rw-r--r--···0·root·········(0)·root·········(0)···471606·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/pt_BR.html |
| 235 | -rw-r--r--···0·root·········(0)·root·········(0)···456 | 235 | -rw-r--r--···0·root·········(0)·root·········(0)···456397·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/pt_PT.html |
| 236 | -rw-r--r--···0·root·········(0)·root·········(0)···4338 | 236 | -rw-r--r--···0·root·········(0)·root·········(0)···433852·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/ro_RO.html |
| 237 | -rw-r--r--···0·root·········(0)·root·········(0)···6562 | 237 | -rw-r--r--···0·root·········(0)·root·········(0)···656256·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/ru_RU.html |
| 238 | -rw-r--r--···0·root·········(0)·root·········(0)···5013 | 238 | -rw-r--r--···0·root·········(0)·root·········(0)···501337·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/sk_SK.html |
| 239 | -rw-r--r--···0·root·········(0)·root·········(0)···3615 | 239 | -rw-r--r--···0·root·········(0)·root·········(0)···361556·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/sl_SI.html |
| 240 | -rw-r--r--···0·root·········(0)·root·········(0)····10647·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/sq_AL.html | 240 | -rw-r--r--···0·root·········(0)·root·········(0)····10647·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/sq_AL.html |
| 241 | -rw-r--r--···0·root·········(0)·root·········(0)···241375·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/sv_SE.html | 241 | -rw-r--r--···0·root·········(0)·root·········(0)···241375·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/sv_SE.html |
| 242 | -rw-r--r--···0·root·········(0)·root·········(0)····24589·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/sw.html | 242 | -rw-r--r--···0·root·········(0)·root·········(0)····24589·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/sw.html |
| 243 | -rw-r--r--···0·root·········(0)·root·········(0)···24 | 243 | -rw-r--r--···0·root·········(0)·root·········(0)···244960·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/ta_IN.html |
| 244 | -rw-r--r--···0·root·········(0)·root·········(0)····18313·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/th.html | 244 | -rw-r--r--···0·root·········(0)·root·········(0)····18313·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/th.html |
| 245 | -rw-r--r--···0·root·········(0)·root·········(0)···608322·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/th_TH.html | 245 | -rw-r--r--···0·root·········(0)·root·········(0)···608322·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/th_TH.html |
| 246 | -rw-r--r--···0·root·········(0)·root·········(0)··108 | 246 | -rw-r--r--···0·root·········(0)·root·········(0)··1081113·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/tl_PH.html |
| 247 | -rw-r--r--···0·root·········(0)·root·········(0)···41261 | 247 | -rw-r--r--···0·root·········(0)·root·········(0)···412610·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/tr_TR.html |
| 248 | -rw-r--r--···0·root·········(0)·root·········(0)····54308·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/tw_GH.html | 248 | -rw-r--r--···0·root·········(0)·root·········(0)····54308·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/tw_GH.html |
| 249 | -rw-r--r--···0·root·········(0)·root·········(0)···4802 | 249 | -rw-r--r--···0·root·········(0)·root·········(0)···480237·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/uk_UA.html |
| 250 | -rw-r--r--···0·root·········(0)·root·········(0)···2788 | 250 | -rw-r--r--···0·root·········(0)·root·········(0)···278882·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/uz_UZ.html |
| 251 | -rw-r--r--···0·root·········(0)·root·········(0)···4383 | 251 | -rw-r--r--···0·root·········(0)·root·········(0)···438315·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/vi_VN.html |
| 252 | -rw-r--r--···0·root·········(0)·root·········(0)····46757·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/yo_NG.html | 252 | -rw-r--r--···0·root·········(0)·root·········(0)····46757·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/yo_NG.html |
| 253 | -rw-r--r--···0·root·········(0)·root·········(0)···5246 | 253 | -rw-r--r--···0·root·········(0)·root·········(0)···524649·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/zh_CN.html |
| 254 | -rw-r--r--···0·root·········(0)·root·········(0)···4898 | 254 | -rw-r--r--···0·root·········(0)·root·········(0)···489855·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/zh_TW.html |
| 255 | -rw-r--r--···0·root·········(0)·root·········(0)····85163·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/zu_ZA.html | 255 | -rw-r--r--···0·root·········(0)·root·········(0)····85163·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales/zu_ZA.html |
| 256 | -rw-r--r--···0·root·········(0)·root·········(0)···144932·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales.html | 256 | -rw-r--r--···0·root·········(0)·root·········(0)···144932·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/locales.html |
| 257 | -rw-r--r--···0·root·········(0)·root·········(0)····39198·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/objects.inv | 257 | -rw-r--r--···0·root·········(0)·root·········(0)····39198·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/objects.inv |
| 258 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/ | 258 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/ |
| 259 | -rw-r--r--···0·root·········(0)·root·········(0)···123614·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/baseprovider.html | 259 | -rw-r--r--···0·root·········(0)·root·········(0)···123614·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/baseprovider.html |
| 260 | -rw-r--r--···0·root·········(0)·root·········(0)····30921·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.address.html | 260 | -rw-r--r--···0·root·········(0)·root·········(0)····30921·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.address.html |
| 261 | -rw-r--r--···0·root·········(0)·root·········(0)····10570·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.automotive.html | 261 | -rw-r--r--···0·root·········(0)·root·········(0)····10570·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.automotive.html |
| 262 | -rw-r--r--···0·root·········(0)·root·········(0)····36798·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.bank.html | 262 | -rw-r--r--···0·root·········(0)·root·········(0)····36798·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.bank.html |
| 263 | -rw-r--r--···0·root·········(0)·root·········(0)····39801·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.barcode.html | 263 | -rw-r--r--···0·root·········(0)·root·········(0)····39801·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.barcode.html |
| 264 | -rw-r--r--···0·root·········(0)·root·········(0)····53147·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.color.html | 264 | -rw-r--r--···0·root·········(0)·root·········(0)····53147·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.color.html |
| 265 | -rw-r--r--···0·root·········(0)·root·········(0)····14877·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.company.html | 265 | -rw-r--r--···0·root·········(0)·root·········(0)····14877·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.company.html |
| 266 | -rw-r--r--···0·root·········(0)·root·········(0)····26062·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.credit_card.html | 266 | -rw-r--r--···0·root·········(0)·root·········(0)····26062·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.credit_card.html |
| 267 | -rw-r--r--···0·root·········(0)·root·········(0)····23967·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.currency.html | 267 | -rw-r--r--···0·root·········(0)·root·········(0)····23967·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.currency.html |
| 268 | -rw-r--r--···0·root·········(0)·root·········(0)···1609 | 268 | -rw-r--r--···0·root·········(0)·root·········(0)···160905·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.date_time.html |
| 269 | -rw-r--r--···0·root·········(0)·root·········(0)·····8585·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.emoji.html | 269 | -rw-r--r--···0·root·········(0)·root·········(0)·····8585·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.emoji.html |
| 270 | -rw-r--r--···0·root·········(0)·root·········(0)····46614·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.file.html | 270 | -rw-r--r--···0·root·········(0)·root·········(0)····46614·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.file.html |
| 271 | -rw-r--r--···0·root·········(0)·root·········(0)····24680·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.geo.html | 271 | -rw-r--r--···0·root·········(0)·root·········(0)····24680·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.geo.html |
| 272 | -rw-r--r--···0·root·········(0)·root·········(0)···106995·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.internet.html | 272 | -rw-r--r--···0·root·········(0)·root·········(0)···106995·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.internet.html |
| 273 | -rw-r--r--···0·root·········(0)·root·········(0)····11775·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.isbn.html | 273 | -rw-r--r--···0·root·········(0)·root·········(0)····11775·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.isbn.html |
| 274 | -rw-r--r--···0·root·········(0)·root·········(0)····12237·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.job.html | 274 | -rw-r--r--···0·root·········(0)·root·········(0)····12237·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.job.html |
| 275 | -rw-r--r--···0·root·········(0)·root·········(0)····96379·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.lorem.html | 275 | -rw-r--r--···0·root·········(0)·root·········(0)····96379·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.lorem.html |
| 276 | -rw-r--r--···0·root·········(0)·root·········(0)···50 | 276 | -rw-r--r--···0·root·········(0)·root·········(0)···502424·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.misc.html |
| 277 | -rw-r--r--···0·root·········(0)·root·········(0)····14322·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.passport.html | 277 | -rw-r--r--···0·root·········(0)·root·········(0)····14322·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.passport.html |
| 278 | -rw-r--r--···0·root·········(0)·root·········(0)····46480·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.person.html | 278 | -rw-r--r--···0·root·········(0)·root·········(0)····46480·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.person.html |
| 279 | -rw-r--r--···0·root·········(0)·root·········(0)····12592·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.phone_number.html | 279 | -rw-r--r--···0·root·········(0)·root·········(0)····12592·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.phone_number.html |
| 280 | -rw-r--r--···0·root·········(0)·root·········(0)····2234 | 280 | -rw-r--r--···0·root·········(0)·root·········(0)····22349·2025-10-12·16:15:00.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.profile.html |
| Max diff block lines reached; 2114/26684 bytes (7.92%) of diff not shown. | |||
| Offset 56, 19 lines modified | Offset 56, 19 lines modified | ||
| 56 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 56 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 57 | <dd·class="field-odd"><p></p></dd> | 57 | <dd·class="field-odd"><p></p></dd> |
| 58 | </dl> | 58 | </dl> |
| 59 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 59 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 60 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 60 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 61 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 61 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 62 | <span·class="gp">...</span> | 62 | <span·class="gp">...</span> |
| 63 | <span·class="go">'م'</span> | ||
| 64 | <span·class="go">'م'</span> | ||
| 65 | <span·class="go">'ص'</span> | 63 | <span·class="go">'ص'</span> |
| 66 | <span·class="go">'م'</span> | 64 | <span·class="go">'م'</span> |
| 67 | <span·class="go">'ص'</span> | 65 | <span·class="go">'ص'</span> |
| 66 | <span·class="go">'ص'</span> | ||
| 67 | <span·class="go">'ص'</span> | ||
| 68 | </pre></div> | 68 | </pre></div> |
| 69 | </div> | 69 | </div> |
| 70 | </dd></dl> | 70 | </dd></dl> |
| 71 | <dl·class="py·method"> | 71 | <dl·class="py·method"> |
| 72 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ar_AA.Provider.century"> | 72 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ar_AA.Provider.century"> |
| 73 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ar_AA.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 73 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ar_AA.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 109, 19 lines modified | Offset 109, 19 lines modified | ||
| 109 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 109 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 110 | <dd·class="field-even"><p></p></dd> | 110 | <dd·class="field-even"><p></p></dd> |
| 111 | </dl> | 111 | </dl> |
| 112 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 112 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 113 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 113 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 114 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 114 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 115 | <span·class="gp">...</span> | 115 | <span·class="gp">...</span> |
| 116 | <span·class="go">'2018-01-27'</span> | ||
| 117 | <span·class="go">'201 | 116 | <span·class="go">'2017-02-26'</span> |
| 117 | <span·class="go">'2012-04-29'</span> | ||
| 118 | <span·class="go">'1993- | 118 | <span·class="go">'1993-06-27'</span> |
| 119 | <span·class="go">'1984-0 | 119 | <span·class="go">'1984-06-17'</span> |
| 120 | <span·class="go">'199 | 120 | <span·class="go">'1998-07-21'</span> |
| 121 | </pre></div> | 121 | </pre></div> |
| 122 | </div> | 122 | </div> |
| 123 | </dd></dl> | 123 | </dd></dl> |
| 124 | <dl·class="py·method"> | 124 | <dl·class="py·method"> |
| 125 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ar_AA.Provider.date_between"> | 125 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ar_AA.Provider.date_between"> |
| 126 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ar_AA.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 126 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ar_AA.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 143, 19 lines modified | Offset 143, 19 lines modified | ||
| 143 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 143 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 144 | <dd·class="field-even"><p></p></dd> | 144 | <dd·class="field-even"><p></p></dd> |
| 145 | </dl> | 145 | </dl> |
| 146 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 146 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 147 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 147 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 148 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 148 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 149 | <span·class="gp">...</span> | 149 | <span·class="gp">...</span> |
| 150 | <span·class="go">datetime.date(202 | 150 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 151 | <span·class="go">datetime.date(201 | 151 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 152 | <span·class="go">datetime.date(200 | 152 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 153 | <span·class="go">datetime.date(200 | 153 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 154 | <span·class="go">datetime.date(201 | 154 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 155 | </pre></div> | 155 | </pre></div> |
| 156 | </div> | 156 | </div> |
| 157 | </dd></dl> | 157 | </dd></dl> |
| 158 | <dl·class="py·method"> | 158 | <dl·class="py·method"> |
| 159 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ar_AA.Provider.date_between_dates"> | 159 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ar_AA.Provider.date_between_dates"> |
| 160 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ar_AA.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 160 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ar_AA.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 174, 19 lines modified | Offset 174, 19 lines modified | ||
| 174 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 174 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 175 | <dd·class="field-odd"><p></p></dd> | 175 | <dd·class="field-odd"><p></p></dd> |
| 176 | </dl> | 176 | </dl> |
| 177 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 177 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 178 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 178 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 179 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 179 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 180 | <span·class="gp">...</span> | 180 | <span·class="gp">...</span> |
| 181 | <span·class="go">datetime.date(202 | 181 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 182 | <span·class="go">datetime.date(202 | 182 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 183 | <span·class="go">datetime.date(202 | 183 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 184 | <span·class="go">datetime.date(202 | 184 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 185 | <span·class="go">datetime.date(202 | 185 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 186 | </pre></div> | 186 | </pre></div> |
| 187 | </div> | 187 | </div> |
| 188 | </dd></dl> | 188 | </dd></dl> |
| 189 | <dl·class="py·method"> | 189 | <dl·class="py·method"> |
| 190 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ar_AA.Provider.date_object"> | 190 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ar_AA.Provider.date_object"> |
| 191 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ar_AA.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 191 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ar_AA.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 198, 19 lines modified | Offset 198, 19 lines modified | ||
| 198 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 198 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 199 | <dd·class="field-even"><p></p></dd> | 199 | <dd·class="field-even"><p></p></dd> |
| 200 | </dl> | 200 | </dl> |
| 201 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 201 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 202 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 202 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 203 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 203 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 204 | <span·class="gp">...</span> | 204 | <span·class="gp">...</span> |
| 205 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 206 | <span·class="go">datetime.date(201 | 205 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 206 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 207 | <span·class="go">datetime.date(1993,· | 207 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 208 | <span·class="go">datetime.date(1984,· | 208 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 209 | <span·class="go">datetime.date(199 | 209 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 210 | </pre></div> | 210 | </pre></div> |
| 211 | </div> | 211 | </div> |
| 212 | </dd></dl> | 212 | </dd></dl> |
| 213 | <dl·class="py·method"> | 213 | <dl·class="py·method"> |
| 214 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ar_AA.Provider.date_of_birth"> | 214 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ar_AA.Provider.date_of_birth"> |
| 215 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ar_AA.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 215 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ar_AA.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 234, 19 lines modified | Offset 234, 19 lines modified | ||
| 234 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 234 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 235 | <dd·class="field-even"><p></p></dd> | 235 | <dd·class="field-even"><p></p></dd> |
| 236 | </dl> | 236 | </dl> |
| 237 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 237 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 238 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 238 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 239 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 239 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 240 | <span·class="gp">...</span> | 240 | <span·class="gp">...</span> |
| 241 | <span·class="go">datetime.date(200 | 241 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 242 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 243 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 242 | <span·class="go">datetime.date(19 | 244 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 243 | <span·class="go">datetime.date(19 | 245 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 244 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 245 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 246 | </pre></div> | 246 | </pre></div> |
| 247 | </div> | 247 | </div> |
| 248 | </dd></dl> | 248 | </dd></dl> |
| 249 | <dl·class="py·method"> | 249 | <dl·class="py·method"> |
| 250 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ar_AA.Provider.date_this_century"> | 250 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ar_AA.Provider.date_this_century"> |
| 251 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ar_AA.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 251 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ar_AA.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 267, 19 lines modified | Offset 267, 19 lines modified | ||
| 267 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 267 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 98639/120855 bytes (81.62%) of diff not shown. | |||
| Offset 11, 19 lines modified | Offset 11, 19 lines modified | ||
| 11 | ······Bases:·Provider | 11 | ······Bases:·Provider |
| 12 | ········am_pm()·→·str¶ | 12 | ········am_pm()·→·str¶ |
| 13 | ··············Examples: | 13 | ··············Examples: |
| 14 | ············>>>·Faker.seed(0) | 14 | ············>>>·Faker.seed(0) |
| 15 | ············>>>·for·_·in·range(5): | 15 | ············>>>·for·_·in·range(5): |
| 16 | ············...·····fake.am_pm() | 16 | ············...·····fake.am_pm() |
| 17 | ············... | 17 | ············... |
| 18 | ············'م' | ||
| 19 | ············'م' | ||
| 20 | ············'ص' | 18 | ············'ص' |
| 21 | ············'م' | 19 | ············'م' |
| 22 | ············'ص' | 20 | ············'ص' |
| 21 | ············'ص' | ||
| 22 | ············'ص' | ||
| 23 | ········century()·→·str¶ | 23 | ········century()·→·str¶ |
| 24 | ··············Example: | 24 | ··············Example: |
| 25 | ··················‘XVII’ | 25 | ··················‘XVII’ |
| 26 | ··············Examples: | 26 | ··············Examples: |
| 27 | ············>>>·Faker.seed(0) | 27 | ············>>>·Faker.seed(0) |
| 28 | ············>>>·for·_·in·range(5): | 28 | ············>>>·for·_·in·range(5): |
| 29 | ············...·····fake.century() | 29 | ············...·····fake.century() |
| Offset 43, 19 lines modified | Offset 43, 19 lines modified | ||
| 43 | ··············Returns: | 43 | ··············Returns: |
| 44 | ··················Date | 44 | ··················Date |
| 45 | ··············Examples: | 45 | ··············Examples: |
| 46 | ············>>>·Faker.seed(0) | 46 | ············>>>·Faker.seed(0) |
| 47 | ············>>>·for·_·in·range(5): | 47 | ············>>>·for·_·in·range(5): |
| 48 | ············...·····fake.date() | 48 | ············...·····fake.date() |
| 49 | ············... | 49 | ············... |
| 50 | ············'2018-01-27' | ||
| 51 | ············'201 | 50 | ············'2017-02-26' |
| 51 | ············'2012-04-29' | ||
| 52 | ············'1993- | 52 | ············'1993-06-27' |
| 53 | ············'1984-0 | 53 | ············'1984-06-17' |
| 54 | ············'199 | 54 | ············'1998-07-21' |
| 55 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 55 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 56 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 56 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 57 | ········date¶ | 57 | ········date¶ |
| 58 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 58 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 59 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 59 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 60 | ··············Parameters: | 60 | ··············Parameters: |
| 61 | ······················*·start_date·–·Defaults·to·30·years·ago | 61 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 65, 19 lines modified | Offset 65, 19 lines modified | ||
| 65 | ··············Returns: | 65 | ··············Returns: |
| 66 | ··················Date | 66 | ··················Date |
| 67 | ··············Examples: | 67 | ··············Examples: |
| 68 | ············>>>·Faker.seed(0) | 68 | ············>>>·Faker.seed(0) |
| 69 | ············>>>·for·_·in·range(5): | 69 | ············>>>·for·_·in·range(5): |
| 70 | ············...·····fake.date_between() | 70 | ············...·····fake.date_between() |
| 71 | ············... | 71 | ············... |
| 72 | ············datetime.date(202 | 72 | ············datetime.date(2021,·3,·5) |
| 73 | ············datetime.date(201 | 73 | ············datetime.date(2018,·7,·31) |
| 74 | ············datetime.date(200 | 74 | ············datetime.date(2008,·6,·16) |
| 75 | ············datetime.date(200 | 75 | ············datetime.date(2003,·8,·11) |
| 76 | ············datetime.date(201 | 76 | ············datetime.date(2011,·3,·7) |
| 77 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 77 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 78 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 78 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 79 | ········=·None)·→·date¶ | 79 | ········=·None)·→·date¶ |
| 80 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 80 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 81 | ············given·dates.·Accepts·Date·or·datetime·objects | 81 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 82 | ··············Parameters: | 82 | ··············Parameters: |
| 83 | ······················*·date_start·–·Date | 83 | ······················*·date_start·–·Date |
| Offset 85, 33 lines modified | Offset 85, 33 lines modified | ||
| 85 | ··············Returns: | 85 | ··············Returns: |
| 86 | ··················Date | 86 | ··················Date |
| 87 | ··············Examples: | 87 | ··············Examples: |
| 88 | ············>>>·Faker.seed(0) | 88 | ············>>>·Faker.seed(0) |
| 89 | ············>>>·for·_·in·range(5): | 89 | ············>>>·for·_·in·range(5): |
| 90 | ············...·····fake.date_between_dates() | 90 | ············...·····fake.date_between_dates() |
| 91 | ············... | 91 | ············... |
| 92 | ············datetime.date(202 | 92 | ············datetime.date(2025,·11,·4) |
| 93 | ············datetime.date(202 | 93 | ············datetime.date(2025,·11,·4) |
| 94 | ············datetime.date(202 | 94 | ············datetime.date(2025,·11,·4) |
| 95 | ············datetime.date(202 | 95 | ············datetime.date(2025,·11,·4) |
| 96 | ············datetime.date(202 | 96 | ············datetime.date(2025,·11,·4) |
| 97 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 97 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 98 | ············Get·a·date·object·between·January·1,·1970·and·now | 98 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 99 | ··············Example: | 99 | ··············Example: |
| 100 | ··················datetime.date(2016,·9,·20) | 100 | ··················datetime.date(2016,·9,·20) |
| 101 | ··············Examples: | 101 | ··············Examples: |
| 102 | ············>>>·Faker.seed(0) | 102 | ············>>>·Faker.seed(0) |
| 103 | ············>>>·for·_·in·range(5): | 103 | ············>>>·for·_·in·range(5): |
| 104 | ············...·····fake.date_object() | 104 | ············...·····fake.date_object() |
| 105 | ············... | 105 | ············... |
| 106 | ············datetime.date(2018,·1,·27) | ||
| 107 | ············datetime.date(201 | 106 | ············datetime.date(2017,·2,·26) |
| 107 | ············datetime.date(2012,·4,·29) | ||
| 108 | ············datetime.date(1993,· | 108 | ············datetime.date(1993,·6,·27) |
| 109 | ············datetime.date(1984,· | 109 | ············datetime.date(1984,·6,·17) |
| 110 | ············datetime.date(199 | 110 | ············datetime.date(1998,·7,·21) |
| 111 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 111 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 112 | ········maximum_age:·int·=·115)·→·date¶ | 112 | ········maximum_age:·int·=·115)·→·date¶ |
| 113 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 113 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 114 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 114 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 115 | ··············Parameters: | 115 | ··············Parameters: |
| 116 | ······················*·tzinfo·–·Defaults·to·None. | 116 | ······················*·tzinfo·–·Defaults·to·None. |
| 117 | ······················*·minimum_age·–·Defaults·to·0. | 117 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 121, 19 lines modified | Offset 121, 19 lines modified | ||
| 121 | ··············Returns: | 121 | ··············Returns: |
| 122 | ··················Date | 122 | ··················Date |
| 123 | ··············Examples: | 123 | ··············Examples: |
| 124 | ············>>>·Faker.seed(0) | 124 | ············>>>·Faker.seed(0) |
| 125 | ············>>>·for·_·in·range(5): | 125 | ············>>>·for·_·in·range(5): |
| 126 | ············...·····fake.date_of_birth() | 126 | ············...·····fake.date_of_birth() |
| 127 | ············... | 127 | ············... |
| 128 | ············datetime.date(200 | 128 | ············datetime.date(2007,·10,·18) |
| 129 | ············datetime.date(1997,·10,·6) | ||
| 130 | ············datetime.date(1958,·8,·18) | ||
| 129 | ············datetime.date(19 | 131 | ············datetime.date(1939,·11,·17) |
| 130 | ············datetime.date(19 | 132 | ············datetime.date(1969,·2,·24) |
| 131 | ············datetime.date(1940,·12,·18) | ||
| 132 | ············datetime.date(1970,·3,·28) | ||
| 133 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 133 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 134 | ········→·date¶ | 134 | ········→·date¶ |
| 135 | ············Gets·a·Date·object·for·the·current·century. | 135 | ············Gets·a·Date·object·for·the·current·century. |
| 136 | ··············Parameters: | 136 | ··············Parameters: |
| 137 | ······················*·before_today·–·include·days·in·current·century·before | 137 | ······················*·before_today·–·include·days·in·current·century·before |
| 138 | ························today | 138 | ························today |
| 139 | ······················*·after_today·–·include·days·in·current·century·after | 139 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 143, 19 lines modified | Offset 143, 19 lines modified | ||
| 143 | ··············Returns: | 143 | ··············Returns: |
| 144 | ··················Date | 144 | ··················Date |
| 145 | ··············Examples: | 145 | ··············Examples: |
| 146 | ············>>>·Faker.seed(0) | 146 | ············>>>·Faker.seed(0) |
| 147 | ············>>>·for·_·in·range(5): | 147 | ············>>>·for·_·in·range(5): |
| 148 | ············...·····fake.date_this_century() | 148 | ············...·····fake.date_this_century() |
| 149 | ············... | 149 | ············... |
| Max diff block lines reached; 24708/30607 bytes (80.73%) of diff not shown. | |||
| Offset 56, 19 lines modified | Offset 56, 19 lines modified | ||
| 56 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 56 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 57 | <dd·class="field-odd"><p></p></dd> | 57 | <dd·class="field-odd"><p></p></dd> |
| 58 | </dl> | 58 | </dl> |
| 59 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 59 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 60 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 60 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 61 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 61 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 62 | <span·class="gp">...</span> | 62 | <span·class="gp">...</span> |
| 63 | <span·class="go">'م'</span> | ||
| 64 | <span·class="go">'م'</span> | ||
| 65 | <span·class="go">'ص'</span> | 63 | <span·class="go">'ص'</span> |
| 66 | <span·class="go">'م'</span> | 64 | <span·class="go">'م'</span> |
| 67 | <span·class="go">'ص'</span> | 65 | <span·class="go">'ص'</span> |
| 66 | <span·class="go">'ص'</span> | ||
| 67 | <span·class="go">'ص'</span> | ||
| 68 | </pre></div> | 68 | </pre></div> |
| 69 | </div> | 69 | </div> |
| 70 | </dd></dl> | 70 | </dd></dl> |
| 71 | <dl·class="py·method"> | 71 | <dl·class="py·method"> |
| 72 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ar_EG.Provider.century"> | 72 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ar_EG.Provider.century"> |
| 73 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ar_EG.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 73 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ar_EG.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 109, 19 lines modified | Offset 109, 19 lines modified | ||
| 109 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 109 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 110 | <dd·class="field-even"><p></p></dd> | 110 | <dd·class="field-even"><p></p></dd> |
| 111 | </dl> | 111 | </dl> |
| 112 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 112 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 113 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 113 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 114 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 114 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 115 | <span·class="gp">...</span> | 115 | <span·class="gp">...</span> |
| 116 | <span·class="go">'2018-01-27'</span> | ||
| 117 | <span·class="go">'201 | 116 | <span·class="go">'2017-02-26'</span> |
| 117 | <span·class="go">'2012-04-29'</span> | ||
| 118 | <span·class="go">'1993- | 118 | <span·class="go">'1993-06-27'</span> |
| 119 | <span·class="go">'1984-0 | 119 | <span·class="go">'1984-06-17'</span> |
| 120 | <span·class="go">'199 | 120 | <span·class="go">'1998-07-21'</span> |
| 121 | </pre></div> | 121 | </pre></div> |
| 122 | </div> | 122 | </div> |
| 123 | </dd></dl> | 123 | </dd></dl> |
| 124 | <dl·class="py·method"> | 124 | <dl·class="py·method"> |
| 125 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ar_EG.Provider.date_between"> | 125 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ar_EG.Provider.date_between"> |
| 126 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ar_EG.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 126 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ar_EG.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 143, 19 lines modified | Offset 143, 19 lines modified | ||
| 143 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 143 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 144 | <dd·class="field-even"><p></p></dd> | 144 | <dd·class="field-even"><p></p></dd> |
| 145 | </dl> | 145 | </dl> |
| 146 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 146 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 147 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 147 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 148 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 148 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 149 | <span·class="gp">...</span> | 149 | <span·class="gp">...</span> |
| 150 | <span·class="go">datetime.date(202 | 150 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 151 | <span·class="go">datetime.date(201 | 151 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 152 | <span·class="go">datetime.date(200 | 152 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 153 | <span·class="go">datetime.date(200 | 153 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 154 | <span·class="go">datetime.date(201 | 154 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 155 | </pre></div> | 155 | </pre></div> |
| 156 | </div> | 156 | </div> |
| 157 | </dd></dl> | 157 | </dd></dl> |
| 158 | <dl·class="py·method"> | 158 | <dl·class="py·method"> |
| 159 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ar_EG.Provider.date_between_dates"> | 159 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ar_EG.Provider.date_between_dates"> |
| 160 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ar_EG.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 160 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ar_EG.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 174, 19 lines modified | Offset 174, 19 lines modified | ||
| 174 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 174 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 175 | <dd·class="field-odd"><p></p></dd> | 175 | <dd·class="field-odd"><p></p></dd> |
| 176 | </dl> | 176 | </dl> |
| 177 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 177 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 178 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 178 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 179 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 179 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 180 | <span·class="gp">...</span> | 180 | <span·class="gp">...</span> |
| 181 | <span·class="go">datetime.date(202 | 181 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 182 | <span·class="go">datetime.date(202 | 182 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 183 | <span·class="go">datetime.date(202 | 183 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 184 | <span·class="go">datetime.date(202 | 184 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 185 | <span·class="go">datetime.date(202 | 185 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 186 | </pre></div> | 186 | </pre></div> |
| 187 | </div> | 187 | </div> |
| 188 | </dd></dl> | 188 | </dd></dl> |
| 189 | <dl·class="py·method"> | 189 | <dl·class="py·method"> |
| 190 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ar_EG.Provider.date_object"> | 190 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ar_EG.Provider.date_object"> |
| 191 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ar_EG.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 191 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ar_EG.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 198, 19 lines modified | Offset 198, 19 lines modified | ||
| 198 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 198 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 199 | <dd·class="field-even"><p></p></dd> | 199 | <dd·class="field-even"><p></p></dd> |
| 200 | </dl> | 200 | </dl> |
| 201 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 201 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 202 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 202 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 203 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 203 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 204 | <span·class="gp">...</span> | 204 | <span·class="gp">...</span> |
| 205 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 206 | <span·class="go">datetime.date(201 | 205 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 206 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 207 | <span·class="go">datetime.date(1993,· | 207 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 208 | <span·class="go">datetime.date(1984,· | 208 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 209 | <span·class="go">datetime.date(199 | 209 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 210 | </pre></div> | 210 | </pre></div> |
| 211 | </div> | 211 | </div> |
| 212 | </dd></dl> | 212 | </dd></dl> |
| 213 | <dl·class="py·method"> | 213 | <dl·class="py·method"> |
| 214 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ar_EG.Provider.date_of_birth"> | 214 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ar_EG.Provider.date_of_birth"> |
| 215 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ar_EG.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 215 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ar_EG.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 234, 19 lines modified | Offset 234, 19 lines modified | ||
| 234 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 234 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 235 | <dd·class="field-even"><p></p></dd> | 235 | <dd·class="field-even"><p></p></dd> |
| 236 | </dl> | 236 | </dl> |
| 237 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 237 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 238 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 238 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 239 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 239 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 240 | <span·class="gp">...</span> | 240 | <span·class="gp">...</span> |
| 241 | <span·class="go">datetime.date(200 | 241 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 242 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 243 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 242 | <span·class="go">datetime.date(19 | 244 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 243 | <span·class="go">datetime.date(19 | 245 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 244 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 245 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 246 | </pre></div> | 246 | </pre></div> |
| 247 | </div> | 247 | </div> |
| 248 | </dd></dl> | 248 | </dd></dl> |
| 249 | <dl·class="py·method"> | 249 | <dl·class="py·method"> |
| 250 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ar_EG.Provider.date_this_century"> | 250 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ar_EG.Provider.date_this_century"> |
| 251 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ar_EG.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 251 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ar_EG.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 267, 19 lines modified | Offset 267, 19 lines modified | ||
| 267 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 267 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 98622/120838 bytes (81.62%) of diff not shown. | |||
| Offset 11, 19 lines modified | Offset 11, 19 lines modified | ||
| 11 | ······Bases:·Provider | 11 | ······Bases:·Provider |
| 12 | ········am_pm()·→·str¶ | 12 | ········am_pm()·→·str¶ |
| 13 | ··············Examples: | 13 | ··············Examples: |
| 14 | ············>>>·Faker.seed(0) | 14 | ············>>>·Faker.seed(0) |
| 15 | ············>>>·for·_·in·range(5): | 15 | ············>>>·for·_·in·range(5): |
| 16 | ············...·····fake.am_pm() | 16 | ············...·····fake.am_pm() |
| 17 | ············... | 17 | ············... |
| 18 | ············'م' | ||
| 19 | ············'م' | ||
| 20 | ············'ص' | 18 | ············'ص' |
| 21 | ············'م' | 19 | ············'م' |
| 22 | ············'ص' | 20 | ············'ص' |
| 21 | ············'ص' | ||
| 22 | ············'ص' | ||
| 23 | ········century()·→·str¶ | 23 | ········century()·→·str¶ |
| 24 | ··············Example: | 24 | ··············Example: |
| 25 | ··················‘XVII’ | 25 | ··················‘XVII’ |
| 26 | ··············Examples: | 26 | ··············Examples: |
| 27 | ············>>>·Faker.seed(0) | 27 | ············>>>·Faker.seed(0) |
| 28 | ············>>>·for·_·in·range(5): | 28 | ············>>>·for·_·in·range(5): |
| 29 | ············...·····fake.century() | 29 | ············...·····fake.century() |
| Offset 43, 19 lines modified | Offset 43, 19 lines modified | ||
| 43 | ··············Returns: | 43 | ··············Returns: |
| 44 | ··················Date | 44 | ··················Date |
| 45 | ··············Examples: | 45 | ··············Examples: |
| 46 | ············>>>·Faker.seed(0) | 46 | ············>>>·Faker.seed(0) |
| 47 | ············>>>·for·_·in·range(5): | 47 | ············>>>·for·_·in·range(5): |
| 48 | ············...·····fake.date() | 48 | ············...·····fake.date() |
| 49 | ············... | 49 | ············... |
| 50 | ············'2018-01-27' | ||
| 51 | ············'201 | 50 | ············'2017-02-26' |
| 51 | ············'2012-04-29' | ||
| 52 | ············'1993- | 52 | ············'1993-06-27' |
| 53 | ············'1984-0 | 53 | ············'1984-06-17' |
| 54 | ············'199 | 54 | ············'1998-07-21' |
| 55 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 55 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 56 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 56 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 57 | ········date¶ | 57 | ········date¶ |
| 58 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 58 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 59 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 59 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 60 | ··············Parameters: | 60 | ··············Parameters: |
| 61 | ······················*·start_date·–·Defaults·to·30·years·ago | 61 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 65, 19 lines modified | Offset 65, 19 lines modified | ||
| 65 | ··············Returns: | 65 | ··············Returns: |
| 66 | ··················Date | 66 | ··················Date |
| 67 | ··············Examples: | 67 | ··············Examples: |
| 68 | ············>>>·Faker.seed(0) | 68 | ············>>>·Faker.seed(0) |
| 69 | ············>>>·for·_·in·range(5): | 69 | ············>>>·for·_·in·range(5): |
| 70 | ············...·····fake.date_between() | 70 | ············...·····fake.date_between() |
| 71 | ············... | 71 | ············... |
| 72 | ············datetime.date(202 | 72 | ············datetime.date(2021,·3,·5) |
| 73 | ············datetime.date(201 | 73 | ············datetime.date(2018,·7,·31) |
| 74 | ············datetime.date(200 | 74 | ············datetime.date(2008,·6,·16) |
| 75 | ············datetime.date(200 | 75 | ············datetime.date(2003,·8,·11) |
| 76 | ············datetime.date(201 | 76 | ············datetime.date(2011,·3,·7) |
| 77 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 77 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 78 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 78 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 79 | ········=·None)·→·date¶ | 79 | ········=·None)·→·date¶ |
| 80 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 80 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 81 | ············given·dates.·Accepts·Date·or·datetime·objects | 81 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 82 | ··············Parameters: | 82 | ··············Parameters: |
| 83 | ······················*·date_start·–·Date | 83 | ······················*·date_start·–·Date |
| Offset 85, 33 lines modified | Offset 85, 33 lines modified | ||
| 85 | ··············Returns: | 85 | ··············Returns: |
| 86 | ··················Date | 86 | ··················Date |
| 87 | ··············Examples: | 87 | ··············Examples: |
| 88 | ············>>>·Faker.seed(0) | 88 | ············>>>·Faker.seed(0) |
| 89 | ············>>>·for·_·in·range(5): | 89 | ············>>>·for·_·in·range(5): |
| 90 | ············...·····fake.date_between_dates() | 90 | ············...·····fake.date_between_dates() |
| 91 | ············... | 91 | ············... |
| 92 | ············datetime.date(202 | 92 | ············datetime.date(2025,·11,·4) |
| 93 | ············datetime.date(202 | 93 | ············datetime.date(2025,·11,·4) |
| 94 | ············datetime.date(202 | 94 | ············datetime.date(2025,·11,·4) |
| 95 | ············datetime.date(202 | 95 | ············datetime.date(2025,·11,·4) |
| 96 | ············datetime.date(202 | 96 | ············datetime.date(2025,·11,·4) |
| 97 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 97 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 98 | ············Get·a·date·object·between·January·1,·1970·and·now | 98 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 99 | ··············Example: | 99 | ··············Example: |
| 100 | ··················datetime.date(2016,·9,·20) | 100 | ··················datetime.date(2016,·9,·20) |
| 101 | ··············Examples: | 101 | ··············Examples: |
| 102 | ············>>>·Faker.seed(0) | 102 | ············>>>·Faker.seed(0) |
| 103 | ············>>>·for·_·in·range(5): | 103 | ············>>>·for·_·in·range(5): |
| 104 | ············...·····fake.date_object() | 104 | ············...·····fake.date_object() |
| 105 | ············... | 105 | ············... |
| 106 | ············datetime.date(2018,·1,·27) | ||
| 107 | ············datetime.date(201 | 106 | ············datetime.date(2017,·2,·26) |
| 107 | ············datetime.date(2012,·4,·29) | ||
| 108 | ············datetime.date(1993,· | 108 | ············datetime.date(1993,·6,·27) |
| 109 | ············datetime.date(1984,· | 109 | ············datetime.date(1984,·6,·17) |
| 110 | ············datetime.date(199 | 110 | ············datetime.date(1998,·7,·21) |
| 111 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 111 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 112 | ········maximum_age:·int·=·115)·→·date¶ | 112 | ········maximum_age:·int·=·115)·→·date¶ |
| 113 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 113 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 114 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 114 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 115 | ··············Parameters: | 115 | ··············Parameters: |
| 116 | ······················*·tzinfo·–·Defaults·to·None. | 116 | ······················*·tzinfo·–·Defaults·to·None. |
| 117 | ······················*·minimum_age·–·Defaults·to·0. | 117 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 121, 19 lines modified | Offset 121, 19 lines modified | ||
| 121 | ··············Returns: | 121 | ··············Returns: |
| 122 | ··················Date | 122 | ··················Date |
| 123 | ··············Examples: | 123 | ··············Examples: |
| 124 | ············>>>·Faker.seed(0) | 124 | ············>>>·Faker.seed(0) |
| 125 | ············>>>·for·_·in·range(5): | 125 | ············>>>·for·_·in·range(5): |
| 126 | ············...·····fake.date_of_birth() | 126 | ············...·····fake.date_of_birth() |
| 127 | ············... | 127 | ············... |
| 128 | ············datetime.date(200 | 128 | ············datetime.date(2007,·10,·18) |
| 129 | ············datetime.date(1997,·10,·6) | ||
| 130 | ············datetime.date(1958,·8,·18) | ||
| 129 | ············datetime.date(19 | 131 | ············datetime.date(1939,·11,·17) |
| 130 | ············datetime.date(19 | 132 | ············datetime.date(1969,·2,·24) |
| 131 | ············datetime.date(1940,·12,·18) | ||
| 132 | ············datetime.date(1970,·3,·28) | ||
| 133 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 133 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 134 | ········→·date¶ | 134 | ········→·date¶ |
| 135 | ············Gets·a·Date·object·for·the·current·century. | 135 | ············Gets·a·Date·object·for·the·current·century. |
| 136 | ··············Parameters: | 136 | ··············Parameters: |
| 137 | ······················*·before_today·–·include·days·in·current·century·before | 137 | ······················*·before_today·–·include·days·in·current·century·before |
| 138 | ························today | 138 | ························today |
| 139 | ······················*·after_today·–·include·days·in·current·century·after | 139 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 143, 19 lines modified | Offset 143, 19 lines modified | ||
| 143 | ··············Returns: | 143 | ··············Returns: |
| 144 | ··················Date | 144 | ··················Date |
| 145 | ··············Examples: | 145 | ··············Examples: |
| 146 | ············>>>·Faker.seed(0) | 146 | ············>>>·Faker.seed(0) |
| 147 | ············>>>·for·_·in·range(5): | 147 | ············>>>·for·_·in·range(5): |
| 148 | ············...·····fake.date_this_century() | 148 | ············...·····fake.date_this_century() |
| 149 | ············... | 149 | ············... |
| Max diff block lines reached; 24676/30575 bytes (80.71%) of diff not shown. | |||
| Offset 1515, 19 lines modified | Offset 1515, 19 lines modified | ||
| 1515 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1515 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1516 | <dd·class="field-odd"><p></p></dd> | 1516 | <dd·class="field-odd"><p></p></dd> |
| 1517 | </dl> | 1517 | </dl> |
| 1518 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1518 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1519 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1519 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1520 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1520 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 1521 | <span·class="gp">...</span> | 1521 | <span·class="gp">...</span> |
| 1522 | <span·class="go">'PM'</span> | ||
| 1523 | <span·class="go">'PM'</span> | ||
| 1524 | <span·class="go">'AM'</span> | 1522 | <span·class="go">'AM'</span> |
| 1525 | <span·class="go">'PM'</span> | 1523 | <span·class="go">'PM'</span> |
| 1526 | <span·class="go">'AM'</span> | 1524 | <span·class="go">'AM'</span> |
| 1525 | <span·class="go">'AM'</span> | ||
| 1526 | <span·class="go">'AM'</span> | ||
| 1527 | </pre></div> | 1527 | </pre></div> |
| 1528 | </div> | 1528 | </div> |
| 1529 | </dd></dl> | 1529 | </dd></dl> |
| 1530 | <dl·class="py·method"> | 1530 | <dl·class="py·method"> |
| 1531 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.az_AZ.Provider.century"> | 1531 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.az_AZ.Provider.century"> |
| 1532 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.az_AZ.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 1532 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.az_AZ.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1568, 19 lines modified | Offset 1568, 19 lines modified | ||
| 1568 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1568 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1569 | <dd·class="field-even"><p></p></dd> | 1569 | <dd·class="field-even"><p></p></dd> |
| 1570 | </dl> | 1570 | </dl> |
| 1571 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1571 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1572 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1572 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1573 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1573 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 1574 | <span·class="gp">...</span> | 1574 | <span·class="gp">...</span> |
| 1575 | <span·class="go">'2018-01-27'</span> | ||
| 1576 | <span·class="go">'201 | 1575 | <span·class="go">'2017-02-26'</span> |
| 1576 | <span·class="go">'2012-04-29'</span> | ||
| 1577 | <span·class="go">'1993- | 1577 | <span·class="go">'1993-06-27'</span> |
| 1578 | <span·class="go">'1984-0 | 1578 | <span·class="go">'1984-06-17'</span> |
| 1579 | <span·class="go">'199 | 1579 | <span·class="go">'1998-07-21'</span> |
| 1580 | </pre></div> | 1580 | </pre></div> |
| 1581 | </div> | 1581 | </div> |
| 1582 | </dd></dl> | 1582 | </dd></dl> |
| 1583 | <dl·class="py·method"> | 1583 | <dl·class="py·method"> |
| 1584 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.az_AZ.Provider.date_between"> | 1584 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.az_AZ.Provider.date_between"> |
| 1585 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.az_AZ.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1585 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.az_AZ.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1602, 19 lines modified | Offset 1602, 19 lines modified | ||
| 1602 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1602 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1603 | <dd·class="field-even"><p></p></dd> | 1603 | <dd·class="field-even"><p></p></dd> |
| 1604 | </dl> | 1604 | </dl> |
| 1605 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1605 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1606 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1606 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1607 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1607 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 1608 | <span·class="gp">...</span> | 1608 | <span·class="gp">...</span> |
| 1609 | <span·class="go">datetime.date(202 | 1609 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 1610 | <span·class="go">datetime.date(201 | 1610 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 1611 | <span·class="go">datetime.date(200 | 1611 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 1612 | <span·class="go">datetime.date(200 | 1612 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 1613 | <span·class="go">datetime.date(201 | 1613 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 1614 | </pre></div> | 1614 | </pre></div> |
| 1615 | </div> | 1615 | </div> |
| 1616 | </dd></dl> | 1616 | </dd></dl> |
| 1617 | <dl·class="py·method"> | 1617 | <dl·class="py·method"> |
| 1618 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.az_AZ.Provider.date_between_dates"> | 1618 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.az_AZ.Provider.date_between_dates"> |
| 1619 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.az_AZ.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 1619 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.az_AZ.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1633, 19 lines modified | Offset 1633, 19 lines modified | ||
| 1633 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1633 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1634 | <dd·class="field-odd"><p></p></dd> | 1634 | <dd·class="field-odd"><p></p></dd> |
| 1635 | </dl> | 1635 | </dl> |
| 1636 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1636 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1637 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1637 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1638 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 1638 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 1639 | <span·class="gp">...</span> | 1639 | <span·class="gp">...</span> |
| 1640 | <span·class="go">datetime.date(202 | 1640 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1641 | <span·class="go">datetime.date(202 | 1641 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1642 | <span·class="go">datetime.date(202 | 1642 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1643 | <span·class="go">datetime.date(202 | 1643 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1644 | <span·class="go">datetime.date(202 | 1644 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1645 | </pre></div> | 1645 | </pre></div> |
| 1646 | </div> | 1646 | </div> |
| 1647 | </dd></dl> | 1647 | </dd></dl> |
| 1648 | <dl·class="py·method"> | 1648 | <dl·class="py·method"> |
| 1649 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.az_AZ.Provider.date_object"> | 1649 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.az_AZ.Provider.date_object"> |
| 1650 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.az_AZ.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 1650 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.az_AZ.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1657, 19 lines modified | Offset 1657, 19 lines modified | ||
| 1657 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1657 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1658 | <dd·class="field-even"><p></p></dd> | 1658 | <dd·class="field-even"><p></p></dd> |
| 1659 | </dl> | 1659 | </dl> |
| 1660 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1660 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1661 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1661 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1662 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1662 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 1663 | <span·class="gp">...</span> | 1663 | <span·class="gp">...</span> |
| 1664 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 1665 | <span·class="go">datetime.date(201 | 1664 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 1665 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 1666 | <span·class="go">datetime.date(1993,· | 1666 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 1667 | <span·class="go">datetime.date(1984,· | 1667 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 1668 | <span·class="go">datetime.date(199 | 1668 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 1669 | </pre></div> | 1669 | </pre></div> |
| 1670 | </div> | 1670 | </div> |
| 1671 | </dd></dl> | 1671 | </dd></dl> |
| 1672 | <dl·class="py·method"> | 1672 | <dl·class="py·method"> |
| 1673 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.az_AZ.Provider.date_of_birth"> | 1673 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.az_AZ.Provider.date_of_birth"> |
| 1674 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.az_AZ.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1674 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.az_AZ.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1693, 19 lines modified | Offset 1693, 19 lines modified | ||
| 1693 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1693 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1694 | <dd·class="field-even"><p></p></dd> | 1694 | <dd·class="field-even"><p></p></dd> |
| 1695 | </dl> | 1695 | </dl> |
| 1696 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1696 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1697 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1697 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1698 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1698 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 1699 | <span·class="gp">...</span> | 1699 | <span·class="gp">...</span> |
| 1700 | <span·class="go">datetime.date(200 | 1700 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 1701 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 1702 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 1701 | <span·class="go">datetime.date(19 | 1703 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 1702 | <span·class="go">datetime.date(19 | 1704 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 1703 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 1704 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 1705 | </pre></div> | 1705 | </pre></div> |
| 1706 | </div> | 1706 | </div> |
| 1707 | </dd></dl> | 1707 | </dd></dl> |
| 1708 | <dl·class="py·method"> | 1708 | <dl·class="py·method"> |
| 1709 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.az_AZ.Provider.date_this_century"> | 1709 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.az_AZ.Provider.date_this_century"> |
| 1710 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.az_AZ.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 1710 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.az_AZ.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1726, 19 lines modified | Offset 1726, 19 lines modified | ||
| 1726 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1726 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 106480/128719 bytes (82.72%) of diff not shown. | |||
| Offset 886, 19 lines modified | Offset 886, 19 lines modified | ||
| 886 | ······Bases:·Provider | 886 | ······Bases:·Provider |
| 887 | ········am_pm()·→·str¶ | 887 | ········am_pm()·→·str¶ |
| 888 | ··············Examples: | 888 | ··············Examples: |
| 889 | ············>>>·Faker.seed(0) | 889 | ············>>>·Faker.seed(0) |
| 890 | ············>>>·for·_·in·range(5): | 890 | ············>>>·for·_·in·range(5): |
| 891 | ············...·····fake.am_pm() | 891 | ············...·····fake.am_pm() |
| 892 | ············... | 892 | ············... |
| 893 | ············'PM' | ||
| 894 | ············'PM' | ||
| 895 | ············'AM' | 893 | ············'AM' |
| 896 | ············'PM' | 894 | ············'PM' |
| 897 | ············'AM' | 895 | ············'AM' |
| 896 | ············'AM' | ||
| 897 | ············'AM' | ||
| 898 | ········century()·→·str¶ | 898 | ········century()·→·str¶ |
| 899 | ··············Example: | 899 | ··············Example: |
| 900 | ··················‘XVII’ | 900 | ··················‘XVII’ |
| 901 | ··············Examples: | 901 | ··············Examples: |
| 902 | ············>>>·Faker.seed(0) | 902 | ············>>>·Faker.seed(0) |
| 903 | ············>>>·for·_·in·range(5): | 903 | ············>>>·for·_·in·range(5): |
| 904 | ············...·····fake.century() | 904 | ············...·····fake.century() |
| Offset 918, 19 lines modified | Offset 918, 19 lines modified | ||
| 918 | ··············Returns: | 918 | ··············Returns: |
| 919 | ··················Date | 919 | ··················Date |
| 920 | ··············Examples: | 920 | ··············Examples: |
| 921 | ············>>>·Faker.seed(0) | 921 | ············>>>·Faker.seed(0) |
| 922 | ············>>>·for·_·in·range(5): | 922 | ············>>>·for·_·in·range(5): |
| 923 | ············...·····fake.date() | 923 | ············...·····fake.date() |
| 924 | ············... | 924 | ············... |
| 925 | ············'2018-01-27' | ||
| 926 | ············'201 | 925 | ············'2017-02-26' |
| 926 | ············'2012-04-29' | ||
| 927 | ············'1993- | 927 | ············'1993-06-27' |
| 928 | ············'1984-0 | 928 | ············'1984-06-17' |
| 929 | ············'199 | 929 | ············'1998-07-21' |
| 930 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 930 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 931 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 931 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 932 | ········date¶ | 932 | ········date¶ |
| 933 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 933 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 934 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 934 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 935 | ··············Parameters: | 935 | ··············Parameters: |
| 936 | ······················*·start_date·–·Defaults·to·30·years·ago | 936 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 940, 19 lines modified | Offset 940, 19 lines modified | ||
| 940 | ··············Returns: | 940 | ··············Returns: |
| 941 | ··················Date | 941 | ··················Date |
| 942 | ··············Examples: | 942 | ··············Examples: |
| 943 | ············>>>·Faker.seed(0) | 943 | ············>>>·Faker.seed(0) |
| 944 | ············>>>·for·_·in·range(5): | 944 | ············>>>·for·_·in·range(5): |
| 945 | ············...·····fake.date_between() | 945 | ············...·····fake.date_between() |
| 946 | ············... | 946 | ············... |
| 947 | ············datetime.date(202 | 947 | ············datetime.date(2021,·3,·5) |
| 948 | ············datetime.date(201 | 948 | ············datetime.date(2018,·7,·31) |
| 949 | ············datetime.date(200 | 949 | ············datetime.date(2008,·6,·16) |
| 950 | ············datetime.date(200 | 950 | ············datetime.date(2003,·8,·11) |
| 951 | ············datetime.date(201 | 951 | ············datetime.date(2011,·3,·7) |
| 952 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 952 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 953 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 953 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 954 | ········=·None)·→·date¶ | 954 | ········=·None)·→·date¶ |
| 955 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 955 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 956 | ············given·dates.·Accepts·Date·or·datetime·objects | 956 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 957 | ··············Parameters: | 957 | ··············Parameters: |
| 958 | ······················*·date_start·–·Date | 958 | ······················*·date_start·–·Date |
| Offset 960, 33 lines modified | Offset 960, 33 lines modified | ||
| 960 | ··············Returns: | 960 | ··············Returns: |
| 961 | ··················Date | 961 | ··················Date |
| 962 | ··············Examples: | 962 | ··············Examples: |
| 963 | ············>>>·Faker.seed(0) | 963 | ············>>>·Faker.seed(0) |
| 964 | ············>>>·for·_·in·range(5): | 964 | ············>>>·for·_·in·range(5): |
| 965 | ············...·····fake.date_between_dates() | 965 | ············...·····fake.date_between_dates() |
| 966 | ············... | 966 | ············... |
| 967 | ············datetime.date(202 | 967 | ············datetime.date(2025,·11,·4) |
| 968 | ············datetime.date(202 | 968 | ············datetime.date(2025,·11,·4) |
| 969 | ············datetime.date(202 | 969 | ············datetime.date(2025,·11,·4) |
| 970 | ············datetime.date(202 | 970 | ············datetime.date(2025,·11,·4) |
| 971 | ············datetime.date(202 | 971 | ············datetime.date(2025,·11,·4) |
| 972 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 972 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 973 | ············Get·a·date·object·between·January·1,·1970·and·now | 973 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 974 | ··············Example: | 974 | ··············Example: |
| 975 | ··················datetime.date(2016,·9,·20) | 975 | ··················datetime.date(2016,·9,·20) |
| 976 | ··············Examples: | 976 | ··············Examples: |
| 977 | ············>>>·Faker.seed(0) | 977 | ············>>>·Faker.seed(0) |
| 978 | ············>>>·for·_·in·range(5): | 978 | ············>>>·for·_·in·range(5): |
| 979 | ············...·····fake.date_object() | 979 | ············...·····fake.date_object() |
| 980 | ············... | 980 | ············... |
| 981 | ············datetime.date(2018,·1,·27) | ||
| 982 | ············datetime.date(201 | 981 | ············datetime.date(2017,·2,·26) |
| 982 | ············datetime.date(2012,·4,·29) | ||
| 983 | ············datetime.date(1993,· | 983 | ············datetime.date(1993,·6,·27) |
| 984 | ············datetime.date(1984,· | 984 | ············datetime.date(1984,·6,·17) |
| 985 | ············datetime.date(199 | 985 | ············datetime.date(1998,·7,·21) |
| 986 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 986 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 987 | ········maximum_age:·int·=·115)·→·date¶ | 987 | ········maximum_age:·int·=·115)·→·date¶ |
| 988 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 988 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 989 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 989 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 990 | ··············Parameters: | 990 | ··············Parameters: |
| 991 | ······················*·tzinfo·–·Defaults·to·None. | 991 | ······················*·tzinfo·–·Defaults·to·None. |
| 992 | ······················*·minimum_age·–·Defaults·to·0. | 992 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 996, 19 lines modified | Offset 996, 19 lines modified | ||
| 996 | ··············Returns: | 996 | ··············Returns: |
| 997 | ··················Date | 997 | ··················Date |
| 998 | ··············Examples: | 998 | ··············Examples: |
| 999 | ············>>>·Faker.seed(0) | 999 | ············>>>·Faker.seed(0) |
| 1000 | ············>>>·for·_·in·range(5): | 1000 | ············>>>·for·_·in·range(5): |
| 1001 | ············...·····fake.date_of_birth() | 1001 | ············...·····fake.date_of_birth() |
| 1002 | ············... | 1002 | ············... |
| 1003 | ············datetime.date(200 | 1003 | ············datetime.date(2007,·10,·18) |
| 1004 | ············datetime.date(1997,·10,·6) | ||
| 1005 | ············datetime.date(1958,·8,·18) | ||
| 1004 | ············datetime.date(19 | 1006 | ············datetime.date(1939,·11,·17) |
| 1005 | ············datetime.date(19 | 1007 | ············datetime.date(1969,·2,·24) |
| 1006 | ············datetime.date(1940,·12,·18) | ||
| 1007 | ············datetime.date(1970,·3,·28) | ||
| 1008 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 1008 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 1009 | ········→·date¶ | 1009 | ········→·date¶ |
| 1010 | ············Gets·a·Date·object·for·the·current·century. | 1010 | ············Gets·a·Date·object·for·the·current·century. |
| 1011 | ··············Parameters: | 1011 | ··············Parameters: |
| 1012 | ······················*·before_today·–·include·days·in·current·century·before | 1012 | ······················*·before_today·–·include·days·in·current·century·before |
| 1013 | ························today | 1013 | ························today |
| 1014 | ······················*·after_today·–·include·days·in·current·century·after | 1014 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 1018, 19 lines modified | Offset 1018, 19 lines modified | ||
| 1018 | ··············Returns: | 1018 | ··············Returns: |
| 1019 | ··················Date | 1019 | ··················Date |
| 1020 | ··············Examples: | 1020 | ··············Examples: |
| 1021 | ············>>>·Faker.seed(0) | 1021 | ············>>>·Faker.seed(0) |
| 1022 | ············>>>·for·_·in·range(5): | 1022 | ············>>>·for·_·in·range(5): |
| 1023 | ············...·····fake.date_this_century() | 1023 | ············...·····fake.date_this_century() |
| 1024 | ············... | 1024 | ············... |
| Max diff block lines reached; 28368/34284 bytes (82.74%) of diff not shown. | |||
| Offset 476, 18 lines modified | Offset 476, 18 lines modified | ||
| 476 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 476 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 477 | <dd·class="field-odd"><p></p></dd> | 477 | <dd·class="field-odd"><p></p></dd> |
| 478 | </dl> | 478 | </dl> |
| 479 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 479 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 480 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 480 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 481 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">ascii_company_email</span><span·class="p">()</span> | 481 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">ascii_company_email</span><span·class="p">()</span> |
| 482 | <span·class="gp">...</span> | 482 | <span·class="gp">...</span> |
| 483 | <span·class="go">'frodo201 | 483 | <span·class="go">'frodo2012@burborkov.info'</span> |
| 484 | <span·class="go">'yakimkobilarov@chupetlovska.net'</span> | 484 | <span·class="go">'yakimkobilarov@chupetlovska.net'</span> |
| 485 | <span·class="go">'fenerovgatso@pulev.org'</span> | 485 | <span·class="go">'fenerovgatso@pulev.org'</span> |
| 486 | <span·class="go">'inan202 | 486 | <span·class="go">'inan2020@dzezov.info'</span> |
| 487 | <span·class="go">'dzhon-stefan56@bedrinov.info'</span> | 487 | <span·class="go">'dzhon-stefan56@bedrinov.info'</span> |
| 488 | </pre></div> | 488 | </pre></div> |
| 489 | </div> | 489 | </div> |
| 490 | </dd></dl> | 490 | </dd></dl> |
| 491 | <dl·class="py·method"> | 491 | <dl·class="py·method"> |
| 492 | <dt·class="sig·sig-object·py"·id="faker.providers.internet.bg_BG.Provider.ascii_email"> | 492 | <dt·class="sig·sig-object·py"·id="faker.providers.internet.bg_BG.Provider.ascii_email"> |
| Offset 498, 15 lines modified | Offset 498, 15 lines modified | ||
| 498 | </dl> | 498 | </dl> |
| 499 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 499 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 500 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 500 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 501 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">ascii_email</span><span·class="p">()</span> | 501 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">ascii_email</span><span·class="p">()</span> |
| 502 | <span·class="gp">...</span> | 502 | <span·class="gp">...</span> |
| 503 | <span·class="go">'chenko1972@belezhkova.info'</span> | 503 | <span·class="go">'chenko1972@belezhkova.info'</span> |
| 504 | <span·class="go">'kiberzlatkov@mangufova.biz'</span> | 504 | <span·class="go">'kiberzlatkov@mangufova.biz'</span> |
| 505 | <span·class="go">'despin200 | 505 | <span·class="go">'despin2004@hotmail.com'</span> |
| 506 | <span·class="go">'makaronskitominka@gmail.com'</span> | 506 | <span·class="go">'makaronskitominka@gmail.com'</span> |
| 507 | <span·class="go">'panomakaronski@kurtakova.net'</span> | 507 | <span·class="go">'panomakaronski@kurtakova.net'</span> |
| 508 | </pre></div> | 508 | </pre></div> |
| 509 | </div> | 509 | </div> |
| 510 | </dd></dl> | 510 | </dd></dl> |
| 511 | <dl·class="py·method"> | 511 | <dl·class="py·method"> |
| Offset 516, 15 lines modified | Offset 516, 15 lines modified | ||
| 516 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 516 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 517 | <dd·class="field-odd"><p></p></dd> | 517 | <dd·class="field-odd"><p></p></dd> |
| 518 | </dl> | 518 | </dl> |
| 519 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 519 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 520 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 520 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 521 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">ascii_free_email</span><span·class="p">()</span> | 521 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">ascii_free_email</span><span·class="p">()</span> |
| 522 | <span·class="gp">...</span> | 522 | <span·class="gp">...</span> |
| 523 | <span·class="go">'frodo201 | 523 | <span·class="go">'frodo2012@mail.bg'</span> |
| 524 | <span·class="go">'mustakovatoshka@mail.bg'</span> | 524 | <span·class="go">'mustakovatoshka@mail.bg'</span> |
| 525 | <span·class="go">'yakimkobilarov@hotmail.com'</span> | 525 | <span·class="go">'yakimkobilarov@hotmail.com'</span> |
| 526 | <span·class="go">'kiberzlatkov@yahoo.com'</span> | 526 | <span·class="go">'kiberzlatkov@yahoo.com'</span> |
| 527 | <span·class="go">'zdravelin42@gmail.com'</span> | 527 | <span·class="go">'zdravelin42@gmail.com'</span> |
| 528 | </pre></div> | 528 | </pre></div> |
| 529 | </div> | 529 | </div> |
| 530 | </dd></dl> | 530 | </dd></dl> |
| Offset 536, 15 lines modified | Offset 536, 15 lines modified | ||
| 536 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 536 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 537 | <dd·class="field-odd"><p></p></dd> | 537 | <dd·class="field-odd"><p></p></dd> |
| 538 | </dl> | 538 | </dl> |
| 539 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 539 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 540 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 540 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 541 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">ascii_safe_email</span><span·class="p">()</span> | 541 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">ascii_safe_email</span><span·class="p">()</span> |
| 542 | <span·class="gp">...</span> | 542 | <span·class="gp">...</span> |
| 543 | <span·class="go">'frodo201 | 543 | <span·class="go">'frodo2012@example.com'</span> |
| 544 | <span·class="go">'mustakovatoshka@example.com'</span> | 544 | <span·class="go">'mustakovatoshka@example.com'</span> |
| 545 | <span·class="go">'yakimkobilarov@example.com'</span> | 545 | <span·class="go">'yakimkobilarov@example.com'</span> |
| 546 | <span·class="go">'kiberzlatkov@example.org'</span> | 546 | <span·class="go">'kiberzlatkov@example.org'</span> |
| 547 | <span·class="go">'zdravelin42@example.org'</span> | 547 | <span·class="go">'zdravelin42@example.org'</span> |
| 548 | </pre></div> | 548 | </pre></div> |
| 549 | </div> | 549 | </div> |
| 550 | </dd></dl> | 550 | </dd></dl> |
| Offset 556, 18 lines modified | Offset 556, 18 lines modified | ||
| 556 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 556 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 557 | <dd·class="field-odd"><p></p></dd> | 557 | <dd·class="field-odd"><p></p></dd> |
| 558 | </dl> | 558 | </dl> |
| 559 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 559 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 560 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 560 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 561 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">company_email</span><span·class="p">()</span> | 561 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">company_email</span><span·class="p">()</span> |
| 562 | <span·class="gp">...</span> | 562 | <span·class="gp">...</span> |
| 563 | <span·class="go">'frodo201 | 563 | <span·class="go">'frodo2012@burborkov.info'</span> |
| 564 | <span·class="go">'yakimkobilarov@chupetlovska.net'</span> | 564 | <span·class="go">'yakimkobilarov@chupetlovska.net'</span> |
| 565 | <span·class="go">'fenerovgatso@pulev.org'</span> | 565 | <span·class="go">'fenerovgatso@pulev.org'</span> |
| 566 | <span·class="go">'inan202 | 566 | <span·class="go">'inan2020@dzezov.info'</span> |
| 567 | <span·class="go">'dzhon-stefan56@bedrinov.info'</span> | 567 | <span·class="go">'dzhon-stefan56@bedrinov.info'</span> |
| 568 | </pre></div> | 568 | </pre></div> |
| 569 | </div> | 569 | </div> |
| 570 | </dd></dl> | 570 | </dd></dl> |
| 571 | <dl·class="py·method"> | 571 | <dl·class="py·method"> |
| 572 | <dt·class="sig·sig-object·py"·id="faker.providers.internet.bg_BG.Provider.dga"> | 572 | <dt·class="sig·sig-object·py"·id="faker.providers.internet.bg_BG.Provider.dga"> |
| Offset 649, 15 lines modified | Offset 649, 15 lines modified | ||
| 649 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 649 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 650 | <dd·class="field-odd"><p></p></dd> | 650 | <dd·class="field-odd"><p></p></dd> |
| 651 | </dl> | 651 | </dl> |
| 652 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 652 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 653 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 653 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 654 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">email</span><span·class="p">()</span> | 654 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">email</span><span·class="p">()</span> |
| 655 | <span·class="gp">...</span> | 655 | <span·class="gp">...</span> |
| 656 | <span·class="go">'frodo201 | 656 | <span·class="go">'frodo2012@example.com'</span> |
| 657 | <span·class="go">'mustakovatoshka@example.com'</span> | 657 | <span·class="go">'mustakovatoshka@example.com'</span> |
| 658 | <span·class="go">'yakimkobilarov@example.com'</span> | 658 | <span·class="go">'yakimkobilarov@example.com'</span> |
| 659 | <span·class="go">'kiberzlatkov@example.org'</span> | 659 | <span·class="go">'kiberzlatkov@example.org'</span> |
| 660 | <span·class="go">'zdravelin42@example.org'</span> | 660 | <span·class="go">'zdravelin42@example.org'</span> |
| 661 | </pre></div> | 661 | </pre></div> |
| 662 | </div> | 662 | </div> |
| 663 | </dd></dl> | 663 | </dd></dl> |
| Offset 669, 15 lines modified | Offset 669, 15 lines modified | ||
| 669 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 669 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 670 | <dd·class="field-odd"><p></p></dd> | 670 | <dd·class="field-odd"><p></p></dd> |
| 671 | </dl> | 671 | </dl> |
| 672 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 672 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 673 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 673 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 674 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">free_email</span><span·class="p">()</span> | 674 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">free_email</span><span·class="p">()</span> |
| 675 | <span·class="gp">...</span> | 675 | <span·class="gp">...</span> |
| 676 | <span·class="go">'frodo201 | 676 | <span·class="go">'frodo2012@mail.bg'</span> |
| 677 | <span·class="go">'mustakovatoshka@mail.bg'</span> | 677 | <span·class="go">'mustakovatoshka@mail.bg'</span> |
| 678 | <span·class="go">'yakimkobilarov@hotmail.com'</span> | 678 | <span·class="go">'yakimkobilarov@hotmail.com'</span> |
| 679 | <span·class="go">'kiberzlatkov@yahoo.com'</span> | 679 | <span·class="go">'kiberzlatkov@yahoo.com'</span> |
| 680 | <span·class="go">'zdravelin42@gmail.com'</span> | 680 | <span·class="go">'zdravelin42@gmail.com'</span> |
| 681 | </pre></div> | 681 | </pre></div> |
| 682 | </div> | 682 | </div> |
| 683 | </dd></dl> | 683 | </dd></dl> |
| Offset 1146, 15 lines modified | Offset 1146, 15 lines modified | ||
| 1146 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1146 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1147 | <dd·class="field-odd"><p></p></dd> | 1147 | <dd·class="field-odd"><p></p></dd> |
| 1148 | </dl> | 1148 | </dl> |
| 1149 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1149 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1150 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1150 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1151 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">safe_email</span><span·class="p">()</span> | 1151 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">safe_email</span><span·class="p">()</span> |
| 1152 | <span·class="gp">...</span> | 1152 | <span·class="gp">...</span> |
| 1153 | <span·class="go">'frodo201 | 1153 | <span·class="go">'frodo2012@example.com'</span> |
| 1154 | <span·class="go">'mustakovatoshka@example.com'</span> | 1154 | <span·class="go">'mustakovatoshka@example.com'</span> |
| Max diff block lines reached; 1268/10971 bytes (11.56%) of diff not shown. | |||
| Offset 274, 62 lines modified | Offset 274, 62 lines modified | ||
| 274 | ······Bases:·Provider | 274 | ······Bases:·Provider |
| 275 | ········ascii_company_email()·→·str¶ | 275 | ········ascii_company_email()·→·str¶ |
| 276 | ··············Examples: | 276 | ··············Examples: |
| 277 | ············>>>·Faker.seed(0) | 277 | ············>>>·Faker.seed(0) |
| 278 | ············>>>·for·_·in·range(5): | 278 | ············>>>·for·_·in·range(5): |
| 279 | ············...·····fake.ascii_company_email() | 279 | ············...·····fake.ascii_company_email() |
| 280 | ············... | 280 | ············... |
| 281 | ············'frodo201 | 281 | ············'frodo2012@burborkov.info' |
| 282 | ············'yakimkobilarov@chupetlovska.net' | 282 | ············'yakimkobilarov@chupetlovska.net' |
| 283 | ············'fenerovgatso@pulev.org' | 283 | ············'fenerovgatso@pulev.org' |
| 284 | ············'inan202 | 284 | ············'inan2020@dzezov.info' |
| 285 | ············'dzhon-stefan56@bedrinov.info' | 285 | ············'dzhon-stefan56@bedrinov.info' |
| 286 | ········ascii_email()·→·str¶ | 286 | ········ascii_email()·→·str¶ |
| 287 | ··············Examples: | 287 | ··············Examples: |
| 288 | ············>>>·Faker.seed(0) | 288 | ············>>>·Faker.seed(0) |
| 289 | ············>>>·for·_·in·range(5): | 289 | ············>>>·for·_·in·range(5): |
| 290 | ············...·····fake.ascii_email() | 290 | ············...·····fake.ascii_email() |
| 291 | ············... | 291 | ············... |
| 292 | ············'chenko1972@belezhkova.info' | 292 | ············'chenko1972@belezhkova.info' |
| 293 | ············'kiberzlatkov@mangufova.biz' | 293 | ············'kiberzlatkov@mangufova.biz' |
| 294 | ············'despin200 | 294 | ············'despin2004@hotmail.com' |
| 295 | ············'makaronskitominka@gmail.com' | 295 | ············'makaronskitominka@gmail.com' |
| 296 | ············'panomakaronski@kurtakova.net' | 296 | ············'panomakaronski@kurtakova.net' |
| 297 | ········ascii_free_email()·→·str¶ | 297 | ········ascii_free_email()·→·str¶ |
| 298 | ··············Examples: | 298 | ··············Examples: |
| 299 | ············>>>·Faker.seed(0) | 299 | ············>>>·Faker.seed(0) |
| 300 | ············>>>·for·_·in·range(5): | 300 | ············>>>·for·_·in·range(5): |
| 301 | ············...·····fake.ascii_free_email() | 301 | ············...·····fake.ascii_free_email() |
| 302 | ············... | 302 | ············... |
| 303 | ············'frodo201 | 303 | ············'frodo2012@mail.bg' |
| 304 | ············'mustakovatoshka@mail.bg' | 304 | ············'mustakovatoshka@mail.bg' |
| 305 | ············'yakimkobilarov@hotmail.com' | 305 | ············'yakimkobilarov@hotmail.com' |
| 306 | ············'kiberzlatkov@yahoo.com' | 306 | ············'kiberzlatkov@yahoo.com' |
| 307 | ············'zdravelin42@gmail.com' | 307 | ············'zdravelin42@gmail.com' |
| 308 | ········ascii_safe_email()·→·str¶ | 308 | ········ascii_safe_email()·→·str¶ |
| 309 | ··············Examples: | 309 | ··············Examples: |
| 310 | ············>>>·Faker.seed(0) | 310 | ············>>>·Faker.seed(0) |
| 311 | ············>>>·for·_·in·range(5): | 311 | ············>>>·for·_·in·range(5): |
| 312 | ············...·····fake.ascii_safe_email() | 312 | ············...·····fake.ascii_safe_email() |
| 313 | ············... | 313 | ············... |
| 314 | ············'frodo201 | 314 | ············'frodo2012@example.com' |
| 315 | ············'mustakovatoshka@example.com' | 315 | ············'mustakovatoshka@example.com' |
| 316 | ············'yakimkobilarov@example.com' | 316 | ············'yakimkobilarov@example.com' |
| 317 | ············'kiberzlatkov@example.org' | 317 | ············'kiberzlatkov@example.org' |
| 318 | ············'zdravelin42@example.org' | 318 | ············'zdravelin42@example.org' |
| 319 | ········company_email()·→·str¶ | 319 | ········company_email()·→·str¶ |
| 320 | ··············Examples: | 320 | ··············Examples: |
| 321 | ············>>>·Faker.seed(0) | 321 | ············>>>·Faker.seed(0) |
| 322 | ············>>>·for·_·in·range(5): | 322 | ············>>>·for·_·in·range(5): |
| 323 | ············...·····fake.company_email() | 323 | ············...·····fake.company_email() |
| 324 | ············... | 324 | ············... |
| 325 | ············'frodo201 | 325 | ············'frodo2012@burborkov.info' |
| 326 | ············'yakimkobilarov@chupetlovska.net' | 326 | ············'yakimkobilarov@chupetlovska.net' |
| 327 | ············'fenerovgatso@pulev.org' | 327 | ············'fenerovgatso@pulev.org' |
| 328 | ············'inan202 | 328 | ············'inan2020@dzezov.info' |
| 329 | ············'dzhon-stefan56@bedrinov.info' | 329 | ············'dzhon-stefan56@bedrinov.info' |
| 330 | ········dga(year:·int·|·None·=·None,·month:·int·|·None·=·None,·day:·int·|·None | 330 | ········dga(year:·int·|·None·=·None,·month:·int·|·None·=·None,·day:·int·|·None |
| 331 | ········=·None,·tld:·str·|·None·=·None,·length:·int·|·None·=·None)·→·str¶ | 331 | ········=·None,·tld:·str·|·None·=·None,·length:·int·|·None·=·None)·→·str¶ |
| 332 | ············Generates·a·domain·name·by·given·date·https://en.wikipedia.org/ | 332 | ············Generates·a·domain·name·by·given·date·https://en.wikipedia.org/ |
| 333 | ············wiki/Domain_generation_algorithm | 333 | ············wiki/Domain_generation_algorithm |
| 334 | ··············Return·type: | 334 | ··············Return·type: |
| 335 | ··················str | 335 | ··················str |
| Offset 373, 26 lines modified | Offset 373, 26 lines modified | ||
| 373 | ············'zenginov' | 373 | ············'zenginov' |
| 374 | ········email(safe:·bool·=·True,·domain:·str·|·None·=·None)·→·str¶ | 374 | ········email(safe:·bool·=·True,·domain:·str·|·None·=·None)·→·str¶ |
| 375 | ··············Examples: | 375 | ··············Examples: |
| 376 | ············>>>·Faker.seed(0) | 376 | ············>>>·Faker.seed(0) |
| 377 | ············>>>·for·_·in·range(5): | 377 | ············>>>·for·_·in·range(5): |
| 378 | ············...·····fake.email() | 378 | ············...·····fake.email() |
| 379 | ············... | 379 | ············... |
| 380 | ············'frodo201 | 380 | ············'frodo2012@example.com' |
| 381 | ············'mustakovatoshka@example.com' | 381 | ············'mustakovatoshka@example.com' |
| 382 | ············'yakimkobilarov@example.com' | 382 | ············'yakimkobilarov@example.com' |
| 383 | ············'kiberzlatkov@example.org' | 383 | ············'kiberzlatkov@example.org' |
| 384 | ············'zdravelin42@example.org' | 384 | ············'zdravelin42@example.org' |
| 385 | ········free_email()·→·str¶ | 385 | ········free_email()·→·str¶ |
| 386 | ··············Examples: | 386 | ··············Examples: |
| 387 | ············>>>·Faker.seed(0) | 387 | ············>>>·Faker.seed(0) |
| 388 | ············>>>·for·_·in·range(5): | 388 | ············>>>·for·_·in·range(5): |
| 389 | ············...·····fake.free_email() | 389 | ············...·····fake.free_email() |
| 390 | ············... | 390 | ············... |
| 391 | ············'frodo201 | 391 | ············'frodo2012@mail.bg' |
| 392 | ············'mustakovatoshka@mail.bg' | 392 | ············'mustakovatoshka@mail.bg' |
| 393 | ············'yakimkobilarov@hotmail.com' | 393 | ············'yakimkobilarov@hotmail.com' |
| 394 | ············'kiberzlatkov@yahoo.com' | 394 | ············'kiberzlatkov@yahoo.com' |
| 395 | ············'zdravelin42@gmail.com' | 395 | ············'zdravelin42@gmail.com' |
| 396 | ········free_email_domain()·→·str¶ | 396 | ········free_email_domain()·→·str¶ |
| 397 | ··············Examples: | 397 | ··············Examples: |
| 398 | ············>>>·Faker.seed(0) | 398 | ············>>>·Faker.seed(0) |
| Offset 669, 15 lines modified | Offset 669, 15 lines modified | ||
| 669 | ············'example.net' | 669 | ············'example.net' |
| 670 | ········safe_email()·→·str¶ | 670 | ········safe_email()·→·str¶ |
| 671 | ··············Examples: | 671 | ··············Examples: |
| 672 | ············>>>·Faker.seed(0) | 672 | ············>>>·Faker.seed(0) |
| 673 | ············>>>·for·_·in·range(5): | 673 | ············>>>·for·_·in·range(5): |
| 674 | ············...·····fake.safe_email() | 674 | ············...·····fake.safe_email() |
| 675 | ············... | 675 | ············... |
| 676 | ············'frodo201 | 676 | ············'frodo2012@example.com' |
| 677 | ············'mustakovatoshka@example.com' | 677 | ············'mustakovatoshka@example.com' |
| 678 | ············'yakimkobilarov@example.com' | 678 | ············'yakimkobilarov@example.com' |
| 679 | ············'kiberzlatkov@example.org' | 679 | ············'kiberzlatkov@example.org' |
| 680 | ············'zdravelin42@example.org' | 680 | ············'zdravelin42@example.org' |
| 681 | ········slug(value:·str·|·None·=·None)·→·str¶ | 681 | ········slug(value:·str·|·None·=·None)·→·str¶ |
| 682 | ············Django·algorithm | 682 | ············Django·algorithm |
| 683 | ··············Examples: | 683 | ··············Examples: |
| Offset 776, 15 lines modified | Offset 776, 15 lines modified | ||
| 776 | ············'http://karakashev.info/' | 776 | ············'http://karakashev.info/' |
| 777 | ········user_name()·→·str¶ | 777 | ········user_name()·→·str¶ |
| 778 | ··············Examples: | 778 | ··············Examples: |
| 779 | ············>>>·Faker.seed(0) | 779 | ············>>>·Faker.seed(0) |
| 780 | ············>>>·for·_·in·range(5): | 780 | ············>>>·for·_·in·range(5): |
| 781 | ············...·····fake.user_name() | 781 | ············...·····fake.user_name() |
| 782 | ············... | 782 | ············... |
| 783 | ············'frodo201 | 783 | ············'frodo2012' |
| 784 | ············'alektuturilov' | 784 | ············'alektuturilov' |
| 785 | ············'aela64' | 785 | ············'aela64' |
| 786 | ············'kiberzlatkov' | 786 | ············'kiberzlatkov' |
| 787 | ············'pulevgato' | 787 | ············'pulevgato' |
| 788 | *****·faker.providers.person¶·***** | 788 | *****·faker.providers.person¶·***** |
| 789 | ··class·faker.providers.person.bg_BG.Provider(generator:·Any)¶ | 789 | ··class·faker.providers.person.bg_BG.Provider(generator:·Any)¶ |
| 790 | ······Bases:·Provider | 790 | ······Bases:·Provider |
| Offset 1480, 19 lines modified | Offset 1480, 19 lines modified | ||
| 1480 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1480 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1481 | <dd·class="field-odd"><p></p></dd> | 1481 | <dd·class="field-odd"><p></p></dd> |
| 1482 | </dl> | 1482 | </dl> |
| 1483 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1483 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1484 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1484 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1485 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1485 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 1486 | <span·class="gp">...</span> | 1486 | <span·class="gp">...</span> |
| 1487 | <span·class="go">'PM'</span> | ||
| 1488 | <span·class="go">'PM'</span> | ||
| 1489 | <span·class="go">'AM'</span> | 1487 | <span·class="go">'AM'</span> |
| 1490 | <span·class="go">'PM'</span> | 1488 | <span·class="go">'PM'</span> |
| 1491 | <span·class="go">'AM'</span> | 1489 | <span·class="go">'AM'</span> |
| 1490 | <span·class="go">'AM'</span> | ||
| 1491 | <span·class="go">'AM'</span> | ||
| 1492 | </pre></div> | 1492 | </pre></div> |
| 1493 | </div> | 1493 | </div> |
| 1494 | </dd></dl> | 1494 | </dd></dl> |
| 1495 | <dl·class="py·method"> | 1495 | <dl·class="py·method"> |
| 1496 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.bn_BD.Provider.century"> | 1496 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.bn_BD.Provider.century"> |
| 1497 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.bn_BD.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 1497 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.bn_BD.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1533, 19 lines modified | Offset 1533, 19 lines modified | ||
| 1533 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1533 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1534 | <dd·class="field-even"><p></p></dd> | 1534 | <dd·class="field-even"><p></p></dd> |
| 1535 | </dl> | 1535 | </dl> |
| 1536 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1536 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1537 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1537 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1538 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1538 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 1539 | <span·class="gp">...</span> | 1539 | <span·class="gp">...</span> |
| 1540 | <span·class="go">'2018-01-27'</span> | ||
| 1541 | <span·class="go">'201 | 1540 | <span·class="go">'2017-02-26'</span> |
| 1541 | <span·class="go">'2012-04-29'</span> | ||
| 1542 | <span·class="go">'1993- | 1542 | <span·class="go">'1993-06-27'</span> |
| 1543 | <span·class="go">'1984-0 | 1543 | <span·class="go">'1984-06-17'</span> |
| 1544 | <span·class="go">'199 | 1544 | <span·class="go">'1998-07-21'</span> |
| 1545 | </pre></div> | 1545 | </pre></div> |
| 1546 | </div> | 1546 | </div> |
| 1547 | </dd></dl> | 1547 | </dd></dl> |
| 1548 | <dl·class="py·method"> | 1548 | <dl·class="py·method"> |
| 1549 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.bn_BD.Provider.date_between"> | 1549 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.bn_BD.Provider.date_between"> |
| 1550 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.bn_BD.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1550 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.bn_BD.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1567, 19 lines modified | Offset 1567, 19 lines modified | ||
| 1567 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1567 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1568 | <dd·class="field-even"><p></p></dd> | 1568 | <dd·class="field-even"><p></p></dd> |
| 1569 | </dl> | 1569 | </dl> |
| 1570 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1570 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1571 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1571 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1572 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1572 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 1573 | <span·class="gp">...</span> | 1573 | <span·class="gp">...</span> |
| 1574 | <span·class="go">datetime.date(202 | 1574 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 1575 | <span·class="go">datetime.date(201 | 1575 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 1576 | <span·class="go">datetime.date(200 | 1576 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 1577 | <span·class="go">datetime.date(200 | 1577 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 1578 | <span·class="go">datetime.date(201 | 1578 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 1579 | </pre></div> | 1579 | </pre></div> |
| 1580 | </div> | 1580 | </div> |
| 1581 | </dd></dl> | 1581 | </dd></dl> |
| 1582 | <dl·class="py·method"> | 1582 | <dl·class="py·method"> |
| 1583 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.bn_BD.Provider.date_between_dates"> | 1583 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.bn_BD.Provider.date_between_dates"> |
| 1584 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.bn_BD.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 1584 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.bn_BD.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1598, 19 lines modified | Offset 1598, 19 lines modified | ||
| 1598 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1598 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1599 | <dd·class="field-odd"><p></p></dd> | 1599 | <dd·class="field-odd"><p></p></dd> |
| 1600 | </dl> | 1600 | </dl> |
| 1601 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1601 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1602 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1602 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1603 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 1603 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 1604 | <span·class="gp">...</span> | 1604 | <span·class="gp">...</span> |
| 1605 | <span·class="go">datetime.date(202 | 1605 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1606 | <span·class="go">datetime.date(202 | 1606 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1607 | <span·class="go">datetime.date(202 | 1607 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1608 | <span·class="go">datetime.date(202 | 1608 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1609 | <span·class="go">datetime.date(202 | 1609 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1610 | </pre></div> | 1610 | </pre></div> |
| 1611 | </div> | 1611 | </div> |
| 1612 | </dd></dl> | 1612 | </dd></dl> |
| 1613 | <dl·class="py·method"> | 1613 | <dl·class="py·method"> |
| 1614 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.bn_BD.Provider.date_object"> | 1614 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.bn_BD.Provider.date_object"> |
| 1615 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.bn_BD.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 1615 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.bn_BD.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1622, 19 lines modified | Offset 1622, 19 lines modified | ||
| 1622 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1622 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1623 | <dd·class="field-even"><p></p></dd> | 1623 | <dd·class="field-even"><p></p></dd> |
| 1624 | </dl> | 1624 | </dl> |
| 1625 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1625 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1626 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1626 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1627 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1627 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 1628 | <span·class="gp">...</span> | 1628 | <span·class="gp">...</span> |
| 1629 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 1630 | <span·class="go">datetime.date(201 | 1629 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 1630 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 1631 | <span·class="go">datetime.date(1993,· | 1631 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 1632 | <span·class="go">datetime.date(1984,· | 1632 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 1633 | <span·class="go">datetime.date(199 | 1633 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 1634 | </pre></div> | 1634 | </pre></div> |
| 1635 | </div> | 1635 | </div> |
| 1636 | </dd></dl> | 1636 | </dd></dl> |
| 1637 | <dl·class="py·method"> | 1637 | <dl·class="py·method"> |
| 1638 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.bn_BD.Provider.date_of_birth"> | 1638 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.bn_BD.Provider.date_of_birth"> |
| 1639 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.bn_BD.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1639 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.bn_BD.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1658, 19 lines modified | Offset 1658, 19 lines modified | ||
| 1658 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1658 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1659 | <dd·class="field-even"><p></p></dd> | 1659 | <dd·class="field-even"><p></p></dd> |
| 1660 | </dl> | 1660 | </dl> |
| 1661 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1661 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1662 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1662 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1663 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1663 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 1664 | <span·class="gp">...</span> | 1664 | <span·class="gp">...</span> |
| 1665 | <span·class="go">datetime.date(200 | 1665 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 1666 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 1667 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 1666 | <span·class="go">datetime.date(19 | 1668 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 1667 | <span·class="go">datetime.date(19 | 1669 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 1668 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 1669 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 1670 | </pre></div> | 1670 | </pre></div> |
| 1671 | </div> | 1671 | </div> |
| 1672 | </dd></dl> | 1672 | </dd></dl> |
| 1673 | <dl·class="py·method"> | 1673 | <dl·class="py·method"> |
| 1674 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.bn_BD.Provider.date_this_century"> | 1674 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.bn_BD.Provider.date_this_century"> |
| 1675 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.bn_BD.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 1675 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.bn_BD.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1691, 19 lines modified | Offset 1691, 19 lines modified | ||
| 1691 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1691 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 98693/120932 bytes (81.61%) of diff not shown. | |||
| Offset 867, 19 lines modified | Offset 867, 19 lines modified | ||
| 867 | ······Bases:·Provider | 867 | ······Bases:·Provider |
| 868 | ········am_pm()·→·str¶ | 868 | ········am_pm()·→·str¶ |
| 869 | ··············Examples: | 869 | ··············Examples: |
| 870 | ············>>>·Faker.seed(0) | 870 | ············>>>·Faker.seed(0) |
| 871 | ············>>>·for·_·in·range(5): | 871 | ············>>>·for·_·in·range(5): |
| 872 | ············...·····fake.am_pm() | 872 | ············...·····fake.am_pm() |
| 873 | ············... | 873 | ············... |
| 874 | ············'PM' | ||
| 875 | ············'PM' | ||
| 876 | ············'AM' | 874 | ············'AM' |
| 877 | ············'PM' | 875 | ············'PM' |
| 878 | ············'AM' | 876 | ············'AM' |
| 877 | ············'AM' | ||
| 878 | ············'AM' | ||
| 879 | ········century()·→·str¶ | 879 | ········century()·→·str¶ |
| 880 | ··············Example: | 880 | ··············Example: |
| 881 | ··················‘XVII’ | 881 | ··················‘XVII’ |
| 882 | ··············Examples: | 882 | ··············Examples: |
| 883 | ············>>>·Faker.seed(0) | 883 | ············>>>·Faker.seed(0) |
| 884 | ············>>>·for·_·in·range(5): | 884 | ············>>>·for·_·in·range(5): |
| 885 | ············...·····fake.century() | 885 | ············...·····fake.century() |
| Offset 899, 19 lines modified | Offset 899, 19 lines modified | ||
| 899 | ··············Returns: | 899 | ··············Returns: |
| 900 | ··················Date | 900 | ··················Date |
| 901 | ··············Examples: | 901 | ··············Examples: |
| 902 | ············>>>·Faker.seed(0) | 902 | ············>>>·Faker.seed(0) |
| 903 | ············>>>·for·_·in·range(5): | 903 | ············>>>·for·_·in·range(5): |
| 904 | ············...·····fake.date() | 904 | ············...·····fake.date() |
| 905 | ············... | 905 | ············... |
| 906 | ············'2018-01-27' | ||
| 907 | ············'201 | 906 | ············'2017-02-26' |
| 907 | ············'2012-04-29' | ||
| 908 | ············'1993- | 908 | ············'1993-06-27' |
| 909 | ············'1984-0 | 909 | ············'1984-06-17' |
| 910 | ············'199 | 910 | ············'1998-07-21' |
| 911 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 911 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 912 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 912 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 913 | ········date¶ | 913 | ········date¶ |
| 914 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 914 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 915 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 915 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 916 | ··············Parameters: | 916 | ··············Parameters: |
| 917 | ······················*·start_date·–·Defaults·to·30·years·ago | 917 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 921, 19 lines modified | Offset 921, 19 lines modified | ||
| 921 | ··············Returns: | 921 | ··············Returns: |
| 922 | ··················Date | 922 | ··················Date |
| 923 | ··············Examples: | 923 | ··············Examples: |
| 924 | ············>>>·Faker.seed(0) | 924 | ············>>>·Faker.seed(0) |
| 925 | ············>>>·for·_·in·range(5): | 925 | ············>>>·for·_·in·range(5): |
| 926 | ············...·····fake.date_between() | 926 | ············...·····fake.date_between() |
| 927 | ············... | 927 | ············... |
| 928 | ············datetime.date(202 | 928 | ············datetime.date(2021,·3,·5) |
| 929 | ············datetime.date(201 | 929 | ············datetime.date(2018,·7,·31) |
| 930 | ············datetime.date(200 | 930 | ············datetime.date(2008,·6,·16) |
| 931 | ············datetime.date(200 | 931 | ············datetime.date(2003,·8,·11) |
| 932 | ············datetime.date(201 | 932 | ············datetime.date(2011,·3,·7) |
| 933 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 933 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 934 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 934 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 935 | ········=·None)·→·date¶ | 935 | ········=·None)·→·date¶ |
| 936 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 936 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 937 | ············given·dates.·Accepts·Date·or·datetime·objects | 937 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 938 | ··············Parameters: | 938 | ··············Parameters: |
| 939 | ······················*·date_start·–·Date | 939 | ······················*·date_start·–·Date |
| Offset 941, 33 lines modified | Offset 941, 33 lines modified | ||
| 941 | ··············Returns: | 941 | ··············Returns: |
| 942 | ··················Date | 942 | ··················Date |
| 943 | ··············Examples: | 943 | ··············Examples: |
| 944 | ············>>>·Faker.seed(0) | 944 | ············>>>·Faker.seed(0) |
| 945 | ············>>>·for·_·in·range(5): | 945 | ············>>>·for·_·in·range(5): |
| 946 | ············...·····fake.date_between_dates() | 946 | ············...·····fake.date_between_dates() |
| 947 | ············... | 947 | ············... |
| 948 | ············datetime.date(202 | 948 | ············datetime.date(2025,·11,·4) |
| 949 | ············datetime.date(202 | 949 | ············datetime.date(2025,·11,·4) |
| 950 | ············datetime.date(202 | 950 | ············datetime.date(2025,·11,·4) |
| 951 | ············datetime.date(202 | 951 | ············datetime.date(2025,·11,·4) |
| 952 | ············datetime.date(202 | 952 | ············datetime.date(2025,·11,·4) |
| 953 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 953 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 954 | ············Get·a·date·object·between·January·1,·1970·and·now | 954 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 955 | ··············Example: | 955 | ··············Example: |
| 956 | ··················datetime.date(2016,·9,·20) | 956 | ··················datetime.date(2016,·9,·20) |
| 957 | ··············Examples: | 957 | ··············Examples: |
| 958 | ············>>>·Faker.seed(0) | 958 | ············>>>·Faker.seed(0) |
| 959 | ············>>>·for·_·in·range(5): | 959 | ············>>>·for·_·in·range(5): |
| 960 | ············...·····fake.date_object() | 960 | ············...·····fake.date_object() |
| 961 | ············... | 961 | ············... |
| 962 | ············datetime.date(2018,·1,·27) | ||
| 963 | ············datetime.date(201 | 962 | ············datetime.date(2017,·2,·26) |
| 963 | ············datetime.date(2012,·4,·29) | ||
| 964 | ············datetime.date(1993,· | 964 | ············datetime.date(1993,·6,·27) |
| 965 | ············datetime.date(1984,· | 965 | ············datetime.date(1984,·6,·17) |
| 966 | ············datetime.date(199 | 966 | ············datetime.date(1998,·7,·21) |
| 967 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 967 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 968 | ········maximum_age:·int·=·115)·→·date¶ | 968 | ········maximum_age:·int·=·115)·→·date¶ |
| 969 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 969 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 970 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 970 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 971 | ··············Parameters: | 971 | ··············Parameters: |
| 972 | ······················*·tzinfo·–·Defaults·to·None. | 972 | ······················*·tzinfo·–·Defaults·to·None. |
| 973 | ······················*·minimum_age·–·Defaults·to·0. | 973 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 977, 19 lines modified | Offset 977, 19 lines modified | ||
| 977 | ··············Returns: | 977 | ··············Returns: |
| 978 | ··················Date | 978 | ··················Date |
| 979 | ··············Examples: | 979 | ··············Examples: |
| 980 | ············>>>·Faker.seed(0) | 980 | ············>>>·Faker.seed(0) |
| 981 | ············>>>·for·_·in·range(5): | 981 | ············>>>·for·_·in·range(5): |
| 982 | ············...·····fake.date_of_birth() | 982 | ············...·····fake.date_of_birth() |
| 983 | ············... | 983 | ············... |
| 984 | ············datetime.date(200 | 984 | ············datetime.date(2007,·10,·18) |
| 985 | ············datetime.date(1997,·10,·6) | ||
| 986 | ············datetime.date(1958,·8,·18) | ||
| 985 | ············datetime.date(19 | 987 | ············datetime.date(1939,·11,·17) |
| 986 | ············datetime.date(19 | 988 | ············datetime.date(1969,·2,·24) |
| 987 | ············datetime.date(1940,·12,·18) | ||
| 988 | ············datetime.date(1970,·3,·28) | ||
| 989 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 989 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 990 | ········→·date¶ | 990 | ········→·date¶ |
| 991 | ············Gets·a·Date·object·for·the·current·century. | 991 | ············Gets·a·Date·object·for·the·current·century. |
| 992 | ··············Parameters: | 992 | ··············Parameters: |
| 993 | ······················*·before_today·–·include·days·in·current·century·before | 993 | ······················*·before_today·–·include·days·in·current·century·before |
| 994 | ························today | 994 | ························today |
| 995 | ······················*·after_today·–·include·days·in·current·century·after | 995 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 999, 19 lines modified | Offset 999, 19 lines modified | ||
| 999 | ··············Returns: | 999 | ··············Returns: |
| 1000 | ··················Date | 1000 | ··················Date |
| 1001 | ··············Examples: | 1001 | ··············Examples: |
| 1002 | ············>>>·Faker.seed(0) | 1002 | ············>>>·Faker.seed(0) |
| 1003 | ············>>>·for·_·in·range(5): | 1003 | ············>>>·for·_·in·range(5): |
| 1004 | ············...·····fake.date_this_century() | 1004 | ············...·····fake.date_this_century() |
| 1005 | ············... | 1005 | ············... |
| Max diff block lines reached; 24830/30744 bytes (80.76%) of diff not shown. | |||
| Offset 1313, 19 lines modified | Offset 1313, 19 lines modified | ||
| 1313 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1313 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1314 | <dd·class="field-odd"><p></p></dd> | 1314 | <dd·class="field-odd"><p></p></dd> |
| 1315 | </dl> | 1315 | </dl> |
| 1316 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1316 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1317 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1317 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1318 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1318 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 1319 | <span·class="gp">...</span> | 1319 | <span·class="gp">...</span> |
| 1320 | <span·class="go">'PM'</span> | ||
| 1321 | <span·class="go">'PM'</span> | ||
| 1322 | <span·class="go">'AM'</span> | 1320 | <span·class="go">'AM'</span> |
| 1323 | <span·class="go">'PM'</span> | 1321 | <span·class="go">'PM'</span> |
| 1324 | <span·class="go">'AM'</span> | 1322 | <span·class="go">'AM'</span> |
| 1323 | <span·class="go">'AM'</span> | ||
| 1324 | <span·class="go">'AM'</span> | ||
| 1325 | </pre></div> | 1325 | </pre></div> |
| 1326 | </div> | 1326 | </div> |
| 1327 | </dd></dl> | 1327 | </dd></dl> |
| 1328 | <dl·class="py·method"> | 1328 | <dl·class="py·method"> |
| 1329 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.cs_CZ.Provider.century"> | 1329 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.cs_CZ.Provider.century"> |
| 1330 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.cs_CZ.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 1330 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.cs_CZ.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1366, 19 lines modified | Offset 1366, 19 lines modified | ||
| 1366 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1366 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1367 | <dd·class="field-even"><p></p></dd> | 1367 | <dd·class="field-even"><p></p></dd> |
| 1368 | </dl> | 1368 | </dl> |
| 1369 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1369 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1370 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1370 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1371 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1371 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 1372 | <span·class="gp">...</span> | 1372 | <span·class="gp">...</span> |
| 1373 | <span·class="go">'2018-01-27'</span> | ||
| 1374 | <span·class="go">'201 | 1373 | <span·class="go">'2017-02-26'</span> |
| 1374 | <span·class="go">'2012-04-29'</span> | ||
| 1375 | <span·class="go">'1993- | 1375 | <span·class="go">'1993-06-27'</span> |
| 1376 | <span·class="go">'1984-0 | 1376 | <span·class="go">'1984-06-17'</span> |
| 1377 | <span·class="go">'199 | 1377 | <span·class="go">'1998-07-21'</span> |
| 1378 | </pre></div> | 1378 | </pre></div> |
| 1379 | </div> | 1379 | </div> |
| 1380 | </dd></dl> | 1380 | </dd></dl> |
| 1381 | <dl·class="py·method"> | 1381 | <dl·class="py·method"> |
| 1382 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.cs_CZ.Provider.date_between"> | 1382 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.cs_CZ.Provider.date_between"> |
| 1383 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.cs_CZ.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1383 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.cs_CZ.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1400, 19 lines modified | Offset 1400, 19 lines modified | ||
| 1400 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1400 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1401 | <dd·class="field-even"><p></p></dd> | 1401 | <dd·class="field-even"><p></p></dd> |
| 1402 | </dl> | 1402 | </dl> |
| 1403 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1403 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1404 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1404 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1405 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1405 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 1406 | <span·class="gp">...</span> | 1406 | <span·class="gp">...</span> |
| 1407 | <span·class="go">datetime.date(202 | 1407 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 1408 | <span·class="go">datetime.date(201 | 1408 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 1409 | <span·class="go">datetime.date(200 | 1409 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 1410 | <span·class="go">datetime.date(200 | 1410 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 1411 | <span·class="go">datetime.date(201 | 1411 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 1412 | </pre></div> | 1412 | </pre></div> |
| 1413 | </div> | 1413 | </div> |
| 1414 | </dd></dl> | 1414 | </dd></dl> |
| 1415 | <dl·class="py·method"> | 1415 | <dl·class="py·method"> |
| 1416 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.cs_CZ.Provider.date_between_dates"> | 1416 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.cs_CZ.Provider.date_between_dates"> |
| 1417 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.cs_CZ.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 1417 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.cs_CZ.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1431, 19 lines modified | Offset 1431, 19 lines modified | ||
| 1431 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1431 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1432 | <dd·class="field-odd"><p></p></dd> | 1432 | <dd·class="field-odd"><p></p></dd> |
| 1433 | </dl> | 1433 | </dl> |
| 1434 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1434 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1435 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1435 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1436 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 1436 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 1437 | <span·class="gp">...</span> | 1437 | <span·class="gp">...</span> |
| 1438 | <span·class="go">datetime.date(202 | 1438 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1439 | <span·class="go">datetime.date(202 | 1439 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1440 | <span·class="go">datetime.date(202 | 1440 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1441 | <span·class="go">datetime.date(202 | 1441 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1442 | <span·class="go">datetime.date(202 | 1442 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1443 | </pre></div> | 1443 | </pre></div> |
| 1444 | </div> | 1444 | </div> |
| 1445 | </dd></dl> | 1445 | </dd></dl> |
| 1446 | <dl·class="py·method"> | 1446 | <dl·class="py·method"> |
| 1447 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.cs_CZ.Provider.date_object"> | 1447 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.cs_CZ.Provider.date_object"> |
| 1448 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.cs_CZ.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 1448 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.cs_CZ.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1455, 19 lines modified | Offset 1455, 19 lines modified | ||
| 1455 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1455 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1456 | <dd·class="field-even"><p></p></dd> | 1456 | <dd·class="field-even"><p></p></dd> |
| 1457 | </dl> | 1457 | </dl> |
| 1458 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1458 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1459 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1459 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1460 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1460 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 1461 | <span·class="gp">...</span> | 1461 | <span·class="gp">...</span> |
| 1462 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 1463 | <span·class="go">datetime.date(201 | 1462 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 1463 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 1464 | <span·class="go">datetime.date(1993,· | 1464 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 1465 | <span·class="go">datetime.date(1984,· | 1465 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 1466 | <span·class="go">datetime.date(199 | 1466 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 1467 | </pre></div> | 1467 | </pre></div> |
| 1468 | </div> | 1468 | </div> |
| 1469 | </dd></dl> | 1469 | </dd></dl> |
| 1470 | <dl·class="py·method"> | 1470 | <dl·class="py·method"> |
| 1471 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.cs_CZ.Provider.date_of_birth"> | 1471 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.cs_CZ.Provider.date_of_birth"> |
| 1472 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.cs_CZ.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1472 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.cs_CZ.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1491, 19 lines modified | Offset 1491, 19 lines modified | ||
| 1491 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1491 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1492 | <dd·class="field-even"><p></p></dd> | 1492 | <dd·class="field-even"><p></p></dd> |
| 1493 | </dl> | 1493 | </dl> |
| 1494 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1494 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1495 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1495 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1496 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1496 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 1497 | <span·class="gp">...</span> | 1497 | <span·class="gp">...</span> |
| 1498 | <span·class="go">datetime.date(200 | 1498 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 1499 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 1500 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 1499 | <span·class="go">datetime.date(19 | 1501 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 1500 | <span·class="go">datetime.date(19 | 1502 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 1501 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 1502 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 1503 | </pre></div> | 1503 | </pre></div> |
| 1504 | </div> | 1504 | </div> |
| 1505 | </dd></dl> | 1505 | </dd></dl> |
| 1506 | <dl·class="py·method"> | 1506 | <dl·class="py·method"> |
| 1507 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.cs_CZ.Provider.date_this_century"> | 1507 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.cs_CZ.Provider.date_this_century"> |
| 1508 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.cs_CZ.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 1508 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.cs_CZ.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1524, 19 lines modified | Offset 1524, 19 lines modified | ||
| 1524 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1524 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 100050/122289 bytes (81.81%) of diff not shown. | |||
| Offset 772, 19 lines modified | Offset 772, 19 lines modified | ||
| 772 | ······Bases:·Provider | 772 | ······Bases:·Provider |
| 773 | ········am_pm()·→·str¶ | 773 | ········am_pm()·→·str¶ |
| 774 | ··············Examples: | 774 | ··············Examples: |
| 775 | ············>>>·Faker.seed(0) | 775 | ············>>>·Faker.seed(0) |
| 776 | ············>>>·for·_·in·range(5): | 776 | ············>>>·for·_·in·range(5): |
| 777 | ············...·····fake.am_pm() | 777 | ············...·····fake.am_pm() |
| 778 | ············... | 778 | ············... |
| 779 | ············'PM' | ||
| 780 | ············'PM' | ||
| 781 | ············'AM' | 779 | ············'AM' |
| 782 | ············'PM' | 780 | ············'PM' |
| 783 | ············'AM' | 781 | ············'AM' |
| 782 | ············'AM' | ||
| 783 | ············'AM' | ||
| 784 | ········century()·→·str¶ | 784 | ········century()·→·str¶ |
| 785 | ··············Example: | 785 | ··············Example: |
| 786 | ··················‘XVII’ | 786 | ··················‘XVII’ |
| 787 | ··············Examples: | 787 | ··············Examples: |
| 788 | ············>>>·Faker.seed(0) | 788 | ············>>>·Faker.seed(0) |
| 789 | ············>>>·for·_·in·range(5): | 789 | ············>>>·for·_·in·range(5): |
| 790 | ············...·····fake.century() | 790 | ············...·····fake.century() |
| Offset 804, 19 lines modified | Offset 804, 19 lines modified | ||
| 804 | ··············Returns: | 804 | ··············Returns: |
| 805 | ··················Date | 805 | ··················Date |
| 806 | ··············Examples: | 806 | ··············Examples: |
| 807 | ············>>>·Faker.seed(0) | 807 | ············>>>·Faker.seed(0) |
| 808 | ············>>>·for·_·in·range(5): | 808 | ············>>>·for·_·in·range(5): |
| 809 | ············...·····fake.date() | 809 | ············...·····fake.date() |
| 810 | ············... | 810 | ············... |
| 811 | ············'2018-01-27' | ||
| 812 | ············'201 | 811 | ············'2017-02-26' |
| 812 | ············'2012-04-29' | ||
| 813 | ············'1993- | 813 | ············'1993-06-27' |
| 814 | ············'1984-0 | 814 | ············'1984-06-17' |
| 815 | ············'199 | 815 | ············'1998-07-21' |
| 816 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 816 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 817 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 817 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 818 | ········date¶ | 818 | ········date¶ |
| 819 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 819 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 820 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 820 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 821 | ··············Parameters: | 821 | ··············Parameters: |
| 822 | ······················*·start_date·–·Defaults·to·30·years·ago | 822 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 826, 19 lines modified | Offset 826, 19 lines modified | ||
| 826 | ··············Returns: | 826 | ··············Returns: |
| 827 | ··················Date | 827 | ··················Date |
| 828 | ··············Examples: | 828 | ··············Examples: |
| 829 | ············>>>·Faker.seed(0) | 829 | ············>>>·Faker.seed(0) |
| 830 | ············>>>·for·_·in·range(5): | 830 | ············>>>·for·_·in·range(5): |
| 831 | ············...·····fake.date_between() | 831 | ············...·····fake.date_between() |
| 832 | ············... | 832 | ············... |
| 833 | ············datetime.date(202 | 833 | ············datetime.date(2021,·3,·5) |
| 834 | ············datetime.date(201 | 834 | ············datetime.date(2018,·7,·31) |
| 835 | ············datetime.date(200 | 835 | ············datetime.date(2008,·6,·16) |
| 836 | ············datetime.date(200 | 836 | ············datetime.date(2003,·8,·11) |
| 837 | ············datetime.date(201 | 837 | ············datetime.date(2011,·3,·7) |
| 838 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 838 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 839 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 839 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 840 | ········=·None)·→·date¶ | 840 | ········=·None)·→·date¶ |
| 841 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 841 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 842 | ············given·dates.·Accepts·Date·or·datetime·objects | 842 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 843 | ··············Parameters: | 843 | ··············Parameters: |
| 844 | ······················*·date_start·–·Date | 844 | ······················*·date_start·–·Date |
| Offset 846, 33 lines modified | Offset 846, 33 lines modified | ||
| 846 | ··············Returns: | 846 | ··············Returns: |
| 847 | ··················Date | 847 | ··················Date |
| 848 | ··············Examples: | 848 | ··············Examples: |
| 849 | ············>>>·Faker.seed(0) | 849 | ············>>>·Faker.seed(0) |
| 850 | ············>>>·for·_·in·range(5): | 850 | ············>>>·for·_·in·range(5): |
| 851 | ············...·····fake.date_between_dates() | 851 | ············...·····fake.date_between_dates() |
| 852 | ············... | 852 | ············... |
| 853 | ············datetime.date(202 | 853 | ············datetime.date(2025,·11,·4) |
| 854 | ············datetime.date(202 | 854 | ············datetime.date(2025,·11,·4) |
| 855 | ············datetime.date(202 | 855 | ············datetime.date(2025,·11,·4) |
| 856 | ············datetime.date(202 | 856 | ············datetime.date(2025,·11,·4) |
| 857 | ············datetime.date(202 | 857 | ············datetime.date(2025,·11,·4) |
| 858 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 858 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 859 | ············Get·a·date·object·between·January·1,·1970·and·now | 859 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 860 | ··············Example: | 860 | ··············Example: |
| 861 | ··················datetime.date(2016,·9,·20) | 861 | ··················datetime.date(2016,·9,·20) |
| 862 | ··············Examples: | 862 | ··············Examples: |
| 863 | ············>>>·Faker.seed(0) | 863 | ············>>>·Faker.seed(0) |
| 864 | ············>>>·for·_·in·range(5): | 864 | ············>>>·for·_·in·range(5): |
| 865 | ············...·····fake.date_object() | 865 | ············...·····fake.date_object() |
| 866 | ············... | 866 | ············... |
| 867 | ············datetime.date(2018,·1,·27) | ||
| 868 | ············datetime.date(201 | 867 | ············datetime.date(2017,·2,·26) |
| 868 | ············datetime.date(2012,·4,·29) | ||
| 869 | ············datetime.date(1993,· | 869 | ············datetime.date(1993,·6,·27) |
| 870 | ············datetime.date(1984,· | 870 | ············datetime.date(1984,·6,·17) |
| 871 | ············datetime.date(199 | 871 | ············datetime.date(1998,·7,·21) |
| 872 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 872 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 873 | ········maximum_age:·int·=·115)·→·date¶ | 873 | ········maximum_age:·int·=·115)·→·date¶ |
| 874 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 874 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 875 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 875 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 876 | ··············Parameters: | 876 | ··············Parameters: |
| 877 | ······················*·tzinfo·–·Defaults·to·None. | 877 | ······················*·tzinfo·–·Defaults·to·None. |
| 878 | ······················*·minimum_age·–·Defaults·to·0. | 878 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 882, 19 lines modified | Offset 882, 19 lines modified | ||
| 882 | ··············Returns: | 882 | ··············Returns: |
| 883 | ··················Date | 883 | ··················Date |
| 884 | ··············Examples: | 884 | ··············Examples: |
| 885 | ············>>>·Faker.seed(0) | 885 | ············>>>·Faker.seed(0) |
| 886 | ············>>>·for·_·in·range(5): | 886 | ············>>>·for·_·in·range(5): |
| 887 | ············...·····fake.date_of_birth() | 887 | ············...·····fake.date_of_birth() |
| 888 | ············... | 888 | ············... |
| 889 | ············datetime.date(200 | 889 | ············datetime.date(2007,·10,·18) |
| 890 | ············datetime.date(1997,·10,·6) | ||
| 891 | ············datetime.date(1958,·8,·18) | ||
| 890 | ············datetime.date(19 | 892 | ············datetime.date(1939,·11,·17) |
| 891 | ············datetime.date(19 | 893 | ············datetime.date(1969,·2,·24) |
| 892 | ············datetime.date(1940,·12,·18) | ||
| 893 | ············datetime.date(1970,·3,·28) | ||
| 894 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 894 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 895 | ········→·date¶ | 895 | ········→·date¶ |
| 896 | ············Gets·a·Date·object·for·the·current·century. | 896 | ············Gets·a·Date·object·for·the·current·century. |
| 897 | ··············Parameters: | 897 | ··············Parameters: |
| 898 | ······················*·before_today·–·include·days·in·current·century·before | 898 | ······················*·before_today·–·include·days·in·current·century·before |
| 899 | ························today | 899 | ························today |
| 900 | ······················*·after_today·–·include·days·in·current·century·after | 900 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 904, 19 lines modified | Offset 904, 19 lines modified | ||
| 904 | ··············Returns: | 904 | ··············Returns: |
| 905 | ··················Date | 905 | ··················Date |
| 906 | ··············Examples: | 906 | ··············Examples: |
| 907 | ············>>>·Faker.seed(0) | 907 | ············>>>·Faker.seed(0) |
| 908 | ············>>>·for·_·in·range(5): | 908 | ············>>>·for·_·in·range(5): |
| 909 | ············...·····fake.date_this_century() | 909 | ············...·····fake.date_this_century() |
| 910 | ············... | 910 | ············... |
| Max diff block lines reached; 25500/31414 bytes (81.17%) of diff not shown. | |||
| Offset 1326, 19 lines modified | Offset 1326, 19 lines modified | ||
| 1326 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1326 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1327 | <dd·class="field-odd"><p></p></dd> | 1327 | <dd·class="field-odd"><p></p></dd> |
| 1328 | </dl> | 1328 | </dl> |
| 1329 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1329 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1330 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1330 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1331 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1331 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 1332 | <span·class="gp">...</span> | 1332 | <span·class="gp">...</span> |
| 1333 | <span·class="go">'PM'</span> | ||
| 1334 | <span·class="go">'PM'</span> | ||
| 1335 | <span·class="go">'AM'</span> | 1333 | <span·class="go">'AM'</span> |
| 1336 | <span·class="go">'PM'</span> | 1334 | <span·class="go">'PM'</span> |
| 1337 | <span·class="go">'AM'</span> | 1335 | <span·class="go">'AM'</span> |
| 1336 | <span·class="go">'AM'</span> | ||
| 1337 | <span·class="go">'AM'</span> | ||
| 1338 | </pre></div> | 1338 | </pre></div> |
| 1339 | </div> | 1339 | </div> |
| 1340 | </dd></dl> | 1340 | </dd></dl> |
| 1341 | <dl·class="py·method"> | 1341 | <dl·class="py·method"> |
| 1342 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.da_DK.Provider.century"> | 1342 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.da_DK.Provider.century"> |
| 1343 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.da_DK.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 1343 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.da_DK.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1379, 19 lines modified | Offset 1379, 19 lines modified | ||
| 1379 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1379 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1380 | <dd·class="field-even"><p></p></dd> | 1380 | <dd·class="field-even"><p></p></dd> |
| 1381 | </dl> | 1381 | </dl> |
| 1382 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1382 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1383 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1383 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1384 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1384 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 1385 | <span·class="gp">...</span> | 1385 | <span·class="gp">...</span> |
| 1386 | <span·class="go">'2018-01-27'</span> | ||
| 1387 | <span·class="go">'201 | 1386 | <span·class="go">'2017-02-26'</span> |
| 1387 | <span·class="go">'2012-04-29'</span> | ||
| 1388 | <span·class="go">'1993- | 1388 | <span·class="go">'1993-06-27'</span> |
| 1389 | <span·class="go">'1984-0 | 1389 | <span·class="go">'1984-06-17'</span> |
| 1390 | <span·class="go">'199 | 1390 | <span·class="go">'1998-07-21'</span> |
| 1391 | </pre></div> | 1391 | </pre></div> |
| 1392 | </div> | 1392 | </div> |
| 1393 | </dd></dl> | 1393 | </dd></dl> |
| 1394 | <dl·class="py·method"> | 1394 | <dl·class="py·method"> |
| 1395 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.da_DK.Provider.date_between"> | 1395 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.da_DK.Provider.date_between"> |
| 1396 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.da_DK.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1396 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.da_DK.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1413, 19 lines modified | Offset 1413, 19 lines modified | ||
| 1413 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1413 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1414 | <dd·class="field-even"><p></p></dd> | 1414 | <dd·class="field-even"><p></p></dd> |
| 1415 | </dl> | 1415 | </dl> |
| 1416 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1416 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1417 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1417 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1418 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1418 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 1419 | <span·class="gp">...</span> | 1419 | <span·class="gp">...</span> |
| 1420 | <span·class="go">datetime.date(202 | 1420 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 1421 | <span·class="go">datetime.date(201 | 1421 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 1422 | <span·class="go">datetime.date(200 | 1422 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 1423 | <span·class="go">datetime.date(200 | 1423 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 1424 | <span·class="go">datetime.date(201 | 1424 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 1425 | </pre></div> | 1425 | </pre></div> |
| 1426 | </div> | 1426 | </div> |
| 1427 | </dd></dl> | 1427 | </dd></dl> |
| 1428 | <dl·class="py·method"> | 1428 | <dl·class="py·method"> |
| 1429 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.da_DK.Provider.date_between_dates"> | 1429 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.da_DK.Provider.date_between_dates"> |
| 1430 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.da_DK.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 1430 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.da_DK.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1444, 19 lines modified | Offset 1444, 19 lines modified | ||
| 1444 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1444 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1445 | <dd·class="field-odd"><p></p></dd> | 1445 | <dd·class="field-odd"><p></p></dd> |
| 1446 | </dl> | 1446 | </dl> |
| 1447 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1447 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1448 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1448 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1449 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 1449 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 1450 | <span·class="gp">...</span> | 1450 | <span·class="gp">...</span> |
| 1451 | <span·class="go">datetime.date(202 | 1451 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1452 | <span·class="go">datetime.date(202 | 1452 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1453 | <span·class="go">datetime.date(202 | 1453 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1454 | <span·class="go">datetime.date(202 | 1454 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1455 | <span·class="go">datetime.date(202 | 1455 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1456 | </pre></div> | 1456 | </pre></div> |
| 1457 | </div> | 1457 | </div> |
| 1458 | </dd></dl> | 1458 | </dd></dl> |
| 1459 | <dl·class="py·method"> | 1459 | <dl·class="py·method"> |
| 1460 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.da_DK.Provider.date_object"> | 1460 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.da_DK.Provider.date_object"> |
| 1461 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.da_DK.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 1461 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.da_DK.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1468, 19 lines modified | Offset 1468, 19 lines modified | ||
| 1468 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1468 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1469 | <dd·class="field-even"><p></p></dd> | 1469 | <dd·class="field-even"><p></p></dd> |
| 1470 | </dl> | 1470 | </dl> |
| 1471 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1471 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1472 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1472 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1473 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1473 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 1474 | <span·class="gp">...</span> | 1474 | <span·class="gp">...</span> |
| 1475 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 1476 | <span·class="go">datetime.date(201 | 1475 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 1476 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 1477 | <span·class="go">datetime.date(1993,· | 1477 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 1478 | <span·class="go">datetime.date(1984,· | 1478 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 1479 | <span·class="go">datetime.date(199 | 1479 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 1480 | </pre></div> | 1480 | </pre></div> |
| 1481 | </div> | 1481 | </div> |
| 1482 | </dd></dl> | 1482 | </dd></dl> |
| 1483 | <dl·class="py·method"> | 1483 | <dl·class="py·method"> |
| 1484 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.da_DK.Provider.date_of_birth"> | 1484 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.da_DK.Provider.date_of_birth"> |
| 1485 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.da_DK.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1485 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.da_DK.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1504, 19 lines modified | Offset 1504, 19 lines modified | ||
| 1504 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1504 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1505 | <dd·class="field-even"><p></p></dd> | 1505 | <dd·class="field-even"><p></p></dd> |
| 1506 | </dl> | 1506 | </dl> |
| 1507 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1507 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1508 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1508 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1509 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1509 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 1510 | <span·class="gp">...</span> | 1510 | <span·class="gp">...</span> |
| 1511 | <span·class="go">datetime.date(200 | 1511 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 1512 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 1513 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 1512 | <span·class="go">datetime.date(19 | 1514 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 1513 | <span·class="go">datetime.date(19 | 1515 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 1514 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 1515 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 1516 | </pre></div> | 1516 | </pre></div> |
| 1517 | </div> | 1517 | </div> |
| 1518 | </dd></dl> | 1518 | </dd></dl> |
| 1519 | <dl·class="py·method"> | 1519 | <dl·class="py·method"> |
| 1520 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.da_DK.Provider.date_this_century"> | 1520 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.da_DK.Provider.date_this_century"> |
| 1521 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.da_DK.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 1521 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.da_DK.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1537, 19 lines modified | Offset 1537, 19 lines modified | ||
| 1537 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1537 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 98137/120376 bytes (81.53%) of diff not shown. | |||
| Offset 780, 19 lines modified | Offset 780, 19 lines modified | ||
| 780 | ······Bases:·Provider | 780 | ······Bases:·Provider |
| 781 | ········am_pm()·→·str¶ | 781 | ········am_pm()·→·str¶ |
| 782 | ··············Examples: | 782 | ··············Examples: |
| 783 | ············>>>·Faker.seed(0) | 783 | ············>>>·Faker.seed(0) |
| 784 | ············>>>·for·_·in·range(5): | 784 | ············>>>·for·_·in·range(5): |
| 785 | ············...·····fake.am_pm() | 785 | ············...·····fake.am_pm() |
| 786 | ············... | 786 | ············... |
| 787 | ············'PM' | ||
| 788 | ············'PM' | ||
| 789 | ············'AM' | 787 | ············'AM' |
| 790 | ············'PM' | 788 | ············'PM' |
| 791 | ············'AM' | 789 | ············'AM' |
| 790 | ············'AM' | ||
| 791 | ············'AM' | ||
| 792 | ········century()·→·str¶ | 792 | ········century()·→·str¶ |
| 793 | ··············Example: | 793 | ··············Example: |
| 794 | ··················‘XVII’ | 794 | ··················‘XVII’ |
| 795 | ··············Examples: | 795 | ··············Examples: |
| 796 | ············>>>·Faker.seed(0) | 796 | ············>>>·Faker.seed(0) |
| 797 | ············>>>·for·_·in·range(5): | 797 | ············>>>·for·_·in·range(5): |
| 798 | ············...·····fake.century() | 798 | ············...·····fake.century() |
| Offset 812, 19 lines modified | Offset 812, 19 lines modified | ||
| 812 | ··············Returns: | 812 | ··············Returns: |
| 813 | ··················Date | 813 | ··················Date |
| 814 | ··············Examples: | 814 | ··············Examples: |
| 815 | ············>>>·Faker.seed(0) | 815 | ············>>>·Faker.seed(0) |
| 816 | ············>>>·for·_·in·range(5): | 816 | ············>>>·for·_·in·range(5): |
| 817 | ············...·····fake.date() | 817 | ············...·····fake.date() |
| 818 | ············... | 818 | ············... |
| 819 | ············'2018-01-27' | ||
| 820 | ············'201 | 819 | ············'2017-02-26' |
| 820 | ············'2012-04-29' | ||
| 821 | ············'1993- | 821 | ············'1993-06-27' |
| 822 | ············'1984-0 | 822 | ············'1984-06-17' |
| 823 | ············'199 | 823 | ············'1998-07-21' |
| 824 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 824 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 825 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 825 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 826 | ········date¶ | 826 | ········date¶ |
| 827 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 827 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 828 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 828 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 829 | ··············Parameters: | 829 | ··············Parameters: |
| 830 | ······················*·start_date·–·Defaults·to·30·years·ago | 830 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 834, 19 lines modified | Offset 834, 19 lines modified | ||
| 834 | ··············Returns: | 834 | ··············Returns: |
| 835 | ··················Date | 835 | ··················Date |
| 836 | ··············Examples: | 836 | ··············Examples: |
| 837 | ············>>>·Faker.seed(0) | 837 | ············>>>·Faker.seed(0) |
| 838 | ············>>>·for·_·in·range(5): | 838 | ············>>>·for·_·in·range(5): |
| 839 | ············...·····fake.date_between() | 839 | ············...·····fake.date_between() |
| 840 | ············... | 840 | ············... |
| 841 | ············datetime.date(202 | 841 | ············datetime.date(2021,·3,·5) |
| 842 | ············datetime.date(201 | 842 | ············datetime.date(2018,·7,·31) |
| 843 | ············datetime.date(200 | 843 | ············datetime.date(2008,·6,·16) |
| 844 | ············datetime.date(200 | 844 | ············datetime.date(2003,·8,·11) |
| 845 | ············datetime.date(201 | 845 | ············datetime.date(2011,·3,·7) |
| 846 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 846 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 847 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 847 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 848 | ········=·None)·→·date¶ | 848 | ········=·None)·→·date¶ |
| 849 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 849 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 850 | ············given·dates.·Accepts·Date·or·datetime·objects | 850 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 851 | ··············Parameters: | 851 | ··············Parameters: |
| 852 | ······················*·date_start·–·Date | 852 | ······················*·date_start·–·Date |
| Offset 854, 33 lines modified | Offset 854, 33 lines modified | ||
| 854 | ··············Returns: | 854 | ··············Returns: |
| 855 | ··················Date | 855 | ··················Date |
| 856 | ··············Examples: | 856 | ··············Examples: |
| 857 | ············>>>·Faker.seed(0) | 857 | ············>>>·Faker.seed(0) |
| 858 | ············>>>·for·_·in·range(5): | 858 | ············>>>·for·_·in·range(5): |
| 859 | ············...·····fake.date_between_dates() | 859 | ············...·····fake.date_between_dates() |
| 860 | ············... | 860 | ············... |
| 861 | ············datetime.date(202 | 861 | ············datetime.date(2025,·11,·4) |
| 862 | ············datetime.date(202 | 862 | ············datetime.date(2025,·11,·4) |
| 863 | ············datetime.date(202 | 863 | ············datetime.date(2025,·11,·4) |
| 864 | ············datetime.date(202 | 864 | ············datetime.date(2025,·11,·4) |
| 865 | ············datetime.date(202 | 865 | ············datetime.date(2025,·11,·4) |
| 866 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 866 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 867 | ············Get·a·date·object·between·January·1,·1970·and·now | 867 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 868 | ··············Example: | 868 | ··············Example: |
| 869 | ··················datetime.date(2016,·9,·20) | 869 | ··················datetime.date(2016,·9,·20) |
| 870 | ··············Examples: | 870 | ··············Examples: |
| 871 | ············>>>·Faker.seed(0) | 871 | ············>>>·Faker.seed(0) |
| 872 | ············>>>·for·_·in·range(5): | 872 | ············>>>·for·_·in·range(5): |
| 873 | ············...·····fake.date_object() | 873 | ············...·····fake.date_object() |
| 874 | ············... | 874 | ············... |
| 875 | ············datetime.date(2018,·1,·27) | ||
| 876 | ············datetime.date(201 | 875 | ············datetime.date(2017,·2,·26) |
| 876 | ············datetime.date(2012,·4,·29) | ||
| 877 | ············datetime.date(1993,· | 877 | ············datetime.date(1993,·6,·27) |
| 878 | ············datetime.date(1984,· | 878 | ············datetime.date(1984,·6,·17) |
| 879 | ············datetime.date(199 | 879 | ············datetime.date(1998,·7,·21) |
| 880 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 880 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 881 | ········maximum_age:·int·=·115)·→·date¶ | 881 | ········maximum_age:·int·=·115)·→·date¶ |
| 882 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 882 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 883 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 883 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 884 | ··············Parameters: | 884 | ··············Parameters: |
| 885 | ······················*·tzinfo·–·Defaults·to·None. | 885 | ······················*·tzinfo·–·Defaults·to·None. |
| 886 | ······················*·minimum_age·–·Defaults·to·0. | 886 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 890, 19 lines modified | Offset 890, 19 lines modified | ||
| 890 | ··············Returns: | 890 | ··············Returns: |
| 891 | ··················Date | 891 | ··················Date |
| 892 | ··············Examples: | 892 | ··············Examples: |
| 893 | ············>>>·Faker.seed(0) | 893 | ············>>>·Faker.seed(0) |
| 894 | ············>>>·for·_·in·range(5): | 894 | ············>>>·for·_·in·range(5): |
| 895 | ············...·····fake.date_of_birth() | 895 | ············...·····fake.date_of_birth() |
| 896 | ············... | 896 | ············... |
| 897 | ············datetime.date(200 | 897 | ············datetime.date(2007,·10,·18) |
| 898 | ············datetime.date(1997,·10,·6) | ||
| 899 | ············datetime.date(1958,·8,·18) | ||
| 898 | ············datetime.date(19 | 900 | ············datetime.date(1939,·11,·17) |
| 899 | ············datetime.date(19 | 901 | ············datetime.date(1969,·2,·24) |
| 900 | ············datetime.date(1940,·12,·18) | ||
| 901 | ············datetime.date(1970,·3,·28) | ||
| 902 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 902 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 903 | ········→·date¶ | 903 | ········→·date¶ |
| 904 | ············Gets·a·Date·object·for·the·current·century. | 904 | ············Gets·a·Date·object·for·the·current·century. |
| 905 | ··············Parameters: | 905 | ··············Parameters: |
| 906 | ······················*·before_today·–·include·days·in·current·century·before | 906 | ······················*·before_today·–·include·days·in·current·century·before |
| 907 | ························today | 907 | ························today |
| 908 | ······················*·after_today·–·include·days·in·current·century·after | 908 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 912, 19 lines modified | Offset 912, 19 lines modified | ||
| 912 | ··············Returns: | 912 | ··············Returns: |
| 913 | ··················Date | 913 | ··················Date |
| 914 | ··············Examples: | 914 | ··············Examples: |
| 915 | ············>>>·Faker.seed(0) | 915 | ············>>>·Faker.seed(0) |
| 916 | ············>>>·for·_·in·range(5): | 916 | ············>>>·for·_·in·range(5): |
| 917 | ············...·····fake.date_this_century() | 917 | ············...·····fake.date_this_century() |
| 918 | ············... | 918 | ············... |
| Max diff block lines reached; 24772/30686 bytes (80.73%) of diff not shown. | |||
| Offset 892, 19 lines modified | Offset 892, 19 lines modified | ||
| 892 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 892 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 893 | <dd·class="field-odd"><p></p></dd> | 893 | <dd·class="field-odd"><p></p></dd> |
| 894 | </dl> | 894 | </dl> |
| 895 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 895 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 896 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 896 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 897 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 897 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 898 | <span·class="gp">...</span> | 898 | <span·class="gp">...</span> |
| 899 | <span·class="go">'PM'</span> | ||
| 900 | <span·class="go">'PM'</span> | ||
| 901 | <span·class="go">'AM'</span> | 899 | <span·class="go">'AM'</span> |
| 902 | <span·class="go">'PM'</span> | 900 | <span·class="go">'PM'</span> |
| 903 | <span·class="go">'AM'</span> | 901 | <span·class="go">'AM'</span> |
| 902 | <span·class="go">'AM'</span> | ||
| 903 | <span·class="go">'AM'</span> | ||
| 904 | </pre></div> | 904 | </pre></div> |
| 905 | </div> | 905 | </div> |
| 906 | </dd></dl> | 906 | </dd></dl> |
| 907 | <dl·class="py·method"> | 907 | <dl·class="py·method"> |
| 908 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.de_AT.Provider.century"> | 908 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.de_AT.Provider.century"> |
| 909 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.de_AT.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 909 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.de_AT.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 945, 19 lines modified | Offset 945, 19 lines modified | ||
| 945 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 945 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 946 | <dd·class="field-even"><p></p></dd> | 946 | <dd·class="field-even"><p></p></dd> |
| 947 | </dl> | 947 | </dl> |
| 948 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 948 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 949 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 949 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 950 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 950 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 951 | <span·class="gp">...</span> | 951 | <span·class="gp">...</span> |
| 952 | <span·class="go">'2018-01-27'</span> | ||
| 953 | <span·class="go">'201 | 952 | <span·class="go">'2017-02-26'</span> |
| 953 | <span·class="go">'2012-04-29'</span> | ||
| 954 | <span·class="go">'1993- | 954 | <span·class="go">'1993-06-27'</span> |
| 955 | <span·class="go">'1984-0 | 955 | <span·class="go">'1984-06-17'</span> |
| 956 | <span·class="go">'199 | 956 | <span·class="go">'1998-07-21'</span> |
| 957 | </pre></div> | 957 | </pre></div> |
| 958 | </div> | 958 | </div> |
| 959 | </dd></dl> | 959 | </dd></dl> |
| 960 | <dl·class="py·method"> | 960 | <dl·class="py·method"> |
| 961 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.de_AT.Provider.date_between"> | 961 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.de_AT.Provider.date_between"> |
| 962 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.de_AT.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 962 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.de_AT.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 979, 19 lines modified | Offset 979, 19 lines modified | ||
| 979 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 979 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 980 | <dd·class="field-even"><p></p></dd> | 980 | <dd·class="field-even"><p></p></dd> |
| 981 | </dl> | 981 | </dl> |
| 982 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 982 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 983 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 983 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 984 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 984 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 985 | <span·class="gp">...</span> | 985 | <span·class="gp">...</span> |
| 986 | <span·class="go">datetime.date(202 | 986 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 987 | <span·class="go">datetime.date(201 | 987 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 988 | <span·class="go">datetime.date(200 | 988 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 989 | <span·class="go">datetime.date(200 | 989 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 990 | <span·class="go">datetime.date(201 | 990 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 991 | </pre></div> | 991 | </pre></div> |
| 992 | </div> | 992 | </div> |
| 993 | </dd></dl> | 993 | </dd></dl> |
| 994 | <dl·class="py·method"> | 994 | <dl·class="py·method"> |
| 995 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.de_AT.Provider.date_between_dates"> | 995 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.de_AT.Provider.date_between_dates"> |
| 996 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.de_AT.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 996 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.de_AT.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1010, 19 lines modified | Offset 1010, 19 lines modified | ||
| 1010 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1010 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1011 | <dd·class="field-odd"><p></p></dd> | 1011 | <dd·class="field-odd"><p></p></dd> |
| 1012 | </dl> | 1012 | </dl> |
| 1013 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1013 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1014 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1014 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1015 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 1015 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 1016 | <span·class="gp">...</span> | 1016 | <span·class="gp">...</span> |
| 1017 | <span·class="go">datetime.date(202 | 1017 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1018 | <span·class="go">datetime.date(202 | 1018 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1019 | <span·class="go">datetime.date(202 | 1019 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1020 | <span·class="go">datetime.date(202 | 1020 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1021 | <span·class="go">datetime.date(202 | 1021 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1022 | </pre></div> | 1022 | </pre></div> |
| 1023 | </div> | 1023 | </div> |
| 1024 | </dd></dl> | 1024 | </dd></dl> |
| 1025 | <dl·class="py·method"> | 1025 | <dl·class="py·method"> |
| 1026 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.de_AT.Provider.date_object"> | 1026 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.de_AT.Provider.date_object"> |
| 1027 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.de_AT.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 1027 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.de_AT.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1034, 19 lines modified | Offset 1034, 19 lines modified | ||
| 1034 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1034 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1035 | <dd·class="field-even"><p></p></dd> | 1035 | <dd·class="field-even"><p></p></dd> |
| 1036 | </dl> | 1036 | </dl> |
| 1037 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1037 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1038 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1038 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1039 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1039 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 1040 | <span·class="gp">...</span> | 1040 | <span·class="gp">...</span> |
| 1041 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 1042 | <span·class="go">datetime.date(201 | 1041 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 1042 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 1043 | <span·class="go">datetime.date(1993,· | 1043 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 1044 | <span·class="go">datetime.date(1984,· | 1044 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 1045 | <span·class="go">datetime.date(199 | 1045 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 1046 | </pre></div> | 1046 | </pre></div> |
| 1047 | </div> | 1047 | </div> |
| 1048 | </dd></dl> | 1048 | </dd></dl> |
| 1049 | <dl·class="py·method"> | 1049 | <dl·class="py·method"> |
| 1050 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.de_AT.Provider.date_of_birth"> | 1050 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.de_AT.Provider.date_of_birth"> |
| 1051 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.de_AT.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1051 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.de_AT.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1070, 19 lines modified | Offset 1070, 19 lines modified | ||
| 1070 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1070 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1071 | <dd·class="field-even"><p></p></dd> | 1071 | <dd·class="field-even"><p></p></dd> |
| 1072 | </dl> | 1072 | </dl> |
| 1073 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1073 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1074 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1074 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1075 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1075 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 1076 | <span·class="gp">...</span> | 1076 | <span·class="gp">...</span> |
| 1077 | <span·class="go">datetime.date(200 | 1077 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 1078 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 1079 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 1078 | <span·class="go">datetime.date(19 | 1080 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 1079 | <span·class="go">datetime.date(19 | 1081 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 1080 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 1081 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 1082 | </pre></div> | 1082 | </pre></div> |
| 1083 | </div> | 1083 | </div> |
| 1084 | </dd></dl> | 1084 | </dd></dl> |
| 1085 | <dl·class="py·method"> | 1085 | <dl·class="py·method"> |
| 1086 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.de_AT.Provider.date_this_century"> | 1086 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.de_AT.Provider.date_this_century"> |
| 1087 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.de_AT.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 1087 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.de_AT.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1103, 19 lines modified | Offset 1103, 19 lines modified | ||
| 1103 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1103 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 98150/120383 bytes (81.53%) of diff not shown. | |||
| Offset 508, 19 lines modified | Offset 508, 19 lines modified | ||
| 508 | ······Bases:·Provider | 508 | ······Bases:·Provider |
| 509 | ········am_pm()·→·str¶ | 509 | ········am_pm()·→·str¶ |
| 510 | ··············Examples: | 510 | ··············Examples: |
| 511 | ············>>>·Faker.seed(0) | 511 | ············>>>·Faker.seed(0) |
| 512 | ············>>>·for·_·in·range(5): | 512 | ············>>>·for·_·in·range(5): |
| 513 | ············...·····fake.am_pm() | 513 | ············...·····fake.am_pm() |
| 514 | ············... | 514 | ············... |
| 515 | ············'PM' | ||
| 516 | ············'PM' | ||
| 517 | ············'AM' | 515 | ············'AM' |
| 518 | ············'PM' | 516 | ············'PM' |
| 519 | ············'AM' | 517 | ············'AM' |
| 518 | ············'AM' | ||
| 519 | ············'AM' | ||
| 520 | ········century()·→·str¶ | 520 | ········century()·→·str¶ |
| 521 | ··············Example: | 521 | ··············Example: |
| 522 | ··················‘XVII’ | 522 | ··················‘XVII’ |
| 523 | ··············Examples: | 523 | ··············Examples: |
| 524 | ············>>>·Faker.seed(0) | 524 | ············>>>·Faker.seed(0) |
| 525 | ············>>>·for·_·in·range(5): | 525 | ············>>>·for·_·in·range(5): |
| 526 | ············...·····fake.century() | 526 | ············...·····fake.century() |
| Offset 540, 19 lines modified | Offset 540, 19 lines modified | ||
| 540 | ··············Returns: | 540 | ··············Returns: |
| 541 | ··················Date | 541 | ··················Date |
| 542 | ··············Examples: | 542 | ··············Examples: |
| 543 | ············>>>·Faker.seed(0) | 543 | ············>>>·Faker.seed(0) |
| 544 | ············>>>·for·_·in·range(5): | 544 | ············>>>·for·_·in·range(5): |
| 545 | ············...·····fake.date() | 545 | ············...·····fake.date() |
| 546 | ············... | 546 | ············... |
| 547 | ············'2018-01-27' | ||
| 548 | ············'201 | 547 | ············'2017-02-26' |
| 548 | ············'2012-04-29' | ||
| 549 | ············'1993- | 549 | ············'1993-06-27' |
| 550 | ············'1984-0 | 550 | ············'1984-06-17' |
| 551 | ············'199 | 551 | ············'1998-07-21' |
| 552 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 552 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 553 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 553 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 554 | ········date¶ | 554 | ········date¶ |
| 555 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 555 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 556 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 556 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 557 | ··············Parameters: | 557 | ··············Parameters: |
| 558 | ······················*·start_date·–·Defaults·to·30·years·ago | 558 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 562, 19 lines modified | Offset 562, 19 lines modified | ||
| 562 | ··············Returns: | 562 | ··············Returns: |
| 563 | ··················Date | 563 | ··················Date |
| 564 | ··············Examples: | 564 | ··············Examples: |
| 565 | ············>>>·Faker.seed(0) | 565 | ············>>>·Faker.seed(0) |
| 566 | ············>>>·for·_·in·range(5): | 566 | ············>>>·for·_·in·range(5): |
| 567 | ············...·····fake.date_between() | 567 | ············...·····fake.date_between() |
| 568 | ············... | 568 | ············... |
| 569 | ············datetime.date(202 | 569 | ············datetime.date(2021,·3,·5) |
| 570 | ············datetime.date(201 | 570 | ············datetime.date(2018,·7,·31) |
| 571 | ············datetime.date(200 | 571 | ············datetime.date(2008,·6,·16) |
| 572 | ············datetime.date(200 | 572 | ············datetime.date(2003,·8,·11) |
| 573 | ············datetime.date(201 | 573 | ············datetime.date(2011,·3,·7) |
| 574 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 574 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 575 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 575 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 576 | ········=·None)·→·date¶ | 576 | ········=·None)·→·date¶ |
| 577 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 577 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 578 | ············given·dates.·Accepts·Date·or·datetime·objects | 578 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 579 | ··············Parameters: | 579 | ··············Parameters: |
| 580 | ······················*·date_start·–·Date | 580 | ······················*·date_start·–·Date |
| Offset 582, 33 lines modified | Offset 582, 33 lines modified | ||
| 582 | ··············Returns: | 582 | ··············Returns: |
| 583 | ··················Date | 583 | ··················Date |
| 584 | ··············Examples: | 584 | ··············Examples: |
| 585 | ············>>>·Faker.seed(0) | 585 | ············>>>·Faker.seed(0) |
| 586 | ············>>>·for·_·in·range(5): | 586 | ············>>>·for·_·in·range(5): |
| 587 | ············...·····fake.date_between_dates() | 587 | ············...·····fake.date_between_dates() |
| 588 | ············... | 588 | ············... |
| 589 | ············datetime.date(202 | 589 | ············datetime.date(2025,·11,·4) |
| 590 | ············datetime.date(202 | 590 | ············datetime.date(2025,·11,·4) |
| 591 | ············datetime.date(202 | 591 | ············datetime.date(2025,·11,·4) |
| 592 | ············datetime.date(202 | 592 | ············datetime.date(2025,·11,·4) |
| 593 | ············datetime.date(202 | 593 | ············datetime.date(2025,·11,·4) |
| 594 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 594 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 595 | ············Get·a·date·object·between·January·1,·1970·and·now | 595 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 596 | ··············Example: | 596 | ··············Example: |
| 597 | ··················datetime.date(2016,·9,·20) | 597 | ··················datetime.date(2016,·9,·20) |
| 598 | ··············Examples: | 598 | ··············Examples: |
| 599 | ············>>>·Faker.seed(0) | 599 | ············>>>·Faker.seed(0) |
| 600 | ············>>>·for·_·in·range(5): | 600 | ············>>>·for·_·in·range(5): |
| 601 | ············...·····fake.date_object() | 601 | ············...·····fake.date_object() |
| 602 | ············... | 602 | ············... |
| 603 | ············datetime.date(2018,·1,·27) | ||
| 604 | ············datetime.date(201 | 603 | ············datetime.date(2017,·2,·26) |
| 604 | ············datetime.date(2012,·4,·29) | ||
| 605 | ············datetime.date(1993,· | 605 | ············datetime.date(1993,·6,·27) |
| 606 | ············datetime.date(1984,· | 606 | ············datetime.date(1984,·6,·17) |
| 607 | ············datetime.date(199 | 607 | ············datetime.date(1998,·7,·21) |
| 608 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 608 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 609 | ········maximum_age:·int·=·115)·→·date¶ | 609 | ········maximum_age:·int·=·115)·→·date¶ |
| 610 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 610 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 611 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 611 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 612 | ··············Parameters: | 612 | ··············Parameters: |
| 613 | ······················*·tzinfo·–·Defaults·to·None. | 613 | ······················*·tzinfo·–·Defaults·to·None. |
| 614 | ······················*·minimum_age·–·Defaults·to·0. | 614 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 618, 19 lines modified | Offset 618, 19 lines modified | ||
| 618 | ··············Returns: | 618 | ··············Returns: |
| 619 | ··················Date | 619 | ··················Date |
| 620 | ··············Examples: | 620 | ··············Examples: |
| 621 | ············>>>·Faker.seed(0) | 621 | ············>>>·Faker.seed(0) |
| 622 | ············>>>·for·_·in·range(5): | 622 | ············>>>·for·_·in·range(5): |
| 623 | ············...·····fake.date_of_birth() | 623 | ············...·····fake.date_of_birth() |
| 624 | ············... | 624 | ············... |
| 625 | ············datetime.date(200 | 625 | ············datetime.date(2007,·10,·18) |
| 626 | ············datetime.date(1997,·10,·6) | ||
| 627 | ············datetime.date(1958,·8,·18) | ||
| 626 | ············datetime.date(19 | 628 | ············datetime.date(1939,·11,·17) |
| 627 | ············datetime.date(19 | 629 | ············datetime.date(1969,·2,·24) |
| 628 | ············datetime.date(1940,·12,·18) | ||
| 629 | ············datetime.date(1970,·3,·28) | ||
| 630 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 630 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 631 | ········→·date¶ | 631 | ········→·date¶ |
| 632 | ············Gets·a·Date·object·for·the·current·century. | 632 | ············Gets·a·Date·object·for·the·current·century. |
| 633 | ··············Parameters: | 633 | ··············Parameters: |
| 634 | ······················*·before_today·–·include·days·in·current·century·before | 634 | ······················*·before_today·–·include·days·in·current·century·before |
| 635 | ························today | 635 | ························today |
| 636 | ······················*·after_today·–·include·days·in·current·century·after | 636 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 640, 19 lines modified | Offset 640, 19 lines modified | ||
| 640 | ··············Returns: | 640 | ··············Returns: |
| 641 | ··················Date | 641 | ··················Date |
| 642 | ··············Examples: | 642 | ··············Examples: |
| 643 | ············>>>·Faker.seed(0) | 643 | ············>>>·Faker.seed(0) |
| 644 | ············>>>·for·_·in·range(5): | 644 | ············>>>·for·_·in·range(5): |
| 645 | ············...·····fake.date_this_century() | 645 | ············...·····fake.date_this_century() |
| 646 | ············... | 646 | ············... |
| Max diff block lines reached; 24771/30685 bytes (80.73%) of diff not shown. | |||
| Offset 1053, 19 lines modified | Offset 1053, 19 lines modified | ||
| 1053 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1053 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1054 | <dd·class="field-odd"><p></p></dd> | 1054 | <dd·class="field-odd"><p></p></dd> |
| 1055 | </dl> | 1055 | </dl> |
| 1056 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1056 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1057 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1057 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1058 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1058 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 1059 | <span·class="gp">...</span> | 1059 | <span·class="gp">...</span> |
| 1060 | <span·class="go">'PM'</span> | ||
| 1061 | <span·class="go">'PM'</span> | ||
| 1062 | <span·class="go">'AM'</span> | 1060 | <span·class="go">'AM'</span> |
| 1063 | <span·class="go">'PM'</span> | 1061 | <span·class="go">'PM'</span> |
| 1064 | <span·class="go">'AM'</span> | 1062 | <span·class="go">'AM'</span> |
| 1063 | <span·class="go">'AM'</span> | ||
| 1064 | <span·class="go">'AM'</span> | ||
| 1065 | </pre></div> | 1065 | </pre></div> |
| 1066 | </div> | 1066 | </div> |
| 1067 | </dd></dl> | 1067 | </dd></dl> |
| 1068 | <dl·class="py·method"> | 1068 | <dl·class="py·method"> |
| 1069 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.de_DE.Provider.century"> | 1069 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.de_DE.Provider.century"> |
| 1070 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.de_DE.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 1070 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.de_DE.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1106, 19 lines modified | Offset 1106, 19 lines modified | ||
| 1106 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1106 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1107 | <dd·class="field-even"><p></p></dd> | 1107 | <dd·class="field-even"><p></p></dd> |
| 1108 | </dl> | 1108 | </dl> |
| 1109 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1109 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1110 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1110 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1111 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1111 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 1112 | <span·class="gp">...</span> | 1112 | <span·class="gp">...</span> |
| 1113 | <span·class="go">'2018-01-27'</span> | ||
| 1114 | <span·class="go">'201 | 1113 | <span·class="go">'2017-02-26'</span> |
| 1114 | <span·class="go">'2012-04-29'</span> | ||
| 1115 | <span·class="go">'1993- | 1115 | <span·class="go">'1993-06-27'</span> |
| 1116 | <span·class="go">'1984-0 | 1116 | <span·class="go">'1984-06-17'</span> |
| 1117 | <span·class="go">'199 | 1117 | <span·class="go">'1998-07-21'</span> |
| 1118 | </pre></div> | 1118 | </pre></div> |
| 1119 | </div> | 1119 | </div> |
| 1120 | </dd></dl> | 1120 | </dd></dl> |
| 1121 | <dl·class="py·method"> | 1121 | <dl·class="py·method"> |
| 1122 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.de_DE.Provider.date_between"> | 1122 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.de_DE.Provider.date_between"> |
| 1123 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.de_DE.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1123 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.de_DE.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1140, 19 lines modified | Offset 1140, 19 lines modified | ||
| 1140 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1140 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1141 | <dd·class="field-even"><p></p></dd> | 1141 | <dd·class="field-even"><p></p></dd> |
| 1142 | </dl> | 1142 | </dl> |
| 1143 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1143 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1144 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1144 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1145 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1145 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 1146 | <span·class="gp">...</span> | 1146 | <span·class="gp">...</span> |
| 1147 | <span·class="go">datetime.date(202 | 1147 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 1148 | <span·class="go">datetime.date(201 | 1148 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 1149 | <span·class="go">datetime.date(200 | 1149 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 1150 | <span·class="go">datetime.date(200 | 1150 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 1151 | <span·class="go">datetime.date(201 | 1151 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 1152 | </pre></div> | 1152 | </pre></div> |
| 1153 | </div> | 1153 | </div> |
| 1154 | </dd></dl> | 1154 | </dd></dl> |
| 1155 | <dl·class="py·method"> | 1155 | <dl·class="py·method"> |
| 1156 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.de_DE.Provider.date_between_dates"> | 1156 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.de_DE.Provider.date_between_dates"> |
| 1157 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.de_DE.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 1157 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.de_DE.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1171, 19 lines modified | Offset 1171, 19 lines modified | ||
| 1171 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1171 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1172 | <dd·class="field-odd"><p></p></dd> | 1172 | <dd·class="field-odd"><p></p></dd> |
| 1173 | </dl> | 1173 | </dl> |
| 1174 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1174 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1175 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1175 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1176 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 1176 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 1177 | <span·class="gp">...</span> | 1177 | <span·class="gp">...</span> |
| 1178 | <span·class="go">datetime.date(202 | 1178 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1179 | <span·class="go">datetime.date(202 | 1179 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1180 | <span·class="go">datetime.date(202 | 1180 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1181 | <span·class="go">datetime.date(202 | 1181 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1182 | <span·class="go">datetime.date(202 | 1182 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1183 | </pre></div> | 1183 | </pre></div> |
| 1184 | </div> | 1184 | </div> |
| 1185 | </dd></dl> | 1185 | </dd></dl> |
| 1186 | <dl·class="py·method"> | 1186 | <dl·class="py·method"> |
| 1187 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.de_DE.Provider.date_object"> | 1187 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.de_DE.Provider.date_object"> |
| 1188 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.de_DE.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 1188 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.de_DE.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1195, 19 lines modified | Offset 1195, 19 lines modified | ||
| 1195 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1195 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1196 | <dd·class="field-even"><p></p></dd> | 1196 | <dd·class="field-even"><p></p></dd> |
| 1197 | </dl> | 1197 | </dl> |
| 1198 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1198 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1199 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1199 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1200 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1200 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 1201 | <span·class="gp">...</span> | 1201 | <span·class="gp">...</span> |
| 1202 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 1203 | <span·class="go">datetime.date(201 | 1202 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 1203 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 1204 | <span·class="go">datetime.date(1993,· | 1204 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 1205 | <span·class="go">datetime.date(1984,· | 1205 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 1206 | <span·class="go">datetime.date(199 | 1206 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 1207 | </pre></div> | 1207 | </pre></div> |
| 1208 | </div> | 1208 | </div> |
| 1209 | </dd></dl> | 1209 | </dd></dl> |
| 1210 | <dl·class="py·method"> | 1210 | <dl·class="py·method"> |
| 1211 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.de_DE.Provider.date_of_birth"> | 1211 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.de_DE.Provider.date_of_birth"> |
| 1212 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.de_DE.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1212 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.de_DE.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1231, 19 lines modified | Offset 1231, 19 lines modified | ||
| 1231 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1231 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1232 | <dd·class="field-even"><p></p></dd> | 1232 | <dd·class="field-even"><p></p></dd> |
| 1233 | </dl> | 1233 | </dl> |
| 1234 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1234 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1235 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1235 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1236 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1236 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 1237 | <span·class="gp">...</span> | 1237 | <span·class="gp">...</span> |
| 1238 | <span·class="go">datetime.date(200 | 1238 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 1239 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 1240 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 1239 | <span·class="go">datetime.date(19 | 1241 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 1240 | <span·class="go">datetime.date(19 | 1242 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 1241 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 1242 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 1243 | </pre></div> | 1243 | </pre></div> |
| 1244 | </div> | 1244 | </div> |
| 1245 | </dd></dl> | 1245 | </dd></dl> |
| 1246 | <dl·class="py·method"> | 1246 | <dl·class="py·method"> |
| 1247 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.de_DE.Provider.date_this_century"> | 1247 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.de_DE.Provider.date_this_century"> |
| 1248 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.de_DE.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 1248 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.de_DE.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1264, 19 lines modified | Offset 1264, 19 lines modified | ||
| 1264 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1264 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 98145/120384 bytes (81.53%) of diff not shown. | |||
| Offset 595, 19 lines modified | Offset 595, 19 lines modified | ||
| 595 | ······Bases:·Provider | 595 | ······Bases:·Provider |
| 596 | ········am_pm()·→·str¶ | 596 | ········am_pm()·→·str¶ |
| 597 | ··············Examples: | 597 | ··············Examples: |
| 598 | ············>>>·Faker.seed(0) | 598 | ············>>>·Faker.seed(0) |
| 599 | ············>>>·for·_·in·range(5): | 599 | ············>>>·for·_·in·range(5): |
| 600 | ············...·····fake.am_pm() | 600 | ············...·····fake.am_pm() |
| 601 | ············... | 601 | ············... |
| 602 | ············'PM' | ||
| 603 | ············'PM' | ||
| 604 | ············'AM' | 602 | ············'AM' |
| 605 | ············'PM' | 603 | ············'PM' |
| 606 | ············'AM' | 604 | ············'AM' |
| 605 | ············'AM' | ||
| 606 | ············'AM' | ||
| 607 | ········century()·→·str¶ | 607 | ········century()·→·str¶ |
| 608 | ··············Example: | 608 | ··············Example: |
| 609 | ··················‘XVII’ | 609 | ··················‘XVII’ |
| 610 | ··············Examples: | 610 | ··············Examples: |
| 611 | ············>>>·Faker.seed(0) | 611 | ············>>>·Faker.seed(0) |
| 612 | ············>>>·for·_·in·range(5): | 612 | ············>>>·for·_·in·range(5): |
| 613 | ············...·····fake.century() | 613 | ············...·····fake.century() |
| Offset 627, 19 lines modified | Offset 627, 19 lines modified | ||
| 627 | ··············Returns: | 627 | ··············Returns: |
| 628 | ··················Date | 628 | ··················Date |
| 629 | ··············Examples: | 629 | ··············Examples: |
| 630 | ············>>>·Faker.seed(0) | 630 | ············>>>·Faker.seed(0) |
| 631 | ············>>>·for·_·in·range(5): | 631 | ············>>>·for·_·in·range(5): |
| 632 | ············...·····fake.date() | 632 | ············...·····fake.date() |
| 633 | ············... | 633 | ············... |
| 634 | ············'2018-01-27' | ||
| 635 | ············'201 | 634 | ············'2017-02-26' |
| 635 | ············'2012-04-29' | ||
| 636 | ············'1993- | 636 | ············'1993-06-27' |
| 637 | ············'1984-0 | 637 | ············'1984-06-17' |
| 638 | ············'199 | 638 | ············'1998-07-21' |
| 639 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 639 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 640 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 640 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 641 | ········date¶ | 641 | ········date¶ |
| 642 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 642 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 643 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 643 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 644 | ··············Parameters: | 644 | ··············Parameters: |
| 645 | ······················*·start_date·–·Defaults·to·30·years·ago | 645 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 649, 19 lines modified | Offset 649, 19 lines modified | ||
| 649 | ··············Returns: | 649 | ··············Returns: |
| 650 | ··················Date | 650 | ··················Date |
| 651 | ··············Examples: | 651 | ··············Examples: |
| 652 | ············>>>·Faker.seed(0) | 652 | ············>>>·Faker.seed(0) |
| 653 | ············>>>·for·_·in·range(5): | 653 | ············>>>·for·_·in·range(5): |
| 654 | ············...·····fake.date_between() | 654 | ············...·····fake.date_between() |
| 655 | ············... | 655 | ············... |
| 656 | ············datetime.date(202 | 656 | ············datetime.date(2021,·3,·5) |
| 657 | ············datetime.date(201 | 657 | ············datetime.date(2018,·7,·31) |
| 658 | ············datetime.date(200 | 658 | ············datetime.date(2008,·6,·16) |
| 659 | ············datetime.date(200 | 659 | ············datetime.date(2003,·8,·11) |
| 660 | ············datetime.date(201 | 660 | ············datetime.date(2011,·3,·7) |
| 661 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 661 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 662 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 662 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 663 | ········=·None)·→·date¶ | 663 | ········=·None)·→·date¶ |
| 664 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 664 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 665 | ············given·dates.·Accepts·Date·or·datetime·objects | 665 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 666 | ··············Parameters: | 666 | ··············Parameters: |
| 667 | ······················*·date_start·–·Date | 667 | ······················*·date_start·–·Date |
| Offset 669, 33 lines modified | Offset 669, 33 lines modified | ||
| 669 | ··············Returns: | 669 | ··············Returns: |
| 670 | ··················Date | 670 | ··················Date |
| 671 | ··············Examples: | 671 | ··············Examples: |
| 672 | ············>>>·Faker.seed(0) | 672 | ············>>>·Faker.seed(0) |
| 673 | ············>>>·for·_·in·range(5): | 673 | ············>>>·for·_·in·range(5): |
| 674 | ············...·····fake.date_between_dates() | 674 | ············...·····fake.date_between_dates() |
| 675 | ············... | 675 | ············... |
| 676 | ············datetime.date(202 | 676 | ············datetime.date(2025,·11,·4) |
| 677 | ············datetime.date(202 | 677 | ············datetime.date(2025,·11,·4) |
| 678 | ············datetime.date(202 | 678 | ············datetime.date(2025,·11,·4) |
| 679 | ············datetime.date(202 | 679 | ············datetime.date(2025,·11,·4) |
| 680 | ············datetime.date(202 | 680 | ············datetime.date(2025,·11,·4) |
| 681 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 681 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 682 | ············Get·a·date·object·between·January·1,·1970·and·now | 682 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 683 | ··············Example: | 683 | ··············Example: |
| 684 | ··················datetime.date(2016,·9,·20) | 684 | ··················datetime.date(2016,·9,·20) |
| 685 | ··············Examples: | 685 | ··············Examples: |
| 686 | ············>>>·Faker.seed(0) | 686 | ············>>>·Faker.seed(0) |
| 687 | ············>>>·for·_·in·range(5): | 687 | ············>>>·for·_·in·range(5): |
| 688 | ············...·····fake.date_object() | 688 | ············...·····fake.date_object() |
| 689 | ············... | 689 | ············... |
| 690 | ············datetime.date(2018,·1,·27) | ||
| 691 | ············datetime.date(201 | 690 | ············datetime.date(2017,·2,·26) |
| 691 | ············datetime.date(2012,·4,·29) | ||
| 692 | ············datetime.date(1993,· | 692 | ············datetime.date(1993,·6,·27) |
| 693 | ············datetime.date(1984,· | 693 | ············datetime.date(1984,·6,·17) |
| 694 | ············datetime.date(199 | 694 | ············datetime.date(1998,·7,·21) |
| 695 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 695 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 696 | ········maximum_age:·int·=·115)·→·date¶ | 696 | ········maximum_age:·int·=·115)·→·date¶ |
| 697 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 697 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 698 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 698 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 699 | ··············Parameters: | 699 | ··············Parameters: |
| 700 | ······················*·tzinfo·–·Defaults·to·None. | 700 | ······················*·tzinfo·–·Defaults·to·None. |
| 701 | ······················*·minimum_age·–·Defaults·to·0. | 701 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 705, 19 lines modified | Offset 705, 19 lines modified | ||
| 705 | ··············Returns: | 705 | ··············Returns: |
| 706 | ··················Date | 706 | ··················Date |
| 707 | ··············Examples: | 707 | ··············Examples: |
| 708 | ············>>>·Faker.seed(0) | 708 | ············>>>·Faker.seed(0) |
| 709 | ············>>>·for·_·in·range(5): | 709 | ············>>>·for·_·in·range(5): |
| 710 | ············...·····fake.date_of_birth() | 710 | ············...·····fake.date_of_birth() |
| 711 | ············... | 711 | ············... |
| 712 | ············datetime.date(200 | 712 | ············datetime.date(2007,·10,·18) |
| 713 | ············datetime.date(1997,·10,·6) | ||
| 714 | ············datetime.date(1958,·8,·18) | ||
| 713 | ············datetime.date(19 | 715 | ············datetime.date(1939,·11,·17) |
| 714 | ············datetime.date(19 | 716 | ············datetime.date(1969,·2,·24) |
| 715 | ············datetime.date(1940,·12,·18) | ||
| 716 | ············datetime.date(1970,·3,·28) | ||
| 717 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 717 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 718 | ········→·date¶ | 718 | ········→·date¶ |
| 719 | ············Gets·a·Date·object·for·the·current·century. | 719 | ············Gets·a·Date·object·for·the·current·century. |
| 720 | ··············Parameters: | 720 | ··············Parameters: |
| 721 | ······················*·before_today·–·include·days·in·current·century·before | 721 | ······················*·before_today·–·include·days·in·current·century·before |
| 722 | ························today | 722 | ························today |
| 723 | ······················*·after_today·–·include·days·in·current·century·after | 723 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 727, 19 lines modified | Offset 727, 19 lines modified | ||
| 727 | ··············Returns: | 727 | ··············Returns: |
| 728 | ··················Date | 728 | ··················Date |
| 729 | ··············Examples: | 729 | ··············Examples: |
| 730 | ············>>>·Faker.seed(0) | 730 | ············>>>·Faker.seed(0) |
| 731 | ············>>>·for·_·in·range(5): | 731 | ············>>>·for·_·in·range(5): |
| 732 | ············...·····fake.date_this_century() | 732 | ············...·····fake.date_this_century() |
| 733 | ············... | 733 | ············... |
| Max diff block lines reached; 24716/30630 bytes (80.69%) of diff not shown. | |||
| Offset 1385, 19 lines modified | Offset 1385, 19 lines modified | ||
| 1385 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1385 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1386 | <dd·class="field-odd"><p></p></dd> | 1386 | <dd·class="field-odd"><p></p></dd> |
| 1387 | </dl> | 1387 | </dl> |
| 1388 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1388 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1389 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1389 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1390 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1390 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 1391 | <span·class="gp">...</span> | 1391 | <span·class="gp">...</span> |
| 1392 | <span·class="go">'PM'</span> | ||
| 1393 | <span·class="go">'PM'</span> | ||
| 1394 | <span·class="go">'AM'</span> | 1392 | <span·class="go">'AM'</span> |
| 1395 | <span·class="go">'PM'</span> | 1393 | <span·class="go">'PM'</span> |
| 1396 | <span·class="go">'AM'</span> | 1394 | <span·class="go">'AM'</span> |
| 1395 | <span·class="go">'AM'</span> | ||
| 1396 | <span·class="go">'AM'</span> | ||
| 1397 | </pre></div> | 1397 | </pre></div> |
| 1398 | </div> | 1398 | </div> |
| 1399 | </dd></dl> | 1399 | </dd></dl> |
| 1400 | <dl·class="py·method"> | 1400 | <dl·class="py·method"> |
| 1401 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.el_GR.Provider.century"> | 1401 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.el_GR.Provider.century"> |
| 1402 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.el_GR.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 1402 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.el_GR.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1438, 19 lines modified | Offset 1438, 19 lines modified | ||
| 1438 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1438 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1439 | <dd·class="field-even"><p></p></dd> | 1439 | <dd·class="field-even"><p></p></dd> |
| 1440 | </dl> | 1440 | </dl> |
| 1441 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1441 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1442 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1442 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1443 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1443 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 1444 | <span·class="gp">...</span> | 1444 | <span·class="gp">...</span> |
| 1445 | <span·class="go">'2018-01-27'</span> | ||
| 1446 | <span·class="go">'201 | 1445 | <span·class="go">'2017-02-26'</span> |
| 1446 | <span·class="go">'2012-04-29'</span> | ||
| 1447 | <span·class="go">'1993- | 1447 | <span·class="go">'1993-06-27'</span> |
| 1448 | <span·class="go">'1984-0 | 1448 | <span·class="go">'1984-06-17'</span> |
| 1449 | <span·class="go">'199 | 1449 | <span·class="go">'1998-07-21'</span> |
| 1450 | </pre></div> | 1450 | </pre></div> |
| 1451 | </div> | 1451 | </div> |
| 1452 | </dd></dl> | 1452 | </dd></dl> |
| 1453 | <dl·class="py·method"> | 1453 | <dl·class="py·method"> |
| 1454 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.el_GR.Provider.date_between"> | 1454 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.el_GR.Provider.date_between"> |
| 1455 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.el_GR.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1455 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.el_GR.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1472, 19 lines modified | Offset 1472, 19 lines modified | ||
| 1472 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1472 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1473 | <dd·class="field-even"><p></p></dd> | 1473 | <dd·class="field-even"><p></p></dd> |
| 1474 | </dl> | 1474 | </dl> |
| 1475 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1475 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1476 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1476 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1477 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1477 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 1478 | <span·class="gp">...</span> | 1478 | <span·class="gp">...</span> |
| 1479 | <span·class="go">datetime.date(202 | 1479 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 1480 | <span·class="go">datetime.date(201 | 1480 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 1481 | <span·class="go">datetime.date(200 | 1481 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 1482 | <span·class="go">datetime.date(200 | 1482 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 1483 | <span·class="go">datetime.date(201 | 1483 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 1484 | </pre></div> | 1484 | </pre></div> |
| 1485 | </div> | 1485 | </div> |
| 1486 | </dd></dl> | 1486 | </dd></dl> |
| 1487 | <dl·class="py·method"> | 1487 | <dl·class="py·method"> |
| 1488 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.el_GR.Provider.date_between_dates"> | 1488 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.el_GR.Provider.date_between_dates"> |
| 1489 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.el_GR.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 1489 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.el_GR.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1503, 19 lines modified | Offset 1503, 19 lines modified | ||
| 1503 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1503 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1504 | <dd·class="field-odd"><p></p></dd> | 1504 | <dd·class="field-odd"><p></p></dd> |
| 1505 | </dl> | 1505 | </dl> |
| 1506 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1506 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1507 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1507 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1508 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 1508 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 1509 | <span·class="gp">...</span> | 1509 | <span·class="gp">...</span> |
| 1510 | <span·class="go">datetime.date(202 | 1510 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1511 | <span·class="go">datetime.date(202 | 1511 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1512 | <span·class="go">datetime.date(202 | 1512 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1513 | <span·class="go">datetime.date(202 | 1513 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1514 | <span·class="go">datetime.date(202 | 1514 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1515 | </pre></div> | 1515 | </pre></div> |
| 1516 | </div> | 1516 | </div> |
| 1517 | </dd></dl> | 1517 | </dd></dl> |
| 1518 | <dl·class="py·method"> | 1518 | <dl·class="py·method"> |
| 1519 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.el_GR.Provider.date_object"> | 1519 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.el_GR.Provider.date_object"> |
| 1520 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.el_GR.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 1520 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.el_GR.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1527, 19 lines modified | Offset 1527, 19 lines modified | ||
| 1527 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1527 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1528 | <dd·class="field-even"><p></p></dd> | 1528 | <dd·class="field-even"><p></p></dd> |
| 1529 | </dl> | 1529 | </dl> |
| 1530 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1530 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1531 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1531 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1532 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1532 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 1533 | <span·class="gp">...</span> | 1533 | <span·class="gp">...</span> |
| 1534 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 1535 | <span·class="go">datetime.date(201 | 1534 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 1535 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 1536 | <span·class="go">datetime.date(1993,· | 1536 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 1537 | <span·class="go">datetime.date(1984,· | 1537 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 1538 | <span·class="go">datetime.date(199 | 1538 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 1539 | </pre></div> | 1539 | </pre></div> |
| 1540 | </div> | 1540 | </div> |
| 1541 | </dd></dl> | 1541 | </dd></dl> |
| 1542 | <dl·class="py·method"> | 1542 | <dl·class="py·method"> |
| 1543 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.el_GR.Provider.date_of_birth"> | 1543 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.el_GR.Provider.date_of_birth"> |
| 1544 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.el_GR.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1544 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.el_GR.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1563, 19 lines modified | Offset 1563, 19 lines modified | ||
| 1563 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1563 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1564 | <dd·class="field-even"><p></p></dd> | 1564 | <dd·class="field-even"><p></p></dd> |
| 1565 | </dl> | 1565 | </dl> |
| 1566 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1566 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1567 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1567 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1568 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1568 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 1569 | <span·class="gp">...</span> | 1569 | <span·class="gp">...</span> |
| 1570 | <span·class="go">datetime.date(200 | 1570 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 1571 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 1572 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 1571 | <span·class="go">datetime.date(19 | 1573 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 1572 | <span·class="go">datetime.date(19 | 1574 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 1573 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 1574 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 1575 | </pre></div> | 1575 | </pre></div> |
| 1576 | </div> | 1576 | </div> |
| 1577 | </dd></dl> | 1577 | </dd></dl> |
| 1578 | <dl·class="py·method"> | 1578 | <dl·class="py·method"> |
| 1579 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.el_GR.Provider.date_this_century"> | 1579 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.el_GR.Provider.date_this_century"> |
| 1580 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.el_GR.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 1580 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.el_GR.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1596, 19 lines modified | Offset 1596, 19 lines modified | ||
| 1596 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1596 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 103627/125866 bytes (82.33%) of diff not shown. | |||
| Offset 811, 19 lines modified | Offset 811, 19 lines modified | ||
| 811 | ······Bases:·Provider | 811 | ······Bases:·Provider |
| 812 | ········am_pm()·→·str¶ | 812 | ········am_pm()·→·str¶ |
| 813 | ··············Examples: | 813 | ··············Examples: |
| 814 | ············>>>·Faker.seed(0) | 814 | ············>>>·Faker.seed(0) |
| 815 | ············>>>·for·_·in·range(5): | 815 | ············>>>·for·_·in·range(5): |
| 816 | ············...·····fake.am_pm() | 816 | ············...·····fake.am_pm() |
| 817 | ············... | 817 | ············... |
| 818 | ············'PM' | ||
| 819 | ············'PM' | ||
| 820 | ············'AM' | 818 | ············'AM' |
| 821 | ············'PM' | 819 | ············'PM' |
| 822 | ············'AM' | 820 | ············'AM' |
| 821 | ············'AM' | ||
| 822 | ············'AM' | ||
| 823 | ········century()·→·str¶ | 823 | ········century()·→·str¶ |
| 824 | ··············Example: | 824 | ··············Example: |
| 825 | ··················‘XVII’ | 825 | ··················‘XVII’ |
| 826 | ··············Examples: | 826 | ··············Examples: |
| 827 | ············>>>·Faker.seed(0) | 827 | ············>>>·Faker.seed(0) |
| 828 | ············>>>·for·_·in·range(5): | 828 | ············>>>·for·_·in·range(5): |
| 829 | ············...·····fake.century() | 829 | ············...·····fake.century() |
| Offset 843, 19 lines modified | Offset 843, 19 lines modified | ||
| 843 | ··············Returns: | 843 | ··············Returns: |
| 844 | ··················Date | 844 | ··················Date |
| 845 | ··············Examples: | 845 | ··············Examples: |
| 846 | ············>>>·Faker.seed(0) | 846 | ············>>>·Faker.seed(0) |
| 847 | ············>>>·for·_·in·range(5): | 847 | ············>>>·for·_·in·range(5): |
| 848 | ············...·····fake.date() | 848 | ············...·····fake.date() |
| 849 | ············... | 849 | ············... |
| 850 | ············'2018-01-27' | ||
| 851 | ············'201 | 850 | ············'2017-02-26' |
| 851 | ············'2012-04-29' | ||
| 852 | ············'1993- | 852 | ············'1993-06-27' |
| 853 | ············'1984-0 | 853 | ············'1984-06-17' |
| 854 | ············'199 | 854 | ············'1998-07-21' |
| 855 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 855 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 856 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 856 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 857 | ········date¶ | 857 | ········date¶ |
| 858 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 858 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 859 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 859 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 860 | ··············Parameters: | 860 | ··············Parameters: |
| 861 | ······················*·start_date·–·Defaults·to·30·years·ago | 861 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 865, 19 lines modified | Offset 865, 19 lines modified | ||
| 865 | ··············Returns: | 865 | ··············Returns: |
| 866 | ··················Date | 866 | ··················Date |
| 867 | ··············Examples: | 867 | ··············Examples: |
| 868 | ············>>>·Faker.seed(0) | 868 | ············>>>·Faker.seed(0) |
| 869 | ············>>>·for·_·in·range(5): | 869 | ············>>>·for·_·in·range(5): |
| 870 | ············...·····fake.date_between() | 870 | ············...·····fake.date_between() |
| 871 | ············... | 871 | ············... |
| 872 | ············datetime.date(202 | 872 | ············datetime.date(2021,·3,·5) |
| 873 | ············datetime.date(201 | 873 | ············datetime.date(2018,·7,·31) |
| 874 | ············datetime.date(200 | 874 | ············datetime.date(2008,·6,·16) |
| 875 | ············datetime.date(200 | 875 | ············datetime.date(2003,·8,·11) |
| 876 | ············datetime.date(201 | 876 | ············datetime.date(2011,·3,·7) |
| 877 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 877 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 878 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 878 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 879 | ········=·None)·→·date¶ | 879 | ········=·None)·→·date¶ |
| 880 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 880 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 881 | ············given·dates.·Accepts·Date·or·datetime·objects | 881 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 882 | ··············Parameters: | 882 | ··············Parameters: |
| 883 | ······················*·date_start·–·Date | 883 | ······················*·date_start·–·Date |
| Offset 885, 33 lines modified | Offset 885, 33 lines modified | ||
| 885 | ··············Returns: | 885 | ··············Returns: |
| 886 | ··················Date | 886 | ··················Date |
| 887 | ··············Examples: | 887 | ··············Examples: |
| 888 | ············>>>·Faker.seed(0) | 888 | ············>>>·Faker.seed(0) |
| 889 | ············>>>·for·_·in·range(5): | 889 | ············>>>·for·_·in·range(5): |
| 890 | ············...·····fake.date_between_dates() | 890 | ············...·····fake.date_between_dates() |
| 891 | ············... | 891 | ············... |
| 892 | ············datetime.date(202 | 892 | ············datetime.date(2025,·11,·4) |
| 893 | ············datetime.date(202 | 893 | ············datetime.date(2025,·11,·4) |
| 894 | ············datetime.date(202 | 894 | ············datetime.date(2025,·11,·4) |
| 895 | ············datetime.date(202 | 895 | ············datetime.date(2025,·11,·4) |
| 896 | ············datetime.date(202 | 896 | ············datetime.date(2025,·11,·4) |
| 897 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 897 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 898 | ············Get·a·date·object·between·January·1,·1970·and·now | 898 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 899 | ··············Example: | 899 | ··············Example: |
| 900 | ··················datetime.date(2016,·9,·20) | 900 | ··················datetime.date(2016,·9,·20) |
| 901 | ··············Examples: | 901 | ··············Examples: |
| 902 | ············>>>·Faker.seed(0) | 902 | ············>>>·Faker.seed(0) |
| 903 | ············>>>·for·_·in·range(5): | 903 | ············>>>·for·_·in·range(5): |
| 904 | ············...·····fake.date_object() | 904 | ············...·····fake.date_object() |
| 905 | ············... | 905 | ············... |
| 906 | ············datetime.date(2018,·1,·27) | ||
| 907 | ············datetime.date(201 | 906 | ············datetime.date(2017,·2,·26) |
| 907 | ············datetime.date(2012,·4,·29) | ||
| 908 | ············datetime.date(1993,· | 908 | ············datetime.date(1993,·6,·27) |
| 909 | ············datetime.date(1984,· | 909 | ············datetime.date(1984,·6,·17) |
| 910 | ············datetime.date(199 | 910 | ············datetime.date(1998,·7,·21) |
| 911 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 911 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 912 | ········maximum_age:·int·=·115)·→·date¶ | 912 | ········maximum_age:·int·=·115)·→·date¶ |
| 913 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 913 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 914 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 914 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 915 | ··············Parameters: | 915 | ··············Parameters: |
| 916 | ······················*·tzinfo·–·Defaults·to·None. | 916 | ······················*·tzinfo·–·Defaults·to·None. |
| 917 | ······················*·minimum_age·–·Defaults·to·0. | 917 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 921, 19 lines modified | Offset 921, 19 lines modified | ||
| 921 | ··············Returns: | 921 | ··············Returns: |
| 922 | ··················Date | 922 | ··················Date |
| 923 | ··············Examples: | 923 | ··············Examples: |
| 924 | ············>>>·Faker.seed(0) | 924 | ············>>>·Faker.seed(0) |
| 925 | ············>>>·for·_·in·range(5): | 925 | ············>>>·for·_·in·range(5): |
| 926 | ············...·····fake.date_of_birth() | 926 | ············...·····fake.date_of_birth() |
| 927 | ············... | 927 | ············... |
| 928 | ············datetime.date(200 | 928 | ············datetime.date(2007,·10,·18) |
| 929 | ············datetime.date(1997,·10,·6) | ||
| 930 | ············datetime.date(1958,·8,·18) | ||
| 929 | ············datetime.date(19 | 931 | ············datetime.date(1939,·11,·17) |
| 930 | ············datetime.date(19 | 932 | ············datetime.date(1969,·2,·24) |
| 931 | ············datetime.date(1940,·12,·18) | ||
| 932 | ············datetime.date(1970,·3,·28) | ||
| 933 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 933 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 934 | ········→·date¶ | 934 | ········→·date¶ |
| 935 | ············Gets·a·Date·object·for·the·current·century. | 935 | ············Gets·a·Date·object·for·the·current·century. |
| 936 | ··············Parameters: | 936 | ··············Parameters: |
| 937 | ······················*·before_today·–·include·days·in·current·century·before | 937 | ······················*·before_today·–·include·days·in·current·century·before |
| 938 | ························today | 938 | ························today |
| 939 | ······················*·after_today·–·include·days·in·current·century·after | 939 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 943, 19 lines modified | Offset 943, 19 lines modified | ||
| 943 | ··············Returns: | 943 | ··············Returns: |
| 944 | ··················Date | 944 | ··················Date |
| 945 | ··············Examples: | 945 | ··············Examples: |
| 946 | ············>>>·Faker.seed(0) | 946 | ············>>>·Faker.seed(0) |
| 947 | ············>>>·for·_·in·range(5): | 947 | ············>>>·for·_·in·range(5): |
| 948 | ············...·····fake.date_this_century() | 948 | ············...·····fake.date_this_century() |
| 949 | ············... | 949 | ············... |
| Max diff block lines reached; 26704/32618 bytes (81.87%) of diff not shown. | |||
| Offset 1594, 19 lines modified | Offset 1594, 19 lines modified | ||
| 1594 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1594 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1595 | <dd·class="field-odd"><p></p></dd> | 1595 | <dd·class="field-odd"><p></p></dd> |
| 1596 | </dl> | 1596 | </dl> |
| 1597 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1597 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1598 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1598 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1599 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1599 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 1600 | <span·class="gp">...</span> | 1600 | <span·class="gp">...</span> |
| 1601 | <span·class="go">'PM'</span> | ||
| 1602 | <span·class="go">'PM'</span> | ||
| 1603 | <span·class="go">'AM'</span> | 1601 | <span·class="go">'AM'</span> |
| 1604 | <span·class="go">'PM'</span> | 1602 | <span·class="go">'PM'</span> |
| 1605 | <span·class="go">'AM'</span> | 1603 | <span·class="go">'AM'</span> |
| 1604 | <span·class="go">'AM'</span> | ||
| 1605 | <span·class="go">'AM'</span> | ||
| 1606 | </pre></div> | 1606 | </pre></div> |
| 1607 | </div> | 1607 | </div> |
| 1608 | </dd></dl> | 1608 | </dd></dl> |
| 1609 | <dl·class="py·method"> | 1609 | <dl·class="py·method"> |
| 1610 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.en_PH.Provider.century"> | 1610 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.en_PH.Provider.century"> |
| 1611 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.en_PH.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 1611 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.en_PH.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1647, 19 lines modified | Offset 1647, 19 lines modified | ||
| 1647 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1647 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1648 | <dd·class="field-even"><p></p></dd> | 1648 | <dd·class="field-even"><p></p></dd> |
| 1649 | </dl> | 1649 | </dl> |
| 1650 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1650 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1651 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1651 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1652 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1652 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 1653 | <span·class="gp">...</span> | 1653 | <span·class="gp">...</span> |
| 1654 | <span·class="go">'2018-01-27'</span> | ||
| 1655 | <span·class="go">'201 | 1654 | <span·class="go">'2017-02-26'</span> |
| 1655 | <span·class="go">'2012-04-29'</span> | ||
| 1656 | <span·class="go">'1993- | 1656 | <span·class="go">'1993-06-27'</span> |
| 1657 | <span·class="go">'1984-0 | 1657 | <span·class="go">'1984-06-17'</span> |
| 1658 | <span·class="go">'199 | 1658 | <span·class="go">'1998-07-21'</span> |
| 1659 | </pre></div> | 1659 | </pre></div> |
| 1660 | </div> | 1660 | </div> |
| 1661 | </dd></dl> | 1661 | </dd></dl> |
| 1662 | <dl·class="py·method"> | 1662 | <dl·class="py·method"> |
| 1663 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.en_PH.Provider.date_between"> | 1663 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.en_PH.Provider.date_between"> |
| 1664 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.en_PH.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1664 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.en_PH.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1681, 19 lines modified | Offset 1681, 19 lines modified | ||
| 1681 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1681 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1682 | <dd·class="field-even"><p></p></dd> | 1682 | <dd·class="field-even"><p></p></dd> |
| 1683 | </dl> | 1683 | </dl> |
| 1684 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1684 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1685 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1685 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1686 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1686 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 1687 | <span·class="gp">...</span> | 1687 | <span·class="gp">...</span> |
| 1688 | <span·class="go">datetime.date(202 | 1688 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 1689 | <span·class="go">datetime.date(201 | 1689 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 1690 | <span·class="go">datetime.date(200 | 1690 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 1691 | <span·class="go">datetime.date(200 | 1691 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 1692 | <span·class="go">datetime.date(201 | 1692 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 1693 | </pre></div> | 1693 | </pre></div> |
| 1694 | </div> | 1694 | </div> |
| 1695 | </dd></dl> | 1695 | </dd></dl> |
| 1696 | <dl·class="py·method"> | 1696 | <dl·class="py·method"> |
| 1697 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.en_PH.Provider.date_between_dates"> | 1697 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.en_PH.Provider.date_between_dates"> |
| 1698 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.en_PH.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 1698 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.en_PH.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1712, 19 lines modified | Offset 1712, 19 lines modified | ||
| 1712 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1712 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1713 | <dd·class="field-odd"><p></p></dd> | 1713 | <dd·class="field-odd"><p></p></dd> |
| 1714 | </dl> | 1714 | </dl> |
| 1715 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1715 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1716 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1716 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1717 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 1717 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 1718 | <span·class="gp">...</span> | 1718 | <span·class="gp">...</span> |
| 1719 | <span·class="go">datetime.date(202 | 1719 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1720 | <span·class="go">datetime.date(202 | 1720 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1721 | <span·class="go">datetime.date(202 | 1721 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1722 | <span·class="go">datetime.date(202 | 1722 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1723 | <span·class="go">datetime.date(202 | 1723 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1724 | </pre></div> | 1724 | </pre></div> |
| 1725 | </div> | 1725 | </div> |
| 1726 | </dd></dl> | 1726 | </dd></dl> |
| 1727 | <dl·class="py·method"> | 1727 | <dl·class="py·method"> |
| 1728 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.en_PH.Provider.date_object"> | 1728 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.en_PH.Provider.date_object"> |
| 1729 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.en_PH.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 1729 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.en_PH.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1736, 19 lines modified | Offset 1736, 19 lines modified | ||
| 1736 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1736 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1737 | <dd·class="field-even"><p></p></dd> | 1737 | <dd·class="field-even"><p></p></dd> |
| 1738 | </dl> | 1738 | </dl> |
| 1739 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1739 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1740 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1740 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1741 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1741 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 1742 | <span·class="gp">...</span> | 1742 | <span·class="gp">...</span> |
| 1743 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 1744 | <span·class="go">datetime.date(201 | 1743 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 1744 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 1745 | <span·class="go">datetime.date(1993,· | 1745 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 1746 | <span·class="go">datetime.date(1984,· | 1746 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 1747 | <span·class="go">datetime.date(199 | 1747 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 1748 | </pre></div> | 1748 | </pre></div> |
| 1749 | </div> | 1749 | </div> |
| 1750 | </dd></dl> | 1750 | </dd></dl> |
| 1751 | <dl·class="py·method"> | 1751 | <dl·class="py·method"> |
| 1752 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.en_PH.Provider.date_of_birth"> | 1752 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.en_PH.Provider.date_of_birth"> |
| 1753 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.en_PH.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1753 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.en_PH.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1772, 19 lines modified | Offset 1772, 19 lines modified | ||
| 1772 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1772 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1773 | <dd·class="field-even"><p></p></dd> | 1773 | <dd·class="field-even"><p></p></dd> |
| 1774 | </dl> | 1774 | </dl> |
| 1775 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1775 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1776 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1776 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1777 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1777 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 1778 | <span·class="gp">...</span> | 1778 | <span·class="gp">...</span> |
| 1779 | <span·class="go">datetime.date(200 | 1779 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 1780 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 1781 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 1780 | <span·class="go">datetime.date(19 | 1782 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 1781 | <span·class="go">datetime.date(19 | 1783 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 1782 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 1783 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 1784 | </pre></div> | 1784 | </pre></div> |
| 1785 | </div> | 1785 | </div> |
| 1786 | </dd></dl> | 1786 | </dd></dl> |
| 1787 | <dl·class="py·method"> | 1787 | <dl·class="py·method"> |
| 1788 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.en_PH.Provider.date_this_century"> | 1788 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.en_PH.Provider.date_this_century"> |
| 1789 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.en_PH.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 1789 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.en_PH.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1805, 19 lines modified | Offset 1805, 19 lines modified | ||
| 1805 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1805 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 301509/323748 bytes (93.13%) of diff not shown. | |||
| Offset 958, 19 lines modified | Offset 958, 19 lines modified | ||
| 958 | ······No·difference·from·default·DateTimeProvider | 958 | ······No·difference·from·default·DateTimeProvider |
| 959 | ········am_pm()·→·str¶ | 959 | ········am_pm()·→·str¶ |
| 960 | ··············Examples: | 960 | ··············Examples: |
| 961 | ············>>>·Faker.seed(0) | 961 | ············>>>·Faker.seed(0) |
| 962 | ············>>>·for·_·in·range(5): | 962 | ············>>>·for·_·in·range(5): |
| 963 | ············...·····fake.am_pm() | 963 | ············...·····fake.am_pm() |
| 964 | ············... | 964 | ············... |
| 965 | ············'PM' | ||
| 966 | ············'PM' | ||
| 967 | ············'AM' | 965 | ············'AM' |
| 968 | ············'PM' | 966 | ············'PM' |
| 969 | ············'AM' | 967 | ············'AM' |
| 968 | ············'AM' | ||
| 969 | ············'AM' | ||
| 970 | ········century()·→·str¶ | 970 | ········century()·→·str¶ |
| 971 | ··············Example: | 971 | ··············Example: |
| 972 | ··················‘XVII’ | 972 | ··················‘XVII’ |
| 973 | ··············Examples: | 973 | ··············Examples: |
| 974 | ············>>>·Faker.seed(0) | 974 | ············>>>·Faker.seed(0) |
| 975 | ············>>>·for·_·in·range(5): | 975 | ············>>>·for·_·in·range(5): |
| 976 | ············...·····fake.century() | 976 | ············...·····fake.century() |
| Offset 990, 19 lines modified | Offset 990, 19 lines modified | ||
| 990 | ··············Returns: | 990 | ··············Returns: |
| 991 | ··················Date | 991 | ··················Date |
| 992 | ··············Examples: | 992 | ··············Examples: |
| 993 | ············>>>·Faker.seed(0) | 993 | ············>>>·Faker.seed(0) |
| 994 | ············>>>·for·_·in·range(5): | 994 | ············>>>·for·_·in·range(5): |
| 995 | ············...·····fake.date() | 995 | ············...·····fake.date() |
| 996 | ············... | 996 | ············... |
| 997 | ············'2018-01-27' | ||
| 998 | ············'201 | 997 | ············'2017-02-26' |
| 998 | ············'2012-04-29' | ||
| 999 | ············'1993- | 999 | ············'1993-06-27' |
| 1000 | ············'1984-0 | 1000 | ············'1984-06-17' |
| 1001 | ············'199 | 1001 | ············'1998-07-21' |
| 1002 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 1002 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 1003 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 1003 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 1004 | ········date¶ | 1004 | ········date¶ |
| 1005 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 1005 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 1006 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 1006 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 1007 | ··············Parameters: | 1007 | ··············Parameters: |
| 1008 | ······················*·start_date·–·Defaults·to·30·years·ago | 1008 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 1012, 19 lines modified | Offset 1012, 19 lines modified | ||
| 1012 | ··············Returns: | 1012 | ··············Returns: |
| 1013 | ··················Date | 1013 | ··················Date |
| 1014 | ··············Examples: | 1014 | ··············Examples: |
| 1015 | ············>>>·Faker.seed(0) | 1015 | ············>>>·Faker.seed(0) |
| 1016 | ············>>>·for·_·in·range(5): | 1016 | ············>>>·for·_·in·range(5): |
| 1017 | ············...·····fake.date_between() | 1017 | ············...·····fake.date_between() |
| 1018 | ············... | 1018 | ············... |
| 1019 | ············datetime.date(202 | 1019 | ············datetime.date(2021,·3,·5) |
| 1020 | ············datetime.date(201 | 1020 | ············datetime.date(2018,·7,·31) |
| 1021 | ············datetime.date(200 | 1021 | ············datetime.date(2008,·6,·16) |
| 1022 | ············datetime.date(200 | 1022 | ············datetime.date(2003,·8,·11) |
| 1023 | ············datetime.date(201 | 1023 | ············datetime.date(2011,·3,·7) |
| 1024 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 1024 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 1025 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 1025 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 1026 | ········=·None)·→·date¶ | 1026 | ········=·None)·→·date¶ |
| 1027 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 1027 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 1028 | ············given·dates.·Accepts·Date·or·datetime·objects | 1028 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 1029 | ··············Parameters: | 1029 | ··············Parameters: |
| 1030 | ······················*·date_start·–·Date | 1030 | ······················*·date_start·–·Date |
| Offset 1032, 33 lines modified | Offset 1032, 33 lines modified | ||
| 1032 | ··············Returns: | 1032 | ··············Returns: |
| 1033 | ··················Date | 1033 | ··················Date |
| 1034 | ··············Examples: | 1034 | ··············Examples: |
| 1035 | ············>>>·Faker.seed(0) | 1035 | ············>>>·Faker.seed(0) |
| 1036 | ············>>>·for·_·in·range(5): | 1036 | ············>>>·for·_·in·range(5): |
| 1037 | ············...·····fake.date_between_dates() | 1037 | ············...·····fake.date_between_dates() |
| 1038 | ············... | 1038 | ············... |
| 1039 | ············datetime.date(202 | 1039 | ············datetime.date(2025,·11,·4) |
| 1040 | ············datetime.date(202 | 1040 | ············datetime.date(2025,·11,·4) |
| 1041 | ············datetime.date(202 | 1041 | ············datetime.date(2025,·11,·4) |
| 1042 | ············datetime.date(202 | 1042 | ············datetime.date(2025,·11,·4) |
| 1043 | ············datetime.date(202 | 1043 | ············datetime.date(2025,·11,·4) |
| 1044 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 1044 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 1045 | ············Get·a·date·object·between·January·1,·1970·and·now | 1045 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 1046 | ··············Example: | 1046 | ··············Example: |
| 1047 | ··················datetime.date(2016,·9,·20) | 1047 | ··················datetime.date(2016,·9,·20) |
| 1048 | ··············Examples: | 1048 | ··············Examples: |
| 1049 | ············>>>·Faker.seed(0) | 1049 | ············>>>·Faker.seed(0) |
| 1050 | ············>>>·for·_·in·range(5): | 1050 | ············>>>·for·_·in·range(5): |
| 1051 | ············...·····fake.date_object() | 1051 | ············...·····fake.date_object() |
| 1052 | ············... | 1052 | ············... |
| 1053 | ············datetime.date(2018,·1,·27) | ||
| 1054 | ············datetime.date(201 | 1053 | ············datetime.date(2017,·2,·26) |
| 1054 | ············datetime.date(2012,·4,·29) | ||
| 1055 | ············datetime.date(1993,· | 1055 | ············datetime.date(1993,·6,·27) |
| 1056 | ············datetime.date(1984,· | 1056 | ············datetime.date(1984,·6,·17) |
| 1057 | ············datetime.date(199 | 1057 | ············datetime.date(1998,·7,·21) |
| 1058 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 1058 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 1059 | ········maximum_age:·int·=·115)·→·date¶ | 1059 | ········maximum_age:·int·=·115)·→·date¶ |
| 1060 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 1060 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 1061 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 1061 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 1062 | ··············Parameters: | 1062 | ··············Parameters: |
| 1063 | ······················*·tzinfo·–·Defaults·to·None. | 1063 | ······················*·tzinfo·–·Defaults·to·None. |
| 1064 | ······················*·minimum_age·–·Defaults·to·0. | 1064 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 1068, 19 lines modified | Offset 1068, 19 lines modified | ||
| 1068 | ··············Returns: | 1068 | ··············Returns: |
| 1069 | ··················Date | 1069 | ··················Date |
| 1070 | ··············Examples: | 1070 | ··············Examples: |
| 1071 | ············>>>·Faker.seed(0) | 1071 | ············>>>·Faker.seed(0) |
| 1072 | ············>>>·for·_·in·range(5): | 1072 | ············>>>·for·_·in·range(5): |
| 1073 | ············...·····fake.date_of_birth() | 1073 | ············...·····fake.date_of_birth() |
| 1074 | ············... | 1074 | ············... |
| 1075 | ············datetime.date(200 | 1075 | ············datetime.date(2007,·10,·18) |
| 1076 | ············datetime.date(1997,·10,·6) | ||
| 1077 | ············datetime.date(1958,·8,·18) | ||
| 1076 | ············datetime.date(19 | 1078 | ············datetime.date(1939,·11,·17) |
| 1077 | ············datetime.date(19 | 1079 | ············datetime.date(1969,·2,·24) |
| 1078 | ············datetime.date(1940,·12,·18) | ||
| 1079 | ············datetime.date(1970,·3,·28) | ||
| 1080 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 1080 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 1081 | ········→·date¶ | 1081 | ········→·date¶ |
| 1082 | ············Gets·a·Date·object·for·the·current·century. | 1082 | ············Gets·a·Date·object·for·the·current·century. |
| 1083 | ··············Parameters: | 1083 | ··············Parameters: |
| 1084 | ······················*·before_today·–·include·days·in·current·century·before | 1084 | ······················*·before_today·–·include·days·in·current·century·before |
| 1085 | ························today | 1085 | ························today |
| 1086 | ······················*·after_today·–·include·days·in·current·century·after | 1086 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 1090, 19 lines modified | Offset 1090, 19 lines modified | ||
| 1090 | ··············Returns: | 1090 | ··············Returns: |
| 1091 | ··················Date | 1091 | ··················Date |
| 1092 | ··············Examples: | 1092 | ··············Examples: |
| 1093 | ············>>>·Faker.seed(0) | 1093 | ············>>>·Faker.seed(0) |
| 1094 | ············>>>·for·_·in·range(5): | 1094 | ············>>>·for·_·in·range(5): |
| 1095 | ············...·····fake.date_this_century() | 1095 | ············...·····fake.date_this_century() |
| 1096 | ············... | 1096 | ············... |
| Max diff block lines reached; 196840/202790 bytes (97.07%) of diff not shown. | |||
| Offset 1707, 19 lines modified | Offset 1707, 19 lines modified | ||
| 1707 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1707 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1708 | <dd·class="field-odd"><p></p></dd> | 1708 | <dd·class="field-odd"><p></p></dd> |
| 1709 | </dl> | 1709 | </dl> |
| 1710 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1710 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1711 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1711 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1712 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">credit_card_expire</span><span·class="p">()</span> | 1712 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">credit_card_expire</span><span·class="p">()</span> |
| 1713 | <span·class="gp">...</span> | 1713 | <span·class="gp">...</span> |
| 1714 | <span·class="go">'05/35'</span> | ||
| 1715 | <span·class="go">'0 | 1714 | <span·class="go">'04/34'</span> |
| 1716 | <span·class="go">'0 | 1715 | <span·class="go">'06/33'</span> |
| 1717 | <span·class="go">'07/29'</span> | ||
| 1718 | <span·class="go">'01/3 | 1716 | <span·class="go">'01/30'</span> |
| 1717 | <span·class="go">'06/28'</span> | ||
| 1718 | <span·class="go">'12/30'</span> | ||
| 1719 | </pre></div> | 1719 | </pre></div> |
| 1720 | </div> | 1720 | </div> |
| 1721 | </dd></dl> | 1721 | </dd></dl> |
| 1722 | <dl·class="py·method"> | 1722 | <dl·class="py·method"> |
| 1723 | <dt·class="sig·sig-object·py"·id="faker.providers.credit_card.en_US.Provider.credit_card_full"> | 1723 | <dt·class="sig·sig-object·py"·id="faker.providers.credit_card.en_US.Provider.credit_card_full"> |
| 1724 | <span·class="sig-name·descname"><span·class="pre">credit_card_full</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">card_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CardType</span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.credit_card.en_US.Provider.credit_card_full"·title="Link·to·this·definition">¶</a></dt> | 1724 | <span·class="sig-name·descname"><span·class="pre">credit_card_full</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">card_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CardType</span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.credit_card.en_US.Provider.credit_card_full"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1728, 19 lines modified | Offset 1728, 19 lines modified | ||
| 1728 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1728 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1729 | <dd·class="field-odd"><p></p></dd> | 1729 | <dd·class="field-odd"><p></p></dd> |
| 1730 | </dl> | 1730 | </dl> |
| 1731 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1731 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1732 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1732 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1733 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">credit_card_full</span><span·class="p">()</span> | 1733 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">credit_card_full</span><span·class="p">()</span> |
| 1734 | <span·class="gp">...</span> | 1734 | <span·class="gp">...</span> |
| 1735 | <span·class="go">'Discover\nKatherine·Fisher\n6587647593824218·0 | 1735 | <span·class="go">'Discover\nKatherine·Fisher\n6587647593824218·01/32\nCVC:·489\n'</span> |
| 1736 | <span·class="go">'VISA·16·digit\nKyle·Blair\n4781565938778403·1 | 1736 | <span·class="go">'VISA·16·digit\nKyle·Blair\n4781565938778403·11/33\nCVC:·801\n'</span> |
| 1737 | <span·class="go">'JCB·16·digit\nMary·Page\n3597535139332876·1 | 1737 | <span·class="go">'JCB·16·digit\nMary·Page\n3597535139332876·10/26\nCVC:·587\n'</span> |
| 1738 | <span·class="go">'Mastercard\nKevin·Carter\n5485839894719651·0 | 1738 | <span·class="go">'Mastercard\nKevin·Carter\n5485839894719651·08/31\nCVV:·423\n'</span> |
| 1739 | <span·class="go">'VISA·16·digit\nAntonio·Zavala\n4711220186848335·1 | 1739 | <span·class="go">'VISA·16·digit\nAntonio·Zavala\n4711220186848335·10/34\nCVC:·969\n'</span> |
| 1740 | </pre></div> | 1740 | </pre></div> |
| 1741 | </div> | 1741 | </div> |
| 1742 | </dd></dl> | 1742 | </dd></dl> |
| 1743 | <dl·class="py·method"> | 1743 | <dl·class="py·method"> |
| 1744 | <dt·class="sig·sig-object·py"·id="faker.providers.credit_card.en_US.Provider.credit_card_number"> | 1744 | <dt·class="sig·sig-object·py"·id="faker.providers.credit_card.en_US.Provider.credit_card_number"> |
| 1745 | <span·class="sig-name·descname"><span·class="pre">credit_card_number</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">card_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CardType</span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.credit_card.en_US.Provider.credit_card_number"·title="Link·to·this·definition">¶</a></dt> | 1745 | <span·class="sig-name·descname"><span·class="pre">credit_card_number</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">card_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CardType</span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.credit_card.en_US.Provider.credit_card_number"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1992, 19 lines modified | Offset 1992, 19 lines modified | ||
| 1992 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1992 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1993 | <dd·class="field-odd"><p></p></dd> | 1993 | <dd·class="field-odd"><p></p></dd> |
| 1994 | </dl> | 1994 | </dl> |
| 1995 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1995 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1996 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1996 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1997 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1997 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 1998 | <span·class="gp">...</span> | 1998 | <span·class="gp">...</span> |
| 1999 | <span·class="go">'PM'</span> | ||
| 2000 | <span·class="go">'PM'</span> | ||
| 2001 | <span·class="go">'AM'</span> | 1999 | <span·class="go">'AM'</span> |
| 2002 | <span·class="go">'PM'</span> | 2000 | <span·class="go">'PM'</span> |
| 2003 | <span·class="go">'AM'</span> | 2001 | <span·class="go">'AM'</span> |
| 2002 | <span·class="go">'AM'</span> | ||
| 2003 | <span·class="go">'AM'</span> | ||
| 2004 | </pre></div> | 2004 | </pre></div> |
| 2005 | </div> | 2005 | </div> |
| 2006 | </dd></dl> | 2006 | </dd></dl> |
| 2007 | <dl·class="py·method"> | 2007 | <dl·class="py·method"> |
| 2008 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.en_US.Provider.century"> | 2008 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.en_US.Provider.century"> |
| 2009 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.en_US.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 2009 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.en_US.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 2045, 19 lines modified | Offset 2045, 19 lines modified | ||
| 2045 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 2045 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 2046 | <dd·class="field-even"><p></p></dd> | 2046 | <dd·class="field-even"><p></p></dd> |
| 2047 | </dl> | 2047 | </dl> |
| 2048 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 2048 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 2049 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 2049 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 2050 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 2050 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 2051 | <span·class="gp">...</span> | 2051 | <span·class="gp">...</span> |
| 2052 | <span·class="go">'2018-01-27'</span> | ||
| 2053 | <span·class="go">'201 | 2052 | <span·class="go">'2017-02-26'</span> |
| 2053 | <span·class="go">'2012-04-29'</span> | ||
| 2054 | <span·class="go">'1993- | 2054 | <span·class="go">'1993-06-27'</span> |
| 2055 | <span·class="go">'1984-0 | 2055 | <span·class="go">'1984-06-17'</span> |
| 2056 | <span·class="go">'199 | 2056 | <span·class="go">'1998-07-21'</span> |
| 2057 | </pre></div> | 2057 | </pre></div> |
| 2058 | </div> | 2058 | </div> |
| 2059 | </dd></dl> | 2059 | </dd></dl> |
| 2060 | <dl·class="py·method"> | 2060 | <dl·class="py·method"> |
| 2061 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.en_US.Provider.date_between"> | 2061 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.en_US.Provider.date_between"> |
| 2062 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.en_US.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 2062 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.en_US.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 2079, 19 lines modified | Offset 2079, 19 lines modified | ||
| 2079 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 2079 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 2080 | <dd·class="field-even"><p></p></dd> | 2080 | <dd·class="field-even"><p></p></dd> |
| 2081 | </dl> | 2081 | </dl> |
| 2082 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 2082 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 2083 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 2083 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 2084 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 2084 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 2085 | <span·class="gp">...</span> | 2085 | <span·class="gp">...</span> |
| 2086 | <span·class="go">datetime.date(202 | 2086 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 2087 | <span·class="go">datetime.date(201 | 2087 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 2088 | <span·class="go">datetime.date(200 | 2088 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 2089 | <span·class="go">datetime.date(200 | 2089 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 2090 | <span·class="go">datetime.date(201 | 2090 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 2091 | </pre></div> | 2091 | </pre></div> |
| 2092 | </div> | 2092 | </div> |
| 2093 | </dd></dl> | 2093 | </dd></dl> |
| 2094 | <dl·class="py·method"> | 2094 | <dl·class="py·method"> |
| 2095 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.en_US.Provider.date_between_dates"> | 2095 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.en_US.Provider.date_between_dates"> |
| 2096 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.en_US.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 2096 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.en_US.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 2110, 19 lines modified | Offset 2110, 19 lines modified | ||
| 2110 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 2110 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 2111 | <dd·class="field-odd"><p></p></dd> | 2111 | <dd·class="field-odd"><p></p></dd> |
| 2112 | </dl> | 2112 | </dl> |
| 2113 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 2113 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 2114 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 2114 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 2115 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 2115 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 2116 | <span·class="gp">...</span> | 2116 | <span·class="gp">...</span> |
| 2117 | <span·class="go">datetime.date(202 | 2117 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 2118 | <span·class="go">datetime.date(202 | 2118 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 2119 | <span·class="go">datetime.date(202 | 2119 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 2120 | <span·class="go">datetime.date(202 | 2120 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 2121 | <span·class="go">datetime.date(202 | 2121 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 2122 | </pre></div> | 2122 | </pre></div> |
| 2123 | </div> | 2123 | </div> |
| 2124 | </dd></dl> | 2124 | </dd></dl> |
| 2125 | <dl·class="py·method"> | 2125 | <dl·class="py·method"> |
| 2126 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.en_US.Provider.date_object"> | 2126 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.en_US.Provider.date_object"> |
| 2127 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.en_US.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 2127 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.en_US.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 2134, 19 lines modified | Offset 2134, 19 lines modified | ||
| 2134 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 2134 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 2135 | <dd·class="field-even"><p></p></dd> | 2135 | <dd·class="field-even"><p></p></dd> |
| Max diff block lines reached; 420811/441900 bytes (95.23%) of diff not shown. | |||
| Offset 1085, 31 lines modified | Offset 1085, 31 lines modified | ||
| 1085 | ············expiry·date,·strftime()·is·used·and·date_format·is·simply·passed·to | 1085 | ············expiry·date,·strftime()·is·used·and·date_format·is·simply·passed·to |
| 1086 | ············that·method. | 1086 | ············that·method. |
| 1087 | ··············Examples: | 1087 | ··············Examples: |
| 1088 | ············>>>·Faker.seed(0) | 1088 | ············>>>·Faker.seed(0) |
| 1089 | ············>>>·for·_·in·range(5): | 1089 | ············>>>·for·_·in·range(5): |
| 1090 | ············...·····fake.credit_card_expire() | 1090 | ············...·····fake.credit_card_expire() |
| 1091 | ············... | 1091 | ············... |
| 1092 | ············'05/35' | ||
| 1093 | ············'0 | 1092 | ············'04/34' |
| 1094 | ············'0 | 1093 | ············'06/33' |
| 1095 | ············'07/29' | ||
| 1096 | ············'01/3 | 1094 | ············'01/30' |
| 1095 | ············'06/28' | ||
| 1096 | ············'12/30' | ||
| 1097 | ········credit_card_full(card_type:·CardType·|·None·=·None)·→·str¶ | 1097 | ········credit_card_full(card_type:·CardType·|·None·=·None)·→·str¶ |
| 1098 | ············Generate·a·set·of·credit·card·details. | 1098 | ············Generate·a·set·of·credit·card·details. |
| 1099 | ··············Examples: | 1099 | ··············Examples: |
| 1100 | ············>>>·Faker.seed(0) | 1100 | ············>>>·Faker.seed(0) |
| 1101 | ············>>>·for·_·in·range(5): | 1101 | ············>>>·for·_·in·range(5): |
| 1102 | ············...·····fake.credit_card_full() | 1102 | ············...·····fake.credit_card_full() |
| 1103 | ············... | 1103 | ············... |
| 1104 | ············'Discover\nKatherine·Fisher\n6587647593824218·0 | 1104 | ············'Discover\nKatherine·Fisher\n6587647593824218·01/32\nCVC:·489\n' |
| 1105 | ············'VISA·16·digit\nKyle·Blair\n4781565938778403·1 | 1105 | ············'VISA·16·digit\nKyle·Blair\n4781565938778403·11/33\nCVC:·801\n' |
| 1106 | ············'JCB·16·digit\nMary·Page\n3597535139332876·1 | 1106 | ············'JCB·16·digit\nMary·Page\n3597535139332876·10/26\nCVC:·587\n' |
| 1107 | ············'Mastercard\nKevin·Carter\n5485839894719651·0 | 1107 | ············'Mastercard\nKevin·Carter\n5485839894719651·08/31\nCVV:·423\n' |
| 1108 | ············'VISA·16·digit\nAntonio·Zavala\n4711220186848335·1 | 1108 | ············'VISA·16·digit\nAntonio·Zavala\n4711220186848335·10/34\nCVC:·969\n' |
| 1109 | ········credit_card_number(card_type:·CardType·|·None·=·None)·→·str¶ | 1109 | ········credit_card_number(card_type:·CardType·|·None·=·None)·→·str¶ |
| 1110 | ············Generate·a·valid·credit·card·number. | 1110 | ············Generate·a·valid·credit·card·number. |
| 1111 | ··············Examples: | 1111 | ··············Examples: |
| 1112 | ············>>>·Faker.seed(0) | 1112 | ············>>>·Faker.seed(0) |
| 1113 | ············>>>·for·_·in·range(5): | 1113 | ············>>>·for·_·in·range(5): |
| 1114 | ············...·····fake.credit_card_number() | 1114 | ············...·····fake.credit_card_number() |
| 1115 | ············... | 1115 | ············... |
| Offset 1240, 19 lines modified | Offset 1240, 19 lines modified | ||
| 1240 | ······Bases:·Provider | 1240 | ······Bases:·Provider |
| 1241 | ········am_pm()·→·str¶ | 1241 | ········am_pm()·→·str¶ |
| 1242 | ··············Examples: | 1242 | ··············Examples: |
| 1243 | ············>>>·Faker.seed(0) | 1243 | ············>>>·Faker.seed(0) |
| 1244 | ············>>>·for·_·in·range(5): | 1244 | ············>>>·for·_·in·range(5): |
| 1245 | ············...·····fake.am_pm() | 1245 | ············...·····fake.am_pm() |
| 1246 | ············... | 1246 | ············... |
| 1247 | ············'PM' | ||
| 1248 | ············'PM' | ||
| 1249 | ············'AM' | 1247 | ············'AM' |
| 1250 | ············'PM' | 1248 | ············'PM' |
| 1251 | ············'AM' | 1249 | ············'AM' |
| 1250 | ············'AM' | ||
| 1251 | ············'AM' | ||
| 1252 | ········century()·→·str¶ | 1252 | ········century()·→·str¶ |
| 1253 | ··············Example: | 1253 | ··············Example: |
| 1254 | ··················‘XVII’ | 1254 | ··················‘XVII’ |
| 1255 | ··············Examples: | 1255 | ··············Examples: |
| 1256 | ············>>>·Faker.seed(0) | 1256 | ············>>>·Faker.seed(0) |
| 1257 | ············>>>·for·_·in·range(5): | 1257 | ············>>>·for·_·in·range(5): |
| 1258 | ············...·····fake.century() | 1258 | ············...·····fake.century() |
| Offset 1272, 19 lines modified | Offset 1272, 19 lines modified | ||
| 1272 | ··············Returns: | 1272 | ··············Returns: |
| 1273 | ··················Date | 1273 | ··················Date |
| 1274 | ··············Examples: | 1274 | ··············Examples: |
| 1275 | ············>>>·Faker.seed(0) | 1275 | ············>>>·Faker.seed(0) |
| 1276 | ············>>>·for·_·in·range(5): | 1276 | ············>>>·for·_·in·range(5): |
| 1277 | ············...·····fake.date() | 1277 | ············...·····fake.date() |
| 1278 | ············... | 1278 | ············... |
| 1279 | ············'2018-01-27' | ||
| 1280 | ············'201 | 1279 | ············'2017-02-26' |
| 1280 | ············'2012-04-29' | ||
| 1281 | ············'1993- | 1281 | ············'1993-06-27' |
| 1282 | ············'1984-0 | 1282 | ············'1984-06-17' |
| 1283 | ············'199 | 1283 | ············'1998-07-21' |
| 1284 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 1284 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 1285 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 1285 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 1286 | ········date¶ | 1286 | ········date¶ |
| 1287 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 1287 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 1288 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 1288 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 1289 | ··············Parameters: | 1289 | ··············Parameters: |
| 1290 | ······················*·start_date·–·Defaults·to·30·years·ago | 1290 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 1294, 19 lines modified | Offset 1294, 19 lines modified | ||
| 1294 | ··············Returns: | 1294 | ··············Returns: |
| 1295 | ··················Date | 1295 | ··················Date |
| 1296 | ··············Examples: | 1296 | ··············Examples: |
| 1297 | ············>>>·Faker.seed(0) | 1297 | ············>>>·Faker.seed(0) |
| 1298 | ············>>>·for·_·in·range(5): | 1298 | ············>>>·for·_·in·range(5): |
| 1299 | ············...·····fake.date_between() | 1299 | ············...·····fake.date_between() |
| 1300 | ············... | 1300 | ············... |
| 1301 | ············datetime.date(202 | 1301 | ············datetime.date(2021,·3,·5) |
| 1302 | ············datetime.date(201 | 1302 | ············datetime.date(2018,·7,·31) |
| 1303 | ············datetime.date(200 | 1303 | ············datetime.date(2008,·6,·16) |
| 1304 | ············datetime.date(200 | 1304 | ············datetime.date(2003,·8,·11) |
| 1305 | ············datetime.date(201 | 1305 | ············datetime.date(2011,·3,·7) |
| 1306 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 1306 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 1307 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 1307 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 1308 | ········=·None)·→·date¶ | 1308 | ········=·None)·→·date¶ |
| 1309 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 1309 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 1310 | ············given·dates.·Accepts·Date·or·datetime·objects | 1310 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 1311 | ··············Parameters: | 1311 | ··············Parameters: |
| 1312 | ······················*·date_start·–·Date | 1312 | ······················*·date_start·–·Date |
| Offset 1314, 33 lines modified | Offset 1314, 33 lines modified | ||
| 1314 | ··············Returns: | 1314 | ··············Returns: |
| 1315 | ··················Date | 1315 | ··················Date |
| 1316 | ··············Examples: | 1316 | ··············Examples: |
| 1317 | ············>>>·Faker.seed(0) | 1317 | ············>>>·Faker.seed(0) |
| 1318 | ············>>>·for·_·in·range(5): | 1318 | ············>>>·for·_·in·range(5): |
| 1319 | ············...·····fake.date_between_dates() | 1319 | ············...·····fake.date_between_dates() |
| 1320 | ············... | 1320 | ············... |
| 1321 | ············datetime.date(202 | 1321 | ············datetime.date(2025,·11,·4) |
| 1322 | ············datetime.date(202 | 1322 | ············datetime.date(2025,·11,·4) |
| 1323 | ············datetime.date(202 | 1323 | ············datetime.date(2025,·11,·4) |
| 1324 | ············datetime.date(202 | 1324 | ············datetime.date(2025,·11,·4) |
| 1325 | ············datetime.date(202 | 1325 | ············datetime.date(2025,·11,·4) |
| 1326 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 1326 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 1327 | ············Get·a·date·object·between·January·1,·1970·and·now | 1327 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 1328 | ··············Example: | 1328 | ··············Example: |
| 1329 | ··················datetime.date(2016,·9,·20) | 1329 | ··················datetime.date(2016,·9,·20) |
| 1330 | ··············Examples: | 1330 | ··············Examples: |
| 1331 | ············>>>·Faker.seed(0) | 1331 | ············>>>·Faker.seed(0) |
| 1332 | ············>>>·for·_·in·range(5): | 1332 | ············>>>·for·_·in·range(5): |
| 1333 | ············...·····fake.date_object() | 1333 | ············...·····fake.date_object() |
| 1334 | ············... | 1334 | ············... |
| 1335 | ············datetime.date(2018,·1,·27) | ||
| 1336 | ············datetime.date(201 | 1335 | ············datetime.date(2017,·2,·26) |
| 1336 | ············datetime.date(2012,·4,·29) | ||
| 1337 | ············datetime.date(1993,· | 1337 | ············datetime.date(1993,·6,·27) |
| 1338 | ············datetime.date(1984,· | 1338 | ············datetime.date(1984,·6,·17) |
| 1339 | ············datetime.date(199 | 1339 | ············datetime.date(1998,·7,·21) |
| 1340 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 1340 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 1341 | ········maximum_age:·int·=·115)·→·date¶ | 1341 | ········maximum_age:·int·=·115)·→·date¶ |
| 1342 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 1342 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| Max diff block lines reached; 250857/256767 bytes (97.70%) of diff not shown. | |||
| Offset 1122, 19 lines modified | Offset 1122, 19 lines modified | ||
| 1122 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1122 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1123 | <dd·class="field-odd"><p></p></dd> | 1123 | <dd·class="field-odd"><p></p></dd> |
| 1124 | </dl> | 1124 | </dl> |
| 1125 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1125 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1126 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1126 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1127 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1127 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 1128 | <span·class="gp">...</span> | 1128 | <span·class="gp">...</span> |
| 1129 | <span·class="go">'PM'</span> | ||
| 1130 | <span·class="go">'PM'</span> | ||
| 1131 | <span·class="go">'AM'</span> | 1129 | <span·class="go">'AM'</span> |
| 1132 | <span·class="go">'PM'</span> | 1130 | <span·class="go">'PM'</span> |
| 1133 | <span·class="go">'AM'</span> | 1131 | <span·class="go">'AM'</span> |
| 1132 | <span·class="go">'AM'</span> | ||
| 1133 | <span·class="go">'AM'</span> | ||
| 1134 | </pre></div> | 1134 | </pre></div> |
| 1135 | </div> | 1135 | </div> |
| 1136 | </dd></dl> | 1136 | </dd></dl> |
| 1137 | <dl·class="py·method"> | 1137 | <dl·class="py·method"> |
| 1138 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_AR.Provider.century"> | 1138 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_AR.Provider.century"> |
| 1139 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_AR.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 1139 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_AR.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1175, 19 lines modified | Offset 1175, 19 lines modified | ||
| 1175 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1175 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1176 | <dd·class="field-even"><p></p></dd> | 1176 | <dd·class="field-even"><p></p></dd> |
| 1177 | </dl> | 1177 | </dl> |
| 1178 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1178 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1179 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1179 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1180 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1180 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 1181 | <span·class="gp">...</span> | 1181 | <span·class="gp">...</span> |
| 1182 | <span·class="go">'2018-01-27'</span> | ||
| 1183 | <span·class="go">'201 | 1182 | <span·class="go">'2017-02-26'</span> |
| 1183 | <span·class="go">'2012-04-29'</span> | ||
| 1184 | <span·class="go">'1993- | 1184 | <span·class="go">'1993-06-27'</span> |
| 1185 | <span·class="go">'1984-0 | 1185 | <span·class="go">'1984-06-17'</span> |
| 1186 | <span·class="go">'199 | 1186 | <span·class="go">'1998-07-21'</span> |
| 1187 | </pre></div> | 1187 | </pre></div> |
| 1188 | </div> | 1188 | </div> |
| 1189 | </dd></dl> | 1189 | </dd></dl> |
| 1190 | <dl·class="py·method"> | 1190 | <dl·class="py·method"> |
| 1191 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_AR.Provider.date_between"> | 1191 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_AR.Provider.date_between"> |
| 1192 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_AR.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1192 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_AR.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1209, 19 lines modified | Offset 1209, 19 lines modified | ||
| 1209 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1209 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1210 | <dd·class="field-even"><p></p></dd> | 1210 | <dd·class="field-even"><p></p></dd> |
| 1211 | </dl> | 1211 | </dl> |
| 1212 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1212 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1213 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1213 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1214 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1214 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 1215 | <span·class="gp">...</span> | 1215 | <span·class="gp">...</span> |
| 1216 | <span·class="go">datetime.date(202 | 1216 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 1217 | <span·class="go">datetime.date(201 | 1217 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 1218 | <span·class="go">datetime.date(200 | 1218 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 1219 | <span·class="go">datetime.date(200 | 1219 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 1220 | <span·class="go">datetime.date(201 | 1220 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 1221 | </pre></div> | 1221 | </pre></div> |
| 1222 | </div> | 1222 | </div> |
| 1223 | </dd></dl> | 1223 | </dd></dl> |
| 1224 | <dl·class="py·method"> | 1224 | <dl·class="py·method"> |
| 1225 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_AR.Provider.date_between_dates"> | 1225 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_AR.Provider.date_between_dates"> |
| 1226 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_AR.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 1226 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_AR.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1240, 19 lines modified | Offset 1240, 19 lines modified | ||
| 1240 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1240 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1241 | <dd·class="field-odd"><p></p></dd> | 1241 | <dd·class="field-odd"><p></p></dd> |
| 1242 | </dl> | 1242 | </dl> |
| 1243 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1243 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1244 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1244 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1245 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 1245 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 1246 | <span·class="gp">...</span> | 1246 | <span·class="gp">...</span> |
| 1247 | <span·class="go">datetime.date(202 | 1247 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1248 | <span·class="go">datetime.date(202 | 1248 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1249 | <span·class="go">datetime.date(202 | 1249 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1250 | <span·class="go">datetime.date(202 | 1250 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1251 | <span·class="go">datetime.date(202 | 1251 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1252 | </pre></div> | 1252 | </pre></div> |
| 1253 | </div> | 1253 | </div> |
| 1254 | </dd></dl> | 1254 | </dd></dl> |
| 1255 | <dl·class="py·method"> | 1255 | <dl·class="py·method"> |
| 1256 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_AR.Provider.date_object"> | 1256 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_AR.Provider.date_object"> |
| 1257 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_AR.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 1257 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_AR.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1264, 19 lines modified | Offset 1264, 19 lines modified | ||
| 1264 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1264 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1265 | <dd·class="field-even"><p></p></dd> | 1265 | <dd·class="field-even"><p></p></dd> |
| 1266 | </dl> | 1266 | </dl> |
| 1267 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1267 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1268 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1268 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1269 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1269 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 1270 | <span·class="gp">...</span> | 1270 | <span·class="gp">...</span> |
| 1271 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 1272 | <span·class="go">datetime.date(201 | 1271 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 1272 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 1273 | <span·class="go">datetime.date(1993,· | 1273 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 1274 | <span·class="go">datetime.date(1984,· | 1274 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 1275 | <span·class="go">datetime.date(199 | 1275 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 1276 | </pre></div> | 1276 | </pre></div> |
| 1277 | </div> | 1277 | </div> |
| 1278 | </dd></dl> | 1278 | </dd></dl> |
| 1279 | <dl·class="py·method"> | 1279 | <dl·class="py·method"> |
| 1280 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_AR.Provider.date_of_birth"> | 1280 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_AR.Provider.date_of_birth"> |
| 1281 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_AR.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1281 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_AR.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1300, 19 lines modified | Offset 1300, 19 lines modified | ||
| 1300 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1300 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1301 | <dd·class="field-even"><p></p></dd> | 1301 | <dd·class="field-even"><p></p></dd> |
| 1302 | </dl> | 1302 | </dl> |
| 1303 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1303 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1304 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1304 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1305 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1305 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 1306 | <span·class="gp">...</span> | 1306 | <span·class="gp">...</span> |
| 1307 | <span·class="go">datetime.date(200 | 1307 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 1308 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 1309 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 1308 | <span·class="go">datetime.date(19 | 1310 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 1309 | <span·class="go">datetime.date(19 | 1311 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 1310 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 1311 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 1312 | </pre></div> | 1312 | </pre></div> |
| 1313 | </div> | 1313 | </div> |
| 1314 | </dd></dl> | 1314 | </dd></dl> |
| 1315 | <dl·class="py·method"> | 1315 | <dl·class="py·method"> |
| 1316 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_AR.Provider.date_this_century"> | 1316 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_AR.Provider.date_this_century"> |
| 1317 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_AR.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 1317 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_AR.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1333, 19 lines modified | Offset 1333, 19 lines modified | ||
| 1333 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1333 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 98125/120364 bytes (81.52%) of diff not shown. | |||
| Offset 643, 19 lines modified | Offset 643, 19 lines modified | ||
| 643 | ······Bases:·Provider | 643 | ······Bases:·Provider |
| 644 | ········am_pm()·→·str¶ | 644 | ········am_pm()·→·str¶ |
| 645 | ··············Examples: | 645 | ··············Examples: |
| 646 | ············>>>·Faker.seed(0) | 646 | ············>>>·Faker.seed(0) |
| 647 | ············>>>·for·_·in·range(5): | 647 | ············>>>·for·_·in·range(5): |
| 648 | ············...·····fake.am_pm() | 648 | ············...·····fake.am_pm() |
| 649 | ············... | 649 | ············... |
| 650 | ············'PM' | ||
| 651 | ············'PM' | ||
| 652 | ············'AM' | 650 | ············'AM' |
| 653 | ············'PM' | 651 | ············'PM' |
| 654 | ············'AM' | 652 | ············'AM' |
| 653 | ············'AM' | ||
| 654 | ············'AM' | ||
| 655 | ········century()·→·str¶ | 655 | ········century()·→·str¶ |
| 656 | ··············Example: | 656 | ··············Example: |
| 657 | ··················‘XVII’ | 657 | ··················‘XVII’ |
| 658 | ··············Examples: | 658 | ··············Examples: |
| 659 | ············>>>·Faker.seed(0) | 659 | ············>>>·Faker.seed(0) |
| 660 | ············>>>·for·_·in·range(5): | 660 | ············>>>·for·_·in·range(5): |
| 661 | ············...·····fake.century() | 661 | ············...·····fake.century() |
| Offset 675, 19 lines modified | Offset 675, 19 lines modified | ||
| 675 | ··············Returns: | 675 | ··············Returns: |
| 676 | ··················Date | 676 | ··················Date |
| 677 | ··············Examples: | 677 | ··············Examples: |
| 678 | ············>>>·Faker.seed(0) | 678 | ············>>>·Faker.seed(0) |
| 679 | ············>>>·for·_·in·range(5): | 679 | ············>>>·for·_·in·range(5): |
| 680 | ············...·····fake.date() | 680 | ············...·····fake.date() |
| 681 | ············... | 681 | ············... |
| 682 | ············'2018-01-27' | ||
| 683 | ············'201 | 682 | ············'2017-02-26' |
| 683 | ············'2012-04-29' | ||
| 684 | ············'1993- | 684 | ············'1993-06-27' |
| 685 | ············'1984-0 | 685 | ············'1984-06-17' |
| 686 | ············'199 | 686 | ············'1998-07-21' |
| 687 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 687 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 688 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 688 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 689 | ········date¶ | 689 | ········date¶ |
| 690 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 690 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 691 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 691 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 692 | ··············Parameters: | 692 | ··············Parameters: |
| 693 | ······················*·start_date·–·Defaults·to·30·years·ago | 693 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 697, 19 lines modified | Offset 697, 19 lines modified | ||
| 697 | ··············Returns: | 697 | ··············Returns: |
| 698 | ··················Date | 698 | ··················Date |
| 699 | ··············Examples: | 699 | ··············Examples: |
| 700 | ············>>>·Faker.seed(0) | 700 | ············>>>·Faker.seed(0) |
| 701 | ············>>>·for·_·in·range(5): | 701 | ············>>>·for·_·in·range(5): |
| 702 | ············...·····fake.date_between() | 702 | ············...·····fake.date_between() |
| 703 | ············... | 703 | ············... |
| 704 | ············datetime.date(202 | 704 | ············datetime.date(2021,·3,·5) |
| 705 | ············datetime.date(201 | 705 | ············datetime.date(2018,·7,·31) |
| 706 | ············datetime.date(200 | 706 | ············datetime.date(2008,·6,·16) |
| 707 | ············datetime.date(200 | 707 | ············datetime.date(2003,·8,·11) |
| 708 | ············datetime.date(201 | 708 | ············datetime.date(2011,·3,·7) |
| 709 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 709 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 710 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 710 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 711 | ········=·None)·→·date¶ | 711 | ········=·None)·→·date¶ |
| 712 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 712 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 713 | ············given·dates.·Accepts·Date·or·datetime·objects | 713 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 714 | ··············Parameters: | 714 | ··············Parameters: |
| 715 | ······················*·date_start·–·Date | 715 | ······················*·date_start·–·Date |
| Offset 717, 33 lines modified | Offset 717, 33 lines modified | ||
| 717 | ··············Returns: | 717 | ··············Returns: |
| 718 | ··················Date | 718 | ··················Date |
| 719 | ··············Examples: | 719 | ··············Examples: |
| 720 | ············>>>·Faker.seed(0) | 720 | ············>>>·Faker.seed(0) |
| 721 | ············>>>·for·_·in·range(5): | 721 | ············>>>·for·_·in·range(5): |
| 722 | ············...·····fake.date_between_dates() | 722 | ············...·····fake.date_between_dates() |
| 723 | ············... | 723 | ············... |
| 724 | ············datetime.date(202 | 724 | ············datetime.date(2025,·11,·4) |
| 725 | ············datetime.date(202 | 725 | ············datetime.date(2025,·11,·4) |
| 726 | ············datetime.date(202 | 726 | ············datetime.date(2025,·11,·4) |
| 727 | ············datetime.date(202 | 727 | ············datetime.date(2025,·11,·4) |
| 728 | ············datetime.date(202 | 728 | ············datetime.date(2025,·11,·4) |
| 729 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 729 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 730 | ············Get·a·date·object·between·January·1,·1970·and·now | 730 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 731 | ··············Example: | 731 | ··············Example: |
| 732 | ··················datetime.date(2016,·9,·20) | 732 | ··················datetime.date(2016,·9,·20) |
| 733 | ··············Examples: | 733 | ··············Examples: |
| 734 | ············>>>·Faker.seed(0) | 734 | ············>>>·Faker.seed(0) |
| 735 | ············>>>·for·_·in·range(5): | 735 | ············>>>·for·_·in·range(5): |
| 736 | ············...·····fake.date_object() | 736 | ············...·····fake.date_object() |
| 737 | ············... | 737 | ············... |
| 738 | ············datetime.date(2018,·1,·27) | ||
| 739 | ············datetime.date(201 | 738 | ············datetime.date(2017,·2,·26) |
| 739 | ············datetime.date(2012,·4,·29) | ||
| 740 | ············datetime.date(1993,· | 740 | ············datetime.date(1993,·6,·27) |
| 741 | ············datetime.date(1984,· | 741 | ············datetime.date(1984,·6,·17) |
| 742 | ············datetime.date(199 | 742 | ············datetime.date(1998,·7,·21) |
| 743 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 743 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 744 | ········maximum_age:·int·=·115)·→·date¶ | 744 | ········maximum_age:·int·=·115)·→·date¶ |
| 745 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 745 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 746 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 746 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 747 | ··············Parameters: | 747 | ··············Parameters: |
| 748 | ······················*·tzinfo·–·Defaults·to·None. | 748 | ······················*·tzinfo·–·Defaults·to·None. |
| 749 | ······················*·minimum_age·–·Defaults·to·0. | 749 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 753, 19 lines modified | Offset 753, 19 lines modified | ||
| 753 | ··············Returns: | 753 | ··············Returns: |
| 754 | ··················Date | 754 | ··················Date |
| 755 | ··············Examples: | 755 | ··············Examples: |
| 756 | ············>>>·Faker.seed(0) | 756 | ············>>>·Faker.seed(0) |
| 757 | ············>>>·for·_·in·range(5): | 757 | ············>>>·for·_·in·range(5): |
| 758 | ············...·····fake.date_of_birth() | 758 | ············...·····fake.date_of_birth() |
| 759 | ············... | 759 | ············... |
| 760 | ············datetime.date(200 | 760 | ············datetime.date(2007,·10,·18) |
| 761 | ············datetime.date(1997,·10,·6) | ||
| 762 | ············datetime.date(1958,·8,·18) | ||
| 761 | ············datetime.date(19 | 763 | ············datetime.date(1939,·11,·17) |
| 762 | ············datetime.date(19 | 764 | ············datetime.date(1969,·2,·24) |
| 763 | ············datetime.date(1940,·12,·18) | ||
| 764 | ············datetime.date(1970,·3,·28) | ||
| 765 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 765 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 766 | ········→·date¶ | 766 | ········→·date¶ |
| 767 | ············Gets·a·Date·object·for·the·current·century. | 767 | ············Gets·a·Date·object·for·the·current·century. |
| 768 | ··············Parameters: | 768 | ··············Parameters: |
| 769 | ······················*·before_today·–·include·days·in·current·century·before | 769 | ······················*·before_today·–·include·days·in·current·century·before |
| 770 | ························today | 770 | ························today |
| 771 | ······················*·after_today·–·include·days·in·current·century·after | 771 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 775, 19 lines modified | Offset 775, 19 lines modified | ||
| 775 | ··············Returns: | 775 | ··············Returns: |
| 776 | ··················Date | 776 | ··················Date |
| 777 | ··············Examples: | 777 | ··············Examples: |
| 778 | ············>>>·Faker.seed(0) | 778 | ············>>>·Faker.seed(0) |
| 779 | ············>>>·for·_·in·range(5): | 779 | ············>>>·for·_·in·range(5): |
| 780 | ············...·····fake.date_this_century() | 780 | ············...·····fake.date_this_century() |
| 781 | ············... | 781 | ············... |
| Max diff block lines reached; 24698/30612 bytes (80.68%) of diff not shown. | |||
| Offset 495, 19 lines modified | Offset 495, 19 lines modified | ||
| 495 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 495 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 496 | <dd·class="field-odd"><p></p></dd> | 496 | <dd·class="field-odd"><p></p></dd> |
| 497 | </dl> | 497 | </dl> |
| 498 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 498 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 499 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 499 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 500 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">cif</span><span·class="p">()</span> | 500 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">cif</span><span·class="p">()</span> |
| 501 | <span·class="gp">...</span> | 501 | <span·class="gp">...</span> |
| 502 | <span·class="go">' | 502 | <span·class="go">'J9338167A'</span> |
| 503 | <span·class="go">' | 503 | <span·class="go">'R6740290I'</span> |
| 504 | <span·class="go">' | 504 | <span·class="go">'V4446458D'</span> |
| 505 | <span·class="go">'V2040868H'</span> | ||
| 506 | <span·class="go">' | 505 | <span·class="go">'U2235414F'</span> |
| 506 | <span·class="go">'D58853326'</span> | ||
| 507 | </pre></div> | 507 | </pre></div> |
| 508 | </div> | 508 | </div> |
| 509 | </dd></dl> | 509 | </dd></dl> |
| 510 | <dl·class="py·method"> | 510 | <dl·class="py·method"> |
| 511 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.es_CA.Provider.doi"> | 511 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.es_CA.Provider.doi"> |
| 512 | <span·class="sig-name·descname"><span·class="pre">doi</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.es_CA.Provider.doi"·title="Link·to·this·definition">¶</a></dt> | 512 | <span·class="sig-name·descname"><span·class="pre">doi</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.es_CA.Provider.doi"·title="Link·to·this·definition">¶</a></dt> |
| Offset 517, 19 lines modified | Offset 517, 19 lines modified | ||
| 517 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 517 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 518 | <dd·class="field-odd"><p></p></dd> | 518 | <dd·class="field-odd"><p></p></dd> |
| 519 | </dl> | 519 | </dl> |
| 520 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 520 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 521 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 521 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 522 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">doi</span><span·class="p">()</span> | 522 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">doi</span><span·class="p">()</span> |
| 523 | <span·class="gp">...</span> | 523 | <span·class="gp">...</span> |
| 524 | <span·class="go">'C38258612'</span> | ||
| 525 | <span·class="go">'U9790628C'</span> | ||
| 526 | <span·class="go">'X4272371Y'</span> | ||
| 527 | <span·class="go">'Z5976131T'</span> | ||
| 524 | <span·class="go">' | 528 | <span·class="go">'X4385822K'</span> |
| 525 | <span·class="go">'61599298P'</span> | ||
| 526 | <span·class="go">'Q0207632A'</span> | ||
| 527 | <span·class="go">'Z0884526C'</span> | ||
| 528 | <span·class="go">'D25366576'</span> | ||
| 529 | </pre></div> | 529 | </pre></div> |
| 530 | </div> | 530 | </div> |
| 531 | </dd></dl> | 531 | </dd></dl> |
| 532 | <dl·class="py·method"> | 532 | <dl·class="py·method"> |
| 533 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.es_CA.Provider.nie"> | 533 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.es_CA.Provider.nie"> |
| 534 | <span·class="sig-name·descname"><span·class="pre">nie</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.es_CA.Provider.nie"·title="Link·to·this·definition">¶</a></dt> | 534 | <span·class="sig-name·descname"><span·class="pre">nie</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.es_CA.Provider.nie"·title="Link·to·this·definition">¶</a></dt> |
| Offset 539, 19 lines modified | Offset 539, 19 lines modified | ||
| 539 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 539 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 540 | <dd·class="field-odd"><p></p></dd> | 540 | <dd·class="field-odd"><p></p></dd> |
| 541 | </dl> | 541 | </dl> |
| 542 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 542 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 543 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 543 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 544 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">nie</span><span·class="p">()</span> | 544 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">nie</span><span·class="p">()</span> |
| 545 | <span·class="gp">...</span> | 545 | <span·class="gp">...</span> |
| 546 | <span·class="go">'Y3461085J'</span> | ||
| 547 | <span·class="go">'Y5532571G'</span> | ||
| 548 | <span·class="go">'Y | 546 | <span·class="go">'Y2297836N'</span> |
| 549 | <span·class="go">' | 547 | <span·class="go">'Y7183321K'</span> |
| 550 | <span·class="go">'X | 548 | <span·class="go">'X0871196W'</span> |
| 549 | <span·class="go">'X8356737D'</span> | ||
| 550 | <span·class="go">'X1883195R'</span> | ||
| 551 | </pre></div> | 551 | </pre></div> |
| 552 | </div> | 552 | </div> |
| 553 | </dd></dl> | 553 | </dd></dl> |
| 554 | <dl·class="py·method"> | 554 | <dl·class="py·method"> |
| 555 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.es_CA.Provider.nif"> | 555 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.es_CA.Provider.nif"> |
| 556 | <span·class="sig-name·descname"><span·class="pre">nif</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.es_CA.Provider.nif"·title="Link·to·this·definition">¶</a></dt> | 556 | <span·class="sig-name·descname"><span·class="pre">nif</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.es_CA.Provider.nif"·title="Link·to·this·definition">¶</a></dt> |
| Offset 561, 19 lines modified | Offset 561, 19 lines modified | ||
| 561 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 561 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 562 | <dd·class="field-odd"><p></p></dd> | 562 | <dd·class="field-odd"><p></p></dd> |
| 563 | </dl> | 563 | </dl> |
| 564 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 564 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 565 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 565 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 566 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">nif</span><span·class="p">()</span> | 566 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">nif</span><span·class="p">()</span> |
| 567 | <span·class="gp">...</span> | 567 | <span·class="gp">...</span> |
| 568 | <span·class="go">' | 568 | <span·class="go">'11791555F'</span> |
| 569 | <span·class="go">'05342005W'</span> | ||
| 570 | <span·class="go">'95716966M'</span> | ||
| 571 | <span·class="go">' | 569 | <span·class="go">'33936641A'</span> |
| 570 | <span·class="go">'35346933G'</span> | ||
| 572 | <span·class="go">' | 571 | <span·class="go">'94383859R'</span> |
| 572 | <span·class="go">'24359795N'</span> | ||
| 573 | </pre></div> | 573 | </pre></div> |
| 574 | </div> | 574 | </div> |
| 575 | </dd></dl> | 575 | </dd></dl> |
| 576 | <dl·class="py·method"> | 576 | <dl·class="py·method"> |
| 577 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.es_CA.Provider.nuss"> | 577 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.es_CA.Provider.nuss"> |
| 578 | <span·class="sig-name·descname"><span·class="pre">nuss</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">company</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.es_CA.Provider.nuss"·title="Link·to·this·definition">¶</a></dt> | 578 | <span·class="sig-name·descname"><span·class="pre">nuss</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">company</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.es_CA.Provider.nuss"·title="Link·to·this·definition">¶</a></dt> |
| Offset 587, 19 lines modified | Offset 587, 19 lines modified | ||
| 587 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 587 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 588 | <dd·class="field-odd"><p></p></dd> | 588 | <dd·class="field-odd"><p></p></dd> |
| 589 | </dl> | 589 | </dl> |
| 590 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 590 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 591 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 591 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 592 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">nuss</span><span·class="p">()</span> | 592 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">nuss</span><span·class="p">()</span> |
| 593 | <span·class="gp">...</span> | 593 | <span·class="gp">...</span> |
| 594 | <span·class="go">'499445909704'</span> | ||
| 595 | <span·class="go">'059630709176'</span> | ||
| 596 | <span·class="go">' | 594 | <span·class="go">'193989973129'</span> |
| 597 | <span·class="go">'305753854287'</span> | ||
| 598 | <span·class="go">' | 595 | <span·class="go">'114483434994'</span> |
| 596 | <span·class="go">'289704044230'</span> | ||
| 597 | <span·class="go">'488694052313'</span> | ||
| 598 | <span·class="go">'464765151312'</span> | ||
| 599 | </pre></div> | 599 | </pre></div> |
| 600 | </div> | 600 | </div> |
| 601 | </dd></dl> | 601 | </dd></dl> |
| 602 | <dl·class="py·method"> | 602 | <dl·class="py·method"> |
| 603 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.es_CA.Provider.ssn"> | 603 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.es_CA.Provider.ssn"> |
| 604 | <span·class="sig-name·descname"><span·class="pre">ssn</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.es_CA.Provider.ssn"·title="Link·to·this·definition">¶</a></dt> | 604 | <span·class="sig-name·descname"><span·class="pre">ssn</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.es_CA.Provider.ssn"·title="Link·to·this·definition">¶</a></dt> |
| Offset 254, 75 lines modified | Offset 254, 75 lines modified | ||
| 254 | ············https://es.wikipedia.org/wiki/C%C3%B3digo_de_identificaci%C3%B3n_ | 254 | ············https://es.wikipedia.org/wiki/C%C3%B3digo_de_identificaci%C3%B3n_ |
| 255 | ············fiscal·:return:·a·random·Spanish·CIF | 255 | ············fiscal·:return:·a·random·Spanish·CIF |
| 256 | ··············Examples: | 256 | ··············Examples: |
| 257 | ············>>>·Faker.seed(0) | 257 | ············>>>·Faker.seed(0) |
| 258 | ············>>>·for·_·in·range(5): | 258 | ············>>>·for·_·in·range(5): |
| 259 | ············...·····fake.cif() | 259 | ············...·····fake.cif() |
| 260 | ············... | 260 | ············... |
| 261 | ············' | 261 | ············'J9338167A' |
| 262 | ············' | 262 | ············'R6740290I' |
| 263 | ············' | 263 | ············'V4446458D' |
| 264 | ············'V2040868H' | ||
| 265 | ············' | 264 | ············'U2235414F' |
| 265 | ············'D58853326' | ||
| 266 | ········doi()·→·str¶ | 266 | ········doi()·→·str¶ |
| 267 | ············https://es.wikipedia.org/wiki/Identificador_de_objeto_digital·: | 267 | ············https://es.wikipedia.org/wiki/Identificador_de_objeto_digital·: |
| 268 | ············return:·a·random·Spanish·CIF·or·NIE·or·NIF | 268 | ············return:·a·random·Spanish·CIF·or·NIE·or·NIF |
| 269 | ··············Examples: | 269 | ··············Examples: |
| 270 | ············>>>·Faker.seed(0) | 270 | ············>>>·Faker.seed(0) |
| 271 | ············>>>·for·_·in·range(5): | 271 | ············>>>·for·_·in·range(5): |
| 272 | ············...·····fake.doi() | 272 | ············...·····fake.doi() |
| 273 | ············... | 273 | ············... |
| 274 | ············'C38258612' | ||
| 275 | ············'U9790628C' | ||
| 276 | ············'X4272371Y' | ||
| 277 | ············'Z5976131T' | ||
| 274 | ············' | 278 | ············'X4385822K' |
| 275 | ············'61599298P' | ||
| 276 | ············'Q0207632A' | ||
| 277 | ············'Z0884526C' | ||
| 278 | ············'D25366576' | ||
| 279 | ········nie()·→·str¶ | 279 | ········nie()·→·str¶ |
| 280 | ············https://es.wikipedia.org/wiki/N%C3%BAmero_de_identidad_de_ | 280 | ············https://es.wikipedia.org/wiki/N%C3%BAmero_de_identidad_de_ |
| 281 | ············extranjero·:return:·a·random·Spanish·NIE | 281 | ············extranjero·:return:·a·random·Spanish·NIE |
| 282 | ··············Examples: | 282 | ··············Examples: |
| 283 | ············>>>·Faker.seed(0) | 283 | ············>>>·Faker.seed(0) |
| 284 | ············>>>·for·_·in·range(5): | 284 | ············>>>·for·_·in·range(5): |
| 285 | ············...·····fake.nie() | 285 | ············...·····fake.nie() |
| 286 | ············... | 286 | ············... |
| 287 | ············'Y3461085J' | ||
| 288 | ············'Y5532571G' | ||
| 289 | ············'Y | 287 | ············'Y2297836N' |
| 290 | ············' | 288 | ············'Y7183321K' |
| 291 | ············'X | 289 | ············'X0871196W' |
| 290 | ············'X8356737D' | ||
| 291 | ············'X1883195R' | ||
| 292 | ········nif()·→·str¶ | 292 | ········nif()·→·str¶ |
| 293 | ············https://es.wikipedia.org/wiki/N%C3%BAmero_de_identificaci%C3%B3n_ | 293 | ············https://es.wikipedia.org/wiki/N%C3%BAmero_de_identificaci%C3%B3n_ |
| 294 | ············fiscal·:return:·NIF | 294 | ············fiscal·:return:·NIF |
| 295 | ··············Examples: | 295 | ··············Examples: |
| 296 | ············>>>·Faker.seed(0) | 296 | ············>>>·Faker.seed(0) |
| 297 | ············>>>·for·_·in·range(5): | 297 | ············>>>·for·_·in·range(5): |
| 298 | ············...·····fake.nif() | 298 | ············...·····fake.nif() |
| 299 | ············... | 299 | ············... |
| 300 | ············'11791555F' | ||
| 300 | ············'41667507V' | ||
| 301 | ············'05342005W' | ||
| 302 | ············'95716966M' | ||
| 303 | ············' | 301 | ············'33936641A' |
| 304 | ············' | 302 | ············'35346933G' |
| 303 | ············'94383859R' | ||
| 304 | ············'24359795N' | ||
| 305 | ········nuss(company:·bool·=·False)·→·str¶ | 305 | ········nuss(company:·bool·=·False)·→·str¶ |
| 306 | ··············Parameters: | 306 | ··············Parameters: |
| 307 | ··················company·–·flag·to·indicate·if·we·should·generate·a·company | 307 | ··················company·–·flag·to·indicate·if·we·should·generate·a·company |
| 308 | ··················NUSS | 308 | ··················NUSS |
| 309 | ··············Returns: | 309 | ··············Returns: |
| 310 | ··················a·random·Spanish·Social·Security·Number·(Número·de·la | 310 | ··················a·random·Spanish·Social·Security·Number·(Número·de·la |
| 311 | ··················Seguridad·Social) | 311 | ··················Seguridad·Social) |
| 312 | ··············Examples: | 312 | ··············Examples: |
| 313 | ············>>>·Faker.seed(0) | 313 | ············>>>·Faker.seed(0) |
| 314 | ············>>>·for·_·in·range(5): | 314 | ············>>>·for·_·in·range(5): |
| 315 | ············...·····fake.nuss() | 315 | ············...·····fake.nuss() |
| 316 | ············... | 316 | ············... |
| 317 | ············'499445909704' | ||
| 318 | ············'059630709176' | ||
| 319 | ············'322891756794' | ||
| 320 | ············'305753854287' | ||
| 321 | ············' | 317 | ············'193989973129' |
| 318 | ············'114483434994' | ||
| 319 | ············'289704044230' | ||
| 320 | ············'488694052313' | ||
| 321 | ············'464765151312' | ||
| 322 | ········ssn()·→·str¶ | 322 | ········ssn()·→·str¶ |
| 323 | ··············Examples: | 323 | ··············Examples: |
| 324 | ············>>>·Faker.seed(0) | 324 | ············>>>·Faker.seed(0) |
| 325 | ············>>>·for·_·in·range(5): | 325 | ············>>>·for·_·in·range(5): |
| 326 | ············...·····fake.ssn() | 326 | ············...·····fake.ssn() |
| 327 | ············... | 327 | ············... |
| 328 | ············'604-87-6475' | 328 | ············'604-87-6475' |
| Offset 1400, 19 lines modified | Offset 1400, 19 lines modified | ||
| 1400 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1400 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1401 | <dd·class="field-odd"><p></p></dd> | 1401 | <dd·class="field-odd"><p></p></dd> |
| 1402 | </dl> | 1402 | </dl> |
| 1403 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1403 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1404 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1404 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1405 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1405 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 1406 | <span·class="gp">...</span> | 1406 | <span·class="gp">...</span> |
| 1407 | <span·class="go">'PM'</span> | ||
| 1408 | <span·class="go">'PM'</span> | ||
| 1409 | <span·class="go">'AM'</span> | 1407 | <span·class="go">'AM'</span> |
| 1410 | <span·class="go">'PM'</span> | 1408 | <span·class="go">'PM'</span> |
| 1411 | <span·class="go">'AM'</span> | 1409 | <span·class="go">'AM'</span> |
| 1410 | <span·class="go">'AM'</span> | ||
| 1411 | <span·class="go">'AM'</span> | ||
| 1412 | </pre></div> | 1412 | </pre></div> |
| 1413 | </div> | 1413 | </div> |
| 1414 | </dd></dl> | 1414 | </dd></dl> |
| 1415 | <dl·class="py·method"> | 1415 | <dl·class="py·method"> |
| 1416 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_CL.Provider.century"> | 1416 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_CL.Provider.century"> |
| 1417 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_CL.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 1417 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_CL.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1453, 19 lines modified | Offset 1453, 19 lines modified | ||
| 1453 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1453 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1454 | <dd·class="field-even"><p></p></dd> | 1454 | <dd·class="field-even"><p></p></dd> |
| 1455 | </dl> | 1455 | </dl> |
| 1456 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1456 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1457 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1457 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1458 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1458 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 1459 | <span·class="gp">...</span> | 1459 | <span·class="gp">...</span> |
| 1460 | <span·class="go">'2018-01-27'</span> | ||
| 1461 | <span·class="go">'201 | 1460 | <span·class="go">'2017-02-26'</span> |
| 1461 | <span·class="go">'2012-04-29'</span> | ||
| 1462 | <span·class="go">'1993- | 1462 | <span·class="go">'1993-06-27'</span> |
| 1463 | <span·class="go">'1984-0 | 1463 | <span·class="go">'1984-06-17'</span> |
| 1464 | <span·class="go">'199 | 1464 | <span·class="go">'1998-07-21'</span> |
| 1465 | </pre></div> | 1465 | </pre></div> |
| 1466 | </div> | 1466 | </div> |
| 1467 | </dd></dl> | 1467 | </dd></dl> |
| 1468 | <dl·class="py·method"> | 1468 | <dl·class="py·method"> |
| 1469 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_CL.Provider.date_between"> | 1469 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_CL.Provider.date_between"> |
| 1470 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_CL.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1470 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_CL.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1487, 19 lines modified | Offset 1487, 19 lines modified | ||
| 1487 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1487 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1488 | <dd·class="field-even"><p></p></dd> | 1488 | <dd·class="field-even"><p></p></dd> |
| 1489 | </dl> | 1489 | </dl> |
| 1490 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1490 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1491 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1491 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1492 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1492 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 1493 | <span·class="gp">...</span> | 1493 | <span·class="gp">...</span> |
| 1494 | <span·class="go">datetime.date(202 | 1494 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 1495 | <span·class="go">datetime.date(201 | 1495 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 1496 | <span·class="go">datetime.date(200 | 1496 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 1497 | <span·class="go">datetime.date(200 | 1497 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 1498 | <span·class="go">datetime.date(201 | 1498 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 1499 | </pre></div> | 1499 | </pre></div> |
| 1500 | </div> | 1500 | </div> |
| 1501 | </dd></dl> | 1501 | </dd></dl> |
| 1502 | <dl·class="py·method"> | 1502 | <dl·class="py·method"> |
| 1503 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_CL.Provider.date_between_dates"> | 1503 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_CL.Provider.date_between_dates"> |
| 1504 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_CL.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 1504 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_CL.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1518, 19 lines modified | Offset 1518, 19 lines modified | ||
| 1518 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1518 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1519 | <dd·class="field-odd"><p></p></dd> | 1519 | <dd·class="field-odd"><p></p></dd> |
| 1520 | </dl> | 1520 | </dl> |
| 1521 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1521 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1522 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1522 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1523 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 1523 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 1524 | <span·class="gp">...</span> | 1524 | <span·class="gp">...</span> |
| 1525 | <span·class="go">datetime.date(202 | 1525 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1526 | <span·class="go">datetime.date(202 | 1526 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1527 | <span·class="go">datetime.date(202 | 1527 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1528 | <span·class="go">datetime.date(202 | 1528 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1529 | <span·class="go">datetime.date(202 | 1529 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1530 | </pre></div> | 1530 | </pre></div> |
| 1531 | </div> | 1531 | </div> |
| 1532 | </dd></dl> | 1532 | </dd></dl> |
| 1533 | <dl·class="py·method"> | 1533 | <dl·class="py·method"> |
| 1534 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_CL.Provider.date_object"> | 1534 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_CL.Provider.date_object"> |
| 1535 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_CL.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 1535 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_CL.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1542, 19 lines modified | Offset 1542, 19 lines modified | ||
| 1542 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1542 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1543 | <dd·class="field-even"><p></p></dd> | 1543 | <dd·class="field-even"><p></p></dd> |
| 1544 | </dl> | 1544 | </dl> |
| 1545 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1545 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1546 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1546 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1547 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1547 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 1548 | <span·class="gp">...</span> | 1548 | <span·class="gp">...</span> |
| 1549 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 1550 | <span·class="go">datetime.date(201 | 1549 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 1550 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 1551 | <span·class="go">datetime.date(1993,· | 1551 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 1552 | <span·class="go">datetime.date(1984,· | 1552 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 1553 | <span·class="go">datetime.date(199 | 1553 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 1554 | </pre></div> | 1554 | </pre></div> |
| 1555 | </div> | 1555 | </div> |
| 1556 | </dd></dl> | 1556 | </dd></dl> |
| 1557 | <dl·class="py·method"> | 1557 | <dl·class="py·method"> |
| 1558 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_CL.Provider.date_of_birth"> | 1558 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_CL.Provider.date_of_birth"> |
| 1559 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_CL.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1559 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_CL.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1578, 19 lines modified | Offset 1578, 19 lines modified | ||
| 1578 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1578 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1579 | <dd·class="field-even"><p></p></dd> | 1579 | <dd·class="field-even"><p></p></dd> |
| 1580 | </dl> | 1580 | </dl> |
| 1581 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1581 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1582 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1582 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1583 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1583 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 1584 | <span·class="gp">...</span> | 1584 | <span·class="gp">...</span> |
| 1585 | <span·class="go">datetime.date(200 | 1585 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 1586 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 1587 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 1586 | <span·class="go">datetime.date(19 | 1588 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 1587 | <span·class="go">datetime.date(19 | 1589 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 1588 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 1589 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 1590 | </pre></div> | 1590 | </pre></div> |
| 1591 | </div> | 1591 | </div> |
| 1592 | </dd></dl> | 1592 | </dd></dl> |
| 1593 | <dl·class="py·method"> | 1593 | <dl·class="py·method"> |
| 1594 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_CL.Provider.date_this_century"> | 1594 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_CL.Provider.date_this_century"> |
| 1595 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_CL.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 1595 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_CL.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1611, 19 lines modified | Offset 1611, 19 lines modified | ||
| 1611 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1611 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 98133/120372 bytes (81.52%) of diff not shown. | |||
| Offset 784, 19 lines modified | Offset 784, 19 lines modified | ||
| 784 | ······Bases:·Provider | 784 | ······Bases:·Provider |
| 785 | ········am_pm()·→·str¶ | 785 | ········am_pm()·→·str¶ |
| 786 | ··············Examples: | 786 | ··············Examples: |
| 787 | ············>>>·Faker.seed(0) | 787 | ············>>>·Faker.seed(0) |
| 788 | ············>>>·for·_·in·range(5): | 788 | ············>>>·for·_·in·range(5): |
| 789 | ············...·····fake.am_pm() | 789 | ············...·····fake.am_pm() |
| 790 | ············... | 790 | ············... |
| 791 | ············'PM' | ||
| 792 | ············'PM' | ||
| 793 | ············'AM' | 791 | ············'AM' |
| 794 | ············'PM' | 792 | ············'PM' |
| 795 | ············'AM' | 793 | ············'AM' |
| 794 | ············'AM' | ||
| 795 | ············'AM' | ||
| 796 | ········century()·→·str¶ | 796 | ········century()·→·str¶ |
| 797 | ··············Example: | 797 | ··············Example: |
| 798 | ··················‘XVII’ | 798 | ··················‘XVII’ |
| 799 | ··············Examples: | 799 | ··············Examples: |
| 800 | ············>>>·Faker.seed(0) | 800 | ············>>>·Faker.seed(0) |
| 801 | ············>>>·for·_·in·range(5): | 801 | ············>>>·for·_·in·range(5): |
| 802 | ············...·····fake.century() | 802 | ············...·····fake.century() |
| Offset 816, 19 lines modified | Offset 816, 19 lines modified | ||
| 816 | ··············Returns: | 816 | ··············Returns: |
| 817 | ··················Date | 817 | ··················Date |
| 818 | ··············Examples: | 818 | ··············Examples: |
| 819 | ············>>>·Faker.seed(0) | 819 | ············>>>·Faker.seed(0) |
| 820 | ············>>>·for·_·in·range(5): | 820 | ············>>>·for·_·in·range(5): |
| 821 | ············...·····fake.date() | 821 | ············...·····fake.date() |
| 822 | ············... | 822 | ············... |
| 823 | ············'2018-01-27' | ||
| 824 | ············'201 | 823 | ············'2017-02-26' |
| 824 | ············'2012-04-29' | ||
| 825 | ············'1993- | 825 | ············'1993-06-27' |
| 826 | ············'1984-0 | 826 | ············'1984-06-17' |
| 827 | ············'199 | 827 | ············'1998-07-21' |
| 828 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 828 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 829 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 829 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 830 | ········date¶ | 830 | ········date¶ |
| 831 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 831 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 832 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 832 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 833 | ··············Parameters: | 833 | ··············Parameters: |
| 834 | ······················*·start_date·–·Defaults·to·30·years·ago | 834 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 838, 19 lines modified | Offset 838, 19 lines modified | ||
| 838 | ··············Returns: | 838 | ··············Returns: |
| 839 | ··················Date | 839 | ··················Date |
| 840 | ··············Examples: | 840 | ··············Examples: |
| 841 | ············>>>·Faker.seed(0) | 841 | ············>>>·Faker.seed(0) |
| 842 | ············>>>·for·_·in·range(5): | 842 | ············>>>·for·_·in·range(5): |
| 843 | ············...·····fake.date_between() | 843 | ············...·····fake.date_between() |
| 844 | ············... | 844 | ············... |
| 845 | ············datetime.date(202 | 845 | ············datetime.date(2021,·3,·5) |
| 846 | ············datetime.date(201 | 846 | ············datetime.date(2018,·7,·31) |
| 847 | ············datetime.date(200 | 847 | ············datetime.date(2008,·6,·16) |
| 848 | ············datetime.date(200 | 848 | ············datetime.date(2003,·8,·11) |
| 849 | ············datetime.date(201 | 849 | ············datetime.date(2011,·3,·7) |
| 850 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 850 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 851 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 851 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 852 | ········=·None)·→·date¶ | 852 | ········=·None)·→·date¶ |
| 853 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 853 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 854 | ············given·dates.·Accepts·Date·or·datetime·objects | 854 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 855 | ··············Parameters: | 855 | ··············Parameters: |
| 856 | ······················*·date_start·–·Date | 856 | ······················*·date_start·–·Date |
| Offset 858, 33 lines modified | Offset 858, 33 lines modified | ||
| 858 | ··············Returns: | 858 | ··············Returns: |
| 859 | ··················Date | 859 | ··················Date |
| 860 | ··············Examples: | 860 | ··············Examples: |
| 861 | ············>>>·Faker.seed(0) | 861 | ············>>>·Faker.seed(0) |
| 862 | ············>>>·for·_·in·range(5): | 862 | ············>>>·for·_·in·range(5): |
| 863 | ············...·····fake.date_between_dates() | 863 | ············...·····fake.date_between_dates() |
| 864 | ············... | 864 | ············... |
| 865 | ············datetime.date(202 | 865 | ············datetime.date(2025,·11,·4) |
| 866 | ············datetime.date(202 | 866 | ············datetime.date(2025,·11,·4) |
| 867 | ············datetime.date(202 | 867 | ············datetime.date(2025,·11,·4) |
| 868 | ············datetime.date(202 | 868 | ············datetime.date(2025,·11,·4) |
| 869 | ············datetime.date(202 | 869 | ············datetime.date(2025,·11,·4) |
| 870 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 870 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 871 | ············Get·a·date·object·between·January·1,·1970·and·now | 871 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 872 | ··············Example: | 872 | ··············Example: |
| 873 | ··················datetime.date(2016,·9,·20) | 873 | ··················datetime.date(2016,·9,·20) |
| 874 | ··············Examples: | 874 | ··············Examples: |
| 875 | ············>>>·Faker.seed(0) | 875 | ············>>>·Faker.seed(0) |
| 876 | ············>>>·for·_·in·range(5): | 876 | ············>>>·for·_·in·range(5): |
| 877 | ············...·····fake.date_object() | 877 | ············...·····fake.date_object() |
| 878 | ············... | 878 | ············... |
| 879 | ············datetime.date(2018,·1,·27) | ||
| 880 | ············datetime.date(201 | 879 | ············datetime.date(2017,·2,·26) |
| 880 | ············datetime.date(2012,·4,·29) | ||
| 881 | ············datetime.date(1993,· | 881 | ············datetime.date(1993,·6,·27) |
| 882 | ············datetime.date(1984,· | 882 | ············datetime.date(1984,·6,·17) |
| 883 | ············datetime.date(199 | 883 | ············datetime.date(1998,·7,·21) |
| 884 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 884 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 885 | ········maximum_age:·int·=·115)·→·date¶ | 885 | ········maximum_age:·int·=·115)·→·date¶ |
| 886 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 886 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 887 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 887 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 888 | ··············Parameters: | 888 | ··············Parameters: |
| 889 | ······················*·tzinfo·–·Defaults·to·None. | 889 | ······················*·tzinfo·–·Defaults·to·None. |
| 890 | ······················*·minimum_age·–·Defaults·to·0. | 890 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 894, 19 lines modified | Offset 894, 19 lines modified | ||
| 894 | ··············Returns: | 894 | ··············Returns: |
| 895 | ··················Date | 895 | ··················Date |
| 896 | ··············Examples: | 896 | ··············Examples: |
| 897 | ············>>>·Faker.seed(0) | 897 | ············>>>·Faker.seed(0) |
| 898 | ············>>>·for·_·in·range(5): | 898 | ············>>>·for·_·in·range(5): |
| 899 | ············...·····fake.date_of_birth() | 899 | ············...·····fake.date_of_birth() |
| 900 | ············... | 900 | ············... |
| 901 | ············datetime.date(200 | 901 | ············datetime.date(2007,·10,·18) |
| 902 | ············datetime.date(1997,·10,·6) | ||
| 903 | ············datetime.date(1958,·8,·18) | ||
| 902 | ············datetime.date(19 | 904 | ············datetime.date(1939,·11,·17) |
| 903 | ············datetime.date(19 | 905 | ············datetime.date(1969,·2,·24) |
| 904 | ············datetime.date(1940,·12,·18) | ||
| 905 | ············datetime.date(1970,·3,·28) | ||
| 906 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 906 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 907 | ········→·date¶ | 907 | ········→·date¶ |
| 908 | ············Gets·a·Date·object·for·the·current·century. | 908 | ············Gets·a·Date·object·for·the·current·century. |
| 909 | ··············Parameters: | 909 | ··············Parameters: |
| 910 | ······················*·before_today·–·include·days·in·current·century·before | 910 | ······················*·before_today·–·include·days·in·current·century·before |
| 911 | ························today | 911 | ························today |
| 912 | ······················*·after_today·–·include·days·in·current·century·after | 912 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 916, 19 lines modified | Offset 916, 19 lines modified | ||
| 916 | ··············Returns: | 916 | ··············Returns: |
| 917 | ··················Date | 917 | ··················Date |
| 918 | ··············Examples: | 918 | ··············Examples: |
| 919 | ············>>>·Faker.seed(0) | 919 | ············>>>·Faker.seed(0) |
| 920 | ············>>>·for·_·in·range(5): | 920 | ············>>>·for·_·in·range(5): |
| 921 | ············...·····fake.date_this_century() | 921 | ············...·····fake.date_this_century() |
| 922 | ············... | 922 | ············... |
| Max diff block lines reached; 24718/30632 bytes (80.69%) of diff not shown. | |||
| Offset 1805, 19 lines modified | Offset 1805, 19 lines modified | ||
| 1805 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1805 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1806 | <dd·class="field-odd"><p></p></dd> | 1806 | <dd·class="field-odd"><p></p></dd> |
| 1807 | </dl> | 1807 | </dl> |
| 1808 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1808 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1809 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1809 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1810 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1810 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 1811 | <span·class="gp">...</span> | 1811 | <span·class="gp">...</span> |
| 1812 | <span·class="go">'PM'</span> | ||
| 1813 | <span·class="go">'PM'</span> | ||
| 1814 | <span·class="go">'AM'</span> | 1812 | <span·class="go">'AM'</span> |
| 1815 | <span·class="go">'PM'</span> | 1813 | <span·class="go">'PM'</span> |
| 1816 | <span·class="go">'AM'</span> | 1814 | <span·class="go">'AM'</span> |
| 1815 | <span·class="go">'AM'</span> | ||
| 1816 | <span·class="go">'AM'</span> | ||
| 1817 | </pre></div> | 1817 | </pre></div> |
| 1818 | </div> | 1818 | </div> |
| 1819 | </dd></dl> | 1819 | </dd></dl> |
| 1820 | <dl·class="py·method"> | 1820 | <dl·class="py·method"> |
| 1821 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_ES.Provider.century"> | 1821 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_ES.Provider.century"> |
| 1822 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_ES.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 1822 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_ES.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1858, 19 lines modified | Offset 1858, 19 lines modified | ||
| 1858 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1858 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1859 | <dd·class="field-even"><p></p></dd> | 1859 | <dd·class="field-even"><p></p></dd> |
| 1860 | </dl> | 1860 | </dl> |
| 1861 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1861 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1862 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1862 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1863 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1863 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 1864 | <span·class="gp">...</span> | 1864 | <span·class="gp">...</span> |
| 1865 | <span·class="go">'2018-01-27'</span> | ||
| 1866 | <span·class="go">'201 | 1865 | <span·class="go">'2017-02-26'</span> |
| 1866 | <span·class="go">'2012-04-29'</span> | ||
| 1867 | <span·class="go">'1993- | 1867 | <span·class="go">'1993-06-27'</span> |
| 1868 | <span·class="go">'1984-0 | 1868 | <span·class="go">'1984-06-17'</span> |
| 1869 | <span·class="go">'199 | 1869 | <span·class="go">'1998-07-21'</span> |
| 1870 | </pre></div> | 1870 | </pre></div> |
| 1871 | </div> | 1871 | </div> |
| 1872 | </dd></dl> | 1872 | </dd></dl> |
| 1873 | <dl·class="py·method"> | 1873 | <dl·class="py·method"> |
| 1874 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_ES.Provider.date_between"> | 1874 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_ES.Provider.date_between"> |
| 1875 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_ES.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1875 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_ES.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1892, 19 lines modified | Offset 1892, 19 lines modified | ||
| 1892 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1892 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1893 | <dd·class="field-even"><p></p></dd> | 1893 | <dd·class="field-even"><p></p></dd> |
| 1894 | </dl> | 1894 | </dl> |
| 1895 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1895 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1896 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1896 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1897 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1897 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 1898 | <span·class="gp">...</span> | 1898 | <span·class="gp">...</span> |
| 1899 | <span·class="go">datetime.date(202 | 1899 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 1900 | <span·class="go">datetime.date(201 | 1900 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 1901 | <span·class="go">datetime.date(200 | 1901 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 1902 | <span·class="go">datetime.date(200 | 1902 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 1903 | <span·class="go">datetime.date(201 | 1903 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 1904 | </pre></div> | 1904 | </pre></div> |
| 1905 | </div> | 1905 | </div> |
| 1906 | </dd></dl> | 1906 | </dd></dl> |
| 1907 | <dl·class="py·method"> | 1907 | <dl·class="py·method"> |
| 1908 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_ES.Provider.date_between_dates"> | 1908 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_ES.Provider.date_between_dates"> |
| 1909 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_ES.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 1909 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_ES.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1923, 19 lines modified | Offset 1923, 19 lines modified | ||
| 1923 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1923 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1924 | <dd·class="field-odd"><p></p></dd> | 1924 | <dd·class="field-odd"><p></p></dd> |
| 1925 | </dl> | 1925 | </dl> |
| 1926 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1926 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1927 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1927 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1928 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 1928 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 1929 | <span·class="gp">...</span> | 1929 | <span·class="gp">...</span> |
| 1930 | <span·class="go">datetime.date(202 | 1930 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1931 | <span·class="go">datetime.date(202 | 1931 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1932 | <span·class="go">datetime.date(202 | 1932 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1933 | <span·class="go">datetime.date(202 | 1933 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1934 | <span·class="go">datetime.date(202 | 1934 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1935 | </pre></div> | 1935 | </pre></div> |
| 1936 | </div> | 1936 | </div> |
| 1937 | </dd></dl> | 1937 | </dd></dl> |
| 1938 | <dl·class="py·method"> | 1938 | <dl·class="py·method"> |
| 1939 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_ES.Provider.date_object"> | 1939 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_ES.Provider.date_object"> |
| 1940 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_ES.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 1940 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_ES.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1947, 19 lines modified | Offset 1947, 19 lines modified | ||
| 1947 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1947 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1948 | <dd·class="field-even"><p></p></dd> | 1948 | <dd·class="field-even"><p></p></dd> |
| 1949 | </dl> | 1949 | </dl> |
| 1950 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1950 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1951 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1951 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1952 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1952 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 1953 | <span·class="gp">...</span> | 1953 | <span·class="gp">...</span> |
| 1954 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 1955 | <span·class="go">datetime.date(201 | 1954 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 1955 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 1956 | <span·class="go">datetime.date(1993,· | 1956 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 1957 | <span·class="go">datetime.date(1984,· | 1957 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 1958 | <span·class="go">datetime.date(199 | 1958 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 1959 | </pre></div> | 1959 | </pre></div> |
| 1960 | </div> | 1960 | </div> |
| 1961 | </dd></dl> | 1961 | </dd></dl> |
| 1962 | <dl·class="py·method"> | 1962 | <dl·class="py·method"> |
| 1963 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_ES.Provider.date_of_birth"> | 1963 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_ES.Provider.date_of_birth"> |
| 1964 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_ES.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1964 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_ES.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1983, 19 lines modified | Offset 1983, 19 lines modified | ||
| 1983 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1983 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1984 | <dd·class="field-even"><p></p></dd> | 1984 | <dd·class="field-even"><p></p></dd> |
| 1985 | </dl> | 1985 | </dl> |
| 1986 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1986 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1987 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1987 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1988 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1988 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 1989 | <span·class="gp">...</span> | 1989 | <span·class="gp">...</span> |
| 1990 | <span·class="go">datetime.date(200 | 1990 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 1991 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 1992 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 1991 | <span·class="go">datetime.date(19 | 1993 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 1992 | <span·class="go">datetime.date(19 | 1994 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 1993 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 1994 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 1995 | </pre></div> | 1995 | </pre></div> |
| 1996 | </div> | 1996 | </div> |
| 1997 | </dd></dl> | 1997 | </dd></dl> |
| 1998 | <dl·class="py·method"> | 1998 | <dl·class="py·method"> |
| 1999 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_ES.Provider.date_this_century"> | 1999 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_ES.Provider.date_this_century"> |
| 2000 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_ES.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 2000 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_ES.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 2016, 19 lines modified | Offset 2016, 19 lines modified | ||
| 2016 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 2016 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 108166/130405 bytes (82.95%) of diff not shown. | |||
| Offset 1088, 19 lines modified | Offset 1088, 19 lines modified | ||
| 1088 | ······Bases:·Provider | 1088 | ······Bases:·Provider |
| 1089 | ········am_pm()·→·str¶ | 1089 | ········am_pm()·→·str¶ |
| 1090 | ··············Examples: | 1090 | ··············Examples: |
| 1091 | ············>>>·Faker.seed(0) | 1091 | ············>>>·Faker.seed(0) |
| 1092 | ············>>>·for·_·in·range(5): | 1092 | ············>>>·for·_·in·range(5): |
| 1093 | ············...·····fake.am_pm() | 1093 | ············...·····fake.am_pm() |
| 1094 | ············... | 1094 | ············... |
| 1095 | ············'PM' | ||
| 1096 | ············'PM' | ||
| 1097 | ············'AM' | 1095 | ············'AM' |
| 1098 | ············'PM' | 1096 | ············'PM' |
| 1099 | ············'AM' | 1097 | ············'AM' |
| 1098 | ············'AM' | ||
| 1099 | ············'AM' | ||
| 1100 | ········century()·→·str¶ | 1100 | ········century()·→·str¶ |
| 1101 | ··············Example: | 1101 | ··············Example: |
| 1102 | ··················‘XVII’ | 1102 | ··················‘XVII’ |
| 1103 | ··············Examples: | 1103 | ··············Examples: |
| 1104 | ············>>>·Faker.seed(0) | 1104 | ············>>>·Faker.seed(0) |
| 1105 | ············>>>·for·_·in·range(5): | 1105 | ············>>>·for·_·in·range(5): |
| 1106 | ············...·····fake.century() | 1106 | ············...·····fake.century() |
| Offset 1120, 19 lines modified | Offset 1120, 19 lines modified | ||
| 1120 | ··············Returns: | 1120 | ··············Returns: |
| 1121 | ··················Date | 1121 | ··················Date |
| 1122 | ··············Examples: | 1122 | ··············Examples: |
| 1123 | ············>>>·Faker.seed(0) | 1123 | ············>>>·Faker.seed(0) |
| 1124 | ············>>>·for·_·in·range(5): | 1124 | ············>>>·for·_·in·range(5): |
| 1125 | ············...·····fake.date() | 1125 | ············...·····fake.date() |
| 1126 | ············... | 1126 | ············... |
| 1127 | ············'2018-01-27' | ||
| 1128 | ············'201 | 1127 | ············'2017-02-26' |
| 1128 | ············'2012-04-29' | ||
| 1129 | ············'1993- | 1129 | ············'1993-06-27' |
| 1130 | ············'1984-0 | 1130 | ············'1984-06-17' |
| 1131 | ············'199 | 1131 | ············'1998-07-21' |
| 1132 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 1132 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 1133 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 1133 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 1134 | ········date¶ | 1134 | ········date¶ |
| 1135 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 1135 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 1136 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 1136 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 1137 | ··············Parameters: | 1137 | ··············Parameters: |
| 1138 | ······················*·start_date·–·Defaults·to·30·years·ago | 1138 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 1142, 19 lines modified | Offset 1142, 19 lines modified | ||
| 1142 | ··············Returns: | 1142 | ··············Returns: |
| 1143 | ··················Date | 1143 | ··················Date |
| 1144 | ··············Examples: | 1144 | ··············Examples: |
| 1145 | ············>>>·Faker.seed(0) | 1145 | ············>>>·Faker.seed(0) |
| 1146 | ············>>>·for·_·in·range(5): | 1146 | ············>>>·for·_·in·range(5): |
| 1147 | ············...·····fake.date_between() | 1147 | ············...·····fake.date_between() |
| 1148 | ············... | 1148 | ············... |
| 1149 | ············datetime.date(202 | 1149 | ············datetime.date(2021,·3,·5) |
| 1150 | ············datetime.date(201 | 1150 | ············datetime.date(2018,·7,·31) |
| 1151 | ············datetime.date(200 | 1151 | ············datetime.date(2008,·6,·16) |
| 1152 | ············datetime.date(200 | 1152 | ············datetime.date(2003,·8,·11) |
| 1153 | ············datetime.date(201 | 1153 | ············datetime.date(2011,·3,·7) |
| 1154 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 1154 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 1155 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 1155 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 1156 | ········=·None)·→·date¶ | 1156 | ········=·None)·→·date¶ |
| 1157 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 1157 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 1158 | ············given·dates.·Accepts·Date·or·datetime·objects | 1158 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 1159 | ··············Parameters: | 1159 | ··············Parameters: |
| 1160 | ······················*·date_start·–·Date | 1160 | ······················*·date_start·–·Date |
| Offset 1162, 33 lines modified | Offset 1162, 33 lines modified | ||
| 1162 | ··············Returns: | 1162 | ··············Returns: |
| 1163 | ··················Date | 1163 | ··················Date |
| 1164 | ··············Examples: | 1164 | ··············Examples: |
| 1165 | ············>>>·Faker.seed(0) | 1165 | ············>>>·Faker.seed(0) |
| 1166 | ············>>>·for·_·in·range(5): | 1166 | ············>>>·for·_·in·range(5): |
| 1167 | ············...·····fake.date_between_dates() | 1167 | ············...·····fake.date_between_dates() |
| 1168 | ············... | 1168 | ············... |
| 1169 | ············datetime.date(202 | 1169 | ············datetime.date(2025,·11,·4) |
| 1170 | ············datetime.date(202 | 1170 | ············datetime.date(2025,·11,·4) |
| 1171 | ············datetime.date(202 | 1171 | ············datetime.date(2025,·11,·4) |
| 1172 | ············datetime.date(202 | 1172 | ············datetime.date(2025,·11,·4) |
| 1173 | ············datetime.date(202 | 1173 | ············datetime.date(2025,·11,·4) |
| 1174 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 1174 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 1175 | ············Get·a·date·object·between·January·1,·1970·and·now | 1175 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 1176 | ··············Example: | 1176 | ··············Example: |
| 1177 | ··················datetime.date(2016,·9,·20) | 1177 | ··················datetime.date(2016,·9,·20) |
| 1178 | ··············Examples: | 1178 | ··············Examples: |
| 1179 | ············>>>·Faker.seed(0) | 1179 | ············>>>·Faker.seed(0) |
| 1180 | ············>>>·for·_·in·range(5): | 1180 | ············>>>·for·_·in·range(5): |
| 1181 | ············...·····fake.date_object() | 1181 | ············...·····fake.date_object() |
| 1182 | ············... | 1182 | ············... |
| 1183 | ············datetime.date(2018,·1,·27) | ||
| 1184 | ············datetime.date(201 | 1183 | ············datetime.date(2017,·2,·26) |
| 1184 | ············datetime.date(2012,·4,·29) | ||
| 1185 | ············datetime.date(1993,· | 1185 | ············datetime.date(1993,·6,·27) |
| 1186 | ············datetime.date(1984,· | 1186 | ············datetime.date(1984,·6,·17) |
| 1187 | ············datetime.date(199 | 1187 | ············datetime.date(1998,·7,·21) |
| 1188 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 1188 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 1189 | ········maximum_age:·int·=·115)·→·date¶ | 1189 | ········maximum_age:·int·=·115)·→·date¶ |
| 1190 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 1190 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 1191 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 1191 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 1192 | ··············Parameters: | 1192 | ··············Parameters: |
| 1193 | ······················*·tzinfo·–·Defaults·to·None. | 1193 | ······················*·tzinfo·–·Defaults·to·None. |
| 1194 | ······················*·minimum_age·–·Defaults·to·0. | 1194 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 1198, 19 lines modified | Offset 1198, 19 lines modified | ||
| 1198 | ··············Returns: | 1198 | ··············Returns: |
| 1199 | ··················Date | 1199 | ··················Date |
| 1200 | ··············Examples: | 1200 | ··············Examples: |
| 1201 | ············>>>·Faker.seed(0) | 1201 | ············>>>·Faker.seed(0) |
| 1202 | ············>>>·for·_·in·range(5): | 1202 | ············>>>·for·_·in·range(5): |
| 1203 | ············...·····fake.date_of_birth() | 1203 | ············...·····fake.date_of_birth() |
| 1204 | ············... | 1204 | ············... |
| 1205 | ············datetime.date(200 | 1205 | ············datetime.date(2007,·10,·18) |
| 1206 | ············datetime.date(1997,·10,·6) | ||
| 1207 | ············datetime.date(1958,·8,·18) | ||
| 1206 | ············datetime.date(19 | 1208 | ············datetime.date(1939,·11,·17) |
| 1207 | ············datetime.date(19 | 1209 | ············datetime.date(1969,·2,·24) |
| 1208 | ············datetime.date(1940,·12,·18) | ||
| 1209 | ············datetime.date(1970,·3,·28) | ||
| 1210 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 1210 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 1211 | ········→·date¶ | 1211 | ········→·date¶ |
| 1212 | ············Gets·a·Date·object·for·the·current·century. | 1212 | ············Gets·a·Date·object·for·the·current·century. |
| 1213 | ··············Parameters: | 1213 | ··············Parameters: |
| 1214 | ······················*·before_today·–·include·days·in·current·century·before | 1214 | ······················*·before_today·–·include·days·in·current·century·before |
| 1215 | ························today | 1215 | ························today |
| 1216 | ······················*·after_today·–·include·days·in·current·century·after | 1216 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 1220, 19 lines modified | Offset 1220, 19 lines modified | ||
| 1220 | ··············Returns: | 1220 | ··············Returns: |
| 1221 | ··················Date | 1221 | ··················Date |
| 1222 | ··············Examples: | 1222 | ··············Examples: |
| 1223 | ············>>>·Faker.seed(0) | 1223 | ············>>>·Faker.seed(0) |
| 1224 | ············>>>·for·_·in·range(5): | 1224 | ············>>>·for·_·in·range(5): |
| 1225 | ············...·····fake.date_this_century() | 1225 | ············...·····fake.date_this_century() |
| 1226 | ············... | 1226 | ············... |
| Max diff block lines reached; 27780/33706 bytes (82.42%) of diff not shown. | |||
| Offset 1509, 19 lines modified | Offset 1509, 19 lines modified | ||
| 1509 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1509 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1510 | <dd·class="field-even"><p></p></dd> | 1510 | <dd·class="field-even"><p></p></dd> |
| 1511 | </dl> | 1511 | </dl> |
| 1512 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1512 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1513 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1513 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1514 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">curp</span><span·class="p">()</span> | 1514 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">curp</span><span·class="p">()</span> |
| 1515 | <span·class="gp">...</span> | 1515 | <span·class="gp">...</span> |
| 1516 | <span·class="go">' | 1516 | <span·class="go">'VEWE071018HYNNPEA3'</span> |
| 1517 | <span·class="go">'X | 1517 | <span·class="go">'XEIT971006MGRQPP06'</span> |
| 1518 | <span·class="go">'WAAE590919MQRDTU08'</span> | ||
| 1519 | <span·class="go">' | 1518 | <span·class="go">'FEJA580818MTSDCQ00'</span> |
| 1520 | <span·class="go">' | 1519 | <span·class="go">'VOGP391117HBCDSD03'</span> |
| 1520 | <span·class="go">'PIFJ690224HBCVJU08'</span> | ||
| 1521 | </pre></div> | 1521 | </pre></div> |
| 1522 | </div> | 1522 | </div> |
| 1523 | </dd></dl> | 1523 | </dd></dl> |
| 1524 | <dl·class="py·method"> | 1524 | <dl·class="py·method"> |
| 1525 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.es_MX.Provider.elector_code"> | 1525 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.es_MX.Provider.elector_code"> |
| 1526 | <span·class="sig-name·descname"><span·class="pre">elector_code</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">gender</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Literal"·title="(in·Python·v3.13)"><span·class="pre">Literal</span></a><span·class="p"><span·class="pre">[</span></span><span·class="s"><span·class="pre">'H'</span></span><span·class="p"><span·class="pre">,</span></span><span·class="w">·</span><span·class="s"><span·class="pre">'M'</span></span><span·class="p"><span·class="pre">]</span></span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.es_MX.Provider.elector_code"·title="Link·to·this·definition">¶</a></dt> | 1526 | <span·class="sig-name·descname"><span·class="pre">elector_code</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">gender</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Literal"·title="(in·Python·v3.13)"><span·class="pre">Literal</span></a><span·class="p"><span·class="pre">[</span></span><span·class="s"><span·class="pre">'H'</span></span><span·class="p"><span·class="pre">,</span></span><span·class="w">·</span><span·class="s"><span·class="pre">'M'</span></span><span·class="p"><span·class="pre">]</span></span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.es_MX.Provider.elector_code"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1537, 30 lines modified | Offset 1537, 30 lines modified | ||
| 1537 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1537 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1538 | <dd·class="field-odd"><p></p></dd> | 1538 | <dd·class="field-odd"><p></p></dd> |
| 1539 | </dl> | 1539 | </dl> |
| 1540 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1540 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1541 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1541 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1542 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">elector_code</span><span·class="p">()</span> | 1542 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">elector_code</span><span·class="p">()</span> |
| 1543 | <span·class="gp">...</span> | 1543 | <span·class="gp">...</span> |
| 1544 | <span·class="go">'WDYXSS08111808H623'</span> | ||
| 1545 | <span·class="go">'ZDYZBT98110714H944'</span> | ||
| 1546 | <span·class="go">'RPGYKR59091907M700'</span> | ||
| 1547 | <span·class="go">' | 1544 | <span·class="go">'XBCDPH07101809M929'</span> |
| 1545 | <span·class="go">'RYDMNR97100616M823'</span> | ||
| 1548 | <span·class="go">' | 1546 | <span·class="go">'XGMKPT58081829M888'</span> |
| 1547 | <span·class="go">'JDLWMZ39111721M199'</span> | ||
| 1548 | <span·class="go">'VMNDQM69022425M939'</span> | ||
| 1549 | </pre></div> | 1549 | </pre></div> |
| 1550 | </div> | 1550 | </div> |
| 1551 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1551 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1552 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1552 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1553 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">elector_code</span><span·class="p">(</span><span·class="n">gender</span><span·class="o">=</span><span·class="s1">'M'</span><span·class="p">)</span> | 1553 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">elector_code</span><span·class="p">(</span><span·class="n">gender</span><span·class="o">=</span><span·class="s1">'M'</span><span·class="p">)</span> |
| 1554 | <span·class="gp">...</span> | 1554 | <span·class="gp">...</span> |
| 1555 | <span·class="go">'QHZRDS07101813M903'</span> | ||
| 1556 | <span·class="go">'NRXNTQ97100616M858'</span> | ||
| 1555 | <span·class="go">' | 1557 | <span·class="go">'TCDBVL58081818M006'</span> |
| 1556 | <span·class="go">' | 1558 | <span·class="go">'TFFVPC39111710M615'</span> |
| 1557 | <span·class="go">'RKKSCD59091929M275'</span> | ||
| 1558 | <span·class="go">'J | 1559 | <span·class="go">'YJTYHB69022430M681'</span> |
| 1559 | <span·class="go">'DHMHNZ70032821M876'</span> | ||
| 1560 | </pre></div> | 1560 | </pre></div> |
| 1561 | </div> | 1561 | </div> |
| 1562 | </dd></dl> | 1562 | </dd></dl> |
| 1563 | <dl·class="py·method"> | 1563 | <dl·class="py·method"> |
| 1564 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.es_MX.Provider.rfc"> | 1564 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.es_MX.Provider.rfc"> |
| 1565 | <span·class="sig-name·descname"><span·class="pre">rfc</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">natural</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.es_MX.Provider.rfc"·title="Link·to·this·definition">¶</a></dt> | 1565 | <span·class="sig-name·descname"><span·class="pre">rfc</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">natural</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.es_MX.Provider.rfc"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1576, 19 lines modified | Offset 1576, 19 lines modified | ||
| 1576 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1576 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1577 | <dd·class="field-odd"><p></p></dd> | 1577 | <dd·class="field-odd"><p></p></dd> |
| 1578 | </dl> | 1578 | </dl> |
| 1579 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1579 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1580 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1580 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1581 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">rfc</span><span·class="p">()</span> | 1581 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">rfc</span><span·class="p">()</span> |
| 1582 | <span·class="gp">...</span> | 1582 | <span·class="gp">...</span> |
| 1583 | <span·class="go">' | 1583 | <span·class="go">'JUXT0710188U7'</span> |
| 1584 | <span·class="go">' | 1584 | <span·class="go">'IANM971006NW7'</span> |
| 1585 | <span·class="go">' | 1585 | <span·class="go">'YUBP58081854V'</span> |
| 1586 | <span·class="go">' | 1586 | <span·class="go">'VIVJ391117T59'</span> |
| 1587 | <span·class="go">' | 1587 | <span·class="go">'JEQJ690224NBI'</span> |
| 1588 | </pre></div> | 1588 | </pre></div> |
| 1589 | </div> | 1589 | </div> |
| 1590 | </dd></dl> | 1590 | </dd></dl> |
| 1591 | <dl·class="py·method"> | 1591 | <dl·class="py·method"> |
| 1592 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.es_MX.Provider.ssn"> | 1592 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.es_MX.Provider.ssn"> |
| 1593 | <span·class="sig-name·descname"><span·class="pre">ssn</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.es_MX.Provider.ssn"·title="Link·to·this·definition">¶</a></dt> | 1593 | <span·class="sig-name·descname"><span·class="pre">ssn</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.es_MX.Provider.ssn"·title="Link·to·this·definition">¶</a></dt> |
| Offset 860, 64 lines modified | Offset 860, 64 lines modified | ||
| 860 | ··············Returns: | 860 | ··············Returns: |
| 861 | ··················a·random·Mexican·CURP·(Unique·Population·Registry·Code) | 861 | ··················a·random·Mexican·CURP·(Unique·Population·Registry·Code) |
| 862 | ··············Examples: | 862 | ··············Examples: |
| 863 | ············>>>·Faker.seed(0) | 863 | ············>>>·Faker.seed(0) |
| 864 | ············>>>·for·_·in·range(5): | 864 | ············>>>·for·_·in·range(5): |
| 865 | ············...·····fake.curp() | 865 | ············...·····fake.curp() |
| 866 | ············... | 866 | ············... |
| 867 | ············'AUXU081118MTSDDLA5' | ||
| 868 | ············'XIFZ981107MQRPTC07' | ||
| 869 | ············'WAAE590919MQRDTU08' | ||
| 870 | ············'EELN401218MQOWMM03' | ||
| 871 | ············' | 867 | ············'VEWE071018HYNNPEA3' |
| 868 | ············'XEIT971006MGRQPP06' | ||
| 869 | ············'FEJA580818MTSDCQ00' | ||
| 870 | ············'VOGP391117HBCDSD03' | ||
| 871 | ············'PIFJ690224HBCVJU08' | ||
| 872 | ········elector_code(gender:·Literal['H',·'M']·|·None·=·None)·→·str¶ | 872 | ········elector_code(gender:·Literal['H',·'M']·|·None·=·None)·→·str¶ |
| 873 | ············Unique·elector·code·issued·by·INE·(Instituto·Nacional·Electoral)·in | 873 | ············Unique·elector·code·issued·by·INE·(Instituto·Nacional·Electoral)·in |
| 874 | ············Mexico. | 874 | ············Mexico. |
| 875 | ··············Parameters: | 875 | ··············Parameters: |
| 876 | ··················gender·(str)·–·Gender·for·which·to·generate·the·code.·Will·be | 876 | ··················gender·(str)·–·Gender·for·which·to·generate·the·code.·Will·be |
| 877 | ··················randomly·selected·if·not·provided. | 877 | ··················randomly·selected·if·not·provided. |
| 878 | ··············Returns: | 878 | ··············Returns: |
| 879 | ··················a·random·INE·elector·code | 879 | ··················a·random·INE·elector·code |
| 880 | ··············Examples: | 880 | ··············Examples: |
| 881 | ············>>>·Faker.seed(0) | 881 | ············>>>·Faker.seed(0) |
| 882 | ············>>>·for·_·in·range(5): | 882 | ············>>>·for·_·in·range(5): |
| 883 | ············...·····fake.elector_code() | 883 | ············...·····fake.elector_code() |
| 884 | ············... | 884 | ············... |
| 885 | ············'WDYXSS08111808H623' | ||
| 886 | ············'ZDYZBT98110714H944' | ||
| 887 | ············'RPGYKR59091907M700' | ||
| 888 | ············'VBCGBS40121801M063' | ||
| 889 | ············' | 885 | ············'XBCDPH07101809M929' |
| 886 | ············'RYDMNR97100616M823' | ||
| 887 | ············'XGMKPT58081829M888' | ||
| 888 | ············'JDLWMZ39111721M199' | ||
| 889 | ············'VMNDQM69022425M939' | ||
| 890 | ············>>>·Faker.seed(0) | 890 | ············>>>·Faker.seed(0) |
| 891 | ············>>>·for·_·in·range(5): | 891 | ············>>>·for·_·in·range(5): |
| 892 | ············...·····fake.elector_code(gender='M') | 892 | ············...·····fake.elector_code(gender='M') |
| 893 | ············... | 893 | ············... |
| 894 | ············'ZGCGSC08111806M050' | ||
| 895 | ············'SXPKVR98110727M672' | ||
| 896 | ············'RKKSCD59091929M275' | ||
| 897 | ············'JVGJTR40121830M333' | ||
| 898 | ············' | 894 | ············'QHZRDS07101813M903' |
| 895 | ············'NRXNTQ97100616M858' | ||
| 896 | ············'TCDBVL58081818M006' | ||
| 897 | ············'TFFVPC39111710M615' | ||
| 898 | ············'YJTYHB69022430M681' | ||
| 899 | ········rfc(natural:·bool·=·True)·→·str¶ | 899 | ········rfc(natural:·bool·=·True)·→·str¶ |
| 900 | ············See·https://es.wikipedia.org/wiki/Registro_Federal_de_ | 900 | ············See·https://es.wikipedia.org/wiki/Registro_Federal_de_ |
| 901 | ············Contribuyentes | 901 | ············Contribuyentes |
| 902 | ··············Parameters: | 902 | ··············Parameters: |
| 903 | ··················natural·(bool)·–·Whether·to·return·the·RFC·of·a·natural | 903 | ··················natural·(bool)·–·Whether·to·return·the·RFC·of·a·natural |
| 904 | ··················person.·Otherwise·return·the·RFC·of·a·legal·person. | 904 | ··················person.·Otherwise·return·the·RFC·of·a·legal·person. |
| 905 | ··············Returns: | 905 | ··············Returns: |
| 906 | ··················a·random·Mexican·RFC | 906 | ··················a·random·Mexican·RFC |
| 907 | ··············Examples: | 907 | ··············Examples: |
| 908 | ············>>>·Faker.seed(0) | 908 | ············>>>·Faker.seed(0) |
| 909 | ············>>>·for·_·in·range(5): | 909 | ············>>>·for·_·in·range(5): |
| 910 | ············...·····fake.rfc() | 910 | ············...·····fake.rfc() |
| 911 | ············... | 911 | ············... |
| 912 | ············'QOLV0811183NZ' | ||
| 913 | ············'YAKP9811078C0' | ||
| 914 | ············'AAKB590919NEO' | ||
| 915 | ············'OOWI401218JTP' | ||
| 916 | ············' | 912 | ············'JUXT0710188U7' |
| 913 | ············'IANM971006NW7' | ||
| 914 | ············'YUBP58081854V' | ||
| 915 | ············'VIVJ391117T59' | ||
| 916 | ············'JEQJ690224NBI' | ||
| 917 | ········ssn()·→·str¶ | 917 | ········ssn()·→·str¶ |
| 918 | ············Mexican·Social·Security·Number,·as·given·by·IMSS. | 918 | ············Mexican·Social·Security·Number,·as·given·by·IMSS. |
| 919 | ··············Returns: | 919 | ··············Returns: |
| 920 | ··················a·random·Mexican·SSN | 920 | ··················a·random·Mexican·SSN |
| 921 | ··············Examples: | 921 | ··············Examples: |
| 922 | ············>>>·Faker.seed(0) | 922 | ············>>>·Faker.seed(0) |
| 923 | ············>>>·for·_·in·range(5): | 923 | ············>>>·for·_·in·range(5): |
| Offset 715, 19 lines modified | Offset 715, 19 lines modified | ||
| 715 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 715 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 716 | <dd·class="field-odd"><p></p></dd> | 716 | <dd·class="field-odd"><p></p></dd> |
| 717 | </dl> | 717 | </dl> |
| 718 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 718 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 719 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 719 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 720 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">ssn</span><span·class="p">()</span> | 720 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">ssn</span><span·class="p">()</span> |
| 721 | <span·class="gp">...</span> | 721 | <span·class="gp">...</span> |
| 722 | <span·class="go">'47605190412'</span> | ||
| 723 | <span·class="go">'4 | 722 | <span·class="go">'47504180419'</span> |
| 723 | <span·class="go">'48608174142'</span> | ||
| 724 | <span·class="go">'4 | 724 | <span·class="go">'43907169911'</span> |
| 725 | <span·class="go">'46 | 725 | <span·class="go">'46702055971'</span> |
| 726 | <span·class="go">'39 | 726 | <span·class="go">'39004052887'</span> |
| 727 | </pre></div> | 727 | </pre></div> |
| 728 | </div> | 728 | </div> |
| 729 | </dd></dl> | 729 | </dd></dl> |
| 730 | <dl·class="py·method"> | 730 | <dl·class="py·method"> |
| 731 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.et_EE.Provider.vat_id"> | 731 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.et_EE.Provider.vat_id"> |
| 732 | <span·class="sig-name·descname"><span·class="pre">vat_id</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.et_EE.Provider.vat_id"·title="Link·to·this·definition">¶</a></dt> | 732 | <span·class="sig-name·descname"><span·class="pre">vat_id</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.et_EE.Provider.vat_id"·title="Link·to·this·definition">¶</a></dt> |
| Offset 379, 19 lines modified | Offset 379, 19 lines modified | ||
| 379 | ············https://en.wikipedia.org/wiki/National_identification_ | 379 | ············https://en.wikipedia.org/wiki/National_identification_ |
| 380 | ············number#Estonia | 380 | ············number#Estonia |
| 381 | ··············Examples: | 381 | ··············Examples: |
| 382 | ············>>>·Faker.seed(0) | 382 | ············>>>·Faker.seed(0) |
| 383 | ············>>>·for·_·in·range(5): | 383 | ············>>>·for·_·in·range(5): |
| 384 | ············...·····fake.ssn() | 384 | ············...·····fake.ssn() |
| 385 | ············... | 385 | ············... |
| 386 | ············'47605190412' | ||
| 387 | ············'4 | 386 | ············'47504180419' |
| 387 | ············'48608174142' | ||
| 388 | ············'4 | 388 | ············'43907169911' |
| 389 | ············'46 | 389 | ············'46702055971' |
| 390 | ············'39 | 390 | ············'39004052887' |
| 391 | ········vat_id()·→·str¶ | 391 | ········vat_id()·→·str¶ |
| 392 | ············http://ec.europa.eu/taxation_customs/vies/faq.html#item_11·:return: | 392 | ············http://ec.europa.eu/taxation_customs/vies/faq.html#item_11·:return: |
| 393 | ············A·random·Estonian·VAT·ID | 393 | ············A·random·Estonian·VAT·ID |
| 394 | ··············Examples: | 394 | ··············Examples: |
| 395 | ············>>>·Faker.seed(0) | 395 | ············>>>·Faker.seed(0) |
| 396 | ············>>>·for·_·in·range(5): | 396 | ············>>>·for·_·in·range(5): |
| 397 | ············...·····fake.vat_id() | 397 | ············...·····fake.vat_id() |
| Offset 1144, 19 lines modified | Offset 1144, 19 lines modified | ||
| 1144 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1144 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1145 | <dd·class="field-odd"><p></p></dd> | 1145 | <dd·class="field-odd"><p></p></dd> |
| 1146 | </dl> | 1146 | </dl> |
| 1147 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1147 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1148 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1148 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1149 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">credit_card_expire</span><span·class="p">()</span> | 1149 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">credit_card_expire</span><span·class="p">()</span> |
| 1150 | <span·class="gp">...</span> | 1150 | <span·class="gp">...</span> |
| 1151 | <span·class="go">'05/35'</span> | ||
| 1152 | <span·class="go">'0 | 1151 | <span·class="go">'04/34'</span> |
| 1153 | <span·class="go">'0 | 1152 | <span·class="go">'06/33'</span> |
| 1154 | <span·class="go">'07/29'</span> | ||
| 1155 | <span·class="go">'01/3 | 1153 | <span·class="go">'01/30'</span> |
| 1154 | <span·class="go">'06/28'</span> | ||
| 1155 | <span·class="go">'12/30'</span> | ||
| 1156 | </pre></div> | 1156 | </pre></div> |
| 1157 | </div> | 1157 | </div> |
| 1158 | </dd></dl> | 1158 | </dd></dl> |
| 1159 | <dl·class="py·method"> | 1159 | <dl·class="py·method"> |
| 1160 | <dt·class="sig·sig-object·py"·id="faker.providers.credit_card.fa_IR.Provider.credit_card_full"> | 1160 | <dt·class="sig·sig-object·py"·id="faker.providers.credit_card.fa_IR.Provider.credit_card_full"> |
| 1161 | <span·class="sig-name·descname"><span·class="pre">credit_card_full</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">card_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CardType</span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.credit_card.fa_IR.Provider.credit_card_full"·title="Link·to·this·definition">¶</a></dt> | 1161 | <span·class="sig-name·descname"><span·class="pre">credit_card_full</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">card_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CardType</span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.credit_card.fa_IR.Provider.credit_card_full"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1165, 19 lines modified | Offset 1165, 19 lines modified | ||
| 1165 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1165 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1166 | <dd·class="field-odd"><p></p></dd> | 1166 | <dd·class="field-odd"><p></p></dd> |
| 1167 | </dl> | 1167 | </dl> |
| 1168 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1168 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1169 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1169 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1170 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">credit_card_full</span><span·class="p">()</span> | 1170 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">credit_card_full</span><span·class="p">()</span> |
| 1171 | <span·class="gp">...</span> | 1171 | <span·class="gp">...</span> |
| 1172 | <span·class="go">'پارسیان\nبهار·گلپایگانی\n6221060487647590·1 | 1172 | <span·class="go">'پارسیان\nبهار·گلپایگانی\n6221060487647590·10/34\nCVV2:·382\n'</span> |
| 1173 | <span·class="go">'اقتصاد·نوین\nآوا·کمالی\n6274129489241151·0 | 1173 | <span·class="go">'اقتصاد·نوین\nآوا·کمالی\n6274129489241151·07/30\nCVV2:·156\n'</span> |
| 1174 | <span·class="go">'ملی\nسبحان·هدایت\n6037998778408012·0 | 1174 | <span·class="go">'ملی\nسبحان·هدایت\n6037998778408012·01/33\nCVV2:·609\n'</span> |
| 1175 | <span·class="go">'ملت\nمهسا·سمسار\n6104331393328712·0 | 1175 | <span·class="go">'ملت\nمهسا·سمسار\n6104331393328712·08/26\nCVV2:·587\n'</span> |
| 1176 | <span·class="go">'کشاورزی\nرقيه·میردامادی\n6037701858398941·0 | 1176 | <span·class="go">'کشاورزی\nرقيه·میردامادی\n6037701858398941·04/30\nCVV2:·965\n'</span> |
| 1177 | </pre></div> | 1177 | </pre></div> |
| 1178 | </div> | 1178 | </div> |
| 1179 | </dd></dl> | 1179 | </dd></dl> |
| 1180 | <dl·class="py·method"> | 1180 | <dl·class="py·method"> |
| 1181 | <dt·class="sig·sig-object·py"·id="faker.providers.credit_card.fa_IR.Provider.credit_card_number"> | 1181 | <dt·class="sig·sig-object·py"·id="faker.providers.credit_card.fa_IR.Provider.credit_card_number"> |
| 1182 | <span·class="sig-name·descname"><span·class="pre">credit_card_number</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">card_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CardType</span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.credit_card.fa_IR.Provider.credit_card_number"·title="Link·to·this·definition">¶</a></dt> | 1182 | <span·class="sig-name·descname"><span·class="pre">credit_card_number</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">card_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CardType</span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.credit_card.fa_IR.Provider.credit_card_number"·title="Link·to·this·definition">¶</a></dt> |
| Offset 688, 31 lines modified | Offset 688, 31 lines modified | ||
| 688 | ············expiry·date,·strftime()·is·used·and·date_format·is·simply·passed·to | 688 | ············expiry·date,·strftime()·is·used·and·date_format·is·simply·passed·to |
| 689 | ············that·method. | 689 | ············that·method. |
| 690 | ··············Examples: | 690 | ··············Examples: |
| 691 | ············>>>·Faker.seed(0) | 691 | ············>>>·Faker.seed(0) |
| 692 | ············>>>·for·_·in·range(5): | 692 | ············>>>·for·_·in·range(5): |
| 693 | ············...·····fake.credit_card_expire() | 693 | ············...·····fake.credit_card_expire() |
| 694 | ············... | 694 | ············... |
| 695 | ············'05/35' | ||
| 696 | ············'0 | 695 | ············'04/34' |
| 697 | ············'0 | 696 | ············'06/33' |
| 698 | ············'07/29' | ||
| 699 | ············'01/3 | 697 | ············'01/30' |
| 698 | ············'06/28' | ||
| 699 | ············'12/30' | ||
| 700 | ········credit_card_full(card_type:·CardType·|·None·=·None)·→·str¶ | 700 | ········credit_card_full(card_type:·CardType·|·None·=·None)·→·str¶ |
| 701 | ············Generate·a·set·of·credit·card·details. | 701 | ············Generate·a·set·of·credit·card·details. |
| 702 | ··············Examples: | 702 | ··············Examples: |
| 703 | ············>>>·Faker.seed(0) | 703 | ············>>>·Faker.seed(0) |
| 704 | ············>>>·for·_·in·range(5): | 704 | ············>>>·for·_·in·range(5): |
| 705 | ············...·····fake.credit_card_full() | 705 | ············...·····fake.credit_card_full() |
| 706 | ············... | 706 | ············... |
| 707 | ············'پارسیان\nبهار·گلپایگانی\n6221060487647590·1 | 707 | ············'پارسیان\nبهار·گلپایگانی\n6221060487647590·10/34\nCVV2:·382\n' |
| 708 | ············'اقتصاد·نوین\nآوا·کمالی\n6274129489241151·0 | 708 | ············'اقتصاد·نوین\nآوا·کمالی\n6274129489241151·07/30\nCVV2:·156\n' |
| 709 | ············'ملی\nسبحان·هدایت\n6037998778408012·0 | 709 | ············'ملی\nسبحان·هدایت\n6037998778408012·01/33\nCVV2:·609\n' |
| 710 | ············'ملت\nمهسا·سمسار\n6104331393328712·0 | 710 | ············'ملت\nمهسا·سمسار\n6104331393328712·08/26\nCVV2:·587\n' |
| 711 | ············'کشاورزی\nرقيه·میردامادی\n6037701858398941·0 | 711 | ············'کشاورزی\nرقيه·میردامادی\n6037701858398941·04/30\nCVV2:·965\n' |
| 712 | ········credit_card_number(card_type:·CardType·|·None·=·None)·→·str¶ | 712 | ········credit_card_number(card_type:·CardType·|·None·=·None)·→·str¶ |
| 713 | ············Generate·a·valid·credit·card·number. | 713 | ············Generate·a·valid·credit·card·number. |
| 714 | ··············Examples: | 714 | ··············Examples: |
| 715 | ············>>>·Faker.seed(0) | 715 | ············>>>·Faker.seed(0) |
| 716 | ············>>>·for·_·in·range(5): | 716 | ············>>>·for·_·in·range(5): |
| 717 | ············...·····fake.credit_card_number() | 717 | ············...·····fake.credit_card_number() |
| 718 | ············... | 718 | ············... |
| Offset 2348, 19 lines modified | Offset 2348, 19 lines modified | ||
| 2348 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 2348 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 2349 | <dd·class="field-odd"><p></p></dd> | 2349 | <dd·class="field-odd"><p></p></dd> |
| 2350 | </dl> | 2350 | </dl> |
| 2351 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 2351 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 2352 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 2352 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 2353 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">ssn</span><span·class="p">()</span> | 2353 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">ssn</span><span·class="p">()</span> |
| 2354 | <span·class="gp">...</span> | 2354 | <span·class="gp">...</span> |
| 2355 | <span·class="go">'2 | 2355 | <span·class="go">'200956-778P'</span> |
| 2356 | <span·class="go">'2 | 2356 | <span·class="go">'200550-0437'</span> |
| 2357 | <span·class="go">'220 | 2357 | <span·class="go">'220579-525J'</span> |
| 2358 | <span·class="go">'2 | 2358 | <span·class="go">'280838-416R'</span> |
| 2359 | <span·class="go">'0 | 2359 | <span·class="go">'040671-490J'</span> |
| 2360 | </pre></div> | 2360 | </pre></div> |
| 2361 | </div> | 2361 | </div> |
| 2362 | </dd></dl> | 2362 | </dd></dl> |
| 2363 | <dl·class="py·method"> | 2363 | <dl·class="py·method"> |
| 2364 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.fi_FI.Provider.vat_id"> | 2364 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.fi_FI.Provider.vat_id"> |
| 2365 | <span·class="sig-name·descname"><span·class="pre">vat_id</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.fi_FI.Provider.vat_id"·title="Link·to·this·definition">¶</a></dt> | 2365 | <span·class="sig-name·descname"><span·class="pre">vat_id</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.fi_FI.Provider.vat_id"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1348, 19 lines modified | Offset 1348, 19 lines modified | ||
| 1348 | ············https://en.wikipedia.org/wiki/National_identification_ | 1348 | ············https://en.wikipedia.org/wiki/National_identification_ |
| 1349 | ············number#Finland | 1349 | ············number#Finland |
| 1350 | ··············Examples: | 1350 | ··············Examples: |
| 1351 | ············>>>·Faker.seed(0) | 1351 | ············>>>·Faker.seed(0) |
| 1352 | ············>>>·for·_·in·range(5): | 1352 | ············>>>·for·_·in·range(5): |
| 1353 | ············...·····fake.ssn() | 1353 | ············...·····fake.ssn() |
| 1354 | ············... | 1354 | ············... |
| 1355 | ············'2 | 1355 | ············'200956-778P' |
| 1356 | ············'2 | 1356 | ············'200550-0437' |
| 1357 | ············'220 | 1357 | ············'220579-525J' |
| 1358 | ············'2 | 1358 | ············'280838-416R' |
| 1359 | ············'0 | 1359 | ············'040671-490J' |
| 1360 | ········vat_id()·→·str¶ | 1360 | ········vat_id()·→·str¶ |
| 1361 | ············http://ec.europa.eu/taxation_customs/vies/faq.html#item_11·:return: | 1361 | ············http://ec.europa.eu/taxation_customs/vies/faq.html#item_11·:return: |
| 1362 | ············A·random·Finnish·VAT·ID | 1362 | ············A·random·Finnish·VAT·ID |
| 1363 | ··············Examples: | 1363 | ··············Examples: |
| 1364 | ············>>>·Faker.seed(0) | 1364 | ············>>>·Faker.seed(0) |
| 1365 | ············>>>·for·_·in·range(5): | 1365 | ············>>>·for·_·in·range(5): |
| 1366 | ············...·····fake.vat_id() | 1366 | ············...·····fake.vat_id() |
| Offset 1644, 19 lines modified | Offset 1644, 19 lines modified | ||
| 1644 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1644 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1645 | <dd·class="field-odd"><p></p></dd> | 1645 | <dd·class="field-odd"><p></p></dd> |
| 1646 | </dl> | 1646 | </dl> |
| 1647 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1647 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1648 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1648 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1649 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1649 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 1650 | <span·class="gp">...</span> | 1650 | <span·class="gp">...</span> |
| 1651 | <span·class="go">'PM'</span> | ||
| 1652 | <span·class="go">'PM'</span> | ||
| 1653 | <span·class="go">'AM'</span> | 1651 | <span·class="go">'AM'</span> |
| 1654 | <span·class="go">'PM'</span> | 1652 | <span·class="go">'PM'</span> |
| 1655 | <span·class="go">'AM'</span> | 1653 | <span·class="go">'AM'</span> |
| 1654 | <span·class="go">'AM'</span> | ||
| 1655 | <span·class="go">'AM'</span> | ||
| 1656 | </pre></div> | 1656 | </pre></div> |
| 1657 | </div> | 1657 | </div> |
| 1658 | </dd></dl> | 1658 | </dd></dl> |
| 1659 | <dl·class="py·method"> | 1659 | <dl·class="py·method"> |
| 1660 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fil_PH.Provider.century"> | 1660 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fil_PH.Provider.century"> |
| 1661 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fil_PH.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 1661 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fil_PH.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1697, 19 lines modified | Offset 1697, 19 lines modified | ||
| 1697 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1697 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1698 | <dd·class="field-even"><p></p></dd> | 1698 | <dd·class="field-even"><p></p></dd> |
| 1699 | </dl> | 1699 | </dl> |
| 1700 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1700 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1701 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1701 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1702 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1702 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 1703 | <span·class="gp">...</span> | 1703 | <span·class="gp">...</span> |
| 1704 | <span·class="go">'2018-01-27'</span> | ||
| 1705 | <span·class="go">'201 | 1704 | <span·class="go">'2017-02-26'</span> |
| 1705 | <span·class="go">'2012-04-29'</span> | ||
| 1706 | <span·class="go">'1993- | 1706 | <span·class="go">'1993-06-27'</span> |
| 1707 | <span·class="go">'1984-0 | 1707 | <span·class="go">'1984-06-17'</span> |
| 1708 | <span·class="go">'199 | 1708 | <span·class="go">'1998-07-21'</span> |
| 1709 | </pre></div> | 1709 | </pre></div> |
| 1710 | </div> | 1710 | </div> |
| 1711 | </dd></dl> | 1711 | </dd></dl> |
| 1712 | <dl·class="py·method"> | 1712 | <dl·class="py·method"> |
| 1713 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fil_PH.Provider.date_between"> | 1713 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fil_PH.Provider.date_between"> |
| 1714 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fil_PH.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1714 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fil_PH.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1731, 19 lines modified | Offset 1731, 19 lines modified | ||
| 1731 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1731 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1732 | <dd·class="field-even"><p></p></dd> | 1732 | <dd·class="field-even"><p></p></dd> |
| 1733 | </dl> | 1733 | </dl> |
| 1734 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1734 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1735 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1735 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1736 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1736 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 1737 | <span·class="gp">...</span> | 1737 | <span·class="gp">...</span> |
| 1738 | <span·class="go">datetime.date(202 | 1738 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 1739 | <span·class="go">datetime.date(201 | 1739 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 1740 | <span·class="go">datetime.date(200 | 1740 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 1741 | <span·class="go">datetime.date(200 | 1741 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 1742 | <span·class="go">datetime.date(201 | 1742 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 1743 | </pre></div> | 1743 | </pre></div> |
| 1744 | </div> | 1744 | </div> |
| 1745 | </dd></dl> | 1745 | </dd></dl> |
| 1746 | <dl·class="py·method"> | 1746 | <dl·class="py·method"> |
| 1747 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fil_PH.Provider.date_between_dates"> | 1747 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fil_PH.Provider.date_between_dates"> |
| 1748 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fil_PH.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 1748 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fil_PH.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1762, 19 lines modified | Offset 1762, 19 lines modified | ||
| 1762 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1762 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1763 | <dd·class="field-odd"><p></p></dd> | 1763 | <dd·class="field-odd"><p></p></dd> |
| 1764 | </dl> | 1764 | </dl> |
| 1765 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1765 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1766 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1766 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1767 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 1767 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 1768 | <span·class="gp">...</span> | 1768 | <span·class="gp">...</span> |
| 1769 | <span·class="go">datetime.date(202 | 1769 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1770 | <span·class="go">datetime.date(202 | 1770 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1771 | <span·class="go">datetime.date(202 | 1771 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1772 | <span·class="go">datetime.date(202 | 1772 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1773 | <span·class="go">datetime.date(202 | 1773 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1774 | </pre></div> | 1774 | </pre></div> |
| 1775 | </div> | 1775 | </div> |
| 1776 | </dd></dl> | 1776 | </dd></dl> |
| 1777 | <dl·class="py·method"> | 1777 | <dl·class="py·method"> |
| 1778 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fil_PH.Provider.date_object"> | 1778 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fil_PH.Provider.date_object"> |
| 1779 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fil_PH.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 1779 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fil_PH.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1786, 19 lines modified | Offset 1786, 19 lines modified | ||
| 1786 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1786 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1787 | <dd·class="field-even"><p></p></dd> | 1787 | <dd·class="field-even"><p></p></dd> |
| 1788 | </dl> | 1788 | </dl> |
| 1789 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1789 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1790 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1790 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1791 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1791 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 1792 | <span·class="gp">...</span> | 1792 | <span·class="gp">...</span> |
| 1793 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 1794 | <span·class="go">datetime.date(201 | 1793 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 1794 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 1795 | <span·class="go">datetime.date(1993,· | 1795 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 1796 | <span·class="go">datetime.date(1984,· | 1796 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 1797 | <span·class="go">datetime.date(199 | 1797 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 1798 | </pre></div> | 1798 | </pre></div> |
| 1799 | </div> | 1799 | </div> |
| 1800 | </dd></dl> | 1800 | </dd></dl> |
| 1801 | <dl·class="py·method"> | 1801 | <dl·class="py·method"> |
| 1802 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fil_PH.Provider.date_of_birth"> | 1802 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fil_PH.Provider.date_of_birth"> |
| 1803 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fil_PH.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1803 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fil_PH.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1822, 19 lines modified | Offset 1822, 19 lines modified | ||
| 1822 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1822 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1823 | <dd·class="field-even"><p></p></dd> | 1823 | <dd·class="field-even"><p></p></dd> |
| 1824 | </dl> | 1824 | </dl> |
| 1825 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1825 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1826 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1826 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1827 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1827 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 1828 | <span·class="gp">...</span> | 1828 | <span·class="gp">...</span> |
| 1829 | <span·class="go">datetime.date(200 | 1829 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 1830 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 1831 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 1830 | <span·class="go">datetime.date(19 | 1832 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 1831 | <span·class="go">datetime.date(19 | 1833 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 1832 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 1833 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 1834 | </pre></div> | 1834 | </pre></div> |
| 1835 | </div> | 1835 | </div> |
| 1836 | </dd></dl> | 1836 | </dd></dl> |
| 1837 | <dl·class="py·method"> | 1837 | <dl·class="py·method"> |
| 1838 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fil_PH.Provider.date_this_century"> | 1838 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fil_PH.Provider.date_this_century"> |
| 1839 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fil_PH.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 1839 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fil_PH.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1855, 19 lines modified | Offset 1855, 19 lines modified | ||
| 1855 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1855 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 300395/322646 bytes (93.10%) of diff not shown. | |||
| Offset 950, 19 lines modified | Offset 950, 19 lines modified | ||
| 950 | ······Provider·for·datetimes·for·fil_PH·locale | 950 | ······Provider·for·datetimes·for·fil_PH·locale |
| 951 | ········am_pm()·→·str¶ | 951 | ········am_pm()·→·str¶ |
| 952 | ··············Examples: | 952 | ··············Examples: |
| 953 | ············>>>·Faker.seed(0) | 953 | ············>>>·Faker.seed(0) |
| 954 | ············>>>·for·_·in·range(5): | 954 | ············>>>·for·_·in·range(5): |
| 955 | ············...·····fake.am_pm() | 955 | ············...·····fake.am_pm() |
| 956 | ············... | 956 | ············... |
| 957 | ············'PM' | ||
| 958 | ············'PM' | ||
| 959 | ············'AM' | 957 | ············'AM' |
| 960 | ············'PM' | 958 | ············'PM' |
| 961 | ············'AM' | 959 | ············'AM' |
| 960 | ············'AM' | ||
| 961 | ············'AM' | ||
| 962 | ········century()·→·str¶ | 962 | ········century()·→·str¶ |
| 963 | ··············Example: | 963 | ··············Example: |
| 964 | ··················‘XVII’ | 964 | ··················‘XVII’ |
| 965 | ··············Examples: | 965 | ··············Examples: |
| 966 | ············>>>·Faker.seed(0) | 966 | ············>>>·Faker.seed(0) |
| 967 | ············>>>·for·_·in·range(5): | 967 | ············>>>·for·_·in·range(5): |
| 968 | ············...·····fake.century() | 968 | ············...·····fake.century() |
| Offset 982, 19 lines modified | Offset 982, 19 lines modified | ||
| 982 | ··············Returns: | 982 | ··············Returns: |
| 983 | ··················Date | 983 | ··················Date |
| 984 | ··············Examples: | 984 | ··············Examples: |
| 985 | ············>>>·Faker.seed(0) | 985 | ············>>>·Faker.seed(0) |
| 986 | ············>>>·for·_·in·range(5): | 986 | ············>>>·for·_·in·range(5): |
| 987 | ············...·····fake.date() | 987 | ············...·····fake.date() |
| 988 | ············... | 988 | ············... |
| 989 | ············'2018-01-27' | ||
| 990 | ············'201 | 989 | ············'2017-02-26' |
| 990 | ············'2012-04-29' | ||
| 991 | ············'1993- | 991 | ············'1993-06-27' |
| 992 | ············'1984-0 | 992 | ············'1984-06-17' |
| 993 | ············'199 | 993 | ············'1998-07-21' |
| 994 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 994 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 995 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 995 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 996 | ········date¶ | 996 | ········date¶ |
| 997 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 997 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 998 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 998 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 999 | ··············Parameters: | 999 | ··············Parameters: |
| 1000 | ······················*·start_date·–·Defaults·to·30·years·ago | 1000 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 1004, 19 lines modified | Offset 1004, 19 lines modified | ||
| 1004 | ··············Returns: | 1004 | ··············Returns: |
| 1005 | ··················Date | 1005 | ··················Date |
| 1006 | ··············Examples: | 1006 | ··············Examples: |
| 1007 | ············>>>·Faker.seed(0) | 1007 | ············>>>·Faker.seed(0) |
| 1008 | ············>>>·for·_·in·range(5): | 1008 | ············>>>·for·_·in·range(5): |
| 1009 | ············...·····fake.date_between() | 1009 | ············...·····fake.date_between() |
| 1010 | ············... | 1010 | ············... |
| 1011 | ············datetime.date(202 | 1011 | ············datetime.date(2021,·3,·5) |
| 1012 | ············datetime.date(201 | 1012 | ············datetime.date(2018,·7,·31) |
| 1013 | ············datetime.date(200 | 1013 | ············datetime.date(2008,·6,·16) |
| 1014 | ············datetime.date(200 | 1014 | ············datetime.date(2003,·8,·11) |
| 1015 | ············datetime.date(201 | 1015 | ············datetime.date(2011,·3,·7) |
| 1016 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 1016 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 1017 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 1017 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 1018 | ········=·None)·→·date¶ | 1018 | ········=·None)·→·date¶ |
| 1019 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 1019 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 1020 | ············given·dates.·Accepts·Date·or·datetime·objects | 1020 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 1021 | ··············Parameters: | 1021 | ··············Parameters: |
| 1022 | ······················*·date_start·–·Date | 1022 | ······················*·date_start·–·Date |
| Offset 1024, 33 lines modified | Offset 1024, 33 lines modified | ||
| 1024 | ··············Returns: | 1024 | ··············Returns: |
| 1025 | ··················Date | 1025 | ··················Date |
| 1026 | ··············Examples: | 1026 | ··············Examples: |
| 1027 | ············>>>·Faker.seed(0) | 1027 | ············>>>·Faker.seed(0) |
| 1028 | ············>>>·for·_·in·range(5): | 1028 | ············>>>·for·_·in·range(5): |
| 1029 | ············...·····fake.date_between_dates() | 1029 | ············...·····fake.date_between_dates() |
| 1030 | ············... | 1030 | ············... |
| 1031 | ············datetime.date(202 | 1031 | ············datetime.date(2025,·11,·4) |
| 1032 | ············datetime.date(202 | 1032 | ············datetime.date(2025,·11,·4) |
| 1033 | ············datetime.date(202 | 1033 | ············datetime.date(2025,·11,·4) |
| 1034 | ············datetime.date(202 | 1034 | ············datetime.date(2025,·11,·4) |
| 1035 | ············datetime.date(202 | 1035 | ············datetime.date(2025,·11,·4) |
| 1036 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 1036 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 1037 | ············Get·a·date·object·between·January·1,·1970·and·now | 1037 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 1038 | ··············Example: | 1038 | ··············Example: |
| 1039 | ··················datetime.date(2016,·9,·20) | 1039 | ··················datetime.date(2016,·9,·20) |
| 1040 | ··············Examples: | 1040 | ··············Examples: |
| 1041 | ············>>>·Faker.seed(0) | 1041 | ············>>>·Faker.seed(0) |
| 1042 | ············>>>·for·_·in·range(5): | 1042 | ············>>>·for·_·in·range(5): |
| 1043 | ············...·····fake.date_object() | 1043 | ············...·····fake.date_object() |
| 1044 | ············... | 1044 | ············... |
| 1045 | ············datetime.date(2018,·1,·27) | ||
| 1046 | ············datetime.date(201 | 1045 | ············datetime.date(2017,·2,·26) |
| 1046 | ············datetime.date(2012,·4,·29) | ||
| 1047 | ············datetime.date(1993,· | 1047 | ············datetime.date(1993,·6,·27) |
| 1048 | ············datetime.date(1984,· | 1048 | ············datetime.date(1984,·6,·17) |
| 1049 | ············datetime.date(199 | 1049 | ············datetime.date(1998,·7,·21) |
| 1050 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 1050 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 1051 | ········maximum_age:·int·=·115)·→·date¶ | 1051 | ········maximum_age:·int·=·115)·→·date¶ |
| 1052 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 1052 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 1053 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 1053 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 1054 | ··············Parameters: | 1054 | ··············Parameters: |
| 1055 | ······················*·tzinfo·–·Defaults·to·None. | 1055 | ······················*·tzinfo·–·Defaults·to·None. |
| 1056 | ······················*·minimum_age·–·Defaults·to·0. | 1056 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 1060, 19 lines modified | Offset 1060, 19 lines modified | ||
| 1060 | ··············Returns: | 1060 | ··············Returns: |
| 1061 | ··················Date | 1061 | ··················Date |
| 1062 | ··············Examples: | 1062 | ··············Examples: |
| 1063 | ············>>>·Faker.seed(0) | 1063 | ············>>>·Faker.seed(0) |
| 1064 | ············>>>·for·_·in·range(5): | 1064 | ············>>>·for·_·in·range(5): |
| 1065 | ············...·····fake.date_of_birth() | 1065 | ············...·····fake.date_of_birth() |
| 1066 | ············... | 1066 | ············... |
| 1067 | ············datetime.date(200 | 1067 | ············datetime.date(2007,·10,·18) |
| 1068 | ············datetime.date(1997,·10,·6) | ||
| 1069 | ············datetime.date(1958,·8,·18) | ||
| 1068 | ············datetime.date(19 | 1070 | ············datetime.date(1939,·11,·17) |
| 1069 | ············datetime.date(19 | 1071 | ············datetime.date(1969,·2,·24) |
| 1070 | ············datetime.date(1940,·12,·18) | ||
| 1071 | ············datetime.date(1970,·3,·28) | ||
| 1072 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 1072 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 1073 | ········→·date¶ | 1073 | ········→·date¶ |
| 1074 | ············Gets·a·Date·object·for·the·current·century. | 1074 | ············Gets·a·Date·object·for·the·current·century. |
| 1075 | ··············Parameters: | 1075 | ··············Parameters: |
| 1076 | ······················*·before_today·–·include·days·in·current·century·before | 1076 | ······················*·before_today·–·include·days·in·current·century·before |
| 1077 | ························today | 1077 | ························today |
| 1078 | ······················*·after_today·–·include·days·in·current·century·after | 1078 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 1082, 19 lines modified | Offset 1082, 19 lines modified | ||
| 1082 | ··············Returns: | 1082 | ··············Returns: |
| 1083 | ··················Date | 1083 | ··················Date |
| 1084 | ··············Examples: | 1084 | ··············Examples: |
| 1085 | ············>>>·Faker.seed(0) | 1085 | ············>>>·Faker.seed(0) |
| 1086 | ············>>>·for·_·in·range(5): | 1086 | ············>>>·for·_·in·range(5): |
| 1087 | ············...·····fake.date_this_century() | 1087 | ············...·····fake.date_this_century() |
| 1088 | ············... | 1088 | ············... |
| Max diff block lines reached; 196427/202374 bytes (97.06%) of diff not shown. | |||
| Offset 1244, 19 lines modified | Offset 1244, 19 lines modified | ||
| 1244 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1244 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1245 | <dd·class="field-odd"><p></p></dd> | 1245 | <dd·class="field-odd"><p></p></dd> |
| 1246 | </dl> | 1246 | </dl> |
| 1247 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1247 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1248 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1248 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1249 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1249 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 1250 | <span·class="gp">...</span> | 1250 | <span·class="gp">...</span> |
| 1251 | <span·class="go">'PM'</span> | ||
| 1252 | <span·class="go">'PM'</span> | ||
| 1253 | <span·class="go">'AM'</span> | 1251 | <span·class="go">'AM'</span> |
| 1254 | <span·class="go">'PM'</span> | 1252 | <span·class="go">'PM'</span> |
| 1255 | <span·class="go">'AM'</span> | 1253 | <span·class="go">'AM'</span> |
| 1254 | <span·class="go">'AM'</span> | ||
| 1255 | <span·class="go">'AM'</span> | ||
| 1256 | </pre></div> | 1256 | </pre></div> |
| 1257 | </div> | 1257 | </div> |
| 1258 | </dd></dl> | 1258 | </dd></dl> |
| 1259 | <dl·class="py·method"> | 1259 | <dl·class="py·method"> |
| 1260 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fr_CA.Provider.century"> | 1260 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fr_CA.Provider.century"> |
| 1261 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fr_CA.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 1261 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fr_CA.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1297, 19 lines modified | Offset 1297, 19 lines modified | ||
| 1297 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1297 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1298 | <dd·class="field-even"><p></p></dd> | 1298 | <dd·class="field-even"><p></p></dd> |
| 1299 | </dl> | 1299 | </dl> |
| 1300 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1300 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1301 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1301 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1302 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1302 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 1303 | <span·class="gp">...</span> | 1303 | <span·class="gp">...</span> |
| 1304 | <span·class="go">'2018-01-27'</span> | ||
| 1305 | <span·class="go">'201 | 1304 | <span·class="go">'2017-02-26'</span> |
| 1305 | <span·class="go">'2012-04-29'</span> | ||
| 1306 | <span·class="go">'1993- | 1306 | <span·class="go">'1993-06-27'</span> |
| 1307 | <span·class="go">'1984-0 | 1307 | <span·class="go">'1984-06-17'</span> |
| 1308 | <span·class="go">'199 | 1308 | <span·class="go">'1998-07-21'</span> |
| 1309 | </pre></div> | 1309 | </pre></div> |
| 1310 | </div> | 1310 | </div> |
| 1311 | </dd></dl> | 1311 | </dd></dl> |
| 1312 | <dl·class="py·method"> | 1312 | <dl·class="py·method"> |
| 1313 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fr_CA.Provider.date_between"> | 1313 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fr_CA.Provider.date_between"> |
| 1314 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fr_CA.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1314 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fr_CA.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1331, 19 lines modified | Offset 1331, 19 lines modified | ||
| 1331 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1331 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1332 | <dd·class="field-even"><p></p></dd> | 1332 | <dd·class="field-even"><p></p></dd> |
| 1333 | </dl> | 1333 | </dl> |
| 1334 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1334 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1335 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1335 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1336 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1336 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 1337 | <span·class="gp">...</span> | 1337 | <span·class="gp">...</span> |
| 1338 | <span·class="go">datetime.date(202 | 1338 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 1339 | <span·class="go">datetime.date(201 | 1339 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 1340 | <span·class="go">datetime.date(200 | 1340 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 1341 | <span·class="go">datetime.date(200 | 1341 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 1342 | <span·class="go">datetime.date(201 | 1342 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 1343 | </pre></div> | 1343 | </pre></div> |
| 1344 | </div> | 1344 | </div> |
| 1345 | </dd></dl> | 1345 | </dd></dl> |
| 1346 | <dl·class="py·method"> | 1346 | <dl·class="py·method"> |
| 1347 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fr_CA.Provider.date_between_dates"> | 1347 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fr_CA.Provider.date_between_dates"> |
| 1348 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fr_CA.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 1348 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fr_CA.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1362, 19 lines modified | Offset 1362, 19 lines modified | ||
| 1362 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1362 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1363 | <dd·class="field-odd"><p></p></dd> | 1363 | <dd·class="field-odd"><p></p></dd> |
| 1364 | </dl> | 1364 | </dl> |
| 1365 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1365 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1366 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1366 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1367 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 1367 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 1368 | <span·class="gp">...</span> | 1368 | <span·class="gp">...</span> |
| 1369 | <span·class="go">datetime.date(202 | 1369 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1370 | <span·class="go">datetime.date(202 | 1370 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1371 | <span·class="go">datetime.date(202 | 1371 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1372 | <span·class="go">datetime.date(202 | 1372 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1373 | <span·class="go">datetime.date(202 | 1373 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1374 | </pre></div> | 1374 | </pre></div> |
| 1375 | </div> | 1375 | </div> |
| 1376 | </dd></dl> | 1376 | </dd></dl> |
| 1377 | <dl·class="py·method"> | 1377 | <dl·class="py·method"> |
| 1378 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fr_CA.Provider.date_object"> | 1378 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fr_CA.Provider.date_object"> |
| 1379 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fr_CA.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 1379 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fr_CA.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1386, 19 lines modified | Offset 1386, 19 lines modified | ||
| 1386 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1386 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1387 | <dd·class="field-even"><p></p></dd> | 1387 | <dd·class="field-even"><p></p></dd> |
| 1388 | </dl> | 1388 | </dl> |
| 1389 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1389 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1390 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1390 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1391 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1391 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 1392 | <span·class="gp">...</span> | 1392 | <span·class="gp">...</span> |
| 1393 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 1394 | <span·class="go">datetime.date(201 | 1393 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 1394 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 1395 | <span·class="go">datetime.date(1993,· | 1395 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 1396 | <span·class="go">datetime.date(1984,· | 1396 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 1397 | <span·class="go">datetime.date(199 | 1397 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 1398 | </pre></div> | 1398 | </pre></div> |
| 1399 | </div> | 1399 | </div> |
| 1400 | </dd></dl> | 1400 | </dd></dl> |
| 1401 | <dl·class="py·method"> | 1401 | <dl·class="py·method"> |
| 1402 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fr_CA.Provider.date_of_birth"> | 1402 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fr_CA.Provider.date_of_birth"> |
| 1403 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fr_CA.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1403 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fr_CA.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1422, 19 lines modified | Offset 1422, 19 lines modified | ||
| 1422 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1422 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1423 | <dd·class="field-even"><p></p></dd> | 1423 | <dd·class="field-even"><p></p></dd> |
| 1424 | </dl> | 1424 | </dl> |
| 1425 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1425 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1426 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1426 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1427 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1427 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 1428 | <span·class="gp">...</span> | 1428 | <span·class="gp">...</span> |
| 1429 | <span·class="go">datetime.date(200 | 1429 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 1430 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 1431 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 1430 | <span·class="go">datetime.date(19 | 1432 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 1431 | <span·class="go">datetime.date(19 | 1433 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 1432 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 1433 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 1434 | </pre></div> | 1434 | </pre></div> |
| 1435 | </div> | 1435 | </div> |
| 1436 | </dd></dl> | 1436 | </dd></dl> |
| 1437 | <dl·class="py·method"> | 1437 | <dl·class="py·method"> |
| 1438 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fr_CA.Provider.date_this_century"> | 1438 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fr_CA.Provider.date_this_century"> |
| 1439 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fr_CA.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 1439 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fr_CA.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1455, 19 lines modified | Offset 1455, 19 lines modified | ||
| 1455 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1455 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 98685/120924 bytes (81.61%) of diff not shown. | |||
| Offset 787, 19 lines modified | Offset 787, 19 lines modified | ||
| 787 | ······Bases:·Provider | 787 | ······Bases:·Provider |
| 788 | ········am_pm()·→·str¶ | 788 | ········am_pm()·→·str¶ |
| 789 | ··············Examples: | 789 | ··············Examples: |
| 790 | ············>>>·Faker.seed(0) | 790 | ············>>>·Faker.seed(0) |
| 791 | ············>>>·for·_·in·range(5): | 791 | ············>>>·for·_·in·range(5): |
| 792 | ············...·····fake.am_pm() | 792 | ············...·····fake.am_pm() |
| 793 | ············... | 793 | ············... |
| 794 | ············'PM' | ||
| 795 | ············'PM' | ||
| 796 | ············'AM' | 794 | ············'AM' |
| 797 | ············'PM' | 795 | ············'PM' |
| 798 | ············'AM' | 796 | ············'AM' |
| 797 | ············'AM' | ||
| 798 | ············'AM' | ||
| 799 | ········century()·→·str¶ | 799 | ········century()·→·str¶ |
| 800 | ··············Example: | 800 | ··············Example: |
| 801 | ··················‘XVII’ | 801 | ··················‘XVII’ |
| 802 | ··············Examples: | 802 | ··············Examples: |
| 803 | ············>>>·Faker.seed(0) | 803 | ············>>>·Faker.seed(0) |
| 804 | ············>>>·for·_·in·range(5): | 804 | ············>>>·for·_·in·range(5): |
| 805 | ············...·····fake.century() | 805 | ············...·····fake.century() |
| Offset 819, 19 lines modified | Offset 819, 19 lines modified | ||
| 819 | ··············Returns: | 819 | ··············Returns: |
| 820 | ··················Date | 820 | ··················Date |
| 821 | ··············Examples: | 821 | ··············Examples: |
| 822 | ············>>>·Faker.seed(0) | 822 | ············>>>·Faker.seed(0) |
| 823 | ············>>>·for·_·in·range(5): | 823 | ············>>>·for·_·in·range(5): |
| 824 | ············...·····fake.date() | 824 | ············...·····fake.date() |
| 825 | ············... | 825 | ············... |
| 826 | ············'2018-01-27' | ||
| 827 | ············'201 | 826 | ············'2017-02-26' |
| 827 | ············'2012-04-29' | ||
| 828 | ············'1993- | 828 | ············'1993-06-27' |
| 829 | ············'1984-0 | 829 | ············'1984-06-17' |
| 830 | ············'199 | 830 | ············'1998-07-21' |
| 831 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 831 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 832 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 832 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 833 | ········date¶ | 833 | ········date¶ |
| 834 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 834 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 835 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 835 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 836 | ··············Parameters: | 836 | ··············Parameters: |
| 837 | ······················*·start_date·–·Defaults·to·30·years·ago | 837 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 841, 19 lines modified | Offset 841, 19 lines modified | ||
| 841 | ··············Returns: | 841 | ··············Returns: |
| 842 | ··················Date | 842 | ··················Date |
| 843 | ··············Examples: | 843 | ··············Examples: |
| 844 | ············>>>·Faker.seed(0) | 844 | ············>>>·Faker.seed(0) |
| 845 | ············>>>·for·_·in·range(5): | 845 | ············>>>·for·_·in·range(5): |
| 846 | ············...·····fake.date_between() | 846 | ············...·····fake.date_between() |
| 847 | ············... | 847 | ············... |
| 848 | ············datetime.date(202 | 848 | ············datetime.date(2021,·3,·5) |
| 849 | ············datetime.date(201 | 849 | ············datetime.date(2018,·7,·31) |
| 850 | ············datetime.date(200 | 850 | ············datetime.date(2008,·6,·16) |
| 851 | ············datetime.date(200 | 851 | ············datetime.date(2003,·8,·11) |
| 852 | ············datetime.date(201 | 852 | ············datetime.date(2011,·3,·7) |
| 853 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 853 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 854 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 854 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 855 | ········=·None)·→·date¶ | 855 | ········=·None)·→·date¶ |
| 856 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 856 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 857 | ············given·dates.·Accepts·Date·or·datetime·objects | 857 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 858 | ··············Parameters: | 858 | ··············Parameters: |
| 859 | ······················*·date_start·–·Date | 859 | ······················*·date_start·–·Date |
| Offset 861, 33 lines modified | Offset 861, 33 lines modified | ||
| 861 | ··············Returns: | 861 | ··············Returns: |
| 862 | ··················Date | 862 | ··················Date |
| 863 | ··············Examples: | 863 | ··············Examples: |
| 864 | ············>>>·Faker.seed(0) | 864 | ············>>>·Faker.seed(0) |
| 865 | ············>>>·for·_·in·range(5): | 865 | ············>>>·for·_·in·range(5): |
| 866 | ············...·····fake.date_between_dates() | 866 | ············...·····fake.date_between_dates() |
| 867 | ············... | 867 | ············... |
| 868 | ············datetime.date(202 | 868 | ············datetime.date(2025,·11,·4) |
| 869 | ············datetime.date(202 | 869 | ············datetime.date(2025,·11,·4) |
| 870 | ············datetime.date(202 | 870 | ············datetime.date(2025,·11,·4) |
| 871 | ············datetime.date(202 | 871 | ············datetime.date(2025,·11,·4) |
| 872 | ············datetime.date(202 | 872 | ············datetime.date(2025,·11,·4) |
| 873 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 873 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 874 | ············Get·a·date·object·between·January·1,·1970·and·now | 874 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 875 | ··············Example: | 875 | ··············Example: |
| 876 | ··················datetime.date(2016,·9,·20) | 876 | ··················datetime.date(2016,·9,·20) |
| 877 | ··············Examples: | 877 | ··············Examples: |
| 878 | ············>>>·Faker.seed(0) | 878 | ············>>>·Faker.seed(0) |
| 879 | ············>>>·for·_·in·range(5): | 879 | ············>>>·for·_·in·range(5): |
| 880 | ············...·····fake.date_object() | 880 | ············...·····fake.date_object() |
| 881 | ············... | 881 | ············... |
| 882 | ············datetime.date(2018,·1,·27) | ||
| 883 | ············datetime.date(201 | 882 | ············datetime.date(2017,·2,·26) |
| 883 | ············datetime.date(2012,·4,·29) | ||
| 884 | ············datetime.date(1993,· | 884 | ············datetime.date(1993,·6,·27) |
| 885 | ············datetime.date(1984,· | 885 | ············datetime.date(1984,·6,·17) |
| 886 | ············datetime.date(199 | 886 | ············datetime.date(1998,·7,·21) |
| 887 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 887 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 888 | ········maximum_age:·int·=·115)·→·date¶ | 888 | ········maximum_age:·int·=·115)·→·date¶ |
| 889 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 889 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 890 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 890 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 891 | ··············Parameters: | 891 | ··············Parameters: |
| 892 | ······················*·tzinfo·–·Defaults·to·None. | 892 | ······················*·tzinfo·–·Defaults·to·None. |
| 893 | ······················*·minimum_age·–·Defaults·to·0. | 893 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 897, 19 lines modified | Offset 897, 19 lines modified | ||
| 897 | ··············Returns: | 897 | ··············Returns: |
| 898 | ··················Date | 898 | ··················Date |
| 899 | ··············Examples: | 899 | ··············Examples: |
| 900 | ············>>>·Faker.seed(0) | 900 | ············>>>·Faker.seed(0) |
| 901 | ············>>>·for·_·in·range(5): | 901 | ············>>>·for·_·in·range(5): |
| 902 | ············...·····fake.date_of_birth() | 902 | ············...·····fake.date_of_birth() |
| 903 | ············... | 903 | ············... |
| 904 | ············datetime.date(200 | 904 | ············datetime.date(2007,·10,·18) |
| 905 | ············datetime.date(1997,·10,·6) | ||
| 906 | ············datetime.date(1958,·8,·18) | ||
| 905 | ············datetime.date(19 | 907 | ············datetime.date(1939,·11,·17) |
| 906 | ············datetime.date(19 | 908 | ············datetime.date(1969,·2,·24) |
| 907 | ············datetime.date(1940,·12,·18) | ||
| 908 | ············datetime.date(1970,·3,·28) | ||
| 909 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 909 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 910 | ········→·date¶ | 910 | ········→·date¶ |
| 911 | ············Gets·a·Date·object·for·the·current·century. | 911 | ············Gets·a·Date·object·for·the·current·century. |
| 912 | ··············Parameters: | 912 | ··············Parameters: |
| 913 | ······················*·before_today·–·include·days·in·current·century·before | 913 | ······················*·before_today·–·include·days·in·current·century·before |
| 914 | ························today | 914 | ························today |
| 915 | ······················*·after_today·–·include·days·in·current·century·after | 915 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 919, 19 lines modified | Offset 919, 19 lines modified | ||
| 919 | ··············Returns: | 919 | ··············Returns: |
| 920 | ··················Date | 920 | ··················Date |
| 921 | ··············Examples: | 921 | ··············Examples: |
| 922 | ············>>>·Faker.seed(0) | 922 | ············>>>·Faker.seed(0) |
| 923 | ············>>>·for·_·in·range(5): | 923 | ············>>>·for·_·in·range(5): |
| 924 | ············...·····fake.date_this_century() | 924 | ············...·····fake.date_this_century() |
| 925 | ············... | 925 | ············... |
| Max diff block lines reached; 24723/30637 bytes (80.70%) of diff not shown. | |||
| Offset 1517, 19 lines modified | Offset 1517, 19 lines modified | ||
| 1517 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1517 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1518 | <dd·class="field-odd"><p></p></dd> | 1518 | <dd·class="field-odd"><p></p></dd> |
| 1519 | </dl> | 1519 | </dl> |
| 1520 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1520 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1521 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1521 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1522 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1522 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 1523 | <span·class="gp">...</span> | 1523 | <span·class="gp">...</span> |
| 1524 | <span·class="go">'PM'</span> | ||
| 1525 | <span·class="go">'PM'</span> | ||
| 1526 | <span·class="go">'AM'</span> | 1524 | <span·class="go">'AM'</span> |
| 1527 | <span·class="go">'PM'</span> | 1525 | <span·class="go">'PM'</span> |
| 1528 | <span·class="go">'AM'</span> | 1526 | <span·class="go">'AM'</span> |
| 1527 | <span·class="go">'AM'</span> | ||
| 1528 | <span·class="go">'AM'</span> | ||
| 1529 | </pre></div> | 1529 | </pre></div> |
| 1530 | </div> | 1530 | </div> |
| 1531 | </dd></dl> | 1531 | </dd></dl> |
| 1532 | <dl·class="py·method"> | 1532 | <dl·class="py·method"> |
| 1533 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fr_FR.Provider.century"> | 1533 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fr_FR.Provider.century"> |
| 1534 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fr_FR.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 1534 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fr_FR.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1570, 19 lines modified | Offset 1570, 19 lines modified | ||
| 1570 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1570 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1571 | <dd·class="field-even"><p></p></dd> | 1571 | <dd·class="field-even"><p></p></dd> |
| 1572 | </dl> | 1572 | </dl> |
| 1573 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1573 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1574 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1574 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1575 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1575 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 1576 | <span·class="gp">...</span> | 1576 | <span·class="gp">...</span> |
| 1577 | <span·class="go">'2018-01-27'</span> | ||
| 1578 | <span·class="go">'201 | 1577 | <span·class="go">'2017-02-26'</span> |
| 1578 | <span·class="go">'2012-04-29'</span> | ||
| 1579 | <span·class="go">'1993- | 1579 | <span·class="go">'1993-06-27'</span> |
| 1580 | <span·class="go">'1984-0 | 1580 | <span·class="go">'1984-06-17'</span> |
| 1581 | <span·class="go">'199 | 1581 | <span·class="go">'1998-07-21'</span> |
| 1582 | </pre></div> | 1582 | </pre></div> |
| 1583 | </div> | 1583 | </div> |
| 1584 | </dd></dl> | 1584 | </dd></dl> |
| 1585 | <dl·class="py·method"> | 1585 | <dl·class="py·method"> |
| 1586 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fr_FR.Provider.date_between"> | 1586 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fr_FR.Provider.date_between"> |
| 1587 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fr_FR.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1587 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fr_FR.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1604, 19 lines modified | Offset 1604, 19 lines modified | ||
| 1604 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1604 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1605 | <dd·class="field-even"><p></p></dd> | 1605 | <dd·class="field-even"><p></p></dd> |
| 1606 | </dl> | 1606 | </dl> |
| 1607 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1607 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1608 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1608 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1609 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1609 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 1610 | <span·class="gp">...</span> | 1610 | <span·class="gp">...</span> |
| 1611 | <span·class="go">datetime.date(202 | 1611 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 1612 | <span·class="go">datetime.date(201 | 1612 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 1613 | <span·class="go">datetime.date(200 | 1613 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 1614 | <span·class="go">datetime.date(200 | 1614 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 1615 | <span·class="go">datetime.date(201 | 1615 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 1616 | </pre></div> | 1616 | </pre></div> |
| 1617 | </div> | 1617 | </div> |
| 1618 | </dd></dl> | 1618 | </dd></dl> |
| 1619 | <dl·class="py·method"> | 1619 | <dl·class="py·method"> |
| 1620 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fr_FR.Provider.date_between_dates"> | 1620 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fr_FR.Provider.date_between_dates"> |
| 1621 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fr_FR.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 1621 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fr_FR.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1635, 19 lines modified | Offset 1635, 19 lines modified | ||
| 1635 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1635 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1636 | <dd·class="field-odd"><p></p></dd> | 1636 | <dd·class="field-odd"><p></p></dd> |
| 1637 | </dl> | 1637 | </dl> |
| 1638 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1638 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1639 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1639 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1640 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 1640 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 1641 | <span·class="gp">...</span> | 1641 | <span·class="gp">...</span> |
| 1642 | <span·class="go">datetime.date(202 | 1642 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1643 | <span·class="go">datetime.date(202 | 1643 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1644 | <span·class="go">datetime.date(202 | 1644 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1645 | <span·class="go">datetime.date(202 | 1645 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1646 | <span·class="go">datetime.date(202 | 1646 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1647 | </pre></div> | 1647 | </pre></div> |
| 1648 | </div> | 1648 | </div> |
| 1649 | </dd></dl> | 1649 | </dd></dl> |
| 1650 | <dl·class="py·method"> | 1650 | <dl·class="py·method"> |
| 1651 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fr_FR.Provider.date_object"> | 1651 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fr_FR.Provider.date_object"> |
| 1652 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fr_FR.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 1652 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fr_FR.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1659, 19 lines modified | Offset 1659, 19 lines modified | ||
| 1659 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1659 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1660 | <dd·class="field-even"><p></p></dd> | 1660 | <dd·class="field-even"><p></p></dd> |
| 1661 | </dl> | 1661 | </dl> |
| 1662 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1662 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1663 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1663 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1664 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1664 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 1665 | <span·class="gp">...</span> | 1665 | <span·class="gp">...</span> |
| 1666 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 1667 | <span·class="go">datetime.date(201 | 1666 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 1667 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 1668 | <span·class="go">datetime.date(1993,· | 1668 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 1669 | <span·class="go">datetime.date(1984,· | 1669 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 1670 | <span·class="go">datetime.date(199 | 1670 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 1671 | </pre></div> | 1671 | </pre></div> |
| 1672 | </div> | 1672 | </div> |
| 1673 | </dd></dl> | 1673 | </dd></dl> |
| 1674 | <dl·class="py·method"> | 1674 | <dl·class="py·method"> |
| 1675 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fr_FR.Provider.date_of_birth"> | 1675 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fr_FR.Provider.date_of_birth"> |
| 1676 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fr_FR.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1676 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fr_FR.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1695, 19 lines modified | Offset 1695, 19 lines modified | ||
| 1695 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1695 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1696 | <dd·class="field-even"><p></p></dd> | 1696 | <dd·class="field-even"><p></p></dd> |
| 1697 | </dl> | 1697 | </dl> |
| 1698 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1698 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1699 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1699 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1700 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1700 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 1701 | <span·class="gp">...</span> | 1701 | <span·class="gp">...</span> |
| 1702 | <span·class="go">datetime.date(200 | 1702 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 1703 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 1704 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 1703 | <span·class="go">datetime.date(19 | 1705 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 1704 | <span·class="go">datetime.date(19 | 1706 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 1705 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 1706 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 1707 | </pre></div> | 1707 | </pre></div> |
| 1708 | </div> | 1708 | </div> |
| 1709 | </dd></dl> | 1709 | </dd></dl> |
| 1710 | <dl·class="py·method"> | 1710 | <dl·class="py·method"> |
| 1711 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fr_FR.Provider.date_this_century"> | 1711 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fr_FR.Provider.date_this_century"> |
| 1712 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fr_FR.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 1712 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fr_FR.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1728, 19 lines modified | Offset 1728, 19 lines modified | ||
| 1728 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1728 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 98681/120920 bytes (81.61%) of diff not shown. | |||
| Offset 892, 19 lines modified | Offset 892, 19 lines modified | ||
| 892 | ······Bases:·Provider | 892 | ······Bases:·Provider |
| 893 | ········am_pm()·→·str¶ | 893 | ········am_pm()·→·str¶ |
| 894 | ··············Examples: | 894 | ··············Examples: |
| 895 | ············>>>·Faker.seed(0) | 895 | ············>>>·Faker.seed(0) |
| 896 | ············>>>·for·_·in·range(5): | 896 | ············>>>·for·_·in·range(5): |
| 897 | ············...·····fake.am_pm() | 897 | ············...·····fake.am_pm() |
| 898 | ············... | 898 | ············... |
| 899 | ············'PM' | ||
| 900 | ············'PM' | ||
| 901 | ············'AM' | 899 | ············'AM' |
| 902 | ············'PM' | 900 | ············'PM' |
| 903 | ············'AM' | 901 | ············'AM' |
| 902 | ············'AM' | ||
| 903 | ············'AM' | ||
| 904 | ········century()·→·str¶ | 904 | ········century()·→·str¶ |
| 905 | ··············Example: | 905 | ··············Example: |
| 906 | ··················‘XVII’ | 906 | ··················‘XVII’ |
| 907 | ··············Examples: | 907 | ··············Examples: |
| 908 | ············>>>·Faker.seed(0) | 908 | ············>>>·Faker.seed(0) |
| 909 | ············>>>·for·_·in·range(5): | 909 | ············>>>·for·_·in·range(5): |
| 910 | ············...·····fake.century() | 910 | ············...·····fake.century() |
| Offset 924, 19 lines modified | Offset 924, 19 lines modified | ||
| 924 | ··············Returns: | 924 | ··············Returns: |
| 925 | ··················Date | 925 | ··················Date |
| 926 | ··············Examples: | 926 | ··············Examples: |
| 927 | ············>>>·Faker.seed(0) | 927 | ············>>>·Faker.seed(0) |
| 928 | ············>>>·for·_·in·range(5): | 928 | ············>>>·for·_·in·range(5): |
| 929 | ············...·····fake.date() | 929 | ············...·····fake.date() |
| 930 | ············... | 930 | ············... |
| 931 | ············'2018-01-27' | ||
| 932 | ············'201 | 931 | ············'2017-02-26' |
| 932 | ············'2012-04-29' | ||
| 933 | ············'1993- | 933 | ············'1993-06-27' |
| 934 | ············'1984-0 | 934 | ············'1984-06-17' |
| 935 | ············'199 | 935 | ············'1998-07-21' |
| 936 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 936 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 937 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 937 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 938 | ········date¶ | 938 | ········date¶ |
| 939 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 939 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 940 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 940 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 941 | ··············Parameters: | 941 | ··············Parameters: |
| 942 | ······················*·start_date·–·Defaults·to·30·years·ago | 942 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 946, 19 lines modified | Offset 946, 19 lines modified | ||
| 946 | ··············Returns: | 946 | ··············Returns: |
| 947 | ··················Date | 947 | ··················Date |
| 948 | ··············Examples: | 948 | ··············Examples: |
| 949 | ············>>>·Faker.seed(0) | 949 | ············>>>·Faker.seed(0) |
| 950 | ············>>>·for·_·in·range(5): | 950 | ············>>>·for·_·in·range(5): |
| 951 | ············...·····fake.date_between() | 951 | ············...·····fake.date_between() |
| 952 | ············... | 952 | ············... |
| 953 | ············datetime.date(202 | 953 | ············datetime.date(2021,·3,·5) |
| 954 | ············datetime.date(201 | 954 | ············datetime.date(2018,·7,·31) |
| 955 | ············datetime.date(200 | 955 | ············datetime.date(2008,·6,·16) |
| 956 | ············datetime.date(200 | 956 | ············datetime.date(2003,·8,·11) |
| 957 | ············datetime.date(201 | 957 | ············datetime.date(2011,·3,·7) |
| 958 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 958 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 959 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 959 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 960 | ········=·None)·→·date¶ | 960 | ········=·None)·→·date¶ |
| 961 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 961 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 962 | ············given·dates.·Accepts·Date·or·datetime·objects | 962 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 963 | ··············Parameters: | 963 | ··············Parameters: |
| 964 | ······················*·date_start·–·Date | 964 | ······················*·date_start·–·Date |
| Offset 966, 33 lines modified | Offset 966, 33 lines modified | ||
| 966 | ··············Returns: | 966 | ··············Returns: |
| 967 | ··················Date | 967 | ··················Date |
| 968 | ··············Examples: | 968 | ··············Examples: |
| 969 | ············>>>·Faker.seed(0) | 969 | ············>>>·Faker.seed(0) |
| 970 | ············>>>·for·_·in·range(5): | 970 | ············>>>·for·_·in·range(5): |
| 971 | ············...·····fake.date_between_dates() | 971 | ············...·····fake.date_between_dates() |
| 972 | ············... | 972 | ············... |
| 973 | ············datetime.date(202 | 973 | ············datetime.date(2025,·11,·4) |
| 974 | ············datetime.date(202 | 974 | ············datetime.date(2025,·11,·4) |
| 975 | ············datetime.date(202 | 975 | ············datetime.date(2025,·11,·4) |
| 976 | ············datetime.date(202 | 976 | ············datetime.date(2025,·11,·4) |
| 977 | ············datetime.date(202 | 977 | ············datetime.date(2025,·11,·4) |
| 978 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 978 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 979 | ············Get·a·date·object·between·January·1,·1970·and·now | 979 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 980 | ··············Example: | 980 | ··············Example: |
| 981 | ··················datetime.date(2016,·9,·20) | 981 | ··················datetime.date(2016,·9,·20) |
| 982 | ··············Examples: | 982 | ··············Examples: |
| 983 | ············>>>·Faker.seed(0) | 983 | ············>>>·Faker.seed(0) |
| 984 | ············>>>·for·_·in·range(5): | 984 | ············>>>·for·_·in·range(5): |
| 985 | ············...·····fake.date_object() | 985 | ············...·····fake.date_object() |
| 986 | ············... | 986 | ············... |
| 987 | ············datetime.date(2018,·1,·27) | ||
| 988 | ············datetime.date(201 | 987 | ············datetime.date(2017,·2,·26) |
| 988 | ············datetime.date(2012,·4,·29) | ||
| 989 | ············datetime.date(1993,· | 989 | ············datetime.date(1993,·6,·27) |
| 990 | ············datetime.date(1984,· | 990 | ············datetime.date(1984,·6,·17) |
| 991 | ············datetime.date(199 | 991 | ············datetime.date(1998,·7,·21) |
| 992 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 992 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 993 | ········maximum_age:·int·=·115)·→·date¶ | 993 | ········maximum_age:·int·=·115)·→·date¶ |
| 994 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 994 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 995 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 995 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 996 | ··············Parameters: | 996 | ··············Parameters: |
| 997 | ······················*·tzinfo·–·Defaults·to·None. | 997 | ······················*·tzinfo·–·Defaults·to·None. |
| 998 | ······················*·minimum_age·–·Defaults·to·0. | 998 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 1002, 19 lines modified | Offset 1002, 19 lines modified | ||
| 1002 | ··············Returns: | 1002 | ··············Returns: |
| 1003 | ··················Date | 1003 | ··················Date |
| 1004 | ··············Examples: | 1004 | ··············Examples: |
| 1005 | ············>>>·Faker.seed(0) | 1005 | ············>>>·Faker.seed(0) |
| 1006 | ············>>>·for·_·in·range(5): | 1006 | ············>>>·for·_·in·range(5): |
| 1007 | ············...·····fake.date_of_birth() | 1007 | ············...·····fake.date_of_birth() |
| 1008 | ············... | 1008 | ············... |
| 1009 | ············datetime.date(200 | 1009 | ············datetime.date(2007,·10,·18) |
| 1010 | ············datetime.date(1997,·10,·6) | ||
| 1011 | ············datetime.date(1958,·8,·18) | ||
| 1010 | ············datetime.date(19 | 1012 | ············datetime.date(1939,·11,·17) |
| 1011 | ············datetime.date(19 | 1013 | ············datetime.date(1969,·2,·24) |
| 1012 | ············datetime.date(1940,·12,·18) | ||
| 1013 | ············datetime.date(1970,·3,·28) | ||
| 1014 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 1014 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 1015 | ········→·date¶ | 1015 | ········→·date¶ |
| 1016 | ············Gets·a·Date·object·for·the·current·century. | 1016 | ············Gets·a·Date·object·for·the·current·century. |
| 1017 | ··············Parameters: | 1017 | ··············Parameters: |
| 1018 | ······················*·before_today·–·include·days·in·current·century·before | 1018 | ······················*·before_today·–·include·days·in·current·century·before |
| 1019 | ························today | 1019 | ························today |
| 1020 | ······················*·after_today·–·include·days·in·current·century·after | 1020 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 1024, 19 lines modified | Offset 1024, 19 lines modified | ||
| 1024 | ··············Returns: | 1024 | ··············Returns: |
| 1025 | ··················Date | 1025 | ··················Date |
| 1026 | ··············Examples: | 1026 | ··············Examples: |
| 1027 | ············>>>·Faker.seed(0) | 1027 | ············>>>·Faker.seed(0) |
| 1028 | ············>>>·for·_·in·range(5): | 1028 | ············>>>·for·_·in·range(5): |
| 1029 | ············...·····fake.date_this_century() | 1029 | ············...·····fake.date_this_century() |
| 1030 | ············... | 1030 | ············... |
| Max diff block lines reached; 24738/30656 bytes (80.70%) of diff not shown. | |||
| Offset 56, 19 lines modified | Offset 56, 19 lines modified | ||
| 56 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 56 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 57 | <dd·class="field-odd"><p></p></dd> | 57 | <dd·class="field-odd"><p></p></dd> |
| 58 | </dl> | 58 | </dl> |
| 59 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 59 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 60 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 60 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 61 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 61 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 62 | <span·class="gp">...</span> | 62 | <span·class="gp">...</span> |
| 63 | <span·class="go">'PM'</span> | ||
| 64 | <span·class="go">'PM'</span> | ||
| 65 | <span·class="go">'AM'</span> | 63 | <span·class="go">'AM'</span> |
| 66 | <span·class="go">'PM'</span> | 64 | <span·class="go">'PM'</span> |
| 67 | <span·class="go">'AM'</span> | 65 | <span·class="go">'AM'</span> |
| 66 | <span·class="go">'AM'</span> | ||
| 67 | <span·class="go">'AM'</span> | ||
| 68 | </pre></div> | 68 | </pre></div> |
| 69 | </div> | 69 | </div> |
| 70 | </dd></dl> | 70 | </dd></dl> |
| 71 | <dl·class="py·method"> | 71 | <dl·class="py·method"> |
| 72 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.gu_IN.Provider.century"> | 72 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.gu_IN.Provider.century"> |
| 73 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.gu_IN.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 73 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.gu_IN.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 109, 19 lines modified | Offset 109, 19 lines modified | ||
| 109 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 109 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 110 | <dd·class="field-even"><p></p></dd> | 110 | <dd·class="field-even"><p></p></dd> |
| 111 | </dl> | 111 | </dl> |
| 112 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 112 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 113 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 113 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 114 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 114 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 115 | <span·class="gp">...</span> | 115 | <span·class="gp">...</span> |
| 116 | <span·class="go">'2018-01-27'</span> | ||
| 117 | <span·class="go">'201 | 116 | <span·class="go">'2017-02-26'</span> |
| 117 | <span·class="go">'2012-04-29'</span> | ||
| 118 | <span·class="go">'1993- | 118 | <span·class="go">'1993-06-27'</span> |
| 119 | <span·class="go">'1984-0 | 119 | <span·class="go">'1984-06-17'</span> |
| 120 | <span·class="go">'199 | 120 | <span·class="go">'1998-07-21'</span> |
| 121 | </pre></div> | 121 | </pre></div> |
| 122 | </div> | 122 | </div> |
| 123 | </dd></dl> | 123 | </dd></dl> |
| 124 | <dl·class="py·method"> | 124 | <dl·class="py·method"> |
| 125 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.gu_IN.Provider.date_between"> | 125 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.gu_IN.Provider.date_between"> |
| 126 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.gu_IN.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 126 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.gu_IN.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 143, 19 lines modified | Offset 143, 19 lines modified | ||
| 143 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 143 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 144 | <dd·class="field-even"><p></p></dd> | 144 | <dd·class="field-even"><p></p></dd> |
| 145 | </dl> | 145 | </dl> |
| 146 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 146 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 147 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 147 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 148 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 148 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 149 | <span·class="gp">...</span> | 149 | <span·class="gp">...</span> |
| 150 | <span·class="go">datetime.date(202 | 150 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 151 | <span·class="go">datetime.date(201 | 151 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 152 | <span·class="go">datetime.date(200 | 152 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 153 | <span·class="go">datetime.date(200 | 153 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 154 | <span·class="go">datetime.date(201 | 154 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 155 | </pre></div> | 155 | </pre></div> |
| 156 | </div> | 156 | </div> |
| 157 | </dd></dl> | 157 | </dd></dl> |
| 158 | <dl·class="py·method"> | 158 | <dl·class="py·method"> |
| 159 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.gu_IN.Provider.date_between_dates"> | 159 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.gu_IN.Provider.date_between_dates"> |
| 160 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.gu_IN.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 160 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.gu_IN.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 174, 19 lines modified | Offset 174, 19 lines modified | ||
| 174 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 174 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 175 | <dd·class="field-odd"><p></p></dd> | 175 | <dd·class="field-odd"><p></p></dd> |
| 176 | </dl> | 176 | </dl> |
| 177 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 177 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 178 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 178 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 179 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 179 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 180 | <span·class="gp">...</span> | 180 | <span·class="gp">...</span> |
| 181 | <span·class="go">datetime.date(202 | 181 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 182 | <span·class="go">datetime.date(202 | 182 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 183 | <span·class="go">datetime.date(202 | 183 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 184 | <span·class="go">datetime.date(202 | 184 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 185 | <span·class="go">datetime.date(202 | 185 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 186 | </pre></div> | 186 | </pre></div> |
| 187 | </div> | 187 | </div> |
| 188 | </dd></dl> | 188 | </dd></dl> |
| 189 | <dl·class="py·method"> | 189 | <dl·class="py·method"> |
| 190 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.gu_IN.Provider.date_object"> | 190 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.gu_IN.Provider.date_object"> |
| 191 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.gu_IN.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 191 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.gu_IN.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 198, 19 lines modified | Offset 198, 19 lines modified | ||
| 198 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 198 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 199 | <dd·class="field-even"><p></p></dd> | 199 | <dd·class="field-even"><p></p></dd> |
| 200 | </dl> | 200 | </dl> |
| 201 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 201 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 202 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 202 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 203 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 203 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 204 | <span·class="gp">...</span> | 204 | <span·class="gp">...</span> |
| 205 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 206 | <span·class="go">datetime.date(201 | 205 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 206 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 207 | <span·class="go">datetime.date(1993,· | 207 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 208 | <span·class="go">datetime.date(1984,· | 208 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 209 | <span·class="go">datetime.date(199 | 209 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 210 | </pre></div> | 210 | </pre></div> |
| 211 | </div> | 211 | </div> |
| 212 | </dd></dl> | 212 | </dd></dl> |
| 213 | <dl·class="py·method"> | 213 | <dl·class="py·method"> |
| 214 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.gu_IN.Provider.date_of_birth"> | 214 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.gu_IN.Provider.date_of_birth"> |
| 215 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.gu_IN.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 215 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.gu_IN.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 234, 19 lines modified | Offset 234, 19 lines modified | ||
| 234 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 234 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 235 | <dd·class="field-even"><p></p></dd> | 235 | <dd·class="field-even"><p></p></dd> |
| 236 | </dl> | 236 | </dl> |
| 237 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 237 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 238 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 238 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 239 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 239 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 240 | <span·class="gp">...</span> | 240 | <span·class="gp">...</span> |
| 241 | <span·class="go">datetime.date(200 | 241 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 242 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 243 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 242 | <span·class="go">datetime.date(19 | 244 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 243 | <span·class="go">datetime.date(19 | 245 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 244 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 245 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 246 | </pre></div> | 246 | </pre></div> |
| 247 | </div> | 247 | </div> |
| 248 | </dd></dl> | 248 | </dd></dl> |
| 249 | <dl·class="py·method"> | 249 | <dl·class="py·method"> |
| 250 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.gu_IN.Provider.date_this_century"> | 250 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.gu_IN.Provider.date_this_century"> |
| 251 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.gu_IN.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 251 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.gu_IN.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 267, 19 lines modified | Offset 267, 19 lines modified | ||
| 267 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 267 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 103700/125923 bytes (82.35%) of diff not shown. | |||
| Offset 11, 19 lines modified | Offset 11, 19 lines modified | ||
| 11 | ······Bases:·Provider | 11 | ······Bases:·Provider |
| 12 | ········am_pm()·→·str¶ | 12 | ········am_pm()·→·str¶ |
| 13 | ··············Examples: | 13 | ··············Examples: |
| 14 | ············>>>·Faker.seed(0) | 14 | ············>>>·Faker.seed(0) |
| 15 | ············>>>·for·_·in·range(5): | 15 | ············>>>·for·_·in·range(5): |
| 16 | ············...·····fake.am_pm() | 16 | ············...·····fake.am_pm() |
| 17 | ············... | 17 | ············... |
| 18 | ············'PM' | ||
| 19 | ············'PM' | ||
| 20 | ············'AM' | 18 | ············'AM' |
| 21 | ············'PM' | 19 | ············'PM' |
| 22 | ············'AM' | 20 | ············'AM' |
| 21 | ············'AM' | ||
| 22 | ············'AM' | ||
| 23 | ········century()·→·str¶ | 23 | ········century()·→·str¶ |
| 24 | ··············Example: | 24 | ··············Example: |
| 25 | ··················‘XVII’ | 25 | ··················‘XVII’ |
| 26 | ··············Examples: | 26 | ··············Examples: |
| 27 | ············>>>·Faker.seed(0) | 27 | ············>>>·Faker.seed(0) |
| 28 | ············>>>·for·_·in·range(5): | 28 | ············>>>·for·_·in·range(5): |
| 29 | ············...·····fake.century() | 29 | ············...·····fake.century() |
| Offset 43, 19 lines modified | Offset 43, 19 lines modified | ||
| 43 | ··············Returns: | 43 | ··············Returns: |
| 44 | ··················Date | 44 | ··················Date |
| 45 | ··············Examples: | 45 | ··············Examples: |
| 46 | ············>>>·Faker.seed(0) | 46 | ············>>>·Faker.seed(0) |
| 47 | ············>>>·for·_·in·range(5): | 47 | ············>>>·for·_·in·range(5): |
| 48 | ············...·····fake.date() | 48 | ············...·····fake.date() |
| 49 | ············... | 49 | ············... |
| 50 | ············'2018-01-27' | ||
| 51 | ············'201 | 50 | ············'2017-02-26' |
| 51 | ············'2012-04-29' | ||
| 52 | ············'1993- | 52 | ············'1993-06-27' |
| 53 | ············'1984-0 | 53 | ············'1984-06-17' |
| 54 | ············'199 | 54 | ············'1998-07-21' |
| 55 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 55 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 56 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 56 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 57 | ········date¶ | 57 | ········date¶ |
| 58 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 58 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 59 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 59 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 60 | ··············Parameters: | 60 | ··············Parameters: |
| 61 | ······················*·start_date·–·Defaults·to·30·years·ago | 61 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 65, 19 lines modified | Offset 65, 19 lines modified | ||
| 65 | ··············Returns: | 65 | ··············Returns: |
| 66 | ··················Date | 66 | ··················Date |
| 67 | ··············Examples: | 67 | ··············Examples: |
| 68 | ············>>>·Faker.seed(0) | 68 | ············>>>·Faker.seed(0) |
| 69 | ············>>>·for·_·in·range(5): | 69 | ············>>>·for·_·in·range(5): |
| 70 | ············...·····fake.date_between() | 70 | ············...·····fake.date_between() |
| 71 | ············... | 71 | ············... |
| 72 | ············datetime.date(202 | 72 | ············datetime.date(2021,·3,·5) |
| 73 | ············datetime.date(201 | 73 | ············datetime.date(2018,·7,·31) |
| 74 | ············datetime.date(200 | 74 | ············datetime.date(2008,·6,·16) |
| 75 | ············datetime.date(200 | 75 | ············datetime.date(2003,·8,·11) |
| 76 | ············datetime.date(201 | 76 | ············datetime.date(2011,·3,·7) |
| 77 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 77 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 78 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 78 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 79 | ········=·None)·→·date¶ | 79 | ········=·None)·→·date¶ |
| 80 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 80 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 81 | ············given·dates.·Accepts·Date·or·datetime·objects | 81 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 82 | ··············Parameters: | 82 | ··············Parameters: |
| 83 | ······················*·date_start·–·Date | 83 | ······················*·date_start·–·Date |
| Offset 85, 33 lines modified | Offset 85, 33 lines modified | ||
| 85 | ··············Returns: | 85 | ··············Returns: |
| 86 | ··················Date | 86 | ··················Date |
| 87 | ··············Examples: | 87 | ··············Examples: |
| 88 | ············>>>·Faker.seed(0) | 88 | ············>>>·Faker.seed(0) |
| 89 | ············>>>·for·_·in·range(5): | 89 | ············>>>·for·_·in·range(5): |
| 90 | ············...·····fake.date_between_dates() | 90 | ············...·····fake.date_between_dates() |
| 91 | ············... | 91 | ············... |
| 92 | ············datetime.date(202 | 92 | ············datetime.date(2025,·11,·4) |
| 93 | ············datetime.date(202 | 93 | ············datetime.date(2025,·11,·4) |
| 94 | ············datetime.date(202 | 94 | ············datetime.date(2025,·11,·4) |
| 95 | ············datetime.date(202 | 95 | ············datetime.date(2025,·11,·4) |
| 96 | ············datetime.date(202 | 96 | ············datetime.date(2025,·11,·4) |
| 97 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 97 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 98 | ············Get·a·date·object·between·January·1,·1970·and·now | 98 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 99 | ··············Example: | 99 | ··············Example: |
| 100 | ··················datetime.date(2016,·9,·20) | 100 | ··················datetime.date(2016,·9,·20) |
| 101 | ··············Examples: | 101 | ··············Examples: |
| 102 | ············>>>·Faker.seed(0) | 102 | ············>>>·Faker.seed(0) |
| 103 | ············>>>·for·_·in·range(5): | 103 | ············>>>·for·_·in·range(5): |
| 104 | ············...·····fake.date_object() | 104 | ············...·····fake.date_object() |
| 105 | ············... | 105 | ············... |
| 106 | ············datetime.date(2018,·1,·27) | ||
| 107 | ············datetime.date(201 | 106 | ············datetime.date(2017,·2,·26) |
| 107 | ············datetime.date(2012,·4,·29) | ||
| 108 | ············datetime.date(1993,· | 108 | ············datetime.date(1993,·6,·27) |
| 109 | ············datetime.date(1984,· | 109 | ············datetime.date(1984,·6,·17) |
| 110 | ············datetime.date(199 | 110 | ············datetime.date(1998,·7,·21) |
| 111 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 111 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 112 | ········maximum_age:·int·=·115)·→·date¶ | 112 | ········maximum_age:·int·=·115)·→·date¶ |
| 113 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 113 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 114 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 114 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 115 | ··············Parameters: | 115 | ··············Parameters: |
| 116 | ······················*·tzinfo·–·Defaults·to·None. | 116 | ······················*·tzinfo·–·Defaults·to·None. |
| 117 | ······················*·minimum_age·–·Defaults·to·0. | 117 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 121, 19 lines modified | Offset 121, 19 lines modified | ||
| 121 | ··············Returns: | 121 | ··············Returns: |
| 122 | ··················Date | 122 | ··················Date |
| 123 | ··············Examples: | 123 | ··············Examples: |
| 124 | ············>>>·Faker.seed(0) | 124 | ············>>>·Faker.seed(0) |
| 125 | ············>>>·for·_·in·range(5): | 125 | ············>>>·for·_·in·range(5): |
| 126 | ············...·····fake.date_of_birth() | 126 | ············...·····fake.date_of_birth() |
| 127 | ············... | 127 | ············... |
| 128 | ············datetime.date(200 | 128 | ············datetime.date(2007,·10,·18) |
| 129 | ············datetime.date(1997,·10,·6) | ||
| 130 | ············datetime.date(1958,·8,·18) | ||
| 129 | ············datetime.date(19 | 131 | ············datetime.date(1939,·11,·17) |
| 130 | ············datetime.date(19 | 132 | ············datetime.date(1969,·2,·24) |
| 131 | ············datetime.date(1940,·12,·18) | ||
| 132 | ············datetime.date(1970,·3,·28) | ||
| 133 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 133 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 134 | ········→·date¶ | 134 | ········→·date¶ |
| 135 | ············Gets·a·Date·object·for·the·current·century. | 135 | ············Gets·a·Date·object·for·the·current·century. |
| 136 | ··············Parameters: | 136 | ··············Parameters: |
| 137 | ······················*·before_today·–·include·days·in·current·century·before | 137 | ······················*·before_today·–·include·days·in·current·century·before |
| 138 | ························today | 138 | ························today |
| 139 | ······················*·after_today·–·include·days·in·current·century·after | 139 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 143, 19 lines modified | Offset 143, 19 lines modified | ||
| 143 | ··············Returns: | 143 | ··············Returns: |
| 144 | ··················Date | 144 | ··················Date |
| 145 | ··············Examples: | 145 | ··············Examples: |
| 146 | ············>>>·Faker.seed(0) | 146 | ············>>>·Faker.seed(0) |
| 147 | ············>>>·for·_·in·range(5): | 147 | ············>>>·for·_·in·range(5): |
| 148 | ············...·····fake.date_this_century() | 148 | ············...·····fake.date_this_century() |
| 149 | ············... | 149 | ············... |
| Max diff block lines reached; 25936/31842 bytes (81.45%) of diff not shown. | |||
| Offset 389, 19 lines modified | Offset 389, 19 lines modified | ||
| 389 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 389 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 390 | <dd·class="field-odd"><p></p></dd> | 390 | <dd·class="field-odd"><p></p></dd> |
| 391 | </dl> | 391 | </dl> |
| 392 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 392 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 393 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 393 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 394 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 394 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 395 | <span·class="gp">...</span> | 395 | <span·class="gp">...</span> |
| 396 | <span·class="go">'PM'</span> | ||
| 397 | <span·class="go">'PM'</span> | ||
| 398 | <span·class="go">'AM'</span> | 396 | <span·class="go">'AM'</span> |
| 399 | <span·class="go">'PM'</span> | 397 | <span·class="go">'PM'</span> |
| 400 | <span·class="go">'AM'</span> | 398 | <span·class="go">'AM'</span> |
| 399 | <span·class="go">'AM'</span> | ||
| 400 | <span·class="go">'AM'</span> | ||
| 401 | </pre></div> | 401 | </pre></div> |
| 402 | </div> | 402 | </div> |
| 403 | </dd></dl> | 403 | </dd></dl> |
| 404 | <dl·class="py·method"> | 404 | <dl·class="py·method"> |
| 405 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hi_IN.Provider.century"> | 405 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hi_IN.Provider.century"> |
| 406 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hi_IN.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 406 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hi_IN.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 442, 19 lines modified | Offset 442, 19 lines modified | ||
| 442 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 442 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 443 | <dd·class="field-even"><p></p></dd> | 443 | <dd·class="field-even"><p></p></dd> |
| 444 | </dl> | 444 | </dl> |
| 445 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 445 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 446 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 446 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 447 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 447 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 448 | <span·class="gp">...</span> | 448 | <span·class="gp">...</span> |
| 449 | <span·class="go">'2018-01-27'</span> | ||
| 450 | <span·class="go">'201 | 449 | <span·class="go">'2017-02-26'</span> |
| 450 | <span·class="go">'2012-04-29'</span> | ||
| 451 | <span·class="go">'1993- | 451 | <span·class="go">'1993-06-27'</span> |
| 452 | <span·class="go">'1984-0 | 452 | <span·class="go">'1984-06-17'</span> |
| 453 | <span·class="go">'199 | 453 | <span·class="go">'1998-07-21'</span> |
| 454 | </pre></div> | 454 | </pre></div> |
| 455 | </div> | 455 | </div> |
| 456 | </dd></dl> | 456 | </dd></dl> |
| 457 | <dl·class="py·method"> | 457 | <dl·class="py·method"> |
| 458 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hi_IN.Provider.date_between"> | 458 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hi_IN.Provider.date_between"> |
| 459 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hi_IN.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 459 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hi_IN.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 476, 19 lines modified | Offset 476, 19 lines modified | ||
| 476 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 476 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 477 | <dd·class="field-even"><p></p></dd> | 477 | <dd·class="field-even"><p></p></dd> |
| 478 | </dl> | 478 | </dl> |
| 479 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 479 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 480 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 480 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 481 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 481 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 482 | <span·class="gp">...</span> | 482 | <span·class="gp">...</span> |
| 483 | <span·class="go">datetime.date(202 | 483 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 484 | <span·class="go">datetime.date(201 | 484 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 485 | <span·class="go">datetime.date(200 | 485 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 486 | <span·class="go">datetime.date(200 | 486 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 487 | <span·class="go">datetime.date(201 | 487 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 488 | </pre></div> | 488 | </pre></div> |
| 489 | </div> | 489 | </div> |
| 490 | </dd></dl> | 490 | </dd></dl> |
| 491 | <dl·class="py·method"> | 491 | <dl·class="py·method"> |
| 492 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hi_IN.Provider.date_between_dates"> | 492 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hi_IN.Provider.date_between_dates"> |
| 493 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hi_IN.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 493 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hi_IN.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 507, 19 lines modified | Offset 507, 19 lines modified | ||
| 507 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 507 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 508 | <dd·class="field-odd"><p></p></dd> | 508 | <dd·class="field-odd"><p></p></dd> |
| 509 | </dl> | 509 | </dl> |
| 510 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 510 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 511 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 511 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 512 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 512 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 513 | <span·class="gp">...</span> | 513 | <span·class="gp">...</span> |
| 514 | <span·class="go">datetime.date(202 | 514 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 515 | <span·class="go">datetime.date(202 | 515 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 516 | <span·class="go">datetime.date(202 | 516 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 517 | <span·class="go">datetime.date(202 | 517 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 518 | <span·class="go">datetime.date(202 | 518 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 519 | </pre></div> | 519 | </pre></div> |
| 520 | </div> | 520 | </div> |
| 521 | </dd></dl> | 521 | </dd></dl> |
| 522 | <dl·class="py·method"> | 522 | <dl·class="py·method"> |
| 523 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hi_IN.Provider.date_object"> | 523 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hi_IN.Provider.date_object"> |
| 524 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hi_IN.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 524 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hi_IN.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 531, 19 lines modified | Offset 531, 19 lines modified | ||
| 531 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 531 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 532 | <dd·class="field-even"><p></p></dd> | 532 | <dd·class="field-even"><p></p></dd> |
| 533 | </dl> | 533 | </dl> |
| 534 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 534 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 535 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 535 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 536 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 536 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 537 | <span·class="gp">...</span> | 537 | <span·class="gp">...</span> |
| 538 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 539 | <span·class="go">datetime.date(201 | 538 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 539 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 540 | <span·class="go">datetime.date(1993,· | 540 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 541 | <span·class="go">datetime.date(1984,· | 541 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 542 | <span·class="go">datetime.date(199 | 542 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 543 | </pre></div> | 543 | </pre></div> |
| 544 | </div> | 544 | </div> |
| 545 | </dd></dl> | 545 | </dd></dl> |
| 546 | <dl·class="py·method"> | 546 | <dl·class="py·method"> |
| 547 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hi_IN.Provider.date_of_birth"> | 547 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hi_IN.Provider.date_of_birth"> |
| 548 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hi_IN.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 548 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hi_IN.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 567, 19 lines modified | Offset 567, 19 lines modified | ||
| 567 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 567 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 568 | <dd·class="field-even"><p></p></dd> | 568 | <dd·class="field-even"><p></p></dd> |
| 569 | </dl> | 569 | </dl> |
| 570 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 570 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 571 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 571 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 572 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 572 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 573 | <span·class="gp">...</span> | 573 | <span·class="gp">...</span> |
| 574 | <span·class="go">datetime.date(200 | 574 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 575 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 576 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 575 | <span·class="go">datetime.date(19 | 577 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 576 | <span·class="go">datetime.date(19 | 578 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 577 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 578 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 579 | </pre></div> | 579 | </pre></div> |
| 580 | </div> | 580 | </div> |
| 581 | </dd></dl> | 581 | </dd></dl> |
| 582 | <dl·class="py·method"> | 582 | <dl·class="py·method"> |
| 583 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hi_IN.Provider.date_this_century"> | 583 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hi_IN.Provider.date_this_century"> |
| 584 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hi_IN.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 584 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hi_IN.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 600, 19 lines modified | Offset 600, 19 lines modified | ||
| 600 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 600 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 98637/120862 bytes (81.61%) of diff not shown. | |||
| Offset 195, 19 lines modified | Offset 195, 19 lines modified | ||
| 195 | ······Bases:·Provider | 195 | ······Bases:·Provider |
| 196 | ········am_pm()·→·str¶ | 196 | ········am_pm()·→·str¶ |
| 197 | ··············Examples: | 197 | ··············Examples: |
| 198 | ············>>>·Faker.seed(0) | 198 | ············>>>·Faker.seed(0) |
| 199 | ············>>>·for·_·in·range(5): | 199 | ············>>>·for·_·in·range(5): |
| 200 | ············...·····fake.am_pm() | 200 | ············...·····fake.am_pm() |
| 201 | ············... | 201 | ············... |
| 202 | ············'PM' | ||
| 203 | ············'PM' | ||
| 204 | ············'AM' | 202 | ············'AM' |
| 205 | ············'PM' | 203 | ············'PM' |
| 206 | ············'AM' | 204 | ············'AM' |
| 205 | ············'AM' | ||
| 206 | ············'AM' | ||
| 207 | ········century()·→·str¶ | 207 | ········century()·→·str¶ |
| 208 | ··············Example: | 208 | ··············Example: |
| 209 | ··················‘XVII’ | 209 | ··················‘XVII’ |
| 210 | ··············Examples: | 210 | ··············Examples: |
| 211 | ············>>>·Faker.seed(0) | 211 | ············>>>·Faker.seed(0) |
| 212 | ············>>>·for·_·in·range(5): | 212 | ············>>>·for·_·in·range(5): |
| 213 | ············...·····fake.century() | 213 | ············...·····fake.century() |
| Offset 227, 19 lines modified | Offset 227, 19 lines modified | ||
| 227 | ··············Returns: | 227 | ··············Returns: |
| 228 | ··················Date | 228 | ··················Date |
| 229 | ··············Examples: | 229 | ··············Examples: |
| 230 | ············>>>·Faker.seed(0) | 230 | ············>>>·Faker.seed(0) |
| 231 | ············>>>·for·_·in·range(5): | 231 | ············>>>·for·_·in·range(5): |
| 232 | ············...·····fake.date() | 232 | ············...·····fake.date() |
| 233 | ············... | 233 | ············... |
| 234 | ············'2018-01-27' | ||
| 235 | ············'201 | 234 | ············'2017-02-26' |
| 235 | ············'2012-04-29' | ||
| 236 | ············'1993- | 236 | ············'1993-06-27' |
| 237 | ············'1984-0 | 237 | ············'1984-06-17' |
| 238 | ············'199 | 238 | ············'1998-07-21' |
| 239 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 239 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 240 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 240 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 241 | ········date¶ | 241 | ········date¶ |
| 242 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 242 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 243 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 243 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 244 | ··············Parameters: | 244 | ··············Parameters: |
| 245 | ······················*·start_date·–·Defaults·to·30·years·ago | 245 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 249, 19 lines modified | Offset 249, 19 lines modified | ||
| 249 | ··············Returns: | 249 | ··············Returns: |
| 250 | ··················Date | 250 | ··················Date |
| 251 | ··············Examples: | 251 | ··············Examples: |
| 252 | ············>>>·Faker.seed(0) | 252 | ············>>>·Faker.seed(0) |
| 253 | ············>>>·for·_·in·range(5): | 253 | ············>>>·for·_·in·range(5): |
| 254 | ············...·····fake.date_between() | 254 | ············...·····fake.date_between() |
| 255 | ············... | 255 | ············... |
| 256 | ············datetime.date(202 | 256 | ············datetime.date(2021,·3,·5) |
| 257 | ············datetime.date(201 | 257 | ············datetime.date(2018,·7,·31) |
| 258 | ············datetime.date(200 | 258 | ············datetime.date(2008,·6,·16) |
| 259 | ············datetime.date(200 | 259 | ············datetime.date(2003,·8,·11) |
| 260 | ············datetime.date(201 | 260 | ············datetime.date(2011,·3,·7) |
| 261 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 261 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 262 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 262 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 263 | ········=·None)·→·date¶ | 263 | ········=·None)·→·date¶ |
| 264 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 264 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 265 | ············given·dates.·Accepts·Date·or·datetime·objects | 265 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 266 | ··············Parameters: | 266 | ··············Parameters: |
| 267 | ······················*·date_start·–·Date | 267 | ······················*·date_start·–·Date |
| Offset 269, 33 lines modified | Offset 269, 33 lines modified | ||
| 269 | ··············Returns: | 269 | ··············Returns: |
| 270 | ··················Date | 270 | ··················Date |
| 271 | ··············Examples: | 271 | ··············Examples: |
| 272 | ············>>>·Faker.seed(0) | 272 | ············>>>·Faker.seed(0) |
| 273 | ············>>>·for·_·in·range(5): | 273 | ············>>>·for·_·in·range(5): |
| 274 | ············...·····fake.date_between_dates() | 274 | ············...·····fake.date_between_dates() |
| 275 | ············... | 275 | ············... |
| 276 | ············datetime.date(202 | 276 | ············datetime.date(2025,·11,·4) |
| 277 | ············datetime.date(202 | 277 | ············datetime.date(2025,·11,·4) |
| 278 | ············datetime.date(202 | 278 | ············datetime.date(2025,·11,·4) |
| 279 | ············datetime.date(202 | 279 | ············datetime.date(2025,·11,·4) |
| 280 | ············datetime.date(202 | 280 | ············datetime.date(2025,·11,·4) |
| 281 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 281 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 282 | ············Get·a·date·object·between·January·1,·1970·and·now | 282 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 283 | ··············Example: | 283 | ··············Example: |
| 284 | ··················datetime.date(2016,·9,·20) | 284 | ··················datetime.date(2016,·9,·20) |
| 285 | ··············Examples: | 285 | ··············Examples: |
| 286 | ············>>>·Faker.seed(0) | 286 | ············>>>·Faker.seed(0) |
| 287 | ············>>>·for·_·in·range(5): | 287 | ············>>>·for·_·in·range(5): |
| 288 | ············...·····fake.date_object() | 288 | ············...·····fake.date_object() |
| 289 | ············... | 289 | ············... |
| 290 | ············datetime.date(2018,·1,·27) | ||
| 291 | ············datetime.date(201 | 290 | ············datetime.date(2017,·2,·26) |
| 291 | ············datetime.date(2012,·4,·29) | ||
| 292 | ············datetime.date(1993,· | 292 | ············datetime.date(1993,·6,·27) |
| 293 | ············datetime.date(1984,· | 293 | ············datetime.date(1984,·6,·17) |
| 294 | ············datetime.date(199 | 294 | ············datetime.date(1998,·7,·21) |
| 295 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 295 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 296 | ········maximum_age:·int·=·115)·→·date¶ | 296 | ········maximum_age:·int·=·115)·→·date¶ |
| 297 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 297 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 298 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 298 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 299 | ··············Parameters: | 299 | ··············Parameters: |
| 300 | ······················*·tzinfo·–·Defaults·to·None. | 300 | ······················*·tzinfo·–·Defaults·to·None. |
| 301 | ······················*·minimum_age·–·Defaults·to·0. | 301 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 305, 19 lines modified | Offset 305, 19 lines modified | ||
| 305 | ··············Returns: | 305 | ··············Returns: |
| 306 | ··················Date | 306 | ··················Date |
| 307 | ··············Examples: | 307 | ··············Examples: |
| 308 | ············>>>·Faker.seed(0) | 308 | ············>>>·Faker.seed(0) |
| 309 | ············>>>·for·_·in·range(5): | 309 | ············>>>·for·_·in·range(5): |
| 310 | ············...·····fake.date_of_birth() | 310 | ············...·····fake.date_of_birth() |
| 311 | ············... | 311 | ············... |
| 312 | ············datetime.date(200 | 312 | ············datetime.date(2007,·10,·18) |
| 313 | ············datetime.date(1997,·10,·6) | ||
| 314 | ············datetime.date(1958,·8,·18) | ||
| 313 | ············datetime.date(19 | 315 | ············datetime.date(1939,·11,·17) |
| 314 | ············datetime.date(19 | 316 | ············datetime.date(1969,·2,·24) |
| 315 | ············datetime.date(1940,·12,·18) | ||
| 316 | ············datetime.date(1970,·3,·28) | ||
| 317 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 317 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 318 | ········→·date¶ | 318 | ········→·date¶ |
| 319 | ············Gets·a·Date·object·for·the·current·century. | 319 | ············Gets·a·Date·object·for·the·current·century. |
| 320 | ··············Parameters: | 320 | ··············Parameters: |
| 321 | ······················*·before_today·–·include·days·in·current·century·before | 321 | ······················*·before_today·–·include·days·in·current·century·before |
| 322 | ························today | 322 | ························today |
| 323 | ······················*·after_today·–·include·days·in·current·century·after | 323 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 327, 19 lines modified | Offset 327, 19 lines modified | ||
| 327 | ··············Returns: | 327 | ··············Returns: |
| 328 | ··················Date | 328 | ··················Date |
| 329 | ··············Examples: | 329 | ··············Examples: |
| 330 | ············>>>·Faker.seed(0) | 330 | ············>>>·Faker.seed(0) |
| 331 | ············>>>·for·_·in·range(5): | 331 | ············>>>·for·_·in·range(5): |
| 332 | ············...·····fake.date_this_century() | 332 | ············...·····fake.date_this_century() |
| 333 | ············... | 333 | ············... |
| Max diff block lines reached; 24669/30583 bytes (80.66%) of diff not shown. | |||
| Offset 809, 19 lines modified | Offset 809, 19 lines modified | ||
| 809 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 809 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 810 | <dd·class="field-odd"><p></p></dd> | 810 | <dd·class="field-odd"><p></p></dd> |
| 811 | </dl> | 811 | </dl> |
| 812 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 812 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 813 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 813 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 814 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 814 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 815 | <span·class="gp">...</span> | 815 | <span·class="gp">...</span> |
| 816 | <span·class="go">'PM'</span> | ||
| 817 | <span·class="go">'PM'</span> | ||
| 818 | <span·class="go">'AM'</span> | 816 | <span·class="go">'AM'</span> |
| 819 | <span·class="go">'PM'</span> | 817 | <span·class="go">'PM'</span> |
| 820 | <span·class="go">'AM'</span> | 818 | <span·class="go">'AM'</span> |
| 819 | <span·class="go">'AM'</span> | ||
| 820 | <span·class="go">'AM'</span> | ||
| 821 | </pre></div> | 821 | </pre></div> |
| 822 | </div> | 822 | </div> |
| 823 | </dd></dl> | 823 | </dd></dl> |
| 824 | <dl·class="py·method"> | 824 | <dl·class="py·method"> |
| 825 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hr_HR.Provider.century"> | 825 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hr_HR.Provider.century"> |
| 826 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hr_HR.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 826 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hr_HR.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 862, 19 lines modified | Offset 862, 19 lines modified | ||
| 862 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 862 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 863 | <dd·class="field-even"><p></p></dd> | 863 | <dd·class="field-even"><p></p></dd> |
| 864 | </dl> | 864 | </dl> |
| 865 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 865 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 866 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 866 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 867 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 867 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 868 | <span·class="gp">...</span> | 868 | <span·class="gp">...</span> |
| 869 | <span·class="go">'2018-01-27'</span> | ||
| 870 | <span·class="go">'201 | 869 | <span·class="go">'2017-02-26'</span> |
| 870 | <span·class="go">'2012-04-29'</span> | ||
| 871 | <span·class="go">'1993- | 871 | <span·class="go">'1993-06-27'</span> |
| 872 | <span·class="go">'1984-0 | 872 | <span·class="go">'1984-06-17'</span> |
| 873 | <span·class="go">'199 | 873 | <span·class="go">'1998-07-21'</span> |
| 874 | </pre></div> | 874 | </pre></div> |
| 875 | </div> | 875 | </div> |
| 876 | </dd></dl> | 876 | </dd></dl> |
| 877 | <dl·class="py·method"> | 877 | <dl·class="py·method"> |
| 878 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hr_HR.Provider.date_between"> | 878 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hr_HR.Provider.date_between"> |
| 879 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hr_HR.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 879 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hr_HR.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 896, 19 lines modified | Offset 896, 19 lines modified | ||
| 896 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 896 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 897 | <dd·class="field-even"><p></p></dd> | 897 | <dd·class="field-even"><p></p></dd> |
| 898 | </dl> | 898 | </dl> |
| 899 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 899 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 900 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 900 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 901 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 901 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 902 | <span·class="gp">...</span> | 902 | <span·class="gp">...</span> |
| 903 | <span·class="go">datetime.date(202 | 903 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 904 | <span·class="go">datetime.date(201 | 904 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 905 | <span·class="go">datetime.date(200 | 905 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 906 | <span·class="go">datetime.date(200 | 906 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 907 | <span·class="go">datetime.date(201 | 907 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 908 | </pre></div> | 908 | </pre></div> |
| 909 | </div> | 909 | </div> |
| 910 | </dd></dl> | 910 | </dd></dl> |
| 911 | <dl·class="py·method"> | 911 | <dl·class="py·method"> |
| 912 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hr_HR.Provider.date_between_dates"> | 912 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hr_HR.Provider.date_between_dates"> |
| 913 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hr_HR.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 913 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hr_HR.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 927, 19 lines modified | Offset 927, 19 lines modified | ||
| 927 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 927 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 928 | <dd·class="field-odd"><p></p></dd> | 928 | <dd·class="field-odd"><p></p></dd> |
| 929 | </dl> | 929 | </dl> |
| 930 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 930 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 931 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 931 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 932 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 932 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 933 | <span·class="gp">...</span> | 933 | <span·class="gp">...</span> |
| 934 | <span·class="go">datetime.date(202 | 934 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 935 | <span·class="go">datetime.date(202 | 935 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 936 | <span·class="go">datetime.date(202 | 936 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 937 | <span·class="go">datetime.date(202 | 937 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 938 | <span·class="go">datetime.date(202 | 938 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 939 | </pre></div> | 939 | </pre></div> |
| 940 | </div> | 940 | </div> |
| 941 | </dd></dl> | 941 | </dd></dl> |
| 942 | <dl·class="py·method"> | 942 | <dl·class="py·method"> |
| 943 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hr_HR.Provider.date_object"> | 943 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hr_HR.Provider.date_object"> |
| 944 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hr_HR.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 944 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hr_HR.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 951, 19 lines modified | Offset 951, 19 lines modified | ||
| 951 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 951 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 952 | <dd·class="field-even"><p></p></dd> | 952 | <dd·class="field-even"><p></p></dd> |
| 953 | </dl> | 953 | </dl> |
| 954 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 954 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 955 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 955 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 956 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 956 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 957 | <span·class="gp">...</span> | 957 | <span·class="gp">...</span> |
| 958 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 959 | <span·class="go">datetime.date(201 | 958 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 959 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 960 | <span·class="go">datetime.date(1993,· | 960 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 961 | <span·class="go">datetime.date(1984,· | 961 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 962 | <span·class="go">datetime.date(199 | 962 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 963 | </pre></div> | 963 | </pre></div> |
| 964 | </div> | 964 | </div> |
| 965 | </dd></dl> | 965 | </dd></dl> |
| 966 | <dl·class="py·method"> | 966 | <dl·class="py·method"> |
| 967 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hr_HR.Provider.date_of_birth"> | 967 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hr_HR.Provider.date_of_birth"> |
| 968 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hr_HR.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 968 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hr_HR.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 987, 19 lines modified | Offset 987, 19 lines modified | ||
| 987 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 987 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 988 | <dd·class="field-even"><p></p></dd> | 988 | <dd·class="field-even"><p></p></dd> |
| 989 | </dl> | 989 | </dl> |
| 990 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 990 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 991 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 991 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 992 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 992 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 993 | <span·class="gp">...</span> | 993 | <span·class="gp">...</span> |
| 994 | <span·class="go">datetime.date(200 | 994 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 995 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 996 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 995 | <span·class="go">datetime.date(19 | 997 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 996 | <span·class="go">datetime.date(19 | 998 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 997 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 998 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 999 | </pre></div> | 999 | </pre></div> |
| 1000 | </div> | 1000 | </div> |
| 1001 | </dd></dl> | 1001 | </dd></dl> |
| 1002 | <dl·class="py·method"> | 1002 | <dl·class="py·method"> |
| 1003 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hr_HR.Provider.date_this_century"> | 1003 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hr_HR.Provider.date_this_century"> |
| 1004 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hr_HR.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 1004 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hr_HR.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1020, 19 lines modified | Offset 1020, 19 lines modified | ||
| 1020 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1020 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 98701/120928 bytes (81.62%) of diff not shown. | |||
| Offset 458, 19 lines modified | Offset 458, 19 lines modified | ||
| 458 | ······Bases:·Provider | 458 | ······Bases:·Provider |
| 459 | ········am_pm()·→·str¶ | 459 | ········am_pm()·→·str¶ |
| 460 | ··············Examples: | 460 | ··············Examples: |
| 461 | ············>>>·Faker.seed(0) | 461 | ············>>>·Faker.seed(0) |
| 462 | ············>>>·for·_·in·range(5): | 462 | ············>>>·for·_·in·range(5): |
| 463 | ············...·····fake.am_pm() | 463 | ············...·····fake.am_pm() |
| 464 | ············... | 464 | ············... |
| 465 | ············'PM' | ||
| 466 | ············'PM' | ||
| 467 | ············'AM' | 465 | ············'AM' |
| 468 | ············'PM' | 466 | ············'PM' |
| 469 | ············'AM' | 467 | ············'AM' |
| 468 | ············'AM' | ||
| 469 | ············'AM' | ||
| 470 | ········century()·→·str¶ | 470 | ········century()·→·str¶ |
| 471 | ··············Example: | 471 | ··············Example: |
| 472 | ··················‘XVII’ | 472 | ··················‘XVII’ |
| 473 | ··············Examples: | 473 | ··············Examples: |
| 474 | ············>>>·Faker.seed(0) | 474 | ············>>>·Faker.seed(0) |
| 475 | ············>>>·for·_·in·range(5): | 475 | ············>>>·for·_·in·range(5): |
| 476 | ············...·····fake.century() | 476 | ············...·····fake.century() |
| Offset 490, 19 lines modified | Offset 490, 19 lines modified | ||
| 490 | ··············Returns: | 490 | ··············Returns: |
| 491 | ··················Date | 491 | ··················Date |
| 492 | ··············Examples: | 492 | ··············Examples: |
| 493 | ············>>>·Faker.seed(0) | 493 | ············>>>·Faker.seed(0) |
| 494 | ············>>>·for·_·in·range(5): | 494 | ············>>>·for·_·in·range(5): |
| 495 | ············...·····fake.date() | 495 | ············...·····fake.date() |
| 496 | ············... | 496 | ············... |
| 497 | ············'2018-01-27' | ||
| 498 | ············'201 | 497 | ············'2017-02-26' |
| 498 | ············'2012-04-29' | ||
| 499 | ············'1993- | 499 | ············'1993-06-27' |
| 500 | ············'1984-0 | 500 | ············'1984-06-17' |
| 501 | ············'199 | 501 | ············'1998-07-21' |
| 502 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 502 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 503 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 503 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 504 | ········date¶ | 504 | ········date¶ |
| 505 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 505 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 506 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 506 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 507 | ··············Parameters: | 507 | ··············Parameters: |
| 508 | ······················*·start_date·–·Defaults·to·30·years·ago | 508 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 512, 19 lines modified | Offset 512, 19 lines modified | ||
| 512 | ··············Returns: | 512 | ··············Returns: |
| 513 | ··················Date | 513 | ··················Date |
| 514 | ··············Examples: | 514 | ··············Examples: |
| 515 | ············>>>·Faker.seed(0) | 515 | ············>>>·Faker.seed(0) |
| 516 | ············>>>·for·_·in·range(5): | 516 | ············>>>·for·_·in·range(5): |
| 517 | ············...·····fake.date_between() | 517 | ············...·····fake.date_between() |
| 518 | ············... | 518 | ············... |
| 519 | ············datetime.date(202 | 519 | ············datetime.date(2021,·3,·5) |
| 520 | ············datetime.date(201 | 520 | ············datetime.date(2018,·7,·31) |
| 521 | ············datetime.date(200 | 521 | ············datetime.date(2008,·6,·16) |
| 522 | ············datetime.date(200 | 522 | ············datetime.date(2003,·8,·11) |
| 523 | ············datetime.date(201 | 523 | ············datetime.date(2011,·3,·7) |
| 524 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 524 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 525 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 525 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 526 | ········=·None)·→·date¶ | 526 | ········=·None)·→·date¶ |
| 527 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 527 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 528 | ············given·dates.·Accepts·Date·or·datetime·objects | 528 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 529 | ··············Parameters: | 529 | ··············Parameters: |
| 530 | ······················*·date_start·–·Date | 530 | ······················*·date_start·–·Date |
| Offset 532, 33 lines modified | Offset 532, 33 lines modified | ||
| 532 | ··············Returns: | 532 | ··············Returns: |
| 533 | ··················Date | 533 | ··················Date |
| 534 | ··············Examples: | 534 | ··············Examples: |
| 535 | ············>>>·Faker.seed(0) | 535 | ············>>>·Faker.seed(0) |
| 536 | ············>>>·for·_·in·range(5): | 536 | ············>>>·for·_·in·range(5): |
| 537 | ············...·····fake.date_between_dates() | 537 | ············...·····fake.date_between_dates() |
| 538 | ············... | 538 | ············... |
| 539 | ············datetime.date(202 | 539 | ············datetime.date(2025,·11,·4) |
| 540 | ············datetime.date(202 | 540 | ············datetime.date(2025,·11,·4) |
| 541 | ············datetime.date(202 | 541 | ············datetime.date(2025,·11,·4) |
| 542 | ············datetime.date(202 | 542 | ············datetime.date(2025,·11,·4) |
| 543 | ············datetime.date(202 | 543 | ············datetime.date(2025,·11,·4) |
| 544 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 544 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 545 | ············Get·a·date·object·between·January·1,·1970·and·now | 545 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 546 | ··············Example: | 546 | ··············Example: |
| 547 | ··················datetime.date(2016,·9,·20) | 547 | ··················datetime.date(2016,·9,·20) |
| 548 | ··············Examples: | 548 | ··············Examples: |
| 549 | ············>>>·Faker.seed(0) | 549 | ············>>>·Faker.seed(0) |
| 550 | ············>>>·for·_·in·range(5): | 550 | ············>>>·for·_·in·range(5): |
| 551 | ············...·····fake.date_object() | 551 | ············...·····fake.date_object() |
| 552 | ············... | 552 | ············... |
| 553 | ············datetime.date(2018,·1,·27) | ||
| 554 | ············datetime.date(201 | 553 | ············datetime.date(2017,·2,·26) |
| 554 | ············datetime.date(2012,·4,·29) | ||
| 555 | ············datetime.date(1993,· | 555 | ············datetime.date(1993,·6,·27) |
| 556 | ············datetime.date(1984,· | 556 | ············datetime.date(1984,·6,·17) |
| 557 | ············datetime.date(199 | 557 | ············datetime.date(1998,·7,·21) |
| 558 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 558 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 559 | ········maximum_age:·int·=·115)·→·date¶ | 559 | ········maximum_age:·int·=·115)·→·date¶ |
| 560 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 560 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 561 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 561 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 562 | ··············Parameters: | 562 | ··············Parameters: |
| 563 | ······················*·tzinfo·–·Defaults·to·None. | 563 | ······················*·tzinfo·–·Defaults·to·None. |
| 564 | ······················*·minimum_age·–·Defaults·to·0. | 564 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 568, 19 lines modified | Offset 568, 19 lines modified | ||
| 568 | ··············Returns: | 568 | ··············Returns: |
| 569 | ··················Date | 569 | ··················Date |
| 570 | ··············Examples: | 570 | ··············Examples: |
| 571 | ············>>>·Faker.seed(0) | 571 | ············>>>·Faker.seed(0) |
| 572 | ············>>>·for·_·in·range(5): | 572 | ············>>>·for·_·in·range(5): |
| 573 | ············...·····fake.date_of_birth() | 573 | ············...·····fake.date_of_birth() |
| 574 | ············... | 574 | ············... |
| 575 | ············datetime.date(200 | 575 | ············datetime.date(2007,·10,·18) |
| 576 | ············datetime.date(1997,·10,·6) | ||
| 577 | ············datetime.date(1958,·8,·18) | ||
| 576 | ············datetime.date(19 | 578 | ············datetime.date(1939,·11,·17) |
| 577 | ············datetime.date(19 | 579 | ············datetime.date(1969,·2,·24) |
| 578 | ············datetime.date(1940,·12,·18) | ||
| 579 | ············datetime.date(1970,·3,·28) | ||
| 580 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 580 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 581 | ········→·date¶ | 581 | ········→·date¶ |
| 582 | ············Gets·a·Date·object·for·the·current·century. | 582 | ············Gets·a·Date·object·for·the·current·century. |
| 583 | ··············Parameters: | 583 | ··············Parameters: |
| 584 | ······················*·before_today·–·include·days·in·current·century·before | 584 | ······················*·before_today·–·include·days·in·current·century·before |
| 585 | ························today | 585 | ························today |
| 586 | ······················*·after_today·–·include·days·in·current·century·after | 586 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 590, 19 lines modified | Offset 590, 19 lines modified | ||
| 590 | ··············Returns: | 590 | ··············Returns: |
| 591 | ··················Date | 591 | ··················Date |
| 592 | ··············Examples: | 592 | ··············Examples: |
| 593 | ············>>>·Faker.seed(0) | 593 | ············>>>·Faker.seed(0) |
| 594 | ············>>>·for·_·in·range(5): | 594 | ············>>>·for·_·in·range(5): |
| 595 | ············...·····fake.date_this_century() | 595 | ············...·····fake.date_this_century() |
| 596 | ············... | 596 | ············... |
| Max diff block lines reached; 24728/30642 bytes (80.70%) of diff not shown. | |||
| Offset 945, 19 lines modified | Offset 945, 19 lines modified | ||
| 945 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 945 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 946 | <dd·class="field-odd"><p></p></dd> | 946 | <dd·class="field-odd"><p></p></dd> |
| 947 | </dl> | 947 | </dl> |
| 948 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 948 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 949 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 949 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 950 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 950 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 951 | <span·class="gp">...</span> | 951 | <span·class="gp">...</span> |
| 952 | <span·class="go">'PM'</span> | ||
| 953 | <span·class="go">'PM'</span> | ||
| 954 | <span·class="go">'AM'</span> | 952 | <span·class="go">'AM'</span> |
| 955 | <span·class="go">'PM'</span> | 953 | <span·class="go">'PM'</span> |
| 956 | <span·class="go">'AM'</span> | 954 | <span·class="go">'AM'</span> |
| 955 | <span·class="go">'AM'</span> | ||
| 956 | <span·class="go">'AM'</span> | ||
| 957 | </pre></div> | 957 | </pre></div> |
| 958 | </div> | 958 | </div> |
| 959 | </dd></dl> | 959 | </dd></dl> |
| 960 | <dl·class="py·method"> | 960 | <dl·class="py·method"> |
| 961 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hu_HU.Provider.century"> | 961 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hu_HU.Provider.century"> |
| 962 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hu_HU.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 962 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hu_HU.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 998, 19 lines modified | Offset 998, 19 lines modified | ||
| 998 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 998 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 999 | <dd·class="field-even"><p></p></dd> | 999 | <dd·class="field-even"><p></p></dd> |
| 1000 | </dl> | 1000 | </dl> |
| 1001 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1001 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1002 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1002 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1003 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1003 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 1004 | <span·class="gp">...</span> | 1004 | <span·class="gp">...</span> |
| 1005 | <span·class="go">'2018-01-27'</span> | ||
| 1006 | <span·class="go">'201 | 1005 | <span·class="go">'2017-02-26'</span> |
| 1006 | <span·class="go">'2012-04-29'</span> | ||
| 1007 | <span·class="go">'1993- | 1007 | <span·class="go">'1993-06-27'</span> |
| 1008 | <span·class="go">'1984-0 | 1008 | <span·class="go">'1984-06-17'</span> |
| 1009 | <span·class="go">'199 | 1009 | <span·class="go">'1998-07-21'</span> |
| 1010 | </pre></div> | 1010 | </pre></div> |
| 1011 | </div> | 1011 | </div> |
| 1012 | </dd></dl> | 1012 | </dd></dl> |
| 1013 | <dl·class="py·method"> | 1013 | <dl·class="py·method"> |
| 1014 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hu_HU.Provider.date_between"> | 1014 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hu_HU.Provider.date_between"> |
| 1015 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hu_HU.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1015 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hu_HU.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1032, 19 lines modified | Offset 1032, 19 lines modified | ||
| 1032 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1032 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1033 | <dd·class="field-even"><p></p></dd> | 1033 | <dd·class="field-even"><p></p></dd> |
| 1034 | </dl> | 1034 | </dl> |
| 1035 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1035 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1036 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1036 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1037 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1037 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 1038 | <span·class="gp">...</span> | 1038 | <span·class="gp">...</span> |
| 1039 | <span·class="go">datetime.date(202 | 1039 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 1040 | <span·class="go">datetime.date(201 | 1040 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 1041 | <span·class="go">datetime.date(200 | 1041 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 1042 | <span·class="go">datetime.date(200 | 1042 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 1043 | <span·class="go">datetime.date(201 | 1043 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 1044 | </pre></div> | 1044 | </pre></div> |
| 1045 | </div> | 1045 | </div> |
| 1046 | </dd></dl> | 1046 | </dd></dl> |
| 1047 | <dl·class="py·method"> | 1047 | <dl·class="py·method"> |
| 1048 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hu_HU.Provider.date_between_dates"> | 1048 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hu_HU.Provider.date_between_dates"> |
| 1049 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hu_HU.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 1049 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hu_HU.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1063, 19 lines modified | Offset 1063, 19 lines modified | ||
| 1063 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1063 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1064 | <dd·class="field-odd"><p></p></dd> | 1064 | <dd·class="field-odd"><p></p></dd> |
| 1065 | </dl> | 1065 | </dl> |
| 1066 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1066 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1067 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1067 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1068 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 1068 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 1069 | <span·class="gp">...</span> | 1069 | <span·class="gp">...</span> |
| 1070 | <span·class="go">datetime.date(202 | 1070 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1071 | <span·class="go">datetime.date(202 | 1071 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1072 | <span·class="go">datetime.date(202 | 1072 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1073 | <span·class="go">datetime.date(202 | 1073 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1074 | <span·class="go">datetime.date(202 | 1074 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1075 | </pre></div> | 1075 | </pre></div> |
| 1076 | </div> | 1076 | </div> |
| 1077 | </dd></dl> | 1077 | </dd></dl> |
| 1078 | <dl·class="py·method"> | 1078 | <dl·class="py·method"> |
| 1079 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hu_HU.Provider.date_object"> | 1079 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hu_HU.Provider.date_object"> |
| 1080 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hu_HU.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 1080 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hu_HU.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1087, 19 lines modified | Offset 1087, 19 lines modified | ||
| 1087 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1087 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1088 | <dd·class="field-even"><p></p></dd> | 1088 | <dd·class="field-even"><p></p></dd> |
| 1089 | </dl> | 1089 | </dl> |
| 1090 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1090 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1091 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1091 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1092 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1092 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 1093 | <span·class="gp">...</span> | 1093 | <span·class="gp">...</span> |
| 1094 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 1095 | <span·class="go">datetime.date(201 | 1094 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 1095 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 1096 | <span·class="go">datetime.date(1993,· | 1096 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 1097 | <span·class="go">datetime.date(1984,· | 1097 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 1098 | <span·class="go">datetime.date(199 | 1098 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 1099 | </pre></div> | 1099 | </pre></div> |
| 1100 | </div> | 1100 | </div> |
| 1101 | </dd></dl> | 1101 | </dd></dl> |
| 1102 | <dl·class="py·method"> | 1102 | <dl·class="py·method"> |
| 1103 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hu_HU.Provider.date_of_birth"> | 1103 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hu_HU.Provider.date_of_birth"> |
| 1104 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hu_HU.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1104 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hu_HU.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1123, 19 lines modified | Offset 1123, 19 lines modified | ||
| 1123 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1123 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1124 | <dd·class="field-even"><p></p></dd> | 1124 | <dd·class="field-even"><p></p></dd> |
| 1125 | </dl> | 1125 | </dl> |
| 1126 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1126 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1127 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1127 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1128 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1128 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 1129 | <span·class="gp">...</span> | 1129 | <span·class="gp">...</span> |
| 1130 | <span·class="go">datetime.date(200 | 1130 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 1131 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 1132 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 1131 | <span·class="go">datetime.date(19 | 1133 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 1132 | <span·class="go">datetime.date(19 | 1134 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 1133 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 1134 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 1135 | </pre></div> | 1135 | </pre></div> |
| 1136 | </div> | 1136 | </div> |
| 1137 | </dd></dl> | 1137 | </dd></dl> |
| 1138 | <dl·class="py·method"> | 1138 | <dl·class="py·method"> |
| 1139 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hu_HU.Provider.date_this_century"> | 1139 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hu_HU.Provider.date_this_century"> |
| 1140 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hu_HU.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 1140 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hu_HU.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1156, 19 lines modified | Offset 1156, 19 lines modified | ||
| 1156 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1156 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 98692/120927 bytes (81.61%) of diff not shown. | |||
| Offset 534, 19 lines modified | Offset 534, 19 lines modified | ||
| 534 | ······Bases:·Provider | 534 | ······Bases:·Provider |
| 535 | ········am_pm()·→·str¶ | 535 | ········am_pm()·→·str¶ |
| 536 | ··············Examples: | 536 | ··············Examples: |
| 537 | ············>>>·Faker.seed(0) | 537 | ············>>>·Faker.seed(0) |
| 538 | ············>>>·for·_·in·range(5): | 538 | ············>>>·for·_·in·range(5): |
| 539 | ············...·····fake.am_pm() | 539 | ············...·····fake.am_pm() |
| 540 | ············... | 540 | ············... |
| 541 | ············'PM' | ||
| 542 | ············'PM' | ||
| 543 | ············'AM' | 541 | ············'AM' |
| 544 | ············'PM' | 542 | ············'PM' |
| 545 | ············'AM' | 543 | ············'AM' |
| 544 | ············'AM' | ||
| 545 | ············'AM' | ||
| 546 | ········century()·→·str¶ | 546 | ········century()·→·str¶ |
| 547 | ··············Example: | 547 | ··············Example: |
| 548 | ··················‘XVII’ | 548 | ··················‘XVII’ |
| 549 | ··············Examples: | 549 | ··············Examples: |
| 550 | ············>>>·Faker.seed(0) | 550 | ············>>>·Faker.seed(0) |
| 551 | ············>>>·for·_·in·range(5): | 551 | ············>>>·for·_·in·range(5): |
| 552 | ············...·····fake.century() | 552 | ············...·····fake.century() |
| Offset 566, 19 lines modified | Offset 566, 19 lines modified | ||
| 566 | ··············Returns: | 566 | ··············Returns: |
| 567 | ··················Date | 567 | ··················Date |
| 568 | ··············Examples: | 568 | ··············Examples: |
| 569 | ············>>>·Faker.seed(0) | 569 | ············>>>·Faker.seed(0) |
| 570 | ············>>>·for·_·in·range(5): | 570 | ············>>>·for·_·in·range(5): |
| 571 | ············...·····fake.date() | 571 | ············...·····fake.date() |
| 572 | ············... | 572 | ············... |
| 573 | ············'2018-01-27' | ||
| 574 | ············'201 | 573 | ············'2017-02-26' |
| 574 | ············'2012-04-29' | ||
| 575 | ············'1993- | 575 | ············'1993-06-27' |
| 576 | ············'1984-0 | 576 | ············'1984-06-17' |
| 577 | ············'199 | 577 | ············'1998-07-21' |
| 578 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 578 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 579 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 579 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 580 | ········date¶ | 580 | ········date¶ |
| 581 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 581 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 582 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 582 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 583 | ··············Parameters: | 583 | ··············Parameters: |
| 584 | ······················*·start_date·–·Defaults·to·30·years·ago | 584 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 588, 19 lines modified | Offset 588, 19 lines modified | ||
| 588 | ··············Returns: | 588 | ··············Returns: |
| 589 | ··················Date | 589 | ··················Date |
| 590 | ··············Examples: | 590 | ··············Examples: |
| 591 | ············>>>·Faker.seed(0) | 591 | ············>>>·Faker.seed(0) |
| 592 | ············>>>·for·_·in·range(5): | 592 | ············>>>·for·_·in·range(5): |
| 593 | ············...·····fake.date_between() | 593 | ············...·····fake.date_between() |
| 594 | ············... | 594 | ············... |
| 595 | ············datetime.date(202 | 595 | ············datetime.date(2021,·3,·5) |
| 596 | ············datetime.date(201 | 596 | ············datetime.date(2018,·7,·31) |
| 597 | ············datetime.date(200 | 597 | ············datetime.date(2008,·6,·16) |
| 598 | ············datetime.date(200 | 598 | ············datetime.date(2003,·8,·11) |
| 599 | ············datetime.date(201 | 599 | ············datetime.date(2011,·3,·7) |
| 600 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 600 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 601 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 601 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 602 | ········=·None)·→·date¶ | 602 | ········=·None)·→·date¶ |
| 603 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 603 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 604 | ············given·dates.·Accepts·Date·or·datetime·objects | 604 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 605 | ··············Parameters: | 605 | ··············Parameters: |
| 606 | ······················*·date_start·–·Date | 606 | ······················*·date_start·–·Date |
| Offset 608, 33 lines modified | Offset 608, 33 lines modified | ||
| 608 | ··············Returns: | 608 | ··············Returns: |
| 609 | ··················Date | 609 | ··················Date |
| 610 | ··············Examples: | 610 | ··············Examples: |
| 611 | ············>>>·Faker.seed(0) | 611 | ············>>>·Faker.seed(0) |
| 612 | ············>>>·for·_·in·range(5): | 612 | ············>>>·for·_·in·range(5): |
| 613 | ············...·····fake.date_between_dates() | 613 | ············...·····fake.date_between_dates() |
| 614 | ············... | 614 | ············... |
| 615 | ············datetime.date(202 | 615 | ············datetime.date(2025,·11,·4) |
| 616 | ············datetime.date(202 | 616 | ············datetime.date(2025,·11,·4) |
| 617 | ············datetime.date(202 | 617 | ············datetime.date(2025,·11,·4) |
| 618 | ············datetime.date(202 | 618 | ············datetime.date(2025,·11,·4) |
| 619 | ············datetime.date(202 | 619 | ············datetime.date(2025,·11,·4) |
| 620 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 620 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 621 | ············Get·a·date·object·between·January·1,·1970·and·now | 621 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 622 | ··············Example: | 622 | ··············Example: |
| 623 | ··················datetime.date(2016,·9,·20) | 623 | ··················datetime.date(2016,·9,·20) |
| 624 | ··············Examples: | 624 | ··············Examples: |
| 625 | ············>>>·Faker.seed(0) | 625 | ············>>>·Faker.seed(0) |
| 626 | ············>>>·for·_·in·range(5): | 626 | ············>>>·for·_·in·range(5): |
| 627 | ············...·····fake.date_object() | 627 | ············...·····fake.date_object() |
| 628 | ············... | 628 | ············... |
| 629 | ············datetime.date(2018,·1,·27) | ||
| 630 | ············datetime.date(201 | 629 | ············datetime.date(2017,·2,·26) |
| 630 | ············datetime.date(2012,·4,·29) | ||
| 631 | ············datetime.date(1993,· | 631 | ············datetime.date(1993,·6,·27) |
| 632 | ············datetime.date(1984,· | 632 | ············datetime.date(1984,·6,·17) |
| 633 | ············datetime.date(199 | 633 | ············datetime.date(1998,·7,·21) |
| 634 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 634 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 635 | ········maximum_age:·int·=·115)·→·date¶ | 635 | ········maximum_age:·int·=·115)·→·date¶ |
| 636 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 636 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 637 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 637 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 638 | ··············Parameters: | 638 | ··············Parameters: |
| 639 | ······················*·tzinfo·–·Defaults·to·None. | 639 | ······················*·tzinfo·–·Defaults·to·None. |
| 640 | ······················*·minimum_age·–·Defaults·to·0. | 640 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 644, 19 lines modified | Offset 644, 19 lines modified | ||
| 644 | ··············Returns: | 644 | ··············Returns: |
| 645 | ··················Date | 645 | ··················Date |
| 646 | ··············Examples: | 646 | ··············Examples: |
| 647 | ············>>>·Faker.seed(0) | 647 | ············>>>·Faker.seed(0) |
| 648 | ············>>>·for·_·in·range(5): | 648 | ············>>>·for·_·in·range(5): |
| 649 | ············...·····fake.date_of_birth() | 649 | ············...·····fake.date_of_birth() |
| 650 | ············... | 650 | ············... |
| 651 | ············datetime.date(200 | 651 | ············datetime.date(2007,·10,·18) |
| 652 | ············datetime.date(1997,·10,·6) | ||
| 653 | ············datetime.date(1958,·8,·18) | ||
| 652 | ············datetime.date(19 | 654 | ············datetime.date(1939,·11,·17) |
| 653 | ············datetime.date(19 | 655 | ············datetime.date(1969,·2,·24) |
| 654 | ············datetime.date(1940,·12,·18) | ||
| 655 | ············datetime.date(1970,·3,·28) | ||
| 656 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 656 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 657 | ········→·date¶ | 657 | ········→·date¶ |
| 658 | ············Gets·a·Date·object·for·the·current·century. | 658 | ············Gets·a·Date·object·for·the·current·century. |
| 659 | ··············Parameters: | 659 | ··············Parameters: |
| 660 | ······················*·before_today·–·include·days·in·current·century·before | 660 | ······················*·before_today·–·include·days·in·current·century·before |
| 661 | ························today | 661 | ························today |
| 662 | ······················*·after_today·–·include·days·in·current·century·after | 662 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 666, 19 lines modified | Offset 666, 19 lines modified | ||
| 666 | ··············Returns: | 666 | ··············Returns: |
| 667 | ··················Date | 667 | ··················Date |
| 668 | ··············Examples: | 668 | ··············Examples: |
| 669 | ············>>>·Faker.seed(0) | 669 | ············>>>·Faker.seed(0) |
| 670 | ············>>>·for·_·in·range(5): | 670 | ············>>>·for·_·in·range(5): |
| 671 | ············...·····fake.date_this_century() | 671 | ············...·····fake.date_this_century() |
| 672 | ············... | 672 | ············... |
| Max diff block lines reached; 24723/30637 bytes (80.70%) of diff not shown. | |||
| Offset 979, 19 lines modified | Offset 979, 19 lines modified | ||
| 979 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 979 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 980 | <dd·class="field-odd"><p></p></dd> | 980 | <dd·class="field-odd"><p></p></dd> |
| 981 | </dl> | 981 | </dl> |
| 982 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 982 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 983 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 983 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 984 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 984 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 985 | <span·class="gp">...</span> | 985 | <span·class="gp">...</span> |
| 986 | <span·class="go">'PM'</span> | ||
| 987 | <span·class="go">'PM'</span> | ||
| 988 | <span·class="go">'AM'</span> | 986 | <span·class="go">'AM'</span> |
| 989 | <span·class="go">'PM'</span> | 987 | <span·class="go">'PM'</span> |
| 990 | <span·class="go">'AM'</span> | 988 | <span·class="go">'AM'</span> |
| 989 | <span·class="go">'AM'</span> | ||
| 990 | <span·class="go">'AM'</span> | ||
| 991 | </pre></div> | 991 | </pre></div> |
| 992 | </div> | 992 | </div> |
| 993 | </dd></dl> | 993 | </dd></dl> |
| 994 | <dl·class="py·method"> | 994 | <dl·class="py·method"> |
| 995 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hy_AM.Provider.century"> | 995 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hy_AM.Provider.century"> |
| 996 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hy_AM.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 996 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hy_AM.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1032, 19 lines modified | Offset 1032, 19 lines modified | ||
| 1032 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1032 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1033 | <dd·class="field-even"><p></p></dd> | 1033 | <dd·class="field-even"><p></p></dd> |
| 1034 | </dl> | 1034 | </dl> |
| 1035 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1035 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1036 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1036 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1037 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1037 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 1038 | <span·class="gp">...</span> | 1038 | <span·class="gp">...</span> |
| 1039 | <span·class="go">'2018-01-27'</span> | ||
| 1040 | <span·class="go">'201 | 1039 | <span·class="go">'2017-02-26'</span> |
| 1040 | <span·class="go">'2012-04-29'</span> | ||
| 1041 | <span·class="go">'1993- | 1041 | <span·class="go">'1993-06-27'</span> |
| 1042 | <span·class="go">'1984-0 | 1042 | <span·class="go">'1984-06-17'</span> |
| 1043 | <span·class="go">'199 | 1043 | <span·class="go">'1998-07-21'</span> |
| 1044 | </pre></div> | 1044 | </pre></div> |
| 1045 | </div> | 1045 | </div> |
| 1046 | </dd></dl> | 1046 | </dd></dl> |
| 1047 | <dl·class="py·method"> | 1047 | <dl·class="py·method"> |
| 1048 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hy_AM.Provider.date_between"> | 1048 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hy_AM.Provider.date_between"> |
| 1049 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hy_AM.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1049 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hy_AM.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1066, 19 lines modified | Offset 1066, 19 lines modified | ||
| 1066 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1066 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1067 | <dd·class="field-even"><p></p></dd> | 1067 | <dd·class="field-even"><p></p></dd> |
| 1068 | </dl> | 1068 | </dl> |
| 1069 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1069 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1070 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1070 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1071 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1071 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 1072 | <span·class="gp">...</span> | 1072 | <span·class="gp">...</span> |
| 1073 | <span·class="go">datetime.date(202 | 1073 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 1074 | <span·class="go">datetime.date(201 | 1074 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 1075 | <span·class="go">datetime.date(200 | 1075 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 1076 | <span·class="go">datetime.date(200 | 1076 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 1077 | <span·class="go">datetime.date(201 | 1077 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 1078 | </pre></div> | 1078 | </pre></div> |
| 1079 | </div> | 1079 | </div> |
| 1080 | </dd></dl> | 1080 | </dd></dl> |
| 1081 | <dl·class="py·method"> | 1081 | <dl·class="py·method"> |
| 1082 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hy_AM.Provider.date_between_dates"> | 1082 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hy_AM.Provider.date_between_dates"> |
| 1083 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hy_AM.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 1083 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hy_AM.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1097, 19 lines modified | Offset 1097, 19 lines modified | ||
| 1097 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1097 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1098 | <dd·class="field-odd"><p></p></dd> | 1098 | <dd·class="field-odd"><p></p></dd> |
| 1099 | </dl> | 1099 | </dl> |
| 1100 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1100 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1101 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1101 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1102 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 1102 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 1103 | <span·class="gp">...</span> | 1103 | <span·class="gp">...</span> |
| 1104 | <span·class="go">datetime.date(202 | 1104 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1105 | <span·class="go">datetime.date(202 | 1105 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1106 | <span·class="go">datetime.date(202 | 1106 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1107 | <span·class="go">datetime.date(202 | 1107 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1108 | <span·class="go">datetime.date(202 | 1108 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1109 | </pre></div> | 1109 | </pre></div> |
| 1110 | </div> | 1110 | </div> |
| 1111 | </dd></dl> | 1111 | </dd></dl> |
| 1112 | <dl·class="py·method"> | 1112 | <dl·class="py·method"> |
| 1113 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hy_AM.Provider.date_object"> | 1113 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hy_AM.Provider.date_object"> |
| 1114 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hy_AM.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 1114 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hy_AM.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1121, 19 lines modified | Offset 1121, 19 lines modified | ||
| 1121 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1121 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1122 | <dd·class="field-even"><p></p></dd> | 1122 | <dd·class="field-even"><p></p></dd> |
| 1123 | </dl> | 1123 | </dl> |
| 1124 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1124 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1125 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1125 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1126 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1126 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 1127 | <span·class="gp">...</span> | 1127 | <span·class="gp">...</span> |
| 1128 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 1129 | <span·class="go">datetime.date(201 | 1128 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 1129 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 1130 | <span·class="go">datetime.date(1993,· | 1130 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 1131 | <span·class="go">datetime.date(1984,· | 1131 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 1132 | <span·class="go">datetime.date(199 | 1132 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 1133 | </pre></div> | 1133 | </pre></div> |
| 1134 | </div> | 1134 | </div> |
| 1135 | </dd></dl> | 1135 | </dd></dl> |
| 1136 | <dl·class="py·method"> | 1136 | <dl·class="py·method"> |
| 1137 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hy_AM.Provider.date_of_birth"> | 1137 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hy_AM.Provider.date_of_birth"> |
| 1138 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hy_AM.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1138 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hy_AM.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1157, 19 lines modified | Offset 1157, 19 lines modified | ||
| 1157 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1157 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1158 | <dd·class="field-even"><p></p></dd> | 1158 | <dd·class="field-even"><p></p></dd> |
| 1159 | </dl> | 1159 | </dl> |
| 1160 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1160 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1161 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1161 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1162 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1162 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 1163 | <span·class="gp">...</span> | 1163 | <span·class="gp">...</span> |
| 1164 | <span·class="go">datetime.date(200 | 1164 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 1165 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 1166 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 1165 | <span·class="go">datetime.date(19 | 1167 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 1166 | <span·class="go">datetime.date(19 | 1168 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 1167 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 1168 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 1169 | </pre></div> | 1169 | </pre></div> |
| 1170 | </div> | 1170 | </div> |
| 1171 | </dd></dl> | 1171 | </dd></dl> |
| 1172 | <dl·class="py·method"> | 1172 | <dl·class="py·method"> |
| 1173 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hy_AM.Provider.date_this_century"> | 1173 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hy_AM.Provider.date_this_century"> |
| 1174 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hy_AM.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 1174 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hy_AM.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1190, 19 lines modified | Offset 1190, 19 lines modified | ||
| 1190 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1190 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 98145/120382 bytes (81.53%) of diff not shown. | |||
| Offset 555, 19 lines modified | Offset 555, 19 lines modified | ||
| 555 | ······Bases:·Provider | 555 | ······Bases:·Provider |
| 556 | ········am_pm()·→·str¶ | 556 | ········am_pm()·→·str¶ |
| 557 | ··············Examples: | 557 | ··············Examples: |
| 558 | ············>>>·Faker.seed(0) | 558 | ············>>>·Faker.seed(0) |
| 559 | ············>>>·for·_·in·range(5): | 559 | ············>>>·for·_·in·range(5): |
| 560 | ············...·····fake.am_pm() | 560 | ············...·····fake.am_pm() |
| 561 | ············... | 561 | ············... |
| 562 | ············'PM' | ||
| 563 | ············'PM' | ||
| 564 | ············'AM' | 562 | ············'AM' |
| 565 | ············'PM' | 563 | ············'PM' |
| 566 | ············'AM' | 564 | ············'AM' |
| 565 | ············'AM' | ||
| 566 | ············'AM' | ||
| 567 | ········century()·→·str¶ | 567 | ········century()·→·str¶ |
| 568 | ··············Example: | 568 | ··············Example: |
| 569 | ··················‘XVII’ | 569 | ··················‘XVII’ |
| 570 | ··············Examples: | 570 | ··············Examples: |
| 571 | ············>>>·Faker.seed(0) | 571 | ············>>>·Faker.seed(0) |
| 572 | ············>>>·for·_·in·range(5): | 572 | ············>>>·for·_·in·range(5): |
| 573 | ············...·····fake.century() | 573 | ············...·····fake.century() |
| Offset 587, 19 lines modified | Offset 587, 19 lines modified | ||
| 587 | ··············Returns: | 587 | ··············Returns: |
| 588 | ··················Date | 588 | ··················Date |
| 589 | ··············Examples: | 589 | ··············Examples: |
| 590 | ············>>>·Faker.seed(0) | 590 | ············>>>·Faker.seed(0) |
| 591 | ············>>>·for·_·in·range(5): | 591 | ············>>>·for·_·in·range(5): |
| 592 | ············...·····fake.date() | 592 | ············...·····fake.date() |
| 593 | ············... | 593 | ············... |
| 594 | ············'2018-01-27' | ||
| 595 | ············'201 | 594 | ············'2017-02-26' |
| 595 | ············'2012-04-29' | ||
| 596 | ············'1993- | 596 | ············'1993-06-27' |
| 597 | ············'1984-0 | 597 | ············'1984-06-17' |
| 598 | ············'199 | 598 | ············'1998-07-21' |
| 599 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 599 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 600 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 600 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 601 | ········date¶ | 601 | ········date¶ |
| 602 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 602 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 603 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 603 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 604 | ··············Parameters: | 604 | ··············Parameters: |
| 605 | ······················*·start_date·–·Defaults·to·30·years·ago | 605 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 609, 19 lines modified | Offset 609, 19 lines modified | ||
| 609 | ··············Returns: | 609 | ··············Returns: |
| 610 | ··················Date | 610 | ··················Date |
| 611 | ··············Examples: | 611 | ··············Examples: |
| 612 | ············>>>·Faker.seed(0) | 612 | ············>>>·Faker.seed(0) |
| 613 | ············>>>·for·_·in·range(5): | 613 | ············>>>·for·_·in·range(5): |
| 614 | ············...·····fake.date_between() | 614 | ············...·····fake.date_between() |
| 615 | ············... | 615 | ············... |
| 616 | ············datetime.date(202 | 616 | ············datetime.date(2021,·3,·5) |
| 617 | ············datetime.date(201 | 617 | ············datetime.date(2018,·7,·31) |
| 618 | ············datetime.date(200 | 618 | ············datetime.date(2008,·6,·16) |
| 619 | ············datetime.date(200 | 619 | ············datetime.date(2003,·8,·11) |
| 620 | ············datetime.date(201 | 620 | ············datetime.date(2011,·3,·7) |
| 621 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 621 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 622 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 622 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 623 | ········=·None)·→·date¶ | 623 | ········=·None)·→·date¶ |
| 624 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 624 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 625 | ············given·dates.·Accepts·Date·or·datetime·objects | 625 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 626 | ··············Parameters: | 626 | ··············Parameters: |
| 627 | ······················*·date_start·–·Date | 627 | ······················*·date_start·–·Date |
| Offset 629, 33 lines modified | Offset 629, 33 lines modified | ||
| 629 | ··············Returns: | 629 | ··············Returns: |
| 630 | ··················Date | 630 | ··················Date |
| 631 | ··············Examples: | 631 | ··············Examples: |
| 632 | ············>>>·Faker.seed(0) | 632 | ············>>>·Faker.seed(0) |
| 633 | ············>>>·for·_·in·range(5): | 633 | ············>>>·for·_·in·range(5): |
| 634 | ············...·····fake.date_between_dates() | 634 | ············...·····fake.date_between_dates() |
| 635 | ············... | 635 | ············... |
| 636 | ············datetime.date(202 | 636 | ············datetime.date(2025,·11,·4) |
| 637 | ············datetime.date(202 | 637 | ············datetime.date(2025,·11,·4) |
| 638 | ············datetime.date(202 | 638 | ············datetime.date(2025,·11,·4) |
| 639 | ············datetime.date(202 | 639 | ············datetime.date(2025,·11,·4) |
| 640 | ············datetime.date(202 | 640 | ············datetime.date(2025,·11,·4) |
| 641 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 641 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 642 | ············Get·a·date·object·between·January·1,·1970·and·now | 642 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 643 | ··············Example: | 643 | ··············Example: |
| 644 | ··················datetime.date(2016,·9,·20) | 644 | ··················datetime.date(2016,·9,·20) |
| 645 | ··············Examples: | 645 | ··············Examples: |
| 646 | ············>>>·Faker.seed(0) | 646 | ············>>>·Faker.seed(0) |
| 647 | ············>>>·for·_·in·range(5): | 647 | ············>>>·for·_·in·range(5): |
| 648 | ············...·····fake.date_object() | 648 | ············...·····fake.date_object() |
| 649 | ············... | 649 | ············... |
| 650 | ············datetime.date(2018,·1,·27) | ||
| 651 | ············datetime.date(201 | 650 | ············datetime.date(2017,·2,·26) |
| 651 | ············datetime.date(2012,·4,·29) | ||
| 652 | ············datetime.date(1993,· | 652 | ············datetime.date(1993,·6,·27) |
| 653 | ············datetime.date(1984,· | 653 | ············datetime.date(1984,·6,·17) |
| 654 | ············datetime.date(199 | 654 | ············datetime.date(1998,·7,·21) |
| 655 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 655 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 656 | ········maximum_age:·int·=·115)·→·date¶ | 656 | ········maximum_age:·int·=·115)·→·date¶ |
| 657 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 657 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 658 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 658 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 659 | ··············Parameters: | 659 | ··············Parameters: |
| 660 | ······················*·tzinfo·–·Defaults·to·None. | 660 | ······················*·tzinfo·–·Defaults·to·None. |
| 661 | ······················*·minimum_age·–·Defaults·to·0. | 661 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 665, 19 lines modified | Offset 665, 19 lines modified | ||
| 665 | ··············Returns: | 665 | ··············Returns: |
| 666 | ··················Date | 666 | ··················Date |
| 667 | ··············Examples: | 667 | ··············Examples: |
| 668 | ············>>>·Faker.seed(0) | 668 | ············>>>·Faker.seed(0) |
| 669 | ············>>>·for·_·in·range(5): | 669 | ············>>>·for·_·in·range(5): |
| 670 | ············...·····fake.date_of_birth() | 670 | ············...·····fake.date_of_birth() |
| 671 | ············... | 671 | ············... |
| 672 | ············datetime.date(200 | 672 | ············datetime.date(2007,·10,·18) |
| 673 | ············datetime.date(1997,·10,·6) | ||
| 674 | ············datetime.date(1958,·8,·18) | ||
| 673 | ············datetime.date(19 | 675 | ············datetime.date(1939,·11,·17) |
| 674 | ············datetime.date(19 | 676 | ············datetime.date(1969,·2,·24) |
| 675 | ············datetime.date(1940,·12,·18) | ||
| 676 | ············datetime.date(1970,·3,·28) | ||
| 677 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 677 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 678 | ········→·date¶ | 678 | ········→·date¶ |
| 679 | ············Gets·a·Date·object·for·the·current·century. | 679 | ············Gets·a·Date·object·for·the·current·century. |
| 680 | ··············Parameters: | 680 | ··············Parameters: |
| 681 | ······················*·before_today·–·include·days·in·current·century·before | 681 | ······················*·before_today·–·include·days·in·current·century·before |
| 682 | ························today | 682 | ························today |
| 683 | ······················*·after_today·–·include·days·in·current·century·after | 683 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 687, 19 lines modified | Offset 687, 19 lines modified | ||
| 687 | ··············Returns: | 687 | ··············Returns: |
| 688 | ··················Date | 688 | ··················Date |
| 689 | ··············Examples: | 689 | ··············Examples: |
| 690 | ············>>>·Faker.seed(0) | 690 | ············>>>·Faker.seed(0) |
| 691 | ············>>>·for·_·in·range(5): | 691 | ············>>>·for·_·in·range(5): |
| 692 | ············...·····fake.date_this_century() | 692 | ············...·····fake.date_this_century() |
| 693 | ············... | 693 | ············... |
| Max diff block lines reached; 24686/30600 bytes (80.67%) of diff not shown. | |||
| Offset 963, 19 lines modified | Offset 963, 19 lines modified | ||
| 963 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 963 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 964 | <dd·class="field-odd"><p></p></dd> | 964 | <dd·class="field-odd"><p></p></dd> |
| 965 | </dl> | 965 | </dl> |
| 966 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 966 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 967 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 967 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 968 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 968 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 969 | <span·class="gp">...</span> | 969 | <span·class="gp">...</span> |
| 970 | <span·class="go">'PM'</span> | ||
| 971 | <span·class="go">'PM'</span> | ||
| 972 | <span·class="go">'AM'</span> | 970 | <span·class="go">'AM'</span> |
| 973 | <span·class="go">'PM'</span> | 971 | <span·class="go">'PM'</span> |
| 974 | <span·class="go">'AM'</span> | 972 | <span·class="go">'AM'</span> |
| 973 | <span·class="go">'AM'</span> | ||
| 974 | <span·class="go">'AM'</span> | ||
| 975 | </pre></div> | 975 | </pre></div> |
| 976 | </div> | 976 | </div> |
| 977 | </dd></dl> | 977 | </dd></dl> |
| 978 | <dl·class="py·method"> | 978 | <dl·class="py·method"> |
| 979 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.id_ID.Provider.century"> | 979 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.id_ID.Provider.century"> |
| 980 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.id_ID.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 980 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.id_ID.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1016, 19 lines modified | Offset 1016, 19 lines modified | ||
| 1016 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1016 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1017 | <dd·class="field-even"><p></p></dd> | 1017 | <dd·class="field-even"><p></p></dd> |
| 1018 | </dl> | 1018 | </dl> |
| 1019 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1019 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1020 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1020 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1021 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1021 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 1022 | <span·class="gp">...</span> | 1022 | <span·class="gp">...</span> |
| 1023 | <span·class="go">'2018-01-27'</span> | ||
| 1024 | <span·class="go">'201 | 1023 | <span·class="go">'2017-02-26'</span> |
| 1024 | <span·class="go">'2012-04-29'</span> | ||
| 1025 | <span·class="go">'1993- | 1025 | <span·class="go">'1993-06-27'</span> |
| 1026 | <span·class="go">'1984-0 | 1026 | <span·class="go">'1984-06-17'</span> |
| 1027 | <span·class="go">'199 | 1027 | <span·class="go">'1998-07-21'</span> |
| 1028 | </pre></div> | 1028 | </pre></div> |
| 1029 | </div> | 1029 | </div> |
| 1030 | </dd></dl> | 1030 | </dd></dl> |
| 1031 | <dl·class="py·method"> | 1031 | <dl·class="py·method"> |
| 1032 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.id_ID.Provider.date_between"> | 1032 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.id_ID.Provider.date_between"> |
| 1033 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.id_ID.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1033 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.id_ID.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1050, 19 lines modified | Offset 1050, 19 lines modified | ||
| 1050 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1050 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1051 | <dd·class="field-even"><p></p></dd> | 1051 | <dd·class="field-even"><p></p></dd> |
| 1052 | </dl> | 1052 | </dl> |
| 1053 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1053 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1054 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1054 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1055 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1055 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 1056 | <span·class="gp">...</span> | 1056 | <span·class="gp">...</span> |
| 1057 | <span·class="go">datetime.date(202 | 1057 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 1058 | <span·class="go">datetime.date(201 | 1058 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 1059 | <span·class="go">datetime.date(200 | 1059 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 1060 | <span·class="go">datetime.date(200 | 1060 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 1061 | <span·class="go">datetime.date(201 | 1061 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 1062 | </pre></div> | 1062 | </pre></div> |
| 1063 | </div> | 1063 | </div> |
| 1064 | </dd></dl> | 1064 | </dd></dl> |
| 1065 | <dl·class="py·method"> | 1065 | <dl·class="py·method"> |
| 1066 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.id_ID.Provider.date_between_dates"> | 1066 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.id_ID.Provider.date_between_dates"> |
| 1067 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.id_ID.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 1067 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.id_ID.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1081, 19 lines modified | Offset 1081, 19 lines modified | ||
| 1081 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1081 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1082 | <dd·class="field-odd"><p></p></dd> | 1082 | <dd·class="field-odd"><p></p></dd> |
| 1083 | </dl> | 1083 | </dl> |
| 1084 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1084 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1085 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1085 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1086 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 1086 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 1087 | <span·class="gp">...</span> | 1087 | <span·class="gp">...</span> |
| 1088 | <span·class="go">datetime.date(202 | 1088 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1089 | <span·class="go">datetime.date(202 | 1089 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1090 | <span·class="go">datetime.date(202 | 1090 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1091 | <span·class="go">datetime.date(202 | 1091 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1092 | <span·class="go">datetime.date(202 | 1092 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1093 | </pre></div> | 1093 | </pre></div> |
| 1094 | </div> | 1094 | </div> |
| 1095 | </dd></dl> | 1095 | </dd></dl> |
| 1096 | <dl·class="py·method"> | 1096 | <dl·class="py·method"> |
| 1097 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.id_ID.Provider.date_object"> | 1097 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.id_ID.Provider.date_object"> |
| 1098 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.id_ID.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 1098 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.id_ID.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1105, 19 lines modified | Offset 1105, 19 lines modified | ||
| 1105 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1105 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1106 | <dd·class="field-even"><p></p></dd> | 1106 | <dd·class="field-even"><p></p></dd> |
| 1107 | </dl> | 1107 | </dl> |
| 1108 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1108 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1109 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1109 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1110 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1110 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 1111 | <span·class="gp">...</span> | 1111 | <span·class="gp">...</span> |
| 1112 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 1113 | <span·class="go">datetime.date(201 | 1112 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 1113 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 1114 | <span·class="go">datetime.date(1993,· | 1114 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 1115 | <span·class="go">datetime.date(1984,· | 1115 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 1116 | <span·class="go">datetime.date(199 | 1116 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 1117 | </pre></div> | 1117 | </pre></div> |
| 1118 | </div> | 1118 | </div> |
| 1119 | </dd></dl> | 1119 | </dd></dl> |
| 1120 | <dl·class="py·method"> | 1120 | <dl·class="py·method"> |
| 1121 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.id_ID.Provider.date_of_birth"> | 1121 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.id_ID.Provider.date_of_birth"> |
| 1122 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.id_ID.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1122 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.id_ID.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1141, 19 lines modified | Offset 1141, 19 lines modified | ||
| 1141 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1141 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1142 | <dd·class="field-even"><p></p></dd> | 1142 | <dd·class="field-even"><p></p></dd> |
| 1143 | </dl> | 1143 | </dl> |
| 1144 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1144 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1145 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1145 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1146 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1146 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 1147 | <span·class="gp">...</span> | 1147 | <span·class="gp">...</span> |
| 1148 | <span·class="go">datetime.date(200 | 1148 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 1149 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 1150 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 1149 | <span·class="go">datetime.date(19 | 1151 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 1150 | <span·class="go">datetime.date(19 | 1152 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 1151 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 1152 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 1153 | </pre></div> | 1153 | </pre></div> |
| 1154 | </div> | 1154 | </div> |
| 1155 | </dd></dl> | 1155 | </dd></dl> |
| 1156 | <dl·class="py·method"> | 1156 | <dl·class="py·method"> |
| 1157 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.id_ID.Provider.date_this_century"> | 1157 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.id_ID.Provider.date_this_century"> |
| 1158 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.id_ID.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 1158 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.id_ID.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1174, 19 lines modified | Offset 1174, 19 lines modified | ||
| 1174 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1174 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 98668/120905 bytes (81.61%) of diff not shown. | |||
| Offset 542, 19 lines modified | Offset 542, 19 lines modified | ||
| 542 | ······Bases:·Provider | 542 | ······Bases:·Provider |
| 543 | ········am_pm()·→·str¶ | 543 | ········am_pm()·→·str¶ |
| 544 | ··············Examples: | 544 | ··············Examples: |
| 545 | ············>>>·Faker.seed(0) | 545 | ············>>>·Faker.seed(0) |
| 546 | ············>>>·for·_·in·range(5): | 546 | ············>>>·for·_·in·range(5): |
| 547 | ············...·····fake.am_pm() | 547 | ············...·····fake.am_pm() |
| 548 | ············... | 548 | ············... |
| 549 | ············'PM' | ||
| 550 | ············'PM' | ||
| 551 | ············'AM' | 549 | ············'AM' |
| 552 | ············'PM' | 550 | ············'PM' |
| 553 | ············'AM' | 551 | ············'AM' |
| 552 | ············'AM' | ||
| 553 | ············'AM' | ||
| 554 | ········century()·→·str¶ | 554 | ········century()·→·str¶ |
| 555 | ··············Example: | 555 | ··············Example: |
| 556 | ··················‘XVII’ | 556 | ··················‘XVII’ |
| 557 | ··············Examples: | 557 | ··············Examples: |
| 558 | ············>>>·Faker.seed(0) | 558 | ············>>>·Faker.seed(0) |
| 559 | ············>>>·for·_·in·range(5): | 559 | ············>>>·for·_·in·range(5): |
| 560 | ············...·····fake.century() | 560 | ············...·····fake.century() |
| Offset 574, 19 lines modified | Offset 574, 19 lines modified | ||
| 574 | ··············Returns: | 574 | ··············Returns: |
| 575 | ··················Date | 575 | ··················Date |
| 576 | ··············Examples: | 576 | ··············Examples: |
| 577 | ············>>>·Faker.seed(0) | 577 | ············>>>·Faker.seed(0) |
| 578 | ············>>>·for·_·in·range(5): | 578 | ············>>>·for·_·in·range(5): |
| 579 | ············...·····fake.date() | 579 | ············...·····fake.date() |
| 580 | ············... | 580 | ············... |
| 581 | ············'2018-01-27' | ||
| 582 | ············'201 | 581 | ············'2017-02-26' |
| 582 | ············'2012-04-29' | ||
| 583 | ············'1993- | 583 | ············'1993-06-27' |
| 584 | ············'1984-0 | 584 | ············'1984-06-17' |
| 585 | ············'199 | 585 | ············'1998-07-21' |
| 586 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 586 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 587 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 587 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 588 | ········date¶ | 588 | ········date¶ |
| 589 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 589 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 590 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 590 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 591 | ··············Parameters: | 591 | ··············Parameters: |
| 592 | ······················*·start_date·–·Defaults·to·30·years·ago | 592 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 596, 19 lines modified | Offset 596, 19 lines modified | ||
| 596 | ··············Returns: | 596 | ··············Returns: |
| 597 | ··················Date | 597 | ··················Date |
| 598 | ··············Examples: | 598 | ··············Examples: |
| 599 | ············>>>·Faker.seed(0) | 599 | ············>>>·Faker.seed(0) |
| 600 | ············>>>·for·_·in·range(5): | 600 | ············>>>·for·_·in·range(5): |
| 601 | ············...·····fake.date_between() | 601 | ············...·····fake.date_between() |
| 602 | ············... | 602 | ············... |
| 603 | ············datetime.date(202 | 603 | ············datetime.date(2021,·3,·5) |
| 604 | ············datetime.date(201 | 604 | ············datetime.date(2018,·7,·31) |
| 605 | ············datetime.date(200 | 605 | ············datetime.date(2008,·6,·16) |
| 606 | ············datetime.date(200 | 606 | ············datetime.date(2003,·8,·11) |
| 607 | ············datetime.date(201 | 607 | ············datetime.date(2011,·3,·7) |
| 608 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 608 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 609 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 609 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 610 | ········=·None)·→·date¶ | 610 | ········=·None)·→·date¶ |
| 611 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 611 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 612 | ············given·dates.·Accepts·Date·or·datetime·objects | 612 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 613 | ··············Parameters: | 613 | ··············Parameters: |
| 614 | ······················*·date_start·–·Date | 614 | ······················*·date_start·–·Date |
| Offset 616, 33 lines modified | Offset 616, 33 lines modified | ||
| 616 | ··············Returns: | 616 | ··············Returns: |
| 617 | ··················Date | 617 | ··················Date |
| 618 | ··············Examples: | 618 | ··············Examples: |
| 619 | ············>>>·Faker.seed(0) | 619 | ············>>>·Faker.seed(0) |
| 620 | ············>>>·for·_·in·range(5): | 620 | ············>>>·for·_·in·range(5): |
| 621 | ············...·····fake.date_between_dates() | 621 | ············...·····fake.date_between_dates() |
| 622 | ············... | 622 | ············... |
| 623 | ············datetime.date(202 | 623 | ············datetime.date(2025,·11,·4) |
| 624 | ············datetime.date(202 | 624 | ············datetime.date(2025,·11,·4) |
| 625 | ············datetime.date(202 | 625 | ············datetime.date(2025,·11,·4) |
| 626 | ············datetime.date(202 | 626 | ············datetime.date(2025,·11,·4) |
| 627 | ············datetime.date(202 | 627 | ············datetime.date(2025,·11,·4) |
| 628 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 628 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 629 | ············Get·a·date·object·between·January·1,·1970·and·now | 629 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 630 | ··············Example: | 630 | ··············Example: |
| 631 | ··················datetime.date(2016,·9,·20) | 631 | ··················datetime.date(2016,·9,·20) |
| 632 | ··············Examples: | 632 | ··············Examples: |
| 633 | ············>>>·Faker.seed(0) | 633 | ············>>>·Faker.seed(0) |
| 634 | ············>>>·for·_·in·range(5): | 634 | ············>>>·for·_·in·range(5): |
| 635 | ············...·····fake.date_object() | 635 | ············...·····fake.date_object() |
| 636 | ············... | 636 | ············... |
| 637 | ············datetime.date(2018,·1,·27) | ||
| 638 | ············datetime.date(201 | 637 | ············datetime.date(2017,·2,·26) |
| 638 | ············datetime.date(2012,·4,·29) | ||
| 639 | ············datetime.date(1993,· | 639 | ············datetime.date(1993,·6,·27) |
| 640 | ············datetime.date(1984,· | 640 | ············datetime.date(1984,·6,·17) |
| 641 | ············datetime.date(199 | 641 | ············datetime.date(1998,·7,·21) |
| 642 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 642 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 643 | ········maximum_age:·int·=·115)·→·date¶ | 643 | ········maximum_age:·int·=·115)·→·date¶ |
| 644 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 644 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 645 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 645 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 646 | ··············Parameters: | 646 | ··············Parameters: |
| 647 | ······················*·tzinfo·–·Defaults·to·None. | 647 | ······················*·tzinfo·–·Defaults·to·None. |
| 648 | ······················*·minimum_age·–·Defaults·to·0. | 648 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 652, 19 lines modified | Offset 652, 19 lines modified | ||
| 652 | ··············Returns: | 652 | ··············Returns: |
| 653 | ··················Date | 653 | ··················Date |
| 654 | ··············Examples: | 654 | ··············Examples: |
| 655 | ············>>>·Faker.seed(0) | 655 | ············>>>·Faker.seed(0) |
| 656 | ············>>>·for·_·in·range(5): | 656 | ············>>>·for·_·in·range(5): |
| 657 | ············...·····fake.date_of_birth() | 657 | ············...·····fake.date_of_birth() |
| 658 | ············... | 658 | ············... |
| 659 | ············datetime.date(200 | 659 | ············datetime.date(2007,·10,·18) |
| 660 | ············datetime.date(1997,·10,·6) | ||
| 661 | ············datetime.date(1958,·8,·18) | ||
| 660 | ············datetime.date(19 | 662 | ············datetime.date(1939,·11,·17) |
| 661 | ············datetime.date(19 | 663 | ············datetime.date(1969,·2,·24) |
| 662 | ············datetime.date(1940,·12,·18) | ||
| 663 | ············datetime.date(1970,·3,·28) | ||
| 664 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 664 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 665 | ········→·date¶ | 665 | ········→·date¶ |
| 666 | ············Gets·a·Date·object·for·the·current·century. | 666 | ············Gets·a·Date·object·for·the·current·century. |
| 667 | ··············Parameters: | 667 | ··············Parameters: |
| 668 | ······················*·before_today·–·include·days·in·current·century·before | 668 | ······················*·before_today·–·include·days·in·current·century·before |
| 669 | ························today | 669 | ························today |
| 670 | ······················*·after_today·–·include·days·in·current·century·after | 670 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 674, 19 lines modified | Offset 674, 19 lines modified | ||
| 674 | ··············Returns: | 674 | ··············Returns: |
| 675 | ··················Date | 675 | ··················Date |
| 676 | ··············Examples: | 676 | ··············Examples: |
| 677 | ············>>>·Faker.seed(0) | 677 | ············>>>·Faker.seed(0) |
| 678 | ············>>>·for·_·in·range(5): | 678 | ············>>>·for·_·in·range(5): |
| 679 | ············...·····fake.date_this_century() | 679 | ············...·····fake.date_this_century() |
| 680 | ············... | 680 | ············... |
| Max diff block lines reached; 24699/30613 bytes (80.68%) of diff not shown. | |||
| Offset 125, 19 lines modified | Offset 125, 19 lines modified | ||
| 125 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 125 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 126 | <dd·class="field-even"><p></p></dd> | 126 | <dd·class="field-even"><p></p></dd> |
| 127 | </dl> | 127 | </dl> |
| 128 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 128 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 129 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 129 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 130 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">city</span><span·class="p">()</span> | 130 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">city</span><span·class="p">()</span> |
| 131 | <span·class="gp">...</span> | 131 | <span·class="gp">...</span> |
| 132 | <span·class="go">'Molazzana'</span> | ||
| 133 | <span·class="go">'Botteghino'</span> | ||
| 134 | <span·class="go">' | 132 | <span·class="go">'Marina·Di·Savelletri'</span> |
| 135 | <span·class="go">'Santa·Flavia'</span> | ||
| 136 | <span·class="go">' | 133 | <span·class="go">'Cisano'</span> |
| 134 | <span·class="go">'Marudo'</span> | ||
| 135 | <span·class="go">'Gombio'</span> | ||
| 136 | <span·class="go">"Vivo·D'Orcia"</span> | ||
| 137 | </pre></div> | 137 | </pre></div> |
| 138 | </div> | 138 | </div> |
| 139 | </dd></dl> | 139 | </dd></dl> |
| 140 | <dl·class="py·method"> | 140 | <dl·class="py·method"> |
| 141 | <dt·class="sig·sig-object·py"·id="faker.providers.address.it_IT.Provider.city_prefix"> | 141 | <dt·class="sig·sig-object·py"·id="faker.providers.address.it_IT.Provider.city_prefix"> |
| 142 | <span·class="sig-name·descname"><span·class="pre">city_prefix</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.address.it_IT.Provider.city_prefix"·title="Link·to·this·definition">¶</a></dt> | 142 | <span·class="sig-name·descname"><span·class="pre">city_prefix</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.address.it_IT.Provider.city_prefix"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1070, 19 lines modified | Offset 1070, 19 lines modified | ||
| 1070 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1070 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1071 | <dd·class="field-odd"><p></p></dd> | 1071 | <dd·class="field-odd"><p></p></dd> |
| 1072 | </dl> | 1072 | </dl> |
| 1073 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1073 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1074 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1074 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1075 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1075 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 1076 | <span·class="gp">...</span> | 1076 | <span·class="gp">...</span> |
| 1077 | <span·class="go">'PM'</span> | ||
| 1078 | <span·class="go">'PM'</span> | ||
| 1079 | <span·class="go">'AM'</span> | 1077 | <span·class="go">'AM'</span> |
| 1080 | <span·class="go">'PM'</span> | 1078 | <span·class="go">'PM'</span> |
| 1081 | <span·class="go">'AM'</span> | 1079 | <span·class="go">'AM'</span> |
| 1080 | <span·class="go">'AM'</span> | ||
| 1081 | <span·class="go">'AM'</span> | ||
| 1082 | </pre></div> | 1082 | </pre></div> |
| 1083 | </div> | 1083 | </div> |
| 1084 | </dd></dl> | 1084 | </dd></dl> |
| 1085 | <dl·class="py·method"> | 1085 | <dl·class="py·method"> |
| 1086 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.it_IT.Provider.century"> | 1086 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.it_IT.Provider.century"> |
| 1087 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.it_IT.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 1087 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.it_IT.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1123, 19 lines modified | Offset 1123, 19 lines modified | ||
| 1123 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1123 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1124 | <dd·class="field-even"><p></p></dd> | 1124 | <dd·class="field-even"><p></p></dd> |
| 1125 | </dl> | 1125 | </dl> |
| 1126 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1126 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1127 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1127 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1128 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1128 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 1129 | <span·class="gp">...</span> | 1129 | <span·class="gp">...</span> |
| 1130 | <span·class="go">'2018-01-27'</span> | ||
| 1131 | <span·class="go">'201 | 1130 | <span·class="go">'2017-02-26'</span> |
| 1131 | <span·class="go">'2012-04-29'</span> | ||
| 1132 | <span·class="go">'1993- | 1132 | <span·class="go">'1993-06-27'</span> |
| 1133 | <span·class="go">'1984-0 | 1133 | <span·class="go">'1984-06-17'</span> |
| 1134 | <span·class="go">'199 | 1134 | <span·class="go">'1998-07-21'</span> |
| 1135 | </pre></div> | 1135 | </pre></div> |
| 1136 | </div> | 1136 | </div> |
| 1137 | </dd></dl> | 1137 | </dd></dl> |
| 1138 | <dl·class="py·method"> | 1138 | <dl·class="py·method"> |
| 1139 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.it_IT.Provider.date_between"> | 1139 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.it_IT.Provider.date_between"> |
| 1140 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.it_IT.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1140 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.it_IT.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1157, 19 lines modified | Offset 1157, 19 lines modified | ||
| 1157 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1157 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1158 | <dd·class="field-even"><p></p></dd> | 1158 | <dd·class="field-even"><p></p></dd> |
| 1159 | </dl> | 1159 | </dl> |
| 1160 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1160 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1161 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1161 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1162 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1162 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 1163 | <span·class="gp">...</span> | 1163 | <span·class="gp">...</span> |
| 1164 | <span·class="go">datetime.date(202 | 1164 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 1165 | <span·class="go">datetime.date(201 | 1165 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 1166 | <span·class="go">datetime.date(200 | 1166 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 1167 | <span·class="go">datetime.date(200 | 1167 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 1168 | <span·class="go">datetime.date(201 | 1168 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 1169 | </pre></div> | 1169 | </pre></div> |
| 1170 | </div> | 1170 | </div> |
| 1171 | </dd></dl> | 1171 | </dd></dl> |
| 1172 | <dl·class="py·method"> | 1172 | <dl·class="py·method"> |
| 1173 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.it_IT.Provider.date_between_dates"> | 1173 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.it_IT.Provider.date_between_dates"> |
| 1174 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.it_IT.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 1174 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.it_IT.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1188, 19 lines modified | Offset 1188, 19 lines modified | ||
| 1188 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1188 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1189 | <dd·class="field-odd"><p></p></dd> | 1189 | <dd·class="field-odd"><p></p></dd> |
| 1190 | </dl> | 1190 | </dl> |
| 1191 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1191 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1192 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1192 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1193 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 1193 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 1194 | <span·class="gp">...</span> | 1194 | <span·class="gp">...</span> |
| 1195 | <span·class="go">datetime.date(202 | 1195 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1196 | <span·class="go">datetime.date(202 | 1196 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1197 | <span·class="go">datetime.date(202 | 1197 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1198 | <span·class="go">datetime.date(202 | 1198 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1199 | <span·class="go">datetime.date(202 | 1199 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1200 | </pre></div> | 1200 | </pre></div> |
| 1201 | </div> | 1201 | </div> |
| 1202 | </dd></dl> | 1202 | </dd></dl> |
| 1203 | <dl·class="py·method"> | 1203 | <dl·class="py·method"> |
| 1204 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.it_IT.Provider.date_object"> | 1204 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.it_IT.Provider.date_object"> |
| 1205 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.it_IT.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 1205 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.it_IT.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1212, 19 lines modified | Offset 1212, 19 lines modified | ||
| 1212 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1212 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1213 | <dd·class="field-even"><p></p></dd> | 1213 | <dd·class="field-even"><p></p></dd> |
| 1214 | </dl> | 1214 | </dl> |
| 1215 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1215 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1216 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1216 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1217 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1217 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 1218 | <span·class="gp">...</span> | 1218 | <span·class="gp">...</span> |
| 1219 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 1220 | <span·class="go">datetime.date(201 | 1219 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 1220 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 1221 | <span·class="go">datetime.date(1993,· | 1221 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 1222 | <span·class="go">datetime.date(1984,· | 1222 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 1223 | <span·class="go">datetime.date(199 | 1223 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 1224 | </pre></div> | 1224 | </pre></div> |
| 1225 | </div> | 1225 | </div> |
| 1226 | </dd></dl> | 1226 | </dd></dl> |
| 1227 | <dl·class="py·method"> | 1227 | <dl·class="py·method"> |
| 1228 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.it_IT.Provider.date_of_birth"> | 1228 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.it_IT.Provider.date_of_birth"> |
| 1229 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.it_IT.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1229 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.it_IT.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1248, 19 lines modified | Offset 1248, 19 lines modified | ||
| Max diff block lines reached; 101312/122344 bytes (82.81%) of diff not shown. | |||
| Offset 51, 19 lines modified | Offset 51, 19 lines modified | ||
| 51 | ··············Example: | 51 | ··············Example: |
| 52 | ··················‘Sashabury’ | 52 | ··················‘Sashabury’ |
| 53 | ··············Examples: | 53 | ··············Examples: |
| 54 | ············>>>·Faker.seed(0) | 54 | ············>>>·Faker.seed(0) |
| 55 | ············>>>·for·_·in·range(5): | 55 | ············>>>·for·_·in·range(5): |
| 56 | ············...·····fake.city() | 56 | ············...·····fake.city() |
| 57 | ············... | 57 | ············... |
| 58 | ············'Marina·Di·Savelletri' | ||
| 58 | ············'Molazzana' | ||
| 59 | ············'Botteghino' | ||
| 60 | ············'Castellace' | ||
| 61 | ············'Santa·Flavia' | ||
| 62 | ············' | 59 | ············'Cisano' |
| 60 | ············'Marudo' | ||
| 61 | ············'Gombio' | ||
| 62 | ············"Vivo·D'Orcia" | ||
| 63 | ········city_prefix()·→·str¶ | 63 | ········city_prefix()·→·str¶ |
| 64 | ··············Examples: | 64 | ··············Examples: |
| 65 | ············>>>·Faker.seed(0) | 65 | ············>>>·Faker.seed(0) |
| 66 | ············>>>·for·_·in·range(5): | 66 | ············>>>·for·_·in·range(5): |
| 67 | ············...·····fake.city_prefix() | 67 | ············...·····fake.city_prefix() |
| 68 | ············... | 68 | ············... |
| 69 | ············'Quarto' | 69 | ············'Quarto' |
| Offset 606, 19 lines modified | Offset 606, 19 lines modified | ||
| 606 | ······Bases:·Provider | 606 | ······Bases:·Provider |
| 607 | ········am_pm()·→·str¶ | 607 | ········am_pm()·→·str¶ |
| 608 | ··············Examples: | 608 | ··············Examples: |
| 609 | ············>>>·Faker.seed(0) | 609 | ············>>>·Faker.seed(0) |
| 610 | ············>>>·for·_·in·range(5): | 610 | ············>>>·for·_·in·range(5): |
| 611 | ············...·····fake.am_pm() | 611 | ············...·····fake.am_pm() |
| 612 | ············... | 612 | ············... |
| 613 | ············'PM' | ||
| 614 | ············'PM' | ||
| 615 | ············'AM' | 613 | ············'AM' |
| 616 | ············'PM' | 614 | ············'PM' |
| 617 | ············'AM' | 615 | ············'AM' |
| 616 | ············'AM' | ||
| 617 | ············'AM' | ||
| 618 | ········century()·→·str¶ | 618 | ········century()·→·str¶ |
| 619 | ··············Example: | 619 | ··············Example: |
| 620 | ··················‘XVII’ | 620 | ··················‘XVII’ |
| 621 | ··············Examples: | 621 | ··············Examples: |
| 622 | ············>>>·Faker.seed(0) | 622 | ············>>>·Faker.seed(0) |
| 623 | ············>>>·for·_·in·range(5): | 623 | ············>>>·for·_·in·range(5): |
| 624 | ············...·····fake.century() | 624 | ············...·····fake.century() |
| Offset 638, 19 lines modified | Offset 638, 19 lines modified | ||
| 638 | ··············Returns: | 638 | ··············Returns: |
| 639 | ··················Date | 639 | ··················Date |
| 640 | ··············Examples: | 640 | ··············Examples: |
| 641 | ············>>>·Faker.seed(0) | 641 | ············>>>·Faker.seed(0) |
| 642 | ············>>>·for·_·in·range(5): | 642 | ············>>>·for·_·in·range(5): |
| 643 | ············...·····fake.date() | 643 | ············...·····fake.date() |
| 644 | ············... | 644 | ············... |
| 645 | ············'2018-01-27' | ||
| 646 | ············'201 | 645 | ············'2017-02-26' |
| 646 | ············'2012-04-29' | ||
| 647 | ············'1993- | 647 | ············'1993-06-27' |
| 648 | ············'1984-0 | 648 | ············'1984-06-17' |
| 649 | ············'199 | 649 | ············'1998-07-21' |
| 650 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 650 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 651 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 651 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 652 | ········date¶ | 652 | ········date¶ |
| 653 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 653 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 654 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 654 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 655 | ··············Parameters: | 655 | ··············Parameters: |
| 656 | ······················*·start_date·–·Defaults·to·30·years·ago | 656 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 660, 19 lines modified | Offset 660, 19 lines modified | ||
| 660 | ··············Returns: | 660 | ··············Returns: |
| 661 | ··················Date | 661 | ··················Date |
| 662 | ··············Examples: | 662 | ··············Examples: |
| 663 | ············>>>·Faker.seed(0) | 663 | ············>>>·Faker.seed(0) |
| 664 | ············>>>·for·_·in·range(5): | 664 | ············>>>·for·_·in·range(5): |
| 665 | ············...·····fake.date_between() | 665 | ············...·····fake.date_between() |
| 666 | ············... | 666 | ············... |
| 667 | ············datetime.date(202 | 667 | ············datetime.date(2021,·3,·5) |
| 668 | ············datetime.date(201 | 668 | ············datetime.date(2018,·7,·31) |
| 669 | ············datetime.date(200 | 669 | ············datetime.date(2008,·6,·16) |
| 670 | ············datetime.date(200 | 670 | ············datetime.date(2003,·8,·11) |
| 671 | ············datetime.date(201 | 671 | ············datetime.date(2011,·3,·7) |
| 672 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 672 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 673 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 673 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 674 | ········=·None)·→·date¶ | 674 | ········=·None)·→·date¶ |
| 675 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 675 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 676 | ············given·dates.·Accepts·Date·or·datetime·objects | 676 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 677 | ··············Parameters: | 677 | ··············Parameters: |
| 678 | ······················*·date_start·–·Date | 678 | ······················*·date_start·–·Date |
| Offset 680, 33 lines modified | Offset 680, 33 lines modified | ||
| 680 | ··············Returns: | 680 | ··············Returns: |
| 681 | ··················Date | 681 | ··················Date |
| 682 | ··············Examples: | 682 | ··············Examples: |
| 683 | ············>>>·Faker.seed(0) | 683 | ············>>>·Faker.seed(0) |
| 684 | ············>>>·for·_·in·range(5): | 684 | ············>>>·for·_·in·range(5): |
| 685 | ············...·····fake.date_between_dates() | 685 | ············...·····fake.date_between_dates() |
| 686 | ············... | 686 | ············... |
| 687 | ············datetime.date(202 | 687 | ············datetime.date(2025,·11,·4) |
| 688 | ············datetime.date(202 | 688 | ············datetime.date(2025,·11,·4) |
| 689 | ············datetime.date(202 | 689 | ············datetime.date(2025,·11,·4) |
| 690 | ············datetime.date(202 | 690 | ············datetime.date(2025,·11,·4) |
| 691 | ············datetime.date(202 | 691 | ············datetime.date(2025,·11,·4) |
| 692 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 692 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 693 | ············Get·a·date·object·between·January·1,·1970·and·now | 693 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 694 | ··············Example: | 694 | ··············Example: |
| 695 | ··················datetime.date(2016,·9,·20) | 695 | ··················datetime.date(2016,·9,·20) |
| 696 | ··············Examples: | 696 | ··············Examples: |
| 697 | ············>>>·Faker.seed(0) | 697 | ············>>>·Faker.seed(0) |
| 698 | ············>>>·for·_·in·range(5): | 698 | ············>>>·for·_·in·range(5): |
| 699 | ············...·····fake.date_object() | 699 | ············...·····fake.date_object() |
| 700 | ············... | 700 | ············... |
| 701 | ············datetime.date(2018,·1,·27) | ||
| 702 | ············datetime.date(201 | 701 | ············datetime.date(2017,·2,·26) |
| 702 | ············datetime.date(2012,·4,·29) | ||
| 703 | ············datetime.date(1993,· | 703 | ············datetime.date(1993,·6,·27) |
| 704 | ············datetime.date(1984,· | 704 | ············datetime.date(1984,·6,·17) |
| 705 | ············datetime.date(199 | 705 | ············datetime.date(1998,·7,·21) |
| 706 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 706 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 707 | ········maximum_age:·int·=·115)·→·date¶ | 707 | ········maximum_age:·int·=·115)·→·date¶ |
| 708 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 708 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 709 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 709 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 710 | ··············Parameters: | 710 | ··············Parameters: |
| 711 | ······················*·tzinfo·–·Defaults·to·None. | 711 | ······················*·tzinfo·–·Defaults·to·None. |
| 712 | ······················*·minimum_age·–·Defaults·to·0. | 712 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 716, 19 lines modified | Offset 716, 19 lines modified | ||
| 716 | ··············Returns: | 716 | ··············Returns: |
| 717 | ··················Date | 717 | ··················Date |
| 718 | ··············Examples: | 718 | ··············Examples: |
| 719 | ············>>>·Faker.seed(0) | 719 | ············>>>·Faker.seed(0) |
| 720 | ············>>>·for·_·in·range(5): | 720 | ············>>>·for·_·in·range(5): |
| Max diff block lines reached; 26219/31315 bytes (83.73%) of diff not shown. | |||
| Offset 1007, 19 lines modified | Offset 1007, 19 lines modified | ||
| 1007 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1007 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1008 | <dd·class="field-odd"><p></p></dd> | 1008 | <dd·class="field-odd"><p></p></dd> |
| 1009 | </dl> | 1009 | </dl> |
| 1010 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1010 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1011 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1011 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1012 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1012 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 1013 | <span·class="gp">...</span> | 1013 | <span·class="gp">...</span> |
| 1014 | <span·class="go">'PM'</span> | ||
| 1015 | <span·class="go">'PM'</span> | ||
| 1016 | <span·class="go">'AM'</span> | 1014 | <span·class="go">'AM'</span> |
| 1017 | <span·class="go">'PM'</span> | 1015 | <span·class="go">'PM'</span> |
| 1018 | <span·class="go">'AM'</span> | 1016 | <span·class="go">'AM'</span> |
| 1017 | <span·class="go">'AM'</span> | ||
| 1018 | <span·class="go">'AM'</span> | ||
| 1019 | </pre></div> | 1019 | </pre></div> |
| 1020 | </div> | 1020 | </div> |
| 1021 | </dd></dl> | 1021 | </dd></dl> |
| 1022 | <dl·class="py·method"> | 1022 | <dl·class="py·method"> |
| 1023 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ja_JP.Provider.century"> | 1023 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ja_JP.Provider.century"> |
| 1024 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ja_JP.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 1024 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ja_JP.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1060, 19 lines modified | Offset 1060, 19 lines modified | ||
| 1060 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1060 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1061 | <dd·class="field-even"><p></p></dd> | 1061 | <dd·class="field-even"><p></p></dd> |
| 1062 | </dl> | 1062 | </dl> |
| 1063 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1063 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1064 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1064 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1065 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1065 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 1066 | <span·class="gp">...</span> | 1066 | <span·class="gp">...</span> |
| 1067 | <span·class="go">'2018-01-27'</span> | ||
| 1068 | <span·class="go">'201 | 1067 | <span·class="go">'2017-02-26'</span> |
| 1068 | <span·class="go">'2012-04-29'</span> | ||
| 1069 | <span·class="go">'1993- | 1069 | <span·class="go">'1993-06-27'</span> |
| 1070 | <span·class="go">'1984-0 | 1070 | <span·class="go">'1984-06-17'</span> |
| 1071 | <span·class="go">'199 | 1071 | <span·class="go">'1998-07-21'</span> |
| 1072 | </pre></div> | 1072 | </pre></div> |
| 1073 | </div> | 1073 | </div> |
| 1074 | </dd></dl> | 1074 | </dd></dl> |
| 1075 | <dl·class="py·method"> | 1075 | <dl·class="py·method"> |
| 1076 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ja_JP.Provider.date_between"> | 1076 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ja_JP.Provider.date_between"> |
| 1077 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ja_JP.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1077 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ja_JP.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1094, 19 lines modified | Offset 1094, 19 lines modified | ||
| 1094 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1094 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1095 | <dd·class="field-even"><p></p></dd> | 1095 | <dd·class="field-even"><p></p></dd> |
| 1096 | </dl> | 1096 | </dl> |
| 1097 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1097 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1098 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1098 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1099 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1099 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 1100 | <span·class="gp">...</span> | 1100 | <span·class="gp">...</span> |
| 1101 | <span·class="go">datetime.date(202 | 1101 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 1102 | <span·class="go">datetime.date(201 | 1102 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 1103 | <span·class="go">datetime.date(200 | 1103 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 1104 | <span·class="go">datetime.date(200 | 1104 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 1105 | <span·class="go">datetime.date(201 | 1105 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 1106 | </pre></div> | 1106 | </pre></div> |
| 1107 | </div> | 1107 | </div> |
| 1108 | </dd></dl> | 1108 | </dd></dl> |
| 1109 | <dl·class="py·method"> | 1109 | <dl·class="py·method"> |
| 1110 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ja_JP.Provider.date_between_dates"> | 1110 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ja_JP.Provider.date_between_dates"> |
| 1111 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ja_JP.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 1111 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ja_JP.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1125, 19 lines modified | Offset 1125, 19 lines modified | ||
| 1125 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1125 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1126 | <dd·class="field-odd"><p></p></dd> | 1126 | <dd·class="field-odd"><p></p></dd> |
| 1127 | </dl> | 1127 | </dl> |
| 1128 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1128 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1129 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1129 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1130 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 1130 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 1131 | <span·class="gp">...</span> | 1131 | <span·class="gp">...</span> |
| 1132 | <span·class="go">datetime.date(202 | 1132 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1133 | <span·class="go">datetime.date(202 | 1133 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1134 | <span·class="go">datetime.date(202 | 1134 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1135 | <span·class="go">datetime.date(202 | 1135 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1136 | <span·class="go">datetime.date(202 | 1136 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1137 | </pre></div> | 1137 | </pre></div> |
| 1138 | </div> | 1138 | </div> |
| 1139 | </dd></dl> | 1139 | </dd></dl> |
| 1140 | <dl·class="py·method"> | 1140 | <dl·class="py·method"> |
| 1141 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ja_JP.Provider.date_object"> | 1141 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ja_JP.Provider.date_object"> |
| 1142 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ja_JP.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 1142 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ja_JP.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1149, 19 lines modified | Offset 1149, 19 lines modified | ||
| 1149 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1149 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1150 | <dd·class="field-even"><p></p></dd> | 1150 | <dd·class="field-even"><p></p></dd> |
| 1151 | </dl> | 1151 | </dl> |
| 1152 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1152 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1153 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1153 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1154 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1154 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 1155 | <span·class="gp">...</span> | 1155 | <span·class="gp">...</span> |
| 1156 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 1157 | <span·class="go">datetime.date(201 | 1156 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 1157 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 1158 | <span·class="go">datetime.date(1993,· | 1158 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 1159 | <span·class="go">datetime.date(1984,· | 1159 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 1160 | <span·class="go">datetime.date(199 | 1160 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 1161 | </pre></div> | 1161 | </pre></div> |
| 1162 | </div> | 1162 | </div> |
| 1163 | </dd></dl> | 1163 | </dd></dl> |
| 1164 | <dl·class="py·method"> | 1164 | <dl·class="py·method"> |
| 1165 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ja_JP.Provider.date_of_birth"> | 1165 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ja_JP.Provider.date_of_birth"> |
| 1166 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ja_JP.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1166 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ja_JP.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1185, 19 lines modified | Offset 1185, 19 lines modified | ||
| 1185 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1185 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1186 | <dd·class="field-even"><p></p></dd> | 1186 | <dd·class="field-even"><p></p></dd> |
| 1187 | </dl> | 1187 | </dl> |
| 1188 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1188 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1189 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1189 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1190 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1190 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 1191 | <span·class="gp">...</span> | 1191 | <span·class="gp">...</span> |
| 1192 | <span·class="go">datetime.date(200 | 1192 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 1193 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 1194 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 1193 | <span·class="go">datetime.date(19 | 1195 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 1194 | <span·class="go">datetime.date(19 | 1196 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 1195 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 1196 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 1197 | </pre></div> | 1197 | </pre></div> |
| 1198 | </div> | 1198 | </div> |
| 1199 | </dd></dl> | 1199 | </dd></dl> |
| 1200 | <dl·class="py·method"> | 1200 | <dl·class="py·method"> |
| 1201 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ja_JP.Provider.date_this_century"> | 1201 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ja_JP.Provider.date_this_century"> |
| 1202 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ja_JP.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 1202 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ja_JP.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1218, 19 lines modified | Offset 1218, 19 lines modified | ||
| 1218 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1218 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 104080/126319 bytes (82.39%) of diff not shown. | |||
| Offset 587, 19 lines modified | Offset 587, 19 lines modified | ||
| 587 | ······Bases:·Provider | 587 | ······Bases:·Provider |
| 588 | ········am_pm()·→·str¶ | 588 | ········am_pm()·→·str¶ |
| 589 | ··············Examples: | 589 | ··············Examples: |
| 590 | ············>>>·Faker.seed(0) | 590 | ············>>>·Faker.seed(0) |
| 591 | ············>>>·for·_·in·range(5): | 591 | ············>>>·for·_·in·range(5): |
| 592 | ············...·····fake.am_pm() | 592 | ············...·····fake.am_pm() |
| 593 | ············... | 593 | ············... |
| 594 | ············'PM' | ||
| 595 | ············'PM' | ||
| 596 | ············'AM' | 594 | ············'AM' |
| 597 | ············'PM' | 595 | ············'PM' |
| 598 | ············'AM' | 596 | ············'AM' |
| 597 | ············'AM' | ||
| 598 | ············'AM' | ||
| 599 | ········century()·→·str¶ | 599 | ········century()·→·str¶ |
| 600 | ··············Example: | 600 | ··············Example: |
| 601 | ··················‘XVII’ | 601 | ··················‘XVII’ |
| 602 | ··············Examples: | 602 | ··············Examples: |
| 603 | ············>>>·Faker.seed(0) | 603 | ············>>>·Faker.seed(0) |
| 604 | ············>>>·for·_·in·range(5): | 604 | ············>>>·for·_·in·range(5): |
| 605 | ············...·····fake.century() | 605 | ············...·····fake.century() |
| Offset 619, 19 lines modified | Offset 619, 19 lines modified | ||
| 619 | ··············Returns: | 619 | ··············Returns: |
| 620 | ··················Date | 620 | ··················Date |
| 621 | ··············Examples: | 621 | ··············Examples: |
| 622 | ············>>>·Faker.seed(0) | 622 | ············>>>·Faker.seed(0) |
| 623 | ············>>>·for·_·in·range(5): | 623 | ············>>>·for·_·in·range(5): |
| 624 | ············...·····fake.date() | 624 | ············...·····fake.date() |
| 625 | ············... | 625 | ············... |
| 626 | ············'2018-01-27' | ||
| 627 | ············'201 | 626 | ············'2017-02-26' |
| 627 | ············'2012-04-29' | ||
| 628 | ············'1993- | 628 | ············'1993-06-27' |
| 629 | ············'1984-0 | 629 | ············'1984-06-17' |
| 630 | ············'199 | 630 | ············'1998-07-21' |
| 631 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 631 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 632 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 632 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 633 | ········date¶ | 633 | ········date¶ |
| 634 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 634 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 635 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 635 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 636 | ··············Parameters: | 636 | ··············Parameters: |
| 637 | ······················*·start_date·–·Defaults·to·30·years·ago | 637 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 641, 19 lines modified | Offset 641, 19 lines modified | ||
| 641 | ··············Returns: | 641 | ··············Returns: |
| 642 | ··················Date | 642 | ··················Date |
| 643 | ··············Examples: | 643 | ··············Examples: |
| 644 | ············>>>·Faker.seed(0) | 644 | ············>>>·Faker.seed(0) |
| 645 | ············>>>·for·_·in·range(5): | 645 | ············>>>·for·_·in·range(5): |
| 646 | ············...·····fake.date_between() | 646 | ············...·····fake.date_between() |
| 647 | ············... | 647 | ············... |
| 648 | ············datetime.date(202 | 648 | ············datetime.date(2021,·3,·5) |
| 649 | ············datetime.date(201 | 649 | ············datetime.date(2018,·7,·31) |
| 650 | ············datetime.date(200 | 650 | ············datetime.date(2008,·6,·16) |
| 651 | ············datetime.date(200 | 651 | ············datetime.date(2003,·8,·11) |
| 652 | ············datetime.date(201 | 652 | ············datetime.date(2011,·3,·7) |
| 653 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 653 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 654 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 654 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 655 | ········=·None)·→·date¶ | 655 | ········=·None)·→·date¶ |
| 656 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 656 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 657 | ············given·dates.·Accepts·Date·or·datetime·objects | 657 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 658 | ··············Parameters: | 658 | ··············Parameters: |
| 659 | ······················*·date_start·–·Date | 659 | ······················*·date_start·–·Date |
| Offset 661, 33 lines modified | Offset 661, 33 lines modified | ||
| 661 | ··············Returns: | 661 | ··············Returns: |
| 662 | ··················Date | 662 | ··················Date |
| 663 | ··············Examples: | 663 | ··············Examples: |
| 664 | ············>>>·Faker.seed(0) | 664 | ············>>>·Faker.seed(0) |
| 665 | ············>>>·for·_·in·range(5): | 665 | ············>>>·for·_·in·range(5): |
| 666 | ············...·····fake.date_between_dates() | 666 | ············...·····fake.date_between_dates() |
| 667 | ············... | 667 | ············... |
| 668 | ············datetime.date(202 | 668 | ············datetime.date(2025,·11,·4) |
| 669 | ············datetime.date(202 | 669 | ············datetime.date(2025,·11,·4) |
| 670 | ············datetime.date(202 | 670 | ············datetime.date(2025,·11,·4) |
| 671 | ············datetime.date(202 | 671 | ············datetime.date(2025,·11,·4) |
| 672 | ············datetime.date(202 | 672 | ············datetime.date(2025,·11,·4) |
| 673 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 673 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 674 | ············Get·a·date·object·between·January·1,·1970·and·now | 674 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 675 | ··············Example: | 675 | ··············Example: |
| 676 | ··················datetime.date(2016,·9,·20) | 676 | ··················datetime.date(2016,·9,·20) |
| 677 | ··············Examples: | 677 | ··············Examples: |
| 678 | ············>>>·Faker.seed(0) | 678 | ············>>>·Faker.seed(0) |
| 679 | ············>>>·for·_·in·range(5): | 679 | ············>>>·for·_·in·range(5): |
| 680 | ············...·····fake.date_object() | 680 | ············...·····fake.date_object() |
| 681 | ············... | 681 | ············... |
| 682 | ············datetime.date(2018,·1,·27) | ||
| 683 | ············datetime.date(201 | 682 | ············datetime.date(2017,·2,·26) |
| 683 | ············datetime.date(2012,·4,·29) | ||
| 684 | ············datetime.date(1993,· | 684 | ············datetime.date(1993,·6,·27) |
| 685 | ············datetime.date(1984,· | 685 | ············datetime.date(1984,·6,·17) |
| 686 | ············datetime.date(199 | 686 | ············datetime.date(1998,·7,·21) |
| 687 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 687 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 688 | ········maximum_age:·int·=·115)·→·date¶ | 688 | ········maximum_age:·int·=·115)·→·date¶ |
| 689 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 689 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 690 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 690 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 691 | ··············Parameters: | 691 | ··············Parameters: |
| 692 | ······················*·tzinfo·–·Defaults·to·None. | 692 | ······················*·tzinfo·–·Defaults·to·None. |
| 693 | ······················*·minimum_age·–·Defaults·to·0. | 693 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 697, 19 lines modified | Offset 697, 19 lines modified | ||
| 697 | ··············Returns: | 697 | ··············Returns: |
| 698 | ··················Date | 698 | ··················Date |
| 699 | ··············Examples: | 699 | ··············Examples: |
| 700 | ············>>>·Faker.seed(0) | 700 | ············>>>·Faker.seed(0) |
| 701 | ············>>>·for·_·in·range(5): | 701 | ············>>>·for·_·in·range(5): |
| 702 | ············...·····fake.date_of_birth() | 702 | ············...·····fake.date_of_birth() |
| 703 | ············... | 703 | ············... |
| 704 | ············datetime.date(200 | 704 | ············datetime.date(2007,·10,·18) |
| 705 | ············datetime.date(1997,·10,·6) | ||
| 706 | ············datetime.date(1958,·8,·18) | ||
| 705 | ············datetime.date(19 | 707 | ············datetime.date(1939,·11,·17) |
| 706 | ············datetime.date(19 | 708 | ············datetime.date(1969,·2,·24) |
| 707 | ············datetime.date(1940,·12,·18) | ||
| 708 | ············datetime.date(1970,·3,·28) | ||
| 709 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 709 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 710 | ········→·date¶ | 710 | ········→·date¶ |
| 711 | ············Gets·a·Date·object·for·the·current·century. | 711 | ············Gets·a·Date·object·for·the·current·century. |
| 712 | ··············Parameters: | 712 | ··············Parameters: |
| 713 | ······················*·before_today·–·include·days·in·current·century·before | 713 | ······················*·before_today·–·include·days·in·current·century·before |
| 714 | ························today | 714 | ························today |
| 715 | ······················*·after_today·–·include·days·in·current·century·after | 715 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 719, 19 lines modified | Offset 719, 19 lines modified | ||
| 719 | ··············Returns: | 719 | ··············Returns: |
| 720 | ··················Date | 720 | ··················Date |
| 721 | ··············Examples: | 721 | ··············Examples: |
| 722 | ············>>>·Faker.seed(0) | 722 | ············>>>·Faker.seed(0) |
| 723 | ············>>>·for·_·in·range(5): | 723 | ············>>>·for·_·in·range(5): |
| 724 | ············...·····fake.date_this_century() | 724 | ············...·····fake.date_this_century() |
| 725 | ············... | 725 | ············... |
| Max diff block lines reached; 25424/31338 bytes (81.13%) of diff not shown. | |||
| Offset 688, 19 lines modified | Offset 688, 19 lines modified | ||
| 688 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 688 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 689 | <dd·class="field-odd"><p></p></dd> | 689 | <dd·class="field-odd"><p></p></dd> |
| 690 | </dl> | 690 | </dl> |
| 691 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 691 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 692 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 692 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 693 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 693 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 694 | <span·class="gp">...</span> | 694 | <span·class="gp">...</span> |
| 695 | <span·class="go">'PM'</span> | ||
| 696 | <span·class="go">'PM'</span> | ||
| 697 | <span·class="go">'AM'</span> | 695 | <span·class="go">'AM'</span> |
| 698 | <span·class="go">'PM'</span> | 696 | <span·class="go">'PM'</span> |
| 699 | <span·class="go">'AM'</span> | 697 | <span·class="go">'AM'</span> |
| 698 | <span·class="go">'AM'</span> | ||
| 699 | <span·class="go">'AM'</span> | ||
| 700 | </pre></div> | 700 | </pre></div> |
| 701 | </div> | 701 | </div> |
| 702 | </dd></dl> | 702 | </dd></dl> |
| 703 | <dl·class="py·method"> | 703 | <dl·class="py·method"> |
| 704 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ka_GE.Provider.century"> | 704 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ka_GE.Provider.century"> |
| 705 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ka_GE.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 705 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ka_GE.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 741, 19 lines modified | Offset 741, 19 lines modified | ||
| 741 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 741 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 742 | <dd·class="field-even"><p></p></dd> | 742 | <dd·class="field-even"><p></p></dd> |
| 743 | </dl> | 743 | </dl> |
| 744 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 744 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 745 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 745 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 746 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 746 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 747 | <span·class="gp">...</span> | 747 | <span·class="gp">...</span> |
| 748 | <span·class="go">'2018-01-27'</span> | ||
| 749 | <span·class="go">'201 | 748 | <span·class="go">'2017-02-26'</span> |
| 749 | <span·class="go">'2012-04-29'</span> | ||
| 750 | <span·class="go">'1993- | 750 | <span·class="go">'1993-06-27'</span> |
| 751 | <span·class="go">'1984-0 | 751 | <span·class="go">'1984-06-17'</span> |
| 752 | <span·class="go">'199 | 752 | <span·class="go">'1998-07-21'</span> |
| 753 | </pre></div> | 753 | </pre></div> |
| 754 | </div> | 754 | </div> |
| 755 | </dd></dl> | 755 | </dd></dl> |
| 756 | <dl·class="py·method"> | 756 | <dl·class="py·method"> |
| 757 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ka_GE.Provider.date_between"> | 757 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ka_GE.Provider.date_between"> |
| 758 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ka_GE.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 758 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ka_GE.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 775, 19 lines modified | Offset 775, 19 lines modified | ||
| 775 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 775 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 776 | <dd·class="field-even"><p></p></dd> | 776 | <dd·class="field-even"><p></p></dd> |
| 777 | </dl> | 777 | </dl> |
| 778 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 778 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 779 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 779 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 780 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 780 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 781 | <span·class="gp">...</span> | 781 | <span·class="gp">...</span> |
| 782 | <span·class="go">datetime.date(202 | 782 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 783 | <span·class="go">datetime.date(201 | 783 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 784 | <span·class="go">datetime.date(200 | 784 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 785 | <span·class="go">datetime.date(200 | 785 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 786 | <span·class="go">datetime.date(201 | 786 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 787 | </pre></div> | 787 | </pre></div> |
| 788 | </div> | 788 | </div> |
| 789 | </dd></dl> | 789 | </dd></dl> |
| 790 | <dl·class="py·method"> | 790 | <dl·class="py·method"> |
| 791 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ka_GE.Provider.date_between_dates"> | 791 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ka_GE.Provider.date_between_dates"> |
| 792 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ka_GE.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 792 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ka_GE.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 806, 19 lines modified | Offset 806, 19 lines modified | ||
| 806 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 806 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 807 | <dd·class="field-odd"><p></p></dd> | 807 | <dd·class="field-odd"><p></p></dd> |
| 808 | </dl> | 808 | </dl> |
| 809 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 809 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 810 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 810 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 811 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 811 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 812 | <span·class="gp">...</span> | 812 | <span·class="gp">...</span> |
| 813 | <span·class="go">datetime.date(202 | 813 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 814 | <span·class="go">datetime.date(202 | 814 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 815 | <span·class="go">datetime.date(202 | 815 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 816 | <span·class="go">datetime.date(202 | 816 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 817 | <span·class="go">datetime.date(202 | 817 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 818 | </pre></div> | 818 | </pre></div> |
| 819 | </div> | 819 | </div> |
| 820 | </dd></dl> | 820 | </dd></dl> |
| 821 | <dl·class="py·method"> | 821 | <dl·class="py·method"> |
| 822 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ka_GE.Provider.date_object"> | 822 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ka_GE.Provider.date_object"> |
| 823 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ka_GE.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 823 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ka_GE.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 830, 19 lines modified | Offset 830, 19 lines modified | ||
| 830 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 830 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 831 | <dd·class="field-even"><p></p></dd> | 831 | <dd·class="field-even"><p></p></dd> |
| 832 | </dl> | 832 | </dl> |
| 833 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 833 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 834 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 834 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 835 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 835 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 836 | <span·class="gp">...</span> | 836 | <span·class="gp">...</span> |
| 837 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 838 | <span·class="go">datetime.date(201 | 837 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 838 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 839 | <span·class="go">datetime.date(1993,· | 839 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 840 | <span·class="go">datetime.date(1984,· | 840 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 841 | <span·class="go">datetime.date(199 | 841 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 842 | </pre></div> | 842 | </pre></div> |
| 843 | </div> | 843 | </div> |
| 844 | </dd></dl> | 844 | </dd></dl> |
| 845 | <dl·class="py·method"> | 845 | <dl·class="py·method"> |
| 846 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ka_GE.Provider.date_of_birth"> | 846 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ka_GE.Provider.date_of_birth"> |
| 847 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ka_GE.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 847 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ka_GE.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 866, 19 lines modified | Offset 866, 19 lines modified | ||
| 866 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 866 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 867 | <dd·class="field-even"><p></p></dd> | 867 | <dd·class="field-even"><p></p></dd> |
| 868 | </dl> | 868 | </dl> |
| 869 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 869 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 870 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 870 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 871 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 871 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 872 | <span·class="gp">...</span> | 872 | <span·class="gp">...</span> |
| 873 | <span·class="go">datetime.date(200 | 873 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 874 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 875 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 874 | <span·class="go">datetime.date(19 | 876 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 875 | <span·class="go">datetime.date(19 | 877 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 876 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 877 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 878 | </pre></div> | 878 | </pre></div> |
| 879 | </div> | 879 | </div> |
| 880 | </dd></dl> | 880 | </dd></dl> |
| 881 | <dl·class="py·method"> | 881 | <dl·class="py·method"> |
| 882 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ka_GE.Provider.date_this_century"> | 882 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ka_GE.Provider.date_this_century"> |
| 883 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ka_GE.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 883 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ka_GE.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 899, 19 lines modified | Offset 899, 19 lines modified | ||
| 899 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 899 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 98148/120373 bytes (81.54%) of diff not shown. | |||
| Offset 392, 19 lines modified | Offset 392, 19 lines modified | ||
| 392 | ······Bases:·Provider | 392 | ······Bases:·Provider |
| 393 | ········am_pm()·→·str¶ | 393 | ········am_pm()·→·str¶ |
| 394 | ··············Examples: | 394 | ··············Examples: |
| 395 | ············>>>·Faker.seed(0) | 395 | ············>>>·Faker.seed(0) |
| 396 | ············>>>·for·_·in·range(5): | 396 | ············>>>·for·_·in·range(5): |
| 397 | ············...·····fake.am_pm() | 397 | ············...·····fake.am_pm() |
| 398 | ············... | 398 | ············... |
| 399 | ············'PM' | ||
| 400 | ············'PM' | ||
| 401 | ············'AM' | 399 | ············'AM' |
| 402 | ············'PM' | 400 | ············'PM' |
| 403 | ············'AM' | 401 | ············'AM' |
| 402 | ············'AM' | ||
| 403 | ············'AM' | ||
| 404 | ········century()·→·str¶ | 404 | ········century()·→·str¶ |
| 405 | ··············Example: | 405 | ··············Example: |
| 406 | ··················‘XVII’ | 406 | ··················‘XVII’ |
| 407 | ··············Examples: | 407 | ··············Examples: |
| 408 | ············>>>·Faker.seed(0) | 408 | ············>>>·Faker.seed(0) |
| 409 | ············>>>·for·_·in·range(5): | 409 | ············>>>·for·_·in·range(5): |
| 410 | ············...·····fake.century() | 410 | ············...·····fake.century() |
| Offset 424, 19 lines modified | Offset 424, 19 lines modified | ||
| 424 | ··············Returns: | 424 | ··············Returns: |
| 425 | ··················Date | 425 | ··················Date |
| 426 | ··············Examples: | 426 | ··············Examples: |
| 427 | ············>>>·Faker.seed(0) | 427 | ············>>>·Faker.seed(0) |
| 428 | ············>>>·for·_·in·range(5): | 428 | ············>>>·for·_·in·range(5): |
| 429 | ············...·····fake.date() | 429 | ············...·····fake.date() |
| 430 | ············... | 430 | ············... |
| 431 | ············'2018-01-27' | ||
| 432 | ············'201 | 431 | ············'2017-02-26' |
| 432 | ············'2012-04-29' | ||
| 433 | ············'1993- | 433 | ············'1993-06-27' |
| 434 | ············'1984-0 | 434 | ············'1984-06-17' |
| 435 | ············'199 | 435 | ············'1998-07-21' |
| 436 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 436 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 437 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 437 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 438 | ········date¶ | 438 | ········date¶ |
| 439 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 439 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 440 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 440 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 441 | ··············Parameters: | 441 | ··············Parameters: |
| 442 | ······················*·start_date·–·Defaults·to·30·years·ago | 442 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 446, 19 lines modified | Offset 446, 19 lines modified | ||
| 446 | ··············Returns: | 446 | ··············Returns: |
| 447 | ··················Date | 447 | ··················Date |
| 448 | ··············Examples: | 448 | ··············Examples: |
| 449 | ············>>>·Faker.seed(0) | 449 | ············>>>·Faker.seed(0) |
| 450 | ············>>>·for·_·in·range(5): | 450 | ············>>>·for·_·in·range(5): |
| 451 | ············...·····fake.date_between() | 451 | ············...·····fake.date_between() |
| 452 | ············... | 452 | ············... |
| 453 | ············datetime.date(202 | 453 | ············datetime.date(2021,·3,·5) |
| 454 | ············datetime.date(201 | 454 | ············datetime.date(2018,·7,·31) |
| 455 | ············datetime.date(200 | 455 | ············datetime.date(2008,·6,·16) |
| 456 | ············datetime.date(200 | 456 | ············datetime.date(2003,·8,·11) |
| 457 | ············datetime.date(201 | 457 | ············datetime.date(2011,·3,·7) |
| 458 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 458 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 459 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 459 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 460 | ········=·None)·→·date¶ | 460 | ········=·None)·→·date¶ |
| 461 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 461 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 462 | ············given·dates.·Accepts·Date·or·datetime·objects | 462 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 463 | ··············Parameters: | 463 | ··············Parameters: |
| 464 | ······················*·date_start·–·Date | 464 | ······················*·date_start·–·Date |
| Offset 466, 33 lines modified | Offset 466, 33 lines modified | ||
| 466 | ··············Returns: | 466 | ··············Returns: |
| 467 | ··················Date | 467 | ··················Date |
| 468 | ··············Examples: | 468 | ··············Examples: |
| 469 | ············>>>·Faker.seed(0) | 469 | ············>>>·Faker.seed(0) |
| 470 | ············>>>·for·_·in·range(5): | 470 | ············>>>·for·_·in·range(5): |
| 471 | ············...·····fake.date_between_dates() | 471 | ············...·····fake.date_between_dates() |
| 472 | ············... | 472 | ············... |
| 473 | ············datetime.date(202 | 473 | ············datetime.date(2025,·11,·4) |
| 474 | ············datetime.date(202 | 474 | ············datetime.date(2025,·11,·4) |
| 475 | ············datetime.date(202 | 475 | ············datetime.date(2025,·11,·4) |
| 476 | ············datetime.date(202 | 476 | ············datetime.date(2025,·11,·4) |
| 477 | ············datetime.date(202 | 477 | ············datetime.date(2025,·11,·4) |
| 478 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 478 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 479 | ············Get·a·date·object·between·January·1,·1970·and·now | 479 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 480 | ··············Example: | 480 | ··············Example: |
| 481 | ··················datetime.date(2016,·9,·20) | 481 | ··················datetime.date(2016,·9,·20) |
| 482 | ··············Examples: | 482 | ··············Examples: |
| 483 | ············>>>·Faker.seed(0) | 483 | ············>>>·Faker.seed(0) |
| 484 | ············>>>·for·_·in·range(5): | 484 | ············>>>·for·_·in·range(5): |
| 485 | ············...·····fake.date_object() | 485 | ············...·····fake.date_object() |
| 486 | ············... | 486 | ············... |
| 487 | ············datetime.date(2018,·1,·27) | ||
| 488 | ············datetime.date(201 | 487 | ············datetime.date(2017,·2,·26) |
| 488 | ············datetime.date(2012,·4,·29) | ||
| 489 | ············datetime.date(1993,· | 489 | ············datetime.date(1993,·6,·27) |
| 490 | ············datetime.date(1984,· | 490 | ············datetime.date(1984,·6,·17) |
| 491 | ············datetime.date(199 | 491 | ············datetime.date(1998,·7,·21) |
| 492 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 492 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 493 | ········maximum_age:·int·=·115)·→·date¶ | 493 | ········maximum_age:·int·=·115)·→·date¶ |
| 494 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 494 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 495 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 495 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 496 | ··············Parameters: | 496 | ··············Parameters: |
| 497 | ······················*·tzinfo·–·Defaults·to·None. | 497 | ······················*·tzinfo·–·Defaults·to·None. |
| 498 | ······················*·minimum_age·–·Defaults·to·0. | 498 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 502, 19 lines modified | Offset 502, 19 lines modified | ||
| 502 | ··············Returns: | 502 | ··············Returns: |
| 503 | ··················Date | 503 | ··················Date |
| 504 | ··············Examples: | 504 | ··············Examples: |
| 505 | ············>>>·Faker.seed(0) | 505 | ············>>>·Faker.seed(0) |
| 506 | ············>>>·for·_·in·range(5): | 506 | ············>>>·for·_·in·range(5): |
| 507 | ············...·····fake.date_of_birth() | 507 | ············...·····fake.date_of_birth() |
| 508 | ············... | 508 | ············... |
| 509 | ············datetime.date(200 | 509 | ············datetime.date(2007,·10,·18) |
| 510 | ············datetime.date(1997,·10,·6) | ||
| 511 | ············datetime.date(1958,·8,·18) | ||
| 510 | ············datetime.date(19 | 512 | ············datetime.date(1939,·11,·17) |
| 511 | ············datetime.date(19 | 513 | ············datetime.date(1969,·2,·24) |
| 512 | ············datetime.date(1940,·12,·18) | ||
| 513 | ············datetime.date(1970,·3,·28) | ||
| 514 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 514 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 515 | ········→·date¶ | 515 | ········→·date¶ |
| 516 | ············Gets·a·Date·object·for·the·current·century. | 516 | ············Gets·a·Date·object·for·the·current·century. |
| 517 | ··············Parameters: | 517 | ··············Parameters: |
| 518 | ······················*·before_today·–·include·days·in·current·century·before | 518 | ······················*·before_today·–·include·days·in·current·century·before |
| 519 | ························today | 519 | ························today |
| 520 | ······················*·after_today·–·include·days·in·current·century·after | 520 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 524, 19 lines modified | Offset 524, 19 lines modified | ||
| 524 | ··············Returns: | 524 | ··············Returns: |
| 525 | ··················Date | 525 | ··················Date |
| 526 | ··············Examples: | 526 | ··············Examples: |
| 527 | ············>>>·Faker.seed(0) | 527 | ············>>>·Faker.seed(0) |
| 528 | ············>>>·for·_·in·range(5): | 528 | ············>>>·for·_·in·range(5): |
| 529 | ············...·····fake.date_this_century() | 529 | ············...·····fake.date_this_century() |
| 530 | ············... | 530 | ············... |
| Max diff block lines reached; 24685/30599 bytes (80.67%) of diff not shown. | |||
| Offset 964, 19 lines modified | Offset 964, 19 lines modified | ||
| 964 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 964 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 965 | <dd·class="field-odd"><p></p></dd> | 965 | <dd·class="field-odd"><p></p></dd> |
| 966 | </dl> | 966 | </dl> |
| 967 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 967 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 968 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 968 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 969 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 969 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 970 | <span·class="gp">...</span> | 970 | <span·class="gp">...</span> |
| 971 | <span·class="go">'PM'</span> | ||
| 972 | <span·class="go">'PM'</span> | ||
| 973 | <span·class="go">'AM'</span> | 971 | <span·class="go">'AM'</span> |
| 974 | <span·class="go">'PM'</span> | 972 | <span·class="go">'PM'</span> |
| 975 | <span·class="go">'AM'</span> | 973 | <span·class="go">'AM'</span> |
| 974 | <span·class="go">'AM'</span> | ||
| 975 | <span·class="go">'AM'</span> | ||
| 976 | </pre></div> | 976 | </pre></div> |
| 977 | </div> | 977 | </div> |
| 978 | </dd></dl> | 978 | </dd></dl> |
| 979 | <dl·class="py·method"> | 979 | <dl·class="py·method"> |
| 980 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ko_KR.Provider.century"> | 980 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ko_KR.Provider.century"> |
| 981 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ko_KR.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 981 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ko_KR.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1017, 19 lines modified | Offset 1017, 19 lines modified | ||
| 1017 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1017 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1018 | <dd·class="field-even"><p></p></dd> | 1018 | <dd·class="field-even"><p></p></dd> |
| 1019 | </dl> | 1019 | </dl> |
| 1020 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1020 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1021 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1021 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1022 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1022 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 1023 | <span·class="gp">...</span> | 1023 | <span·class="gp">...</span> |
| 1024 | <span·class="go">'2018-01-27'</span> | ||
| 1025 | <span·class="go">'201 | 1024 | <span·class="go">'2017-02-26'</span> |
| 1025 | <span·class="go">'2012-04-29'</span> | ||
| 1026 | <span·class="go">'1993- | 1026 | <span·class="go">'1993-06-27'</span> |
| 1027 | <span·class="go">'1984-0 | 1027 | <span·class="go">'1984-06-17'</span> |
| 1028 | <span·class="go">'199 | 1028 | <span·class="go">'1998-07-21'</span> |
| 1029 | </pre></div> | 1029 | </pre></div> |
| 1030 | </div> | 1030 | </div> |
| 1031 | </dd></dl> | 1031 | </dd></dl> |
| 1032 | <dl·class="py·method"> | 1032 | <dl·class="py·method"> |
| 1033 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ko_KR.Provider.date_between"> | 1033 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ko_KR.Provider.date_between"> |
| 1034 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ko_KR.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1034 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ko_KR.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1051, 19 lines modified | Offset 1051, 19 lines modified | ||
| 1051 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1051 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1052 | <dd·class="field-even"><p></p></dd> | 1052 | <dd·class="field-even"><p></p></dd> |
| 1053 | </dl> | 1053 | </dl> |
| 1054 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1054 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1055 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1055 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1056 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1056 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 1057 | <span·class="gp">...</span> | 1057 | <span·class="gp">...</span> |
| 1058 | <span·class="go">datetime.date(202 | 1058 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 1059 | <span·class="go">datetime.date(201 | 1059 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 1060 | <span·class="go">datetime.date(200 | 1060 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 1061 | <span·class="go">datetime.date(200 | 1061 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 1062 | <span·class="go">datetime.date(201 | 1062 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 1063 | </pre></div> | 1063 | </pre></div> |
| 1064 | </div> | 1064 | </div> |
| 1065 | </dd></dl> | 1065 | </dd></dl> |
| 1066 | <dl·class="py·method"> | 1066 | <dl·class="py·method"> |
| 1067 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ko_KR.Provider.date_between_dates"> | 1067 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ko_KR.Provider.date_between_dates"> |
| 1068 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ko_KR.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 1068 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ko_KR.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1082, 19 lines modified | Offset 1082, 19 lines modified | ||
| 1082 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1082 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1083 | <dd·class="field-odd"><p></p></dd> | 1083 | <dd·class="field-odd"><p></p></dd> |
| 1084 | </dl> | 1084 | </dl> |
| 1085 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1085 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1086 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1086 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1087 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 1087 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 1088 | <span·class="gp">...</span> | 1088 | <span·class="gp">...</span> |
| 1089 | <span·class="go">datetime.date(202 | 1089 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1090 | <span·class="go">datetime.date(202 | 1090 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1091 | <span·class="go">datetime.date(202 | 1091 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1092 | <span·class="go">datetime.date(202 | 1092 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1093 | <span·class="go">datetime.date(202 | 1093 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1094 | </pre></div> | 1094 | </pre></div> |
| 1095 | </div> | 1095 | </div> |
| 1096 | </dd></dl> | 1096 | </dd></dl> |
| 1097 | <dl·class="py·method"> | 1097 | <dl·class="py·method"> |
| 1098 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ko_KR.Provider.date_object"> | 1098 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ko_KR.Provider.date_object"> |
| 1099 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ko_KR.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 1099 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ko_KR.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1106, 19 lines modified | Offset 1106, 19 lines modified | ||
| 1106 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1106 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1107 | <dd·class="field-even"><p></p></dd> | 1107 | <dd·class="field-even"><p></p></dd> |
| 1108 | </dl> | 1108 | </dl> |
| 1109 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1109 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1110 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1110 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1111 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1111 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 1112 | <span·class="gp">...</span> | 1112 | <span·class="gp">...</span> |
| 1113 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 1114 | <span·class="go">datetime.date(201 | 1113 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 1114 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 1115 | <span·class="go">datetime.date(1993,· | 1115 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 1116 | <span·class="go">datetime.date(1984,· | 1116 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 1117 | <span·class="go">datetime.date(199 | 1117 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 1118 | </pre></div> | 1118 | </pre></div> |
| 1119 | </div> | 1119 | </div> |
| 1120 | </dd></dl> | 1120 | </dd></dl> |
| 1121 | <dl·class="py·method"> | 1121 | <dl·class="py·method"> |
| 1122 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ko_KR.Provider.date_of_birth"> | 1122 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ko_KR.Provider.date_of_birth"> |
| 1123 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ko_KR.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1123 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ko_KR.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1142, 19 lines modified | Offset 1142, 19 lines modified | ||
| 1142 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1142 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1143 | <dd·class="field-even"><p></p></dd> | 1143 | <dd·class="field-even"><p></p></dd> |
| 1144 | </dl> | 1144 | </dl> |
| 1145 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1145 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1146 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1146 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1147 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1147 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 1148 | <span·class="gp">...</span> | 1148 | <span·class="gp">...</span> |
| 1149 | <span·class="go">datetime.date(200 | 1149 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 1150 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 1151 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 1150 | <span·class="go">datetime.date(19 | 1152 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 1151 | <span·class="go">datetime.date(19 | 1153 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 1152 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 1153 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 1154 | </pre></div> | 1154 | </pre></div> |
| 1155 | </div> | 1155 | </div> |
| 1156 | </dd></dl> | 1156 | </dd></dl> |
| 1157 | <dl·class="py·method"> | 1157 | <dl·class="py·method"> |
| 1158 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ko_KR.Provider.date_this_century"> | 1158 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ko_KR.Provider.date_this_century"> |
| 1159 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ko_KR.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 1159 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ko_KR.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1175, 19 lines modified | Offset 1175, 19 lines modified | ||
| 1175 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1175 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 98625/120862 bytes (81.60%) of diff not shown. | |||
| Offset 521, 19 lines modified | Offset 521, 19 lines modified | ||
| 521 | ······Bases:·Provider | 521 | ······Bases:·Provider |
| 522 | ········am_pm()·→·str¶ | 522 | ········am_pm()·→·str¶ |
| 523 | ··············Examples: | 523 | ··············Examples: |
| 524 | ············>>>·Faker.seed(0) | 524 | ············>>>·Faker.seed(0) |
| 525 | ············>>>·for·_·in·range(5): | 525 | ············>>>·for·_·in·range(5): |
| 526 | ············...·····fake.am_pm() | 526 | ············...·····fake.am_pm() |
| 527 | ············... | 527 | ············... |
| 528 | ············'PM' | ||
| 529 | ············'PM' | ||
| 530 | ············'AM' | 528 | ············'AM' |
| 531 | ············'PM' | 529 | ············'PM' |
| 532 | ············'AM' | 530 | ············'AM' |
| 531 | ············'AM' | ||
| 532 | ············'AM' | ||
| 533 | ········century()·→·str¶ | 533 | ········century()·→·str¶ |
| 534 | ··············Example: | 534 | ··············Example: |
| 535 | ··················‘XVII’ | 535 | ··················‘XVII’ |
| 536 | ··············Examples: | 536 | ··············Examples: |
| 537 | ············>>>·Faker.seed(0) | 537 | ············>>>·Faker.seed(0) |
| 538 | ············>>>·for·_·in·range(5): | 538 | ············>>>·for·_·in·range(5): |
| 539 | ············...·····fake.century() | 539 | ············...·····fake.century() |
| Offset 553, 19 lines modified | Offset 553, 19 lines modified | ||
| 553 | ··············Returns: | 553 | ··············Returns: |
| 554 | ··················Date | 554 | ··················Date |
| 555 | ··············Examples: | 555 | ··············Examples: |
| 556 | ············>>>·Faker.seed(0) | 556 | ············>>>·Faker.seed(0) |
| 557 | ············>>>·for·_·in·range(5): | 557 | ············>>>·for·_·in·range(5): |
| 558 | ············...·····fake.date() | 558 | ············...·····fake.date() |
| 559 | ············... | 559 | ············... |
| 560 | ············'2018-01-27' | ||
| 561 | ············'201 | 560 | ············'2017-02-26' |
| 561 | ············'2012-04-29' | ||
| 562 | ············'1993- | 562 | ············'1993-06-27' |
| 563 | ············'1984-0 | 563 | ············'1984-06-17' |
| 564 | ············'199 | 564 | ············'1998-07-21' |
| 565 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 565 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 566 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 566 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 567 | ········date¶ | 567 | ········date¶ |
| 568 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 568 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 569 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 569 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 570 | ··············Parameters: | 570 | ··············Parameters: |
| 571 | ······················*·start_date·–·Defaults·to·30·years·ago | 571 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 575, 19 lines modified | Offset 575, 19 lines modified | ||
| 575 | ··············Returns: | 575 | ··············Returns: |
| 576 | ··················Date | 576 | ··················Date |
| 577 | ··············Examples: | 577 | ··············Examples: |
| 578 | ············>>>·Faker.seed(0) | 578 | ············>>>·Faker.seed(0) |
| 579 | ············>>>·for·_·in·range(5): | 579 | ············>>>·for·_·in·range(5): |
| 580 | ············...·····fake.date_between() | 580 | ············...·····fake.date_between() |
| 581 | ············... | 581 | ············... |
| 582 | ············datetime.date(202 | 582 | ············datetime.date(2021,·3,·5) |
| 583 | ············datetime.date(201 | 583 | ············datetime.date(2018,·7,·31) |
| 584 | ············datetime.date(200 | 584 | ············datetime.date(2008,·6,·16) |
| 585 | ············datetime.date(200 | 585 | ············datetime.date(2003,·8,·11) |
| 586 | ············datetime.date(201 | 586 | ············datetime.date(2011,·3,·7) |
| 587 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 587 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 588 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 588 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 589 | ········=·None)·→·date¶ | 589 | ········=·None)·→·date¶ |
| 590 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 590 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 591 | ············given·dates.·Accepts·Date·or·datetime·objects | 591 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 592 | ··············Parameters: | 592 | ··············Parameters: |
| 593 | ······················*·date_start·–·Date | 593 | ······················*·date_start·–·Date |
| Offset 595, 33 lines modified | Offset 595, 33 lines modified | ||
| 595 | ··············Returns: | 595 | ··············Returns: |
| 596 | ··················Date | 596 | ··················Date |
| 597 | ··············Examples: | 597 | ··············Examples: |
| 598 | ············>>>·Faker.seed(0) | 598 | ············>>>·Faker.seed(0) |
| 599 | ············>>>·for·_·in·range(5): | 599 | ············>>>·for·_·in·range(5): |
| 600 | ············...·····fake.date_between_dates() | 600 | ············...·····fake.date_between_dates() |
| 601 | ············... | 601 | ············... |
| 602 | ············datetime.date(202 | 602 | ············datetime.date(2025,·11,·4) |
| 603 | ············datetime.date(202 | 603 | ············datetime.date(2025,·11,·4) |
| 604 | ············datetime.date(202 | 604 | ············datetime.date(2025,·11,·4) |
| 605 | ············datetime.date(202 | 605 | ············datetime.date(2025,·11,·4) |
| 606 | ············datetime.date(202 | 606 | ············datetime.date(2025,·11,·4) |
| 607 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 607 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 608 | ············Get·a·date·object·between·January·1,·1970·and·now | 608 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 609 | ··············Example: | 609 | ··············Example: |
| 610 | ··················datetime.date(2016,·9,·20) | 610 | ··················datetime.date(2016,·9,·20) |
| 611 | ··············Examples: | 611 | ··············Examples: |
| 612 | ············>>>·Faker.seed(0) | 612 | ············>>>·Faker.seed(0) |
| 613 | ············>>>·for·_·in·range(5): | 613 | ············>>>·for·_·in·range(5): |
| 614 | ············...·····fake.date_object() | 614 | ············...·····fake.date_object() |
| 615 | ············... | 615 | ············... |
| 616 | ············datetime.date(2018,·1,·27) | ||
| 617 | ············datetime.date(201 | 616 | ············datetime.date(2017,·2,·26) |
| 617 | ············datetime.date(2012,·4,·29) | ||
| 618 | ············datetime.date(1993,· | 618 | ············datetime.date(1993,·6,·27) |
| 619 | ············datetime.date(1984,· | 619 | ············datetime.date(1984,·6,·17) |
| 620 | ············datetime.date(199 | 620 | ············datetime.date(1998,·7,·21) |
| 621 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 621 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 622 | ········maximum_age:·int·=·115)·→·date¶ | 622 | ········maximum_age:·int·=·115)·→·date¶ |
| 623 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 623 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 624 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 624 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 625 | ··············Parameters: | 625 | ··············Parameters: |
| 626 | ······················*·tzinfo·–·Defaults·to·None. | 626 | ······················*·tzinfo·–·Defaults·to·None. |
| 627 | ······················*·minimum_age·–·Defaults·to·0. | 627 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 631, 19 lines modified | Offset 631, 19 lines modified | ||
| 631 | ··············Returns: | 631 | ··············Returns: |
| 632 | ··················Date | 632 | ··················Date |
| 633 | ··············Examples: | 633 | ··············Examples: |
| 634 | ············>>>·Faker.seed(0) | 634 | ············>>>·Faker.seed(0) |
| 635 | ············>>>·for·_·in·range(5): | 635 | ············>>>·for·_·in·range(5): |
| 636 | ············...·····fake.date_of_birth() | 636 | ············...·····fake.date_of_birth() |
| 637 | ············... | 637 | ············... |
| 638 | ············datetime.date(200 | 638 | ············datetime.date(2007,·10,·18) |
| 639 | ············datetime.date(1997,·10,·6) | ||
| 640 | ············datetime.date(1958,·8,·18) | ||
| 639 | ············datetime.date(19 | 641 | ············datetime.date(1939,·11,·17) |
| 640 | ············datetime.date(19 | 642 | ············datetime.date(1969,·2,·24) |
| 641 | ············datetime.date(1940,·12,·18) | ||
| 642 | ············datetime.date(1970,·3,·28) | ||
| 643 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 643 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 644 | ········→·date¶ | 644 | ········→·date¶ |
| 645 | ············Gets·a·Date·object·for·the·current·century. | 645 | ············Gets·a·Date·object·for·the·current·century. |
| 646 | ··············Parameters: | 646 | ··············Parameters: |
| 647 | ······················*·before_today·–·include·days·in·current·century·before | 647 | ······················*·before_today·–·include·days·in·current·century·before |
| 648 | ························today | 648 | ························today |
| 649 | ······················*·after_today·–·include·days·in·current·century·after | 649 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 653, 19 lines modified | Offset 653, 19 lines modified | ||
| 653 | ··············Returns: | 653 | ··············Returns: |
| 654 | ··················Date | 654 | ··················Date |
| 655 | ··············Examples: | 655 | ··············Examples: |
| 656 | ············>>>·Faker.seed(0) | 656 | ············>>>·Faker.seed(0) |
| 657 | ············>>>·for·_·in·range(5): | 657 | ············>>>·for·_·in·range(5): |
| 658 | ············...·····fake.date_this_century() | 658 | ············...·····fake.date_this_century() |
| 659 | ············... | 659 | ············... |
| Max diff block lines reached; 24656/30570 bytes (80.65%) of diff not shown. | |||
| Offset 565, 19 lines modified | Offset 565, 19 lines modified | ||
| 565 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 565 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 566 | <dd·class="field-odd"><p></p></dd> | 566 | <dd·class="field-odd"><p></p></dd> |
| 567 | </dl> | 567 | </dl> |
| 568 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 568 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 569 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 569 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 570 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">ssn</span><span·class="p">()</span> | 570 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">ssn</span><span·class="p">()</span> |
| 571 | <span·class="gp">...</span> | 571 | <span·class="gp">...</span> |
| 572 | <span·class="go">'2 | 572 | <span·class="go">'200956-18872'</span> |
| 573 | <span·class="go">'2 | 573 | <span·class="go">'200550-11523'</span> |
| 574 | <span·class="go">'220 | 574 | <span·class="go">'220579-16341'</span> |
| 575 | <span·class="go">'2 | 575 | <span·class="go">'280838-15250'</span> |
| 576 | <span·class="go">'0 | 576 | <span·class="go">'040671-15995'</span> |
| 577 | </pre></div> | 577 | </pre></div> |
| 578 | </div> | 578 | </div> |
| 579 | </dd></dl> | 579 | </dd></dl> |
| 580 | <dl·class="py·method"> | 580 | <dl·class="py·method"> |
| 581 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.lv_LV.Provider.vat_id"> | 581 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.lv_LV.Provider.vat_id"> |
| 582 | <span·class="sig-name·descname"><span·class="pre">vat_id</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.lv_LV.Provider.vat_id"·title="Link·to·this·definition">¶</a></dt> | 582 | <span·class="sig-name·descname"><span·class="pre">vat_id</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.lv_LV.Provider.vat_id"·title="Link·to·this·definition">¶</a></dt> |
| Offset 292, 19 lines modified | Offset 292, 19 lines modified | ||
| 292 | ············The·number·for·the·century·is·either·0·(1800–1899),·1·(1900–1999), | 292 | ············The·number·for·the·century·is·either·0·(1800–1899),·1·(1900–1999), |
| 293 | ············or·2·(2000–2099). | 293 | ············or·2·(2000–2099). |
| 294 | ··············Examples: | 294 | ··············Examples: |
| 295 | ············>>>·Faker.seed(0) | 295 | ············>>>·Faker.seed(0) |
| 296 | ············>>>·for·_·in·range(5): | 296 | ············>>>·for·_·in·range(5): |
| 297 | ············...·····fake.ssn() | 297 | ············...·····fake.ssn() |
| 298 | ············... | 298 | ············... |
| 299 | ············'2 | 299 | ············'200956-18872' |
| 300 | ············'2 | 300 | ············'200550-11523' |
| 301 | ············'220 | 301 | ············'220579-16341' |
| 302 | ············'2 | 302 | ············'280838-15250' |
| 303 | ············'0 | 303 | ············'040671-15995' |
| 304 | ········vat_id()·→·str¶ | 304 | ········vat_id()·→·str¶ |
| 305 | ············http://ec.europa.eu/taxation_customs/vies/faq.html#item_11·:return: | 305 | ············http://ec.europa.eu/taxation_customs/vies/faq.html#item_11·:return: |
| 306 | ············a·random·Latvian·VAT·ID | 306 | ············a·random·Latvian·VAT·ID |
| 307 | ··············Examples: | 307 | ··············Examples: |
| 308 | ············>>>·Faker.seed(0) | 308 | ············>>>·Faker.seed(0) |
| 309 | ············>>>·for·_·in·range(5): | 309 | ············>>>·for·_·in·range(5): |
| 310 | ············...·····fake.vat_id() | 310 | ············...·····fake.vat_id() |
| Offset 1797, 19 lines modified | Offset 1797, 19 lines modified | ||
| 1797 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1797 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1798 | <dd·class="field-odd"><p></p></dd> | 1798 | <dd·class="field-odd"><p></p></dd> |
| 1799 | </dl> | 1799 | </dl> |
| 1800 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1800 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1801 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1801 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1802 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">ssn</span><span·class="p">()</span> | 1802 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">ssn</span><span·class="p">()</span> |
| 1803 | <span·class="gp">...</span> | 1803 | <span·class="gp">...</span> |
| 1804 | <span·class="go">'1 | 1804 | <span·class="go">'17022677707'</span> |
| 1805 | <span·class="go">' | 1805 | <span·class="go">'19091804206'</span> |
| 1806 | <span·class="go">'840 | 1806 | <span·class="go">'84061752493'</span> |
| 1807 | <span·class="go">'970 | 1807 | <span·class="go">'97021994155'</span> |
| 1808 | <span·class="go">'1 | 1808 | <span·class="go">'13100831115'</span> |
| 1809 | </pre></div> | 1809 | </pre></div> |
| 1810 | </div> | 1810 | </div> |
| 1811 | </dd></dl> | 1811 | </dd></dl> |
| 1812 | <dl·class="py·method"> | 1812 | <dl·class="py·method"> |
| 1813 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.nl_BE.Provider.vat_id"> | 1813 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.nl_BE.Provider.vat_id"> |
| 1814 | <span·class="sig-name·descname"><span·class="pre">vat_id</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.nl_BE.Provider.vat_id"·title="Link·to·this·definition">¶</a></dt> | 1814 | <span·class="sig-name·descname"><span·class="pre">vat_id</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.nl_BE.Provider.vat_id"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1336, 19 lines modified | Offset 1336, 19 lines modified | ||
| 1336 | ············born·in·or·after·2000,·the·9·digit·number·needs·to·be·proceeded·by | 1336 | ············born·in·or·after·2000,·the·9·digit·number·needs·to·be·proceeded·by |
| 1337 | ············a·2·(add·2000000000)·before·the·division·by·97. | 1337 | ············a·2·(add·2000000000)·before·the·division·by·97. |
| 1338 | ··············Examples: | 1338 | ··············Examples: |
| 1339 | ············>>>·Faker.seed(0) | 1339 | ············>>>·Faker.seed(0) |
| 1340 | ············>>>·for·_·in·range(5): | 1340 | ············>>>·for·_·in·range(5): |
| 1341 | ············...·····fake.ssn() | 1341 | ············...·····fake.ssn() |
| 1342 | ············... | 1342 | ············... |
| 1343 | ············'1 | 1343 | ············'17022677707' |
| 1344 | ············' | 1344 | ············'19091804206' |
| 1345 | ············'840 | 1345 | ············'84061752493' |
| 1346 | ············'970 | 1346 | ············'97021994155' |
| 1347 | ············'1 | 1347 | ············'13100831115' |
| 1348 | ········vat_id()·→·str¶ | 1348 | ········vat_id()·→·str¶ |
| 1349 | ··············Examples: | 1349 | ··············Examples: |
| 1350 | ············>>>·Faker.seed(0) | 1350 | ············>>>·Faker.seed(0) |
| 1351 | ············>>>·for·_·in·range(5): | 1351 | ············>>>·for·_·in·range(5): |
| 1352 | ············...·····fake.vat_id() | 1352 | ············...·····fake.vat_id() |
| 1353 | ············... | 1353 | ············... |
| 1354 | ············'BE1604876480' | 1354 | ············'BE1604876480' |
| Offset 1058, 19 lines modified | Offset 1058, 19 lines modified | ||
| 1058 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1058 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1059 | <dd·class="field-odd"><p></p></dd> | 1059 | <dd·class="field-odd"><p></p></dd> |
| 1060 | </dl> | 1060 | </dl> |
| 1061 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1061 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1062 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1062 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1063 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1063 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 1064 | <span·class="gp">...</span> | 1064 | <span·class="gp">...</span> |
| 1065 | <span·class="go">'PM'</span> | ||
| 1066 | <span·class="go">'PM'</span> | ||
| 1067 | <span·class="go">'AM'</span> | 1065 | <span·class="go">'AM'</span> |
| 1068 | <span·class="go">'PM'</span> | 1066 | <span·class="go">'PM'</span> |
| 1069 | <span·class="go">'AM'</span> | 1067 | <span·class="go">'AM'</span> |
| 1068 | <span·class="go">'AM'</span> | ||
| 1069 | <span·class="go">'AM'</span> | ||
| 1070 | </pre></div> | 1070 | </pre></div> |
| 1071 | </div> | 1071 | </div> |
| 1072 | </dd></dl> | 1072 | </dd></dl> |
| 1073 | <dl·class="py·method"> | 1073 | <dl·class="py·method"> |
| 1074 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.nl_NL.Provider.century"> | 1074 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.nl_NL.Provider.century"> |
| 1075 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.nl_NL.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 1075 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.nl_NL.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1111, 19 lines modified | Offset 1111, 19 lines modified | ||
| 1111 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1111 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1112 | <dd·class="field-even"><p></p></dd> | 1112 | <dd·class="field-even"><p></p></dd> |
| 1113 | </dl> | 1113 | </dl> |
| 1114 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1114 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1115 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1115 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1116 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1116 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 1117 | <span·class="gp">...</span> | 1117 | <span·class="gp">...</span> |
| 1118 | <span·class="go">'2018-01-27'</span> | ||
| 1119 | <span·class="go">'201 | 1118 | <span·class="go">'2017-02-26'</span> |
| 1119 | <span·class="go">'2012-04-29'</span> | ||
| 1120 | <span·class="go">'1993- | 1120 | <span·class="go">'1993-06-27'</span> |
| 1121 | <span·class="go">'1984-0 | 1121 | <span·class="go">'1984-06-17'</span> |
| 1122 | <span·class="go">'199 | 1122 | <span·class="go">'1998-07-21'</span> |
| 1123 | </pre></div> | 1123 | </pre></div> |
| 1124 | </div> | 1124 | </div> |
| 1125 | </dd></dl> | 1125 | </dd></dl> |
| 1126 | <dl·class="py·method"> | 1126 | <dl·class="py·method"> |
| 1127 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.nl_NL.Provider.date_between"> | 1127 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.nl_NL.Provider.date_between"> |
| 1128 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.nl_NL.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1128 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.nl_NL.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1145, 19 lines modified | Offset 1145, 19 lines modified | ||
| 1145 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1145 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1146 | <dd·class="field-even"><p></p></dd> | 1146 | <dd·class="field-even"><p></p></dd> |
| 1147 | </dl> | 1147 | </dl> |
| 1148 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1148 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1149 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1149 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1150 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1150 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 1151 | <span·class="gp">...</span> | 1151 | <span·class="gp">...</span> |
| 1152 | <span·class="go">datetime.date(202 | 1152 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 1153 | <span·class="go">datetime.date(201 | 1153 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 1154 | <span·class="go">datetime.date(200 | 1154 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 1155 | <span·class="go">datetime.date(200 | 1155 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 1156 | <span·class="go">datetime.date(201 | 1156 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 1157 | </pre></div> | 1157 | </pre></div> |
| 1158 | </div> | 1158 | </div> |
| 1159 | </dd></dl> | 1159 | </dd></dl> |
| 1160 | <dl·class="py·method"> | 1160 | <dl·class="py·method"> |
| 1161 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.nl_NL.Provider.date_between_dates"> | 1161 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.nl_NL.Provider.date_between_dates"> |
| 1162 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.nl_NL.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 1162 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.nl_NL.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1176, 19 lines modified | Offset 1176, 19 lines modified | ||
| 1176 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1176 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1177 | <dd·class="field-odd"><p></p></dd> | 1177 | <dd·class="field-odd"><p></p></dd> |
| 1178 | </dl> | 1178 | </dl> |
| 1179 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1179 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1180 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1180 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1181 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 1181 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 1182 | <span·class="gp">...</span> | 1182 | <span·class="gp">...</span> |
| 1183 | <span·class="go">datetime.date(202 | 1183 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1184 | <span·class="go">datetime.date(202 | 1184 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1185 | <span·class="go">datetime.date(202 | 1185 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1186 | <span·class="go">datetime.date(202 | 1186 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1187 | <span·class="go">datetime.date(202 | 1187 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1188 | </pre></div> | 1188 | </pre></div> |
| 1189 | </div> | 1189 | </div> |
| 1190 | </dd></dl> | 1190 | </dd></dl> |
| 1191 | <dl·class="py·method"> | 1191 | <dl·class="py·method"> |
| 1192 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.nl_NL.Provider.date_object"> | 1192 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.nl_NL.Provider.date_object"> |
| 1193 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.nl_NL.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 1193 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.nl_NL.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1200, 19 lines modified | Offset 1200, 19 lines modified | ||
| 1200 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1200 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1201 | <dd·class="field-even"><p></p></dd> | 1201 | <dd·class="field-even"><p></p></dd> |
| 1202 | </dl> | 1202 | </dl> |
| 1203 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1203 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1204 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1204 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1205 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1205 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 1206 | <span·class="gp">...</span> | 1206 | <span·class="gp">...</span> |
| 1207 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 1208 | <span·class="go">datetime.date(201 | 1207 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 1208 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 1209 | <span·class="go">datetime.date(1993,· | 1209 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 1210 | <span·class="go">datetime.date(1984,· | 1210 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 1211 | <span·class="go">datetime.date(199 | 1211 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 1212 | </pre></div> | 1212 | </pre></div> |
| 1213 | </div> | 1213 | </div> |
| 1214 | </dd></dl> | 1214 | </dd></dl> |
| 1215 | <dl·class="py·method"> | 1215 | <dl·class="py·method"> |
| 1216 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.nl_NL.Provider.date_of_birth"> | 1216 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.nl_NL.Provider.date_of_birth"> |
| 1217 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.nl_NL.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1217 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.nl_NL.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1236, 19 lines modified | Offset 1236, 19 lines modified | ||
| 1236 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1236 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1237 | <dd·class="field-even"><p></p></dd> | 1237 | <dd·class="field-even"><p></p></dd> |
| 1238 | </dl> | 1238 | </dl> |
| 1239 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1239 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1240 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1240 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1241 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1241 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 1242 | <span·class="gp">...</span> | 1242 | <span·class="gp">...</span> |
| 1243 | <span·class="go">datetime.date(200 | 1243 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 1244 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 1245 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 1244 | <span·class="go">datetime.date(19 | 1246 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 1245 | <span·class="go">datetime.date(19 | 1247 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 1246 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 1247 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 1248 | </pre></div> | 1248 | </pre></div> |
| 1249 | </div> | 1249 | </div> |
| 1250 | </dd></dl> | 1250 | </dd></dl> |
| 1251 | <dl·class="py·method"> | 1251 | <dl·class="py·method"> |
| 1252 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.nl_NL.Provider.date_this_century"> | 1252 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.nl_NL.Provider.date_this_century"> |
| 1253 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.nl_NL.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 1253 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.nl_NL.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1269, 19 lines modified | Offset 1269, 19 lines modified | ||
| 1269 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1269 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 98149/120388 bytes (81.53%) of diff not shown. | |||
| Offset 601, 19 lines modified | Offset 601, 19 lines modified | ||
| 601 | ······Bases:·Provider | 601 | ······Bases:·Provider |
| 602 | ········am_pm()·→·str¶ | 602 | ········am_pm()·→·str¶ |
| 603 | ··············Examples: | 603 | ··············Examples: |
| 604 | ············>>>·Faker.seed(0) | 604 | ············>>>·Faker.seed(0) |
| 605 | ············>>>·for·_·in·range(5): | 605 | ············>>>·for·_·in·range(5): |
| 606 | ············...·····fake.am_pm() | 606 | ············...·····fake.am_pm() |
| 607 | ············... | 607 | ············... |
| 608 | ············'PM' | ||
| 609 | ············'PM' | ||
| 610 | ············'AM' | 608 | ············'AM' |
| 611 | ············'PM' | 609 | ············'PM' |
| 612 | ············'AM' | 610 | ············'AM' |
| 611 | ············'AM' | ||
| 612 | ············'AM' | ||
| 613 | ········century()·→·str¶ | 613 | ········century()·→·str¶ |
| 614 | ··············Example: | 614 | ··············Example: |
| 615 | ··················‘XVII’ | 615 | ··················‘XVII’ |
| 616 | ··············Examples: | 616 | ··············Examples: |
| 617 | ············>>>·Faker.seed(0) | 617 | ············>>>·Faker.seed(0) |
| 618 | ············>>>·for·_·in·range(5): | 618 | ············>>>·for·_·in·range(5): |
| 619 | ············...·····fake.century() | 619 | ············...·····fake.century() |
| Offset 633, 19 lines modified | Offset 633, 19 lines modified | ||
| 633 | ··············Returns: | 633 | ··············Returns: |
| 634 | ··················Date | 634 | ··················Date |
| 635 | ··············Examples: | 635 | ··············Examples: |
| 636 | ············>>>·Faker.seed(0) | 636 | ············>>>·Faker.seed(0) |
| 637 | ············>>>·for·_·in·range(5): | 637 | ············>>>·for·_·in·range(5): |
| 638 | ············...·····fake.date() | 638 | ············...·····fake.date() |
| 639 | ············... | 639 | ············... |
| 640 | ············'2018-01-27' | ||
| 641 | ············'201 | 640 | ············'2017-02-26' |
| 641 | ············'2012-04-29' | ||
| 642 | ············'1993- | 642 | ············'1993-06-27' |
| 643 | ············'1984-0 | 643 | ············'1984-06-17' |
| 644 | ············'199 | 644 | ············'1998-07-21' |
| 645 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 645 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 646 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 646 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 647 | ········date¶ | 647 | ········date¶ |
| 648 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 648 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 649 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 649 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 650 | ··············Parameters: | 650 | ··············Parameters: |
| 651 | ······················*·start_date·–·Defaults·to·30·years·ago | 651 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 655, 19 lines modified | Offset 655, 19 lines modified | ||
| 655 | ··············Returns: | 655 | ··············Returns: |
| 656 | ··················Date | 656 | ··················Date |
| 657 | ··············Examples: | 657 | ··············Examples: |
| 658 | ············>>>·Faker.seed(0) | 658 | ············>>>·Faker.seed(0) |
| 659 | ············>>>·for·_·in·range(5): | 659 | ············>>>·for·_·in·range(5): |
| 660 | ············...·····fake.date_between() | 660 | ············...·····fake.date_between() |
| 661 | ············... | 661 | ············... |
| 662 | ············datetime.date(202 | 662 | ············datetime.date(2021,·3,·5) |
| 663 | ············datetime.date(201 | 663 | ············datetime.date(2018,·7,·31) |
| 664 | ············datetime.date(200 | 664 | ············datetime.date(2008,·6,·16) |
| 665 | ············datetime.date(200 | 665 | ············datetime.date(2003,·8,·11) |
| 666 | ············datetime.date(201 | 666 | ············datetime.date(2011,·3,·7) |
| 667 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 667 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 668 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 668 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 669 | ········=·None)·→·date¶ | 669 | ········=·None)·→·date¶ |
| 670 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 670 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 671 | ············given·dates.·Accepts·Date·or·datetime·objects | 671 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 672 | ··············Parameters: | 672 | ··············Parameters: |
| 673 | ······················*·date_start·–·Date | 673 | ······················*·date_start·–·Date |
| Offset 675, 33 lines modified | Offset 675, 33 lines modified | ||
| 675 | ··············Returns: | 675 | ··············Returns: |
| 676 | ··················Date | 676 | ··················Date |
| 677 | ··············Examples: | 677 | ··············Examples: |
| 678 | ············>>>·Faker.seed(0) | 678 | ············>>>·Faker.seed(0) |
| 679 | ············>>>·for·_·in·range(5): | 679 | ············>>>·for·_·in·range(5): |
| 680 | ············...·····fake.date_between_dates() | 680 | ············...·····fake.date_between_dates() |
| 681 | ············... | 681 | ············... |
| 682 | ············datetime.date(202 | 682 | ············datetime.date(2025,·11,·4) |
| 683 | ············datetime.date(202 | 683 | ············datetime.date(2025,·11,·4) |
| 684 | ············datetime.date(202 | 684 | ············datetime.date(2025,·11,·4) |
| 685 | ············datetime.date(202 | 685 | ············datetime.date(2025,·11,·4) |
| 686 | ············datetime.date(202 | 686 | ············datetime.date(2025,·11,·4) |
| 687 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 687 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 688 | ············Get·a·date·object·between·January·1,·1970·and·now | 688 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 689 | ··············Example: | 689 | ··············Example: |
| 690 | ··················datetime.date(2016,·9,·20) | 690 | ··················datetime.date(2016,·9,·20) |
| 691 | ··············Examples: | 691 | ··············Examples: |
| 692 | ············>>>·Faker.seed(0) | 692 | ············>>>·Faker.seed(0) |
| 693 | ············>>>·for·_·in·range(5): | 693 | ············>>>·for·_·in·range(5): |
| 694 | ············...·····fake.date_object() | 694 | ············...·····fake.date_object() |
| 695 | ············... | 695 | ············... |
| 696 | ············datetime.date(2018,·1,·27) | ||
| 697 | ············datetime.date(201 | 696 | ············datetime.date(2017,·2,·26) |
| 697 | ············datetime.date(2012,·4,·29) | ||
| 698 | ············datetime.date(1993,· | 698 | ············datetime.date(1993,·6,·27) |
| 699 | ············datetime.date(1984,· | 699 | ············datetime.date(1984,·6,·17) |
| 700 | ············datetime.date(199 | 700 | ············datetime.date(1998,·7,·21) |
| 701 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 701 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 702 | ········maximum_age:·int·=·115)·→·date¶ | 702 | ········maximum_age:·int·=·115)·→·date¶ |
| 703 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 703 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 704 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 704 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 705 | ··············Parameters: | 705 | ··············Parameters: |
| 706 | ······················*·tzinfo·–·Defaults·to·None. | 706 | ······················*·tzinfo·–·Defaults·to·None. |
| 707 | ······················*·minimum_age·–·Defaults·to·0. | 707 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 711, 19 lines modified | Offset 711, 19 lines modified | ||
| 711 | ··············Returns: | 711 | ··············Returns: |
| 712 | ··················Date | 712 | ··················Date |
| 713 | ··············Examples: | 713 | ··············Examples: |
| 714 | ············>>>·Faker.seed(0) | 714 | ············>>>·Faker.seed(0) |
| 715 | ············>>>·for·_·in·range(5): | 715 | ············>>>·for·_·in·range(5): |
| 716 | ············...·····fake.date_of_birth() | 716 | ············...·····fake.date_of_birth() |
| 717 | ············... | 717 | ············... |
| 718 | ············datetime.date(200 | 718 | ············datetime.date(2007,·10,·18) |
| 719 | ············datetime.date(1997,·10,·6) | ||
| 720 | ············datetime.date(1958,·8,·18) | ||
| 719 | ············datetime.date(19 | 721 | ············datetime.date(1939,·11,·17) |
| 720 | ············datetime.date(19 | 722 | ············datetime.date(1969,·2,·24) |
| 721 | ············datetime.date(1940,·12,·18) | ||
| 722 | ············datetime.date(1970,·3,·28) | ||
| 723 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 723 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 724 | ········→·date¶ | 724 | ········→·date¶ |
| 725 | ············Gets·a·Date·object·for·the·current·century. | 725 | ············Gets·a·Date·object·for·the·current·century. |
| 726 | ··············Parameters: | 726 | ··············Parameters: |
| 727 | ······················*·before_today·–·include·days·in·current·century·before | 727 | ······················*·before_today·–·include·days·in·current·century·before |
| 728 | ························today | 728 | ························today |
| 729 | ······················*·after_today·–·include·days·in·current·century·after | 729 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 733, 19 lines modified | Offset 733, 19 lines modified | ||
| 733 | ··············Returns: | 733 | ··············Returns: |
| 734 | ··················Date | 734 | ··················Date |
| 735 | ··············Examples: | 735 | ··············Examples: |
| 736 | ············>>>·Faker.seed(0) | 736 | ············>>>·Faker.seed(0) |
| 737 | ············>>>·for·_·in·range(5): | 737 | ············>>>·for·_·in·range(5): |
| 738 | ············...·····fake.date_this_century() | 738 | ············...·····fake.date_this_century() |
| 739 | ············... | 739 | ············... |
| Max diff block lines reached; 24806/30720 bytes (80.75%) of diff not shown. | |||
| Offset 757, 19 lines modified | Offset 757, 19 lines modified | ||
| 757 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 757 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 758 | <dd·class="field-odd"><p></p></dd> | 758 | <dd·class="field-odd"><p></p></dd> |
| 759 | </dl> | 759 | </dl> |
| 760 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 760 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 761 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 761 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 762 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 762 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 763 | <span·class="gp">...</span> | 763 | <span·class="gp">...</span> |
| 764 | <span·class="go">'PM'</span> | ||
| 765 | <span·class="go">'PM'</span> | ||
| 766 | <span·class="go">'AM'</span> | 764 | <span·class="go">'AM'</span> |
| 767 | <span·class="go">'PM'</span> | 765 | <span·class="go">'PM'</span> |
| 768 | <span·class="go">'AM'</span> | 766 | <span·class="go">'AM'</span> |
| 767 | <span·class="go">'AM'</span> | ||
| 768 | <span·class="go">'AM'</span> | ||
| 769 | </pre></div> | 769 | </pre></div> |
| 770 | </div> | 770 | </div> |
| 771 | </dd></dl> | 771 | </dd></dl> |
| 772 | <dl·class="py·method"> | 772 | <dl·class="py·method"> |
| 773 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.no_NO.Provider.century"> | 773 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.no_NO.Provider.century"> |
| 774 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.no_NO.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 774 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.no_NO.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 810, 19 lines modified | Offset 810, 19 lines modified | ||
| 810 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 810 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 811 | <dd·class="field-even"><p></p></dd> | 811 | <dd·class="field-even"><p></p></dd> |
| 812 | </dl> | 812 | </dl> |
| 813 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 813 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 814 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 814 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 815 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 815 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 816 | <span·class="gp">...</span> | 816 | <span·class="gp">...</span> |
| 817 | <span·class="go">'2018-01-27'</span> | ||
| 818 | <span·class="go">'201 | 817 | <span·class="go">'2017-02-26'</span> |
| 818 | <span·class="go">'2012-04-29'</span> | ||
| 819 | <span·class="go">'1993- | 819 | <span·class="go">'1993-06-27'</span> |
| 820 | <span·class="go">'1984-0 | 820 | <span·class="go">'1984-06-17'</span> |
| 821 | <span·class="go">'199 | 821 | <span·class="go">'1998-07-21'</span> |
| 822 | </pre></div> | 822 | </pre></div> |
| 823 | </div> | 823 | </div> |
| 824 | </dd></dl> | 824 | </dd></dl> |
| 825 | <dl·class="py·method"> | 825 | <dl·class="py·method"> |
| 826 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.no_NO.Provider.date_between"> | 826 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.no_NO.Provider.date_between"> |
| 827 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.no_NO.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 827 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.no_NO.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 844, 19 lines modified | Offset 844, 19 lines modified | ||
| 844 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 844 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 845 | <dd·class="field-even"><p></p></dd> | 845 | <dd·class="field-even"><p></p></dd> |
| 846 | </dl> | 846 | </dl> |
| 847 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 847 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 848 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 848 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 849 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 849 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 850 | <span·class="gp">...</span> | 850 | <span·class="gp">...</span> |
| 851 | <span·class="go">datetime.date(202 | 851 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 852 | <span·class="go">datetime.date(201 | 852 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 853 | <span·class="go">datetime.date(200 | 853 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 854 | <span·class="go">datetime.date(200 | 854 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 855 | <span·class="go">datetime.date(201 | 855 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 856 | </pre></div> | 856 | </pre></div> |
| 857 | </div> | 857 | </div> |
| 858 | </dd></dl> | 858 | </dd></dl> |
| 859 | <dl·class="py·method"> | 859 | <dl·class="py·method"> |
| 860 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.no_NO.Provider.date_between_dates"> | 860 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.no_NO.Provider.date_between_dates"> |
| 861 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.no_NO.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 861 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.no_NO.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 875, 19 lines modified | Offset 875, 19 lines modified | ||
| 875 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 875 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 876 | <dd·class="field-odd"><p></p></dd> | 876 | <dd·class="field-odd"><p></p></dd> |
| 877 | </dl> | 877 | </dl> |
| 878 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 878 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 879 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 879 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 880 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 880 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 881 | <span·class="gp">...</span> | 881 | <span·class="gp">...</span> |
| 882 | <span·class="go">datetime.date(202 | 882 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 883 | <span·class="go">datetime.date(202 | 883 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 884 | <span·class="go">datetime.date(202 | 884 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 885 | <span·class="go">datetime.date(202 | 885 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 886 | <span·class="go">datetime.date(202 | 886 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 887 | </pre></div> | 887 | </pre></div> |
| 888 | </div> | 888 | </div> |
| 889 | </dd></dl> | 889 | </dd></dl> |
| 890 | <dl·class="py·method"> | 890 | <dl·class="py·method"> |
| 891 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.no_NO.Provider.date_object"> | 891 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.no_NO.Provider.date_object"> |
| 892 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.no_NO.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 892 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.no_NO.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 899, 19 lines modified | Offset 899, 19 lines modified | ||
| 899 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 899 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 900 | <dd·class="field-even"><p></p></dd> | 900 | <dd·class="field-even"><p></p></dd> |
| 901 | </dl> | 901 | </dl> |
| 902 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 902 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 903 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 903 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 904 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 904 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 905 | <span·class="gp">...</span> | 905 | <span·class="gp">...</span> |
| 906 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 907 | <span·class="go">datetime.date(201 | 906 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 907 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 908 | <span·class="go">datetime.date(1993,· | 908 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 909 | <span·class="go">datetime.date(1984,· | 909 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 910 | <span·class="go">datetime.date(199 | 910 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 911 | </pre></div> | 911 | </pre></div> |
| 912 | </div> | 912 | </div> |
| 913 | </dd></dl> | 913 | </dd></dl> |
| 914 | <dl·class="py·method"> | 914 | <dl·class="py·method"> |
| 915 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.no_NO.Provider.date_of_birth"> | 915 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.no_NO.Provider.date_of_birth"> |
| 916 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.no_NO.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 916 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.no_NO.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 935, 19 lines modified | Offset 935, 19 lines modified | ||
| 935 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 935 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 936 | <dd·class="field-even"><p></p></dd> | 936 | <dd·class="field-even"><p></p></dd> |
| 937 | </dl> | 937 | </dl> |
| 938 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 938 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 939 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 939 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 940 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 940 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 941 | <span·class="gp">...</span> | 941 | <span·class="gp">...</span> |
| 942 | <span·class="go">datetime.date(200 | 942 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 943 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 944 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 943 | <span·class="go">datetime.date(19 | 945 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 944 | <span·class="go">datetime.date(19 | 946 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 945 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 946 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 947 | </pre></div> | 947 | </pre></div> |
| 948 | </div> | 948 | </div> |
| 949 | </dd></dl> | 949 | </dd></dl> |
| 950 | <dl·class="py·method"> | 950 | <dl·class="py·method"> |
| 951 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.no_NO.Provider.date_this_century"> | 951 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.no_NO.Provider.date_this_century"> |
| 952 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.no_NO.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 952 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.no_NO.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 968, 19 lines modified | Offset 968, 19 lines modified | ||
| 968 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 968 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 100026/122251 bytes (81.82%) of diff not shown. | |||
| Offset 434, 19 lines modified | Offset 434, 19 lines modified | ||
| 434 | ······Bases:·Provider | 434 | ······Bases:·Provider |
| 435 | ········am_pm()·→·str¶ | 435 | ········am_pm()·→·str¶ |
| 436 | ··············Examples: | 436 | ··············Examples: |
| 437 | ············>>>·Faker.seed(0) | 437 | ············>>>·Faker.seed(0) |
| 438 | ············>>>·for·_·in·range(5): | 438 | ············>>>·for·_·in·range(5): |
| 439 | ············...·····fake.am_pm() | 439 | ············...·····fake.am_pm() |
| 440 | ············... | 440 | ············... |
| 441 | ············'PM' | ||
| 442 | ············'PM' | ||
| 443 | ············'AM' | 441 | ············'AM' |
| 444 | ············'PM' | 442 | ············'PM' |
| 445 | ············'AM' | 443 | ············'AM' |
| 444 | ············'AM' | ||
| 445 | ············'AM' | ||
| 446 | ········century()·→·str¶ | 446 | ········century()·→·str¶ |
| 447 | ··············Example: | 447 | ··············Example: |
| 448 | ··················‘XVII’ | 448 | ··················‘XVII’ |
| 449 | ··············Examples: | 449 | ··············Examples: |
| 450 | ············>>>·Faker.seed(0) | 450 | ············>>>·Faker.seed(0) |
| 451 | ············>>>·for·_·in·range(5): | 451 | ············>>>·for·_·in·range(5): |
| 452 | ············...·····fake.century() | 452 | ············...·····fake.century() |
| Offset 466, 19 lines modified | Offset 466, 19 lines modified | ||
| 466 | ··············Returns: | 466 | ··············Returns: |
| 467 | ··················Date | 467 | ··················Date |
| 468 | ··············Examples: | 468 | ··············Examples: |
| 469 | ············>>>·Faker.seed(0) | 469 | ············>>>·Faker.seed(0) |
| 470 | ············>>>·for·_·in·range(5): | 470 | ············>>>·for·_·in·range(5): |
| 471 | ············...·····fake.date() | 471 | ············...·····fake.date() |
| 472 | ············... | 472 | ············... |
| 473 | ············'2018-01-27' | ||
| 474 | ············'201 | 473 | ············'2017-02-26' |
| 474 | ············'2012-04-29' | ||
| 475 | ············'1993- | 475 | ············'1993-06-27' |
| 476 | ············'1984-0 | 476 | ············'1984-06-17' |
| 477 | ············'199 | 477 | ············'1998-07-21' |
| 478 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 478 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 479 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 479 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 480 | ········date¶ | 480 | ········date¶ |
| 481 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 481 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 482 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 482 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 483 | ··············Parameters: | 483 | ··············Parameters: |
| 484 | ······················*·start_date·–·Defaults·to·30·years·ago | 484 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 488, 19 lines modified | Offset 488, 19 lines modified | ||
| 488 | ··············Returns: | 488 | ··············Returns: |
| 489 | ··················Date | 489 | ··················Date |
| 490 | ··············Examples: | 490 | ··············Examples: |
| 491 | ············>>>·Faker.seed(0) | 491 | ············>>>·Faker.seed(0) |
| 492 | ············>>>·for·_·in·range(5): | 492 | ············>>>·for·_·in·range(5): |
| 493 | ············...·····fake.date_between() | 493 | ············...·····fake.date_between() |
| 494 | ············... | 494 | ············... |
| 495 | ············datetime.date(202 | 495 | ············datetime.date(2021,·3,·5) |
| 496 | ············datetime.date(201 | 496 | ············datetime.date(2018,·7,·31) |
| 497 | ············datetime.date(200 | 497 | ············datetime.date(2008,·6,·16) |
| 498 | ············datetime.date(200 | 498 | ············datetime.date(2003,·8,·11) |
| 499 | ············datetime.date(201 | 499 | ············datetime.date(2011,·3,·7) |
| 500 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 500 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 501 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 501 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 502 | ········=·None)·→·date¶ | 502 | ········=·None)·→·date¶ |
| 503 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 503 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 504 | ············given·dates.·Accepts·Date·or·datetime·objects | 504 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 505 | ··············Parameters: | 505 | ··············Parameters: |
| 506 | ······················*·date_start·–·Date | 506 | ······················*·date_start·–·Date |
| Offset 508, 33 lines modified | Offset 508, 33 lines modified | ||
| 508 | ··············Returns: | 508 | ··············Returns: |
| 509 | ··················Date | 509 | ··················Date |
| 510 | ··············Examples: | 510 | ··············Examples: |
| 511 | ············>>>·Faker.seed(0) | 511 | ············>>>·Faker.seed(0) |
| 512 | ············>>>·for·_·in·range(5): | 512 | ············>>>·for·_·in·range(5): |
| 513 | ············...·····fake.date_between_dates() | 513 | ············...·····fake.date_between_dates() |
| 514 | ············... | 514 | ············... |
| 515 | ············datetime.date(202 | 515 | ············datetime.date(2025,·11,·4) |
| 516 | ············datetime.date(202 | 516 | ············datetime.date(2025,·11,·4) |
| 517 | ············datetime.date(202 | 517 | ············datetime.date(2025,·11,·4) |
| 518 | ············datetime.date(202 | 518 | ············datetime.date(2025,·11,·4) |
| 519 | ············datetime.date(202 | 519 | ············datetime.date(2025,·11,·4) |
| 520 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 520 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 521 | ············Get·a·date·object·between·January·1,·1970·and·now | 521 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 522 | ··············Example: | 522 | ··············Example: |
| 523 | ··················datetime.date(2016,·9,·20) | 523 | ··················datetime.date(2016,·9,·20) |
| 524 | ··············Examples: | 524 | ··············Examples: |
| 525 | ············>>>·Faker.seed(0) | 525 | ············>>>·Faker.seed(0) |
| 526 | ············>>>·for·_·in·range(5): | 526 | ············>>>·for·_·in·range(5): |
| 527 | ············...·····fake.date_object() | 527 | ············...·····fake.date_object() |
| 528 | ············... | 528 | ············... |
| 529 | ············datetime.date(2018,·1,·27) | ||
| 530 | ············datetime.date(201 | 529 | ············datetime.date(2017,·2,·26) |
| 530 | ············datetime.date(2012,·4,·29) | ||
| 531 | ············datetime.date(1993,· | 531 | ············datetime.date(1993,·6,·27) |
| 532 | ············datetime.date(1984,· | 532 | ············datetime.date(1984,·6,·17) |
| 533 | ············datetime.date(199 | 533 | ············datetime.date(1998,·7,·21) |
| 534 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 534 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 535 | ········maximum_age:·int·=·115)·→·date¶ | 535 | ········maximum_age:·int·=·115)·→·date¶ |
| 536 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 536 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 537 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 537 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 538 | ··············Parameters: | 538 | ··············Parameters: |
| 539 | ······················*·tzinfo·–·Defaults·to·None. | 539 | ······················*·tzinfo·–·Defaults·to·None. |
| 540 | ······················*·minimum_age·–·Defaults·to·0. | 540 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 544, 19 lines modified | Offset 544, 19 lines modified | ||
| 544 | ··············Returns: | 544 | ··············Returns: |
| 545 | ··················Date | 545 | ··················Date |
| 546 | ··············Examples: | 546 | ··············Examples: |
| 547 | ············>>>·Faker.seed(0) | 547 | ············>>>·Faker.seed(0) |
| 548 | ············>>>·for·_·in·range(5): | 548 | ············>>>·for·_·in·range(5): |
| 549 | ············...·····fake.date_of_birth() | 549 | ············...·····fake.date_of_birth() |
| 550 | ············... | 550 | ············... |
| 551 | ············datetime.date(200 | 551 | ············datetime.date(2007,·10,·18) |
| 552 | ············datetime.date(1997,·10,·6) | ||
| 553 | ············datetime.date(1958,·8,·18) | ||
| 552 | ············datetime.date(19 | 554 | ············datetime.date(1939,·11,·17) |
| 553 | ············datetime.date(19 | 555 | ············datetime.date(1969,·2,·24) |
| 554 | ············datetime.date(1940,·12,·18) | ||
| 555 | ············datetime.date(1970,·3,·28) | ||
| 556 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 556 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 557 | ········→·date¶ | 557 | ········→·date¶ |
| 558 | ············Gets·a·Date·object·for·the·current·century. | 558 | ············Gets·a·Date·object·for·the·current·century. |
| 559 | ··············Parameters: | 559 | ··············Parameters: |
| 560 | ······················*·before_today·–·include·days·in·current·century·before | 560 | ······················*·before_today·–·include·days·in·current·century·before |
| 561 | ························today | 561 | ························today |
| 562 | ······················*·after_today·–·include·days·in·current·century·after | 562 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 566, 19 lines modified | Offset 566, 19 lines modified | ||
| 566 | ··············Returns: | 566 | ··············Returns: |
| 567 | ··················Date | 567 | ··················Date |
| 568 | ··············Examples: | 568 | ··············Examples: |
| 569 | ············>>>·Faker.seed(0) | 569 | ············>>>·Faker.seed(0) |
| 570 | ············>>>·for·_·in·range(5): | 570 | ············>>>·for·_·in·range(5): |
| 571 | ············...·····fake.date_this_century() | 571 | ············...·····fake.date_this_century() |
| 572 | ············... | 572 | ············... |
| Max diff block lines reached; 25453/31367 bytes (81.15%) of diff not shown. | |||
| Offset 1180, 19 lines modified | Offset 1180, 19 lines modified | ||
| 1180 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1180 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1181 | <dd·class="field-odd"><p></p></dd> | 1181 | <dd·class="field-odd"><p></p></dd> |
| 1182 | </dl> | 1182 | </dl> |
| 1183 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1183 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1184 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1184 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1185 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1185 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 1186 | <span·class="gp">...</span> | 1186 | <span·class="gp">...</span> |
| 1187 | <span·class="go">'PM'</span> | ||
| 1188 | <span·class="go">'PM'</span> | ||
| 1189 | <span·class="go">'AM'</span> | 1187 | <span·class="go">'AM'</span> |
| 1190 | <span·class="go">'PM'</span> | 1188 | <span·class="go">'PM'</span> |
| 1191 | <span·class="go">'AM'</span> | 1189 | <span·class="go">'AM'</span> |
| 1190 | <span·class="go">'AM'</span> | ||
| 1191 | <span·class="go">'AM'</span> | ||
| 1192 | </pre></div> | 1192 | </pre></div> |
| 1193 | </div> | 1193 | </div> |
| 1194 | </dd></dl> | 1194 | </dd></dl> |
| 1195 | <dl·class="py·method"> | 1195 | <dl·class="py·method"> |
| 1196 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pl_PL.Provider.century"> | 1196 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pl_PL.Provider.century"> |
| 1197 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pl_PL.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 1197 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pl_PL.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1233, 19 lines modified | Offset 1233, 19 lines modified | ||
| 1233 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1233 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1234 | <dd·class="field-even"><p></p></dd> | 1234 | <dd·class="field-even"><p></p></dd> |
| 1235 | </dl> | 1235 | </dl> |
| 1236 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1236 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1237 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1237 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1238 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1238 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 1239 | <span·class="gp">...</span> | 1239 | <span·class="gp">...</span> |
| 1240 | <span·class="go">'2018-01-27'</span> | ||
| 1241 | <span·class="go">'201 | 1240 | <span·class="go">'2017-02-26'</span> |
| 1241 | <span·class="go">'2012-04-29'</span> | ||
| 1242 | <span·class="go">'1993- | 1242 | <span·class="go">'1993-06-27'</span> |
| 1243 | <span·class="go">'1984-0 | 1243 | <span·class="go">'1984-06-17'</span> |
| 1244 | <span·class="go">'199 | 1244 | <span·class="go">'1998-07-21'</span> |
| 1245 | </pre></div> | 1245 | </pre></div> |
| 1246 | </div> | 1246 | </div> |
| 1247 | </dd></dl> | 1247 | </dd></dl> |
| 1248 | <dl·class="py·method"> | 1248 | <dl·class="py·method"> |
| 1249 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pl_PL.Provider.date_between"> | 1249 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pl_PL.Provider.date_between"> |
| 1250 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pl_PL.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1250 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pl_PL.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1267, 19 lines modified | Offset 1267, 19 lines modified | ||
| 1267 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1267 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1268 | <dd·class="field-even"><p></p></dd> | 1268 | <dd·class="field-even"><p></p></dd> |
| 1269 | </dl> | 1269 | </dl> |
| 1270 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1270 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1271 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1271 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1272 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1272 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 1273 | <span·class="gp">...</span> | 1273 | <span·class="gp">...</span> |
| 1274 | <span·class="go">datetime.date(202 | 1274 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 1275 | <span·class="go">datetime.date(201 | 1275 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 1276 | <span·class="go">datetime.date(200 | 1276 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 1277 | <span·class="go">datetime.date(200 | 1277 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 1278 | <span·class="go">datetime.date(201 | 1278 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 1279 | </pre></div> | 1279 | </pre></div> |
| 1280 | </div> | 1280 | </div> |
| 1281 | </dd></dl> | 1281 | </dd></dl> |
| 1282 | <dl·class="py·method"> | 1282 | <dl·class="py·method"> |
| 1283 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pl_PL.Provider.date_between_dates"> | 1283 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pl_PL.Provider.date_between_dates"> |
| 1284 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pl_PL.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 1284 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pl_PL.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1298, 19 lines modified | Offset 1298, 19 lines modified | ||
| 1298 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1298 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1299 | <dd·class="field-odd"><p></p></dd> | 1299 | <dd·class="field-odd"><p></p></dd> |
| 1300 | </dl> | 1300 | </dl> |
| 1301 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1301 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1302 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1302 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1303 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 1303 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 1304 | <span·class="gp">...</span> | 1304 | <span·class="gp">...</span> |
| 1305 | <span·class="go">datetime.date(202 | 1305 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1306 | <span·class="go">datetime.date(202 | 1306 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1307 | <span·class="go">datetime.date(202 | 1307 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1308 | <span·class="go">datetime.date(202 | 1308 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1309 | <span·class="go">datetime.date(202 | 1309 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1310 | </pre></div> | 1310 | </pre></div> |
| 1311 | </div> | 1311 | </div> |
| 1312 | </dd></dl> | 1312 | </dd></dl> |
| 1313 | <dl·class="py·method"> | 1313 | <dl·class="py·method"> |
| 1314 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pl_PL.Provider.date_object"> | 1314 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pl_PL.Provider.date_object"> |
| 1315 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pl_PL.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 1315 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pl_PL.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1322, 19 lines modified | Offset 1322, 19 lines modified | ||
| 1322 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1322 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1323 | <dd·class="field-even"><p></p></dd> | 1323 | <dd·class="field-even"><p></p></dd> |
| 1324 | </dl> | 1324 | </dl> |
| 1325 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1325 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1326 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1326 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1327 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1327 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 1328 | <span·class="gp">...</span> | 1328 | <span·class="gp">...</span> |
| 1329 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 1330 | <span·class="go">datetime.date(201 | 1329 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 1330 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 1331 | <span·class="go">datetime.date(1993,· | 1331 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 1332 | <span·class="go">datetime.date(1984,· | 1332 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 1333 | <span·class="go">datetime.date(199 | 1333 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 1334 | </pre></div> | 1334 | </pre></div> |
| 1335 | </div> | 1335 | </div> |
| 1336 | </dd></dl> | 1336 | </dd></dl> |
| 1337 | <dl·class="py·method"> | 1337 | <dl·class="py·method"> |
| 1338 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pl_PL.Provider.date_of_birth"> | 1338 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pl_PL.Provider.date_of_birth"> |
| 1339 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pl_PL.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1339 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pl_PL.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1358, 19 lines modified | Offset 1358, 19 lines modified | ||
| 1358 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1358 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1359 | <dd·class="field-even"><p></p></dd> | 1359 | <dd·class="field-even"><p></p></dd> |
| 1360 | </dl> | 1360 | </dl> |
| 1361 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1361 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1362 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1362 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1363 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1363 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 1364 | <span·class="gp">...</span> | 1364 | <span·class="gp">...</span> |
| 1365 | <span·class="go">datetime.date(200 | 1365 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 1366 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 1367 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 1366 | <span·class="go">datetime.date(19 | 1368 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 1367 | <span·class="go">datetime.date(19 | 1369 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 1368 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 1369 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 1370 | </pre></div> | 1370 | </pre></div> |
| 1371 | </div> | 1371 | </div> |
| 1372 | </dd></dl> | 1372 | </dd></dl> |
| 1373 | <dl·class="py·method"> | 1373 | <dl·class="py·method"> |
| 1374 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pl_PL.Provider.date_this_century"> | 1374 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pl_PL.Provider.date_this_century"> |
| 1375 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pl_PL.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 1375 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pl_PL.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1391, 19 lines modified | Offset 1391, 19 lines modified | ||
| 1391 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1391 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 102446/124685 bytes (82.16%) of diff not shown. | |||
| Offset 712, 19 lines modified | Offset 712, 19 lines modified | ||
| 712 | ······Bases:·Provider | 712 | ······Bases:·Provider |
| 713 | ········am_pm()·→·str¶ | 713 | ········am_pm()·→·str¶ |
| 714 | ··············Examples: | 714 | ··············Examples: |
| 715 | ············>>>·Faker.seed(0) | 715 | ············>>>·Faker.seed(0) |
| 716 | ············>>>·for·_·in·range(5): | 716 | ············>>>·for·_·in·range(5): |
| 717 | ············...·····fake.am_pm() | 717 | ············...·····fake.am_pm() |
| 718 | ············... | 718 | ············... |
| 719 | ············'PM' | ||
| 720 | ············'PM' | ||
| 721 | ············'AM' | 719 | ············'AM' |
| 722 | ············'PM' | 720 | ············'PM' |
| 723 | ············'AM' | 721 | ············'AM' |
| 722 | ············'AM' | ||
| 723 | ············'AM' | ||
| 724 | ········century()·→·str¶ | 724 | ········century()·→·str¶ |
| 725 | ··············Example: | 725 | ··············Example: |
| 726 | ··················‘XVII’ | 726 | ··················‘XVII’ |
| 727 | ··············Examples: | 727 | ··············Examples: |
| 728 | ············>>>·Faker.seed(0) | 728 | ············>>>·Faker.seed(0) |
| 729 | ············>>>·for·_·in·range(5): | 729 | ············>>>·for·_·in·range(5): |
| 730 | ············...·····fake.century() | 730 | ············...·····fake.century() |
| Offset 744, 19 lines modified | Offset 744, 19 lines modified | ||
| 744 | ··············Returns: | 744 | ··············Returns: |
| 745 | ··················Date | 745 | ··················Date |
| 746 | ··············Examples: | 746 | ··············Examples: |
| 747 | ············>>>·Faker.seed(0) | 747 | ············>>>·Faker.seed(0) |
| 748 | ············>>>·for·_·in·range(5): | 748 | ············>>>·for·_·in·range(5): |
| 749 | ············...·····fake.date() | 749 | ············...·····fake.date() |
| 750 | ············... | 750 | ············... |
| 751 | ············'2018-01-27' | ||
| 752 | ············'201 | 751 | ············'2017-02-26' |
| 752 | ············'2012-04-29' | ||
| 753 | ············'1993- | 753 | ············'1993-06-27' |
| 754 | ············'1984-0 | 754 | ············'1984-06-17' |
| 755 | ············'199 | 755 | ············'1998-07-21' |
| 756 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 756 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 757 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 757 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 758 | ········date¶ | 758 | ········date¶ |
| 759 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 759 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 760 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 760 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 761 | ··············Parameters: | 761 | ··············Parameters: |
| 762 | ······················*·start_date·–·Defaults·to·30·years·ago | 762 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 766, 19 lines modified | Offset 766, 19 lines modified | ||
| 766 | ··············Returns: | 766 | ··············Returns: |
| 767 | ··················Date | 767 | ··················Date |
| 768 | ··············Examples: | 768 | ··············Examples: |
| 769 | ············>>>·Faker.seed(0) | 769 | ············>>>·Faker.seed(0) |
| 770 | ············>>>·for·_·in·range(5): | 770 | ············>>>·for·_·in·range(5): |
| 771 | ············...·····fake.date_between() | 771 | ············...·····fake.date_between() |
| 772 | ············... | 772 | ············... |
| 773 | ············datetime.date(202 | 773 | ············datetime.date(2021,·3,·5) |
| 774 | ············datetime.date(201 | 774 | ············datetime.date(2018,·7,·31) |
| 775 | ············datetime.date(200 | 775 | ············datetime.date(2008,·6,·16) |
| 776 | ············datetime.date(200 | 776 | ············datetime.date(2003,·8,·11) |
| 777 | ············datetime.date(201 | 777 | ············datetime.date(2011,·3,·7) |
| 778 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 778 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 779 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 779 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 780 | ········=·None)·→·date¶ | 780 | ········=·None)·→·date¶ |
| 781 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 781 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 782 | ············given·dates.·Accepts·Date·or·datetime·objects | 782 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 783 | ··············Parameters: | 783 | ··············Parameters: |
| 784 | ······················*·date_start·–·Date | 784 | ······················*·date_start·–·Date |
| Offset 786, 33 lines modified | Offset 786, 33 lines modified | ||
| 786 | ··············Returns: | 786 | ··············Returns: |
| 787 | ··················Date | 787 | ··················Date |
| 788 | ··············Examples: | 788 | ··············Examples: |
| 789 | ············>>>·Faker.seed(0) | 789 | ············>>>·Faker.seed(0) |
| 790 | ············>>>·for·_·in·range(5): | 790 | ············>>>·for·_·in·range(5): |
| 791 | ············...·····fake.date_between_dates() | 791 | ············...·····fake.date_between_dates() |
| 792 | ············... | 792 | ············... |
| 793 | ············datetime.date(202 | 793 | ············datetime.date(2025,·11,·4) |
| 794 | ············datetime.date(202 | 794 | ············datetime.date(2025,·11,·4) |
| 795 | ············datetime.date(202 | 795 | ············datetime.date(2025,·11,·4) |
| 796 | ············datetime.date(202 | 796 | ············datetime.date(2025,·11,·4) |
| 797 | ············datetime.date(202 | 797 | ············datetime.date(2025,·11,·4) |
| 798 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 798 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 799 | ············Get·a·date·object·between·January·1,·1970·and·now | 799 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 800 | ··············Example: | 800 | ··············Example: |
| 801 | ··················datetime.date(2016,·9,·20) | 801 | ··················datetime.date(2016,·9,·20) |
| 802 | ··············Examples: | 802 | ··············Examples: |
| 803 | ············>>>·Faker.seed(0) | 803 | ············>>>·Faker.seed(0) |
| 804 | ············>>>·for·_·in·range(5): | 804 | ············>>>·for·_·in·range(5): |
| 805 | ············...·····fake.date_object() | 805 | ············...·····fake.date_object() |
| 806 | ············... | 806 | ············... |
| 807 | ············datetime.date(2018,·1,·27) | ||
| 808 | ············datetime.date(201 | 807 | ············datetime.date(2017,·2,·26) |
| 808 | ············datetime.date(2012,·4,·29) | ||
| 809 | ············datetime.date(1993,· | 809 | ············datetime.date(1993,·6,·27) |
| 810 | ············datetime.date(1984,· | 810 | ············datetime.date(1984,·6,·17) |
| 811 | ············datetime.date(199 | 811 | ············datetime.date(1998,·7,·21) |
| 812 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 812 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 813 | ········maximum_age:·int·=·115)·→·date¶ | 813 | ········maximum_age:·int·=·115)·→·date¶ |
| 814 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 814 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 815 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 815 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 816 | ··············Parameters: | 816 | ··············Parameters: |
| 817 | ······················*·tzinfo·–·Defaults·to·None. | 817 | ······················*·tzinfo·–·Defaults·to·None. |
| 818 | ······················*·minimum_age·–·Defaults·to·0. | 818 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 822, 19 lines modified | Offset 822, 19 lines modified | ||
| 822 | ··············Returns: | 822 | ··············Returns: |
| 823 | ··················Date | 823 | ··················Date |
| 824 | ··············Examples: | 824 | ··············Examples: |
| 825 | ············>>>·Faker.seed(0) | 825 | ············>>>·Faker.seed(0) |
| 826 | ············>>>·for·_·in·range(5): | 826 | ············>>>·for·_·in·range(5): |
| 827 | ············...·····fake.date_of_birth() | 827 | ············...·····fake.date_of_birth() |
| 828 | ············... | 828 | ············... |
| 829 | ············datetime.date(200 | 829 | ············datetime.date(2007,·10,·18) |
| 830 | ············datetime.date(1997,·10,·6) | ||
| 831 | ············datetime.date(1958,·8,·18) | ||
| 830 | ············datetime.date(19 | 832 | ············datetime.date(1939,·11,·17) |
| 831 | ············datetime.date(19 | 833 | ············datetime.date(1969,·2,·24) |
| 832 | ············datetime.date(1940,·12,·18) | ||
| 833 | ············datetime.date(1970,·3,·28) | ||
| 834 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 834 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 835 | ········→·date¶ | 835 | ········→·date¶ |
| 836 | ············Gets·a·Date·object·for·the·current·century. | 836 | ············Gets·a·Date·object·for·the·current·century. |
| 837 | ··············Parameters: | 837 | ··············Parameters: |
| 838 | ······················*·before_today·–·include·days·in·current·century·before | 838 | ······················*·before_today·–·include·days·in·current·century·before |
| 839 | ························today | 839 | ························today |
| 840 | ······················*·after_today·–·include·days·in·current·century·after | 840 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 844, 19 lines modified | Offset 844, 19 lines modified | ||
| 844 | ··············Returns: | 844 | ··············Returns: |
| 845 | ··················Date | 845 | ··················Date |
| 846 | ··············Examples: | 846 | ··············Examples: |
| 847 | ············>>>·Faker.seed(0) | 847 | ············>>>·Faker.seed(0) |
| 848 | ············>>>·for·_·in·range(5): | 848 | ············>>>·for·_·in·range(5): |
| 849 | ············...·····fake.date_this_century() | 849 | ············...·····fake.date_this_century() |
| 850 | ············... | 850 | ············... |
| Max diff block lines reached; 26388/32302 bytes (81.69%) of diff not shown. | |||
| Offset 1269, 19 lines modified | Offset 1269, 19 lines modified | ||
| 1269 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1269 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1270 | <dd·class="field-odd"><p></p></dd> | 1270 | <dd·class="field-odd"><p></p></dd> |
| 1271 | </dl> | 1271 | </dl> |
| 1272 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1272 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1273 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1273 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1274 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1274 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 1275 | <span·class="gp">...</span> | 1275 | <span·class="gp">...</span> |
| 1276 | <span·class="go">'PM'</span> | ||
| 1277 | <span·class="go">'PM'</span> | ||
| 1278 | <span·class="go">'AM'</span> | 1276 | <span·class="go">'AM'</span> |
| 1279 | <span·class="go">'PM'</span> | 1277 | <span·class="go">'PM'</span> |
| 1280 | <span·class="go">'AM'</span> | 1278 | <span·class="go">'AM'</span> |
| 1279 | <span·class="go">'AM'</span> | ||
| 1280 | <span·class="go">'AM'</span> | ||
| 1281 | </pre></div> | 1281 | </pre></div> |
| 1282 | </div> | 1282 | </div> |
| 1283 | </dd></dl> | 1283 | </dd></dl> |
| 1284 | <dl·class="py·method"> | 1284 | <dl·class="py·method"> |
| 1285 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pt_BR.Provider.century"> | 1285 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pt_BR.Provider.century"> |
| 1286 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pt_BR.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 1286 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pt_BR.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1322, 19 lines modified | Offset 1322, 19 lines modified | ||
| 1322 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1322 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1323 | <dd·class="field-even"><p></p></dd> | 1323 | <dd·class="field-even"><p></p></dd> |
| 1324 | </dl> | 1324 | </dl> |
| 1325 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1325 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1326 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1326 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1327 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1327 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 1328 | <span·class="gp">...</span> | 1328 | <span·class="gp">...</span> |
| 1329 | <span·class="go">'2018-01-27'</span> | ||
| 1330 | <span·class="go">'201 | 1329 | <span·class="go">'2017-02-26'</span> |
| 1330 | <span·class="go">'2012-04-29'</span> | ||
| 1331 | <span·class="go">'1993- | 1331 | <span·class="go">'1993-06-27'</span> |
| 1332 | <span·class="go">'1984-0 | 1332 | <span·class="go">'1984-06-17'</span> |
| 1333 | <span·class="go">'199 | 1333 | <span·class="go">'1998-07-21'</span> |
| 1334 | </pre></div> | 1334 | </pre></div> |
| 1335 | </div> | 1335 | </div> |
| 1336 | </dd></dl> | 1336 | </dd></dl> |
| 1337 | <dl·class="py·method"> | 1337 | <dl·class="py·method"> |
| 1338 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pt_BR.Provider.date_between"> | 1338 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pt_BR.Provider.date_between"> |
| 1339 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pt_BR.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1339 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pt_BR.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1356, 19 lines modified | Offset 1356, 19 lines modified | ||
| 1356 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1356 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1357 | <dd·class="field-even"><p></p></dd> | 1357 | <dd·class="field-even"><p></p></dd> |
| 1358 | </dl> | 1358 | </dl> |
| 1359 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1359 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1360 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1360 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1361 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1361 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 1362 | <span·class="gp">...</span> | 1362 | <span·class="gp">...</span> |
| 1363 | <span·class="go">datetime.date(202 | 1363 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 1364 | <span·class="go">datetime.date(201 | 1364 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 1365 | <span·class="go">datetime.date(200 | 1365 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 1366 | <span·class="go">datetime.date(200 | 1366 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 1367 | <span·class="go">datetime.date(201 | 1367 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 1368 | </pre></div> | 1368 | </pre></div> |
| 1369 | </div> | 1369 | </div> |
| 1370 | </dd></dl> | 1370 | </dd></dl> |
| 1371 | <dl·class="py·method"> | 1371 | <dl·class="py·method"> |
| 1372 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pt_BR.Provider.date_between_dates"> | 1372 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pt_BR.Provider.date_between_dates"> |
| 1373 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pt_BR.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 1373 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pt_BR.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1387, 19 lines modified | Offset 1387, 19 lines modified | ||
| 1387 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1387 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1388 | <dd·class="field-odd"><p></p></dd> | 1388 | <dd·class="field-odd"><p></p></dd> |
| 1389 | </dl> | 1389 | </dl> |
| 1390 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1390 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1391 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1391 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1392 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 1392 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 1393 | <span·class="gp">...</span> | 1393 | <span·class="gp">...</span> |
| 1394 | <span·class="go">datetime.date(202 | 1394 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1395 | <span·class="go">datetime.date(202 | 1395 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1396 | <span·class="go">datetime.date(202 | 1396 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1397 | <span·class="go">datetime.date(202 | 1397 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1398 | <span·class="go">datetime.date(202 | 1398 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1399 | </pre></div> | 1399 | </pre></div> |
| 1400 | </div> | 1400 | </div> |
| 1401 | </dd></dl> | 1401 | </dd></dl> |
| 1402 | <dl·class="py·method"> | 1402 | <dl·class="py·method"> |
| 1403 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pt_BR.Provider.date_object"> | 1403 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pt_BR.Provider.date_object"> |
| 1404 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pt_BR.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 1404 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pt_BR.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1411, 19 lines modified | Offset 1411, 19 lines modified | ||
| 1411 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1411 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1412 | <dd·class="field-even"><p></p></dd> | 1412 | <dd·class="field-even"><p></p></dd> |
| 1413 | </dl> | 1413 | </dl> |
| 1414 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1414 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1415 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1415 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1416 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1416 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 1417 | <span·class="gp">...</span> | 1417 | <span·class="gp">...</span> |
| 1418 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 1419 | <span·class="go">datetime.date(201 | 1418 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 1419 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 1420 | <span·class="go">datetime.date(1993,· | 1420 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 1421 | <span·class="go">datetime.date(1984,· | 1421 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 1422 | <span·class="go">datetime.date(199 | 1422 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 1423 | </pre></div> | 1423 | </pre></div> |
| 1424 | </div> | 1424 | </div> |
| 1425 | </dd></dl> | 1425 | </dd></dl> |
| 1426 | <dl·class="py·method"> | 1426 | <dl·class="py·method"> |
| 1427 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pt_BR.Provider.date_of_birth"> | 1427 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pt_BR.Provider.date_of_birth"> |
| 1428 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pt_BR.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1428 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pt_BR.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1447, 19 lines modified | Offset 1447, 19 lines modified | ||
| 1447 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1447 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1448 | <dd·class="field-even"><p></p></dd> | 1448 | <dd·class="field-even"><p></p></dd> |
| 1449 | </dl> | 1449 | </dl> |
| 1450 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1450 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1451 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1451 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1452 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1452 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 1453 | <span·class="gp">...</span> | 1453 | <span·class="gp">...</span> |
| 1454 | <span·class="go">datetime.date(200 | 1454 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 1455 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 1456 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 1455 | <span·class="go">datetime.date(19 | 1457 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 1456 | <span·class="go">datetime.date(19 | 1458 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 1457 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 1458 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 1459 | </pre></div> | 1459 | </pre></div> |
| 1460 | </div> | 1460 | </div> |
| 1461 | </dd></dl> | 1461 | </dd></dl> |
| 1462 | <dl·class="py·method"> | 1462 | <dl·class="py·method"> |
| 1463 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pt_BR.Provider.date_this_century"> | 1463 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pt_BR.Provider.date_this_century"> |
| 1464 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pt_BR.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 1464 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pt_BR.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1480, 19 lines modified | Offset 1480, 19 lines modified | ||
| 1480 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1480 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 98163/120402 bytes (81.53%) of diff not shown. | |||
| Offset 716, 19 lines modified | Offset 716, 19 lines modified | ||
| 716 | ······Bases:·Provider | 716 | ······Bases:·Provider |
| 717 | ········am_pm()·→·str¶ | 717 | ········am_pm()·→·str¶ |
| 718 | ··············Examples: | 718 | ··············Examples: |
| 719 | ············>>>·Faker.seed(0) | 719 | ············>>>·Faker.seed(0) |
| 720 | ············>>>·for·_·in·range(5): | 720 | ············>>>·for·_·in·range(5): |
| 721 | ············...·····fake.am_pm() | 721 | ············...·····fake.am_pm() |
| 722 | ············... | 722 | ············... |
| 723 | ············'PM' | ||
| 724 | ············'PM' | ||
| 725 | ············'AM' | 723 | ············'AM' |
| 726 | ············'PM' | 724 | ············'PM' |
| 727 | ············'AM' | 725 | ············'AM' |
| 726 | ············'AM' | ||
| 727 | ············'AM' | ||
| 728 | ········century()·→·str¶ | 728 | ········century()·→·str¶ |
| 729 | ··············Example: | 729 | ··············Example: |
| 730 | ··················‘XVII’ | 730 | ··················‘XVII’ |
| 731 | ··············Examples: | 731 | ··············Examples: |
| 732 | ············>>>·Faker.seed(0) | 732 | ············>>>·Faker.seed(0) |
| 733 | ············>>>·for·_·in·range(5): | 733 | ············>>>·for·_·in·range(5): |
| 734 | ············...·····fake.century() | 734 | ············...·····fake.century() |
| Offset 748, 19 lines modified | Offset 748, 19 lines modified | ||
| 748 | ··············Returns: | 748 | ··············Returns: |
| 749 | ··················Date | 749 | ··················Date |
| 750 | ··············Examples: | 750 | ··············Examples: |
| 751 | ············>>>·Faker.seed(0) | 751 | ············>>>·Faker.seed(0) |
| 752 | ············>>>·for·_·in·range(5): | 752 | ············>>>·for·_·in·range(5): |
| 753 | ············...·····fake.date() | 753 | ············...·····fake.date() |
| 754 | ············... | 754 | ············... |
| 755 | ············'2018-01-27' | ||
| 756 | ············'201 | 755 | ············'2017-02-26' |
| 756 | ············'2012-04-29' | ||
| 757 | ············'1993- | 757 | ············'1993-06-27' |
| 758 | ············'1984-0 | 758 | ············'1984-06-17' |
| 759 | ············'199 | 759 | ············'1998-07-21' |
| 760 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 760 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 761 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 761 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 762 | ········date¶ | 762 | ········date¶ |
| 763 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 763 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 764 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 764 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 765 | ··············Parameters: | 765 | ··············Parameters: |
| 766 | ······················*·start_date·–·Defaults·to·30·years·ago | 766 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 770, 19 lines modified | Offset 770, 19 lines modified | ||
| 770 | ··············Returns: | 770 | ··············Returns: |
| 771 | ··················Date | 771 | ··················Date |
| 772 | ··············Examples: | 772 | ··············Examples: |
| 773 | ············>>>·Faker.seed(0) | 773 | ············>>>·Faker.seed(0) |
| 774 | ············>>>·for·_·in·range(5): | 774 | ············>>>·for·_·in·range(5): |
| 775 | ············...·····fake.date_between() | 775 | ············...·····fake.date_between() |
| 776 | ············... | 776 | ············... |
| 777 | ············datetime.date(202 | 777 | ············datetime.date(2021,·3,·5) |
| 778 | ············datetime.date(201 | 778 | ············datetime.date(2018,·7,·31) |
| 779 | ············datetime.date(200 | 779 | ············datetime.date(2008,·6,·16) |
| 780 | ············datetime.date(200 | 780 | ············datetime.date(2003,·8,·11) |
| 781 | ············datetime.date(201 | 781 | ············datetime.date(2011,·3,·7) |
| 782 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 782 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 783 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 783 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 784 | ········=·None)·→·date¶ | 784 | ········=·None)·→·date¶ |
| 785 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 785 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 786 | ············given·dates.·Accepts·Date·or·datetime·objects | 786 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 787 | ··············Parameters: | 787 | ··············Parameters: |
| 788 | ······················*·date_start·–·Date | 788 | ······················*·date_start·–·Date |
| Offset 790, 33 lines modified | Offset 790, 33 lines modified | ||
| 790 | ··············Returns: | 790 | ··············Returns: |
| 791 | ··················Date | 791 | ··················Date |
| 792 | ··············Examples: | 792 | ··············Examples: |
| 793 | ············>>>·Faker.seed(0) | 793 | ············>>>·Faker.seed(0) |
| 794 | ············>>>·for·_·in·range(5): | 794 | ············>>>·for·_·in·range(5): |
| 795 | ············...·····fake.date_between_dates() | 795 | ············...·····fake.date_between_dates() |
| 796 | ············... | 796 | ············... |
| 797 | ············datetime.date(202 | 797 | ············datetime.date(2025,·11,·4) |
| 798 | ············datetime.date(202 | 798 | ············datetime.date(2025,·11,·4) |
| 799 | ············datetime.date(202 | 799 | ············datetime.date(2025,·11,·4) |
| 800 | ············datetime.date(202 | 800 | ············datetime.date(2025,·11,·4) |
| 801 | ············datetime.date(202 | 801 | ············datetime.date(2025,·11,·4) |
| 802 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 802 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 803 | ············Get·a·date·object·between·January·1,·1970·and·now | 803 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 804 | ··············Example: | 804 | ··············Example: |
| 805 | ··················datetime.date(2016,·9,·20) | 805 | ··················datetime.date(2016,·9,·20) |
| 806 | ··············Examples: | 806 | ··············Examples: |
| 807 | ············>>>·Faker.seed(0) | 807 | ············>>>·Faker.seed(0) |
| 808 | ············>>>·for·_·in·range(5): | 808 | ············>>>·for·_·in·range(5): |
| 809 | ············...·····fake.date_object() | 809 | ············...·····fake.date_object() |
| 810 | ············... | 810 | ············... |
| 811 | ············datetime.date(2018,·1,·27) | ||
| 812 | ············datetime.date(201 | 811 | ············datetime.date(2017,·2,·26) |
| 812 | ············datetime.date(2012,·4,·29) | ||
| 813 | ············datetime.date(1993,· | 813 | ············datetime.date(1993,·6,·27) |
| 814 | ············datetime.date(1984,· | 814 | ············datetime.date(1984,·6,·17) |
| 815 | ············datetime.date(199 | 815 | ············datetime.date(1998,·7,·21) |
| 816 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 816 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 817 | ········maximum_age:·int·=·115)·→·date¶ | 817 | ········maximum_age:·int·=·115)·→·date¶ |
| 818 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 818 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 819 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 819 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 820 | ··············Parameters: | 820 | ··············Parameters: |
| 821 | ······················*·tzinfo·–·Defaults·to·None. | 821 | ······················*·tzinfo·–·Defaults·to·None. |
| 822 | ······················*·minimum_age·–·Defaults·to·0. | 822 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 826, 19 lines modified | Offset 826, 19 lines modified | ||
| 826 | ··············Returns: | 826 | ··············Returns: |
| 827 | ··················Date | 827 | ··················Date |
| 828 | ··············Examples: | 828 | ··············Examples: |
| 829 | ············>>>·Faker.seed(0) | 829 | ············>>>·Faker.seed(0) |
| 830 | ············>>>·for·_·in·range(5): | 830 | ············>>>·for·_·in·range(5): |
| 831 | ············...·····fake.date_of_birth() | 831 | ············...·····fake.date_of_birth() |
| 832 | ············... | 832 | ············... |
| 833 | ············datetime.date(200 | 833 | ············datetime.date(2007,·10,·18) |
| 834 | ············datetime.date(1997,·10,·6) | ||
| 835 | ············datetime.date(1958,·8,·18) | ||
| 834 | ············datetime.date(19 | 836 | ············datetime.date(1939,·11,·17) |
| 835 | ············datetime.date(19 | 837 | ············datetime.date(1969,·2,·24) |
| 836 | ············datetime.date(1940,·12,·18) | ||
| 837 | ············datetime.date(1970,·3,·28) | ||
| 838 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 838 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 839 | ········→·date¶ | 839 | ········→·date¶ |
| 840 | ············Gets·a·Date·object·for·the·current·century. | 840 | ············Gets·a·Date·object·for·the·current·century. |
| 841 | ··············Parameters: | 841 | ··············Parameters: |
| 842 | ······················*·before_today·–·include·days·in·current·century·before | 842 | ······················*·before_today·–·include·days·in·current·century·before |
| 843 | ························today | 843 | ························today |
| 844 | ······················*·after_today·–·include·days·in·current·century·after | 844 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 848, 19 lines modified | Offset 848, 19 lines modified | ||
| 848 | ··············Returns: | 848 | ··············Returns: |
| 849 | ··················Date | 849 | ··················Date |
| 850 | ··············Examples: | 850 | ··············Examples: |
| 851 | ············>>>·Faker.seed(0) | 851 | ············>>>·Faker.seed(0) |
| 852 | ············>>>·for·_·in·range(5): | 852 | ············>>>·for·_·in·range(5): |
| 853 | ············...·····fake.date_this_century() | 853 | ············...·····fake.date_this_century() |
| 854 | ············... | 854 | ············... |
| Max diff block lines reached; 24742/30656 bytes (80.71%) of diff not shown. | |||
| Offset 929, 19 lines modified | Offset 929, 19 lines modified | ||
| 929 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 929 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 930 | <dd·class="field-odd"><p></p></dd> | 930 | <dd·class="field-odd"><p></p></dd> |
| 931 | </dl> | 931 | </dl> |
| 932 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 932 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 933 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 933 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 934 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">credit_card_expire</span><span·class="p">()</span> | 934 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">credit_card_expire</span><span·class="p">()</span> |
| 935 | <span·class="gp">...</span> | 935 | <span·class="gp">...</span> |
| 936 | <span·class="go">'05/35'</span> | ||
| 937 | <span·class="go">'0 | 936 | <span·class="go">'04/34'</span> |
| 938 | <span·class="go">'0 | 937 | <span·class="go">'06/33'</span> |
| 939 | <span·class="go">'07/29'</span> | ||
| 940 | <span·class="go">'01/3 | 938 | <span·class="go">'01/30'</span> |
| 939 | <span·class="go">'06/28'</span> | ||
| 940 | <span·class="go">'12/30'</span> | ||
| 941 | </pre></div> | 941 | </pre></div> |
| 942 | </div> | 942 | </div> |
| 943 | </dd></dl> | 943 | </dd></dl> |
| 944 | <dl·class="py·method"> | 944 | <dl·class="py·method"> |
| 945 | <dt·class="sig·sig-object·py"·id="faker.providers.credit_card.pt_PT.Provider.credit_card_full"> | 945 | <dt·class="sig·sig-object·py"·id="faker.providers.credit_card.pt_PT.Provider.credit_card_full"> |
| 946 | <span·class="sig-name·descname"><span·class="pre">credit_card_full</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">card_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CardType</span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.credit_card.pt_PT.Provider.credit_card_full"·title="Link·to·this·definition">¶</a></dt> | 946 | <span·class="sig-name·descname"><span·class="pre">credit_card_full</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">card_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CardType</span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.credit_card.pt_PT.Provider.credit_card_full"·title="Link·to·this·definition">¶</a></dt> |
| Offset 950, 19 lines modified | Offset 950, 19 lines modified | ||
| 950 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 950 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 951 | <dd·class="field-odd"><p></p></dd> | 951 | <dd·class="field-odd"><p></p></dd> |
| 952 | </dl> | 952 | </dl> |
| 953 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 953 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 954 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 954 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 955 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">credit_card_full</span><span·class="p">()</span> | 955 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">credit_card_full</span><span·class="p">()</span> |
| 956 | <span·class="gp">...</span> | 956 | <span·class="gp">...</span> |
| 957 | <span·class="go">'Mastercard\nValentina·Marques\n5125564876475934·1 | 957 | <span·class="go">'Mastercard\nValentina·Marques\n5125564876475934·11/30\nCVV2:·421\n'</span> |
| 958 | <span·class="go">'Visa\nMateus·Nogueira\n4907729241157817·0 | 958 | <span·class="go">'Visa\nMateus·Nogueira\n4907729241157817·05/29\nCVV2:·593\n'</span> |
| 959 | <span·class="go">'Visa\nConstança·Matos\n4511564080160970·0 | 959 | <span·class="go">'Visa\nConstança·Matos\n4511564080160970·02/34\nCVV2:·535\n'</span> |
| 960 | <span·class="go">'Visa\nDaniel·Correia\n4594323328711585·1 | 960 | <span·class="go">'Visa\nDaniel·Correia\n4594323328711585·10/35\nCVV2:·714\n'</span> |
| 961 | <span·class="go">'Visa\nNuno·Teixeira\n4118698583989472·1 | 961 | <span·class="go">'Visa\nNuno·Teixeira\n4118698583989472·10/26\nCVV2:·659\n'</span> |
| 962 | </pre></div> | 962 | </pre></div> |
| 963 | </div> | 963 | </div> |
| 964 | </dd></dl> | 964 | </dd></dl> |
| 965 | <dl·class="py·method"> | 965 | <dl·class="py·method"> |
| 966 | <dt·class="sig·sig-object·py"·id="faker.providers.credit_card.pt_PT.Provider.credit_card_number"> | 966 | <dt·class="sig·sig-object·py"·id="faker.providers.credit_card.pt_PT.Provider.credit_card_number"> |
| 967 | <span·class="sig-name·descname"><span·class="pre">credit_card_number</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">card_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CardType</span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.credit_card.pt_PT.Provider.credit_card_number"·title="Link·to·this·definition">¶</a></dt> | 967 | <span·class="sig-name·descname"><span·class="pre">credit_card_number</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">card_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CardType</span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.credit_card.pt_PT.Provider.credit_card_number"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1042, 19 lines modified | Offset 1042, 19 lines modified | ||
| 1042 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1042 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1043 | <dd·class="field-odd"><p></p></dd> | 1043 | <dd·class="field-odd"><p></p></dd> |
| 1044 | </dl> | 1044 | </dl> |
| 1045 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1045 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1046 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1046 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1047 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1047 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 1048 | <span·class="gp">...</span> | 1048 | <span·class="gp">...</span> |
| 1049 | <span·class="go">'PM'</span> | ||
| 1050 | <span·class="go">'PM'</span> | ||
| 1051 | <span·class="go">'AM'</span> | 1049 | <span·class="go">'AM'</span> |
| 1052 | <span·class="go">'PM'</span> | 1050 | <span·class="go">'PM'</span> |
| 1053 | <span·class="go">'AM'</span> | 1051 | <span·class="go">'AM'</span> |
| 1052 | <span·class="go">'AM'</span> | ||
| 1053 | <span·class="go">'AM'</span> | ||
| 1054 | </pre></div> | 1054 | </pre></div> |
| 1055 | </div> | 1055 | </div> |
| 1056 | </dd></dl> | 1056 | </dd></dl> |
| 1057 | <dl·class="py·method"> | 1057 | <dl·class="py·method"> |
| 1058 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pt_PT.Provider.century"> | 1058 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pt_PT.Provider.century"> |
| 1059 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pt_PT.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 1059 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pt_PT.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1095, 19 lines modified | Offset 1095, 19 lines modified | ||
| 1095 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1095 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1096 | <dd·class="field-even"><p></p></dd> | 1096 | <dd·class="field-even"><p></p></dd> |
| 1097 | </dl> | 1097 | </dl> |
| 1098 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1098 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1099 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1099 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1100 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1100 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 1101 | <span·class="gp">...</span> | 1101 | <span·class="gp">...</span> |
| 1102 | <span·class="go">'2018-01-27'</span> | ||
| 1103 | <span·class="go">'201 | 1102 | <span·class="go">'2017-02-26'</span> |
| 1103 | <span·class="go">'2012-04-29'</span> | ||
| 1104 | <span·class="go">'1993- | 1104 | <span·class="go">'1993-06-27'</span> |
| 1105 | <span·class="go">'1984-0 | 1105 | <span·class="go">'1984-06-17'</span> |
| 1106 | <span·class="go">'199 | 1106 | <span·class="go">'1998-07-21'</span> |
| 1107 | </pre></div> | 1107 | </pre></div> |
| 1108 | </div> | 1108 | </div> |
| 1109 | </dd></dl> | 1109 | </dd></dl> |
| 1110 | <dl·class="py·method"> | 1110 | <dl·class="py·method"> |
| 1111 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pt_PT.Provider.date_between"> | 1111 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pt_PT.Provider.date_between"> |
| 1112 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pt_PT.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1112 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pt_PT.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1129, 19 lines modified | Offset 1129, 19 lines modified | ||
| 1129 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1129 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1130 | <dd·class="field-even"><p></p></dd> | 1130 | <dd·class="field-even"><p></p></dd> |
| 1131 | </dl> | 1131 | </dl> |
| 1132 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1132 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1133 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1133 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1134 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1134 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 1135 | <span·class="gp">...</span> | 1135 | <span·class="gp">...</span> |
| 1136 | <span·class="go">datetime.date(202 | 1136 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 1137 | <span·class="go">datetime.date(201 | 1137 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 1138 | <span·class="go">datetime.date(200 | 1138 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 1139 | <span·class="go">datetime.date(200 | 1139 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 1140 | <span·class="go">datetime.date(201 | 1140 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 1141 | </pre></div> | 1141 | </pre></div> |
| 1142 | </div> | 1142 | </div> |
| 1143 | </dd></dl> | 1143 | </dd></dl> |
| 1144 | <dl·class="py·method"> | 1144 | <dl·class="py·method"> |
| 1145 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pt_PT.Provider.date_between_dates"> | 1145 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pt_PT.Provider.date_between_dates"> |
| 1146 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pt_PT.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 1146 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pt_PT.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1160, 19 lines modified | Offset 1160, 19 lines modified | ||
| 1160 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1160 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1161 | <dd·class="field-odd"><p></p></dd> | 1161 | <dd·class="field-odd"><p></p></dd> |
| 1162 | </dl> | 1162 | </dl> |
| 1163 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1163 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1164 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1164 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1165 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 1165 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 1166 | <span·class="gp">...</span> | 1166 | <span·class="gp">...</span> |
| 1167 | <span·class="go">datetime.date(202 | 1167 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1168 | <span·class="go">datetime.date(202 | 1168 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1169 | <span·class="go">datetime.date(202 | 1169 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1170 | <span·class="go">datetime.date(202 | 1170 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1171 | <span·class="go">datetime.date(202 | 1171 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1172 | </pre></div> | 1172 | </pre></div> |
| 1173 | </div> | 1173 | </div> |
| 1174 | </dd></dl> | 1174 | </dd></dl> |
| 1175 | <dl·class="py·method"> | 1175 | <dl·class="py·method"> |
| 1176 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pt_PT.Provider.date_object"> | 1176 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pt_PT.Provider.date_object"> |
| 1177 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pt_PT.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 1177 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pt_PT.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1184, 19 lines modified | Offset 1184, 19 lines modified | ||
| 1184 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1184 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1185 | <dd·class="field-even"><p></p></dd> | 1185 | <dd·class="field-even"><p></p></dd> |
| Max diff block lines reached; 104996/126057 bytes (83.29%) of diff not shown. | |||
| Offset 539, 32 lines modified | Offset 539, 32 lines modified | ||
| 539 | ············expiry·date,·strftime()·is·used·and·date_format·is·simply·passed·to | 539 | ············expiry·date,·strftime()·is·used·and·date_format·is·simply·passed·to |
| 540 | ············that·method. | 540 | ············that·method. |
| 541 | ··············Examples: | 541 | ··············Examples: |
| 542 | ············>>>·Faker.seed(0) | 542 | ············>>>·Faker.seed(0) |
| 543 | ············>>>·for·_·in·range(5): | 543 | ············>>>·for·_·in·range(5): |
| 544 | ············...·····fake.credit_card_expire() | 544 | ············...·····fake.credit_card_expire() |
| 545 | ············... | 545 | ············... |
| 546 | ············'05/35' | ||
| 547 | ············'0 | 546 | ············'04/34' |
| 548 | ············'0 | 547 | ············'06/33' |
| 549 | ············'07/29' | ||
| 550 | ············'01/3 | 548 | ············'01/30' |
| 549 | ············'06/28' | ||
| 550 | ············'12/30' | ||
| 551 | ········credit_card_full(card_type:·CardType·|·None·=·None)·→·str¶ | 551 | ········credit_card_full(card_type:·CardType·|·None·=·None)·→·str¶ |
| 552 | ············Generate·a·set·of·credit·card·details. | 552 | ············Generate·a·set·of·credit·card·details. |
| 553 | ··············Examples: | 553 | ··············Examples: |
| 554 | ············>>>·Faker.seed(0) | 554 | ············>>>·Faker.seed(0) |
| 555 | ············>>>·for·_·in·range(5): | 555 | ············>>>·for·_·in·range(5): |
| 556 | ············...·····fake.credit_card_full() | 556 | ············...·····fake.credit_card_full() |
| 557 | ············... | 557 | ············... |
| 558 | ············'Mastercard\nValentina·Marques\n5125564876475934·1 | 558 | ············'Mastercard\nValentina·Marques\n5125564876475934·11/30\nCVV2: |
| 559 | ············421\n' | 559 | ············421\n' |
| 560 | ············'Visa\nMateus·Nogueira\n4907729241157817·0 | 560 | ············'Visa\nMateus·Nogueira\n4907729241157817·05/29\nCVV2:·593\n' |
| 561 | ············'Visa\nConstança·Matos\n4511564080160970·0 | 561 | ············'Visa\nConstança·Matos\n4511564080160970·02/34\nCVV2:·535\n' |
| 562 | ············'Visa\nDaniel·Correia\n4594323328711585·1 | 562 | ············'Visa\nDaniel·Correia\n4594323328711585·10/35\nCVV2:·714\n' |
| 563 | ············'Visa\nNuno·Teixeira\n4118698583989472·1 | 563 | ············'Visa\nNuno·Teixeira\n4118698583989472·10/26\nCVV2:·659\n' |
| 564 | ········credit_card_number(card_type:·CardType·|·None·=·None)·→·str¶ | 564 | ········credit_card_number(card_type:·CardType·|·None·=·None)·→·str¶ |
| 565 | ············Generate·a·valid·credit·card·number. | 565 | ············Generate·a·valid·credit·card·number. |
| 566 | ··············Examples: | 566 | ··············Examples: |
| 567 | ············>>>·Faker.seed(0) | 567 | ············>>>·Faker.seed(0) |
| 568 | ············>>>·for·_·in·range(5): | 568 | ············>>>·for·_·in·range(5): |
| 569 | ············...·····fake.credit_card_number() | 569 | ············...·····fake.credit_card_number() |
| 570 | ············... | 570 | ············... |
| Offset 602, 19 lines modified | Offset 602, 19 lines modified | ||
| 602 | ······Bases:·Provider | 602 | ······Bases:·Provider |
| 603 | ········am_pm()·→·str¶ | 603 | ········am_pm()·→·str¶ |
| 604 | ··············Examples: | 604 | ··············Examples: |
| 605 | ············>>>·Faker.seed(0) | 605 | ············>>>·Faker.seed(0) |
| 606 | ············>>>·for·_·in·range(5): | 606 | ············>>>·for·_·in·range(5): |
| 607 | ············...·····fake.am_pm() | 607 | ············...·····fake.am_pm() |
| 608 | ············... | 608 | ············... |
| 609 | ············'PM' | ||
| 610 | ············'PM' | ||
| 611 | ············'AM' | 609 | ············'AM' |
| 612 | ············'PM' | 610 | ············'PM' |
| 613 | ············'AM' | 611 | ············'AM' |
| 612 | ············'AM' | ||
| 613 | ············'AM' | ||
| 614 | ········century()·→·str¶ | 614 | ········century()·→·str¶ |
| 615 | ··············Example: | 615 | ··············Example: |
| 616 | ··················‘XVII’ | 616 | ··················‘XVII’ |
| 617 | ··············Examples: | 617 | ··············Examples: |
| 618 | ············>>>·Faker.seed(0) | 618 | ············>>>·Faker.seed(0) |
| 619 | ············>>>·for·_·in·range(5): | 619 | ············>>>·for·_·in·range(5): |
| 620 | ············...·····fake.century() | 620 | ············...·····fake.century() |
| Offset 634, 19 lines modified | Offset 634, 19 lines modified | ||
| 634 | ··············Returns: | 634 | ··············Returns: |
| 635 | ··················Date | 635 | ··················Date |
| 636 | ··············Examples: | 636 | ··············Examples: |
| 637 | ············>>>·Faker.seed(0) | 637 | ············>>>·Faker.seed(0) |
| 638 | ············>>>·for·_·in·range(5): | 638 | ············>>>·for·_·in·range(5): |
| 639 | ············...·····fake.date() | 639 | ············...·····fake.date() |
| 640 | ············... | 640 | ············... |
| 641 | ············'2018-01-27' | ||
| 642 | ············'201 | 641 | ············'2017-02-26' |
| 642 | ············'2012-04-29' | ||
| 643 | ············'1993- | 643 | ············'1993-06-27' |
| 644 | ············'1984-0 | 644 | ············'1984-06-17' |
| 645 | ············'199 | 645 | ············'1998-07-21' |
| 646 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 646 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 647 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 647 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 648 | ········date¶ | 648 | ········date¶ |
| 649 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 649 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 650 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 650 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 651 | ··············Parameters: | 651 | ··············Parameters: |
| 652 | ······················*·start_date·–·Defaults·to·30·years·ago | 652 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 656, 19 lines modified | Offset 656, 19 lines modified | ||
| 656 | ··············Returns: | 656 | ··············Returns: |
| 657 | ··················Date | 657 | ··················Date |
| 658 | ··············Examples: | 658 | ··············Examples: |
| 659 | ············>>>·Faker.seed(0) | 659 | ············>>>·Faker.seed(0) |
| 660 | ············>>>·for·_·in·range(5): | 660 | ············>>>·for·_·in·range(5): |
| 661 | ············...·····fake.date_between() | 661 | ············...·····fake.date_between() |
| 662 | ············... | 662 | ············... |
| 663 | ············datetime.date(202 | 663 | ············datetime.date(2021,·3,·5) |
| 664 | ············datetime.date(201 | 664 | ············datetime.date(2018,·7,·31) |
| 665 | ············datetime.date(200 | 665 | ············datetime.date(2008,·6,·16) |
| 666 | ············datetime.date(200 | 666 | ············datetime.date(2003,·8,·11) |
| 667 | ············datetime.date(201 | 667 | ············datetime.date(2011,·3,·7) |
| 668 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 668 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 669 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 669 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 670 | ········=·None)·→·date¶ | 670 | ········=·None)·→·date¶ |
| 671 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 671 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 672 | ············given·dates.·Accepts·Date·or·datetime·objects | 672 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 673 | ··············Parameters: | 673 | ··············Parameters: |
| 674 | ······················*·date_start·–·Date | 674 | ······················*·date_start·–·Date |
| Offset 676, 33 lines modified | Offset 676, 33 lines modified | ||
| 676 | ··············Returns: | 676 | ··············Returns: |
| 677 | ··················Date | 677 | ··················Date |
| 678 | ··············Examples: | 678 | ··············Examples: |
| 679 | ············>>>·Faker.seed(0) | 679 | ············>>>·Faker.seed(0) |
| 680 | ············>>>·for·_·in·range(5): | 680 | ············>>>·for·_·in·range(5): |
| 681 | ············...·····fake.date_between_dates() | 681 | ············...·····fake.date_between_dates() |
| 682 | ············... | 682 | ············... |
| 683 | ············datetime.date(202 | 683 | ············datetime.date(2025,·11,·4) |
| 684 | ············datetime.date(202 | 684 | ············datetime.date(2025,·11,·4) |
| 685 | ············datetime.date(202 | 685 | ············datetime.date(2025,·11,·4) |
| 686 | ············datetime.date(202 | 686 | ············datetime.date(2025,·11,·4) |
| 687 | ············datetime.date(202 | 687 | ············datetime.date(2025,·11,·4) |
| 688 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 688 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 689 | ············Get·a·date·object·between·January·1,·1970·and·now | 689 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 690 | ··············Example: | 690 | ··············Example: |
| 691 | ··················datetime.date(2016,·9,·20) | 691 | ··················datetime.date(2016,·9,·20) |
| 692 | ··············Examples: | 692 | ··············Examples: |
| 693 | ············>>>·Faker.seed(0) | 693 | ············>>>·Faker.seed(0) |
| 694 | ············>>>·for·_·in·range(5): | 694 | ············>>>·for·_·in·range(5): |
| 695 | ············...·····fake.date_object() | 695 | ············...·····fake.date_object() |
| 696 | ············... | 696 | ············... |
| 697 | ············datetime.date(2018,·1,·27) | ||
| 698 | ············datetime.date(201 | 697 | ············datetime.date(2017,·2,·26) |
| 698 | ············datetime.date(2012,·4,·29) | ||
| 699 | ············datetime.date(1993,· | 699 | ············datetime.date(1993,·6,·27) |
| 700 | ············datetime.date(1984,· | 700 | ············datetime.date(1984,·6,·17) |
| 701 | ············datetime.date(199 | 701 | ············datetime.date(1998,·7,·21) |
| 702 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 702 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 703 | ········maximum_age:·int·=·115)·→·date¶ | 703 | ········maximum_age:·int·=·115)·→·date¶ |
| Max diff block lines reached; 26695/32498 bytes (82.14%) of diff not shown. | |||
| Offset 1080, 19 lines modified | Offset 1080, 19 lines modified | ||
| 1080 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1080 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1081 | <dd·class="field-odd"><p></p></dd> | 1081 | <dd·class="field-odd"><p></p></dd> |
| 1082 | </dl> | 1082 | </dl> |
| 1083 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1083 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1084 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1084 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1085 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1085 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 1086 | <span·class="gp">...</span> | 1086 | <span·class="gp">...</span> |
| 1087 | <span·class="go">'PM'</span> | ||
| 1088 | <span·class="go">'PM'</span> | ||
| 1089 | <span·class="go">'AM'</span> | 1087 | <span·class="go">'AM'</span> |
| 1090 | <span·class="go">'PM'</span> | 1088 | <span·class="go">'PM'</span> |
| 1091 | <span·class="go">'AM'</span> | 1089 | <span·class="go">'AM'</span> |
| 1090 | <span·class="go">'AM'</span> | ||
| 1091 | <span·class="go">'AM'</span> | ||
| 1092 | </pre></div> | 1092 | </pre></div> |
| 1093 | </div> | 1093 | </div> |
| 1094 | </dd></dl> | 1094 | </dd></dl> |
| 1095 | <dl·class="py·method"> | 1095 | <dl·class="py·method"> |
| 1096 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ro_RO.Provider.century"> | 1096 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ro_RO.Provider.century"> |
| 1097 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ro_RO.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 1097 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ro_RO.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1133, 19 lines modified | Offset 1133, 19 lines modified | ||
| 1133 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1133 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1134 | <dd·class="field-even"><p></p></dd> | 1134 | <dd·class="field-even"><p></p></dd> |
| 1135 | </dl> | 1135 | </dl> |
| 1136 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1136 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1137 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1137 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1138 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1138 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 1139 | <span·class="gp">...</span> | 1139 | <span·class="gp">...</span> |
| 1140 | <span·class="go">'2018-01-27'</span> | ||
| 1141 | <span·class="go">'201 | 1140 | <span·class="go">'2017-02-26'</span> |
| 1141 | <span·class="go">'2012-04-29'</span> | ||
| 1142 | <span·class="go">'1993- | 1142 | <span·class="go">'1993-06-27'</span> |
| 1143 | <span·class="go">'1984-0 | 1143 | <span·class="go">'1984-06-17'</span> |
| 1144 | <span·class="go">'199 | 1144 | <span·class="go">'1998-07-21'</span> |
| 1145 | </pre></div> | 1145 | </pre></div> |
| 1146 | </div> | 1146 | </div> |
| 1147 | </dd></dl> | 1147 | </dd></dl> |
| 1148 | <dl·class="py·method"> | 1148 | <dl·class="py·method"> |
| 1149 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ro_RO.Provider.date_between"> | 1149 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ro_RO.Provider.date_between"> |
| 1150 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ro_RO.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1150 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ro_RO.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1167, 19 lines modified | Offset 1167, 19 lines modified | ||
| 1167 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1167 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1168 | <dd·class="field-even"><p></p></dd> | 1168 | <dd·class="field-even"><p></p></dd> |
| 1169 | </dl> | 1169 | </dl> |
| 1170 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1170 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1171 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1171 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1172 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1172 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 1173 | <span·class="gp">...</span> | 1173 | <span·class="gp">...</span> |
| 1174 | <span·class="go">datetime.date(202 | 1174 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 1175 | <span·class="go">datetime.date(201 | 1175 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 1176 | <span·class="go">datetime.date(200 | 1176 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 1177 | <span·class="go">datetime.date(200 | 1177 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 1178 | <span·class="go">datetime.date(201 | 1178 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 1179 | </pre></div> | 1179 | </pre></div> |
| 1180 | </div> | 1180 | </div> |
| 1181 | </dd></dl> | 1181 | </dd></dl> |
| 1182 | <dl·class="py·method"> | 1182 | <dl·class="py·method"> |
| 1183 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ro_RO.Provider.date_between_dates"> | 1183 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ro_RO.Provider.date_between_dates"> |
| 1184 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ro_RO.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 1184 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ro_RO.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1198, 19 lines modified | Offset 1198, 19 lines modified | ||
| 1198 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1198 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1199 | <dd·class="field-odd"><p></p></dd> | 1199 | <dd·class="field-odd"><p></p></dd> |
| 1200 | </dl> | 1200 | </dl> |
| 1201 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1201 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1202 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1202 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1203 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 1203 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 1204 | <span·class="gp">...</span> | 1204 | <span·class="gp">...</span> |
| 1205 | <span·class="go">datetime.date(202 | 1205 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1206 | <span·class="go">datetime.date(202 | 1206 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1207 | <span·class="go">datetime.date(202 | 1207 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1208 | <span·class="go">datetime.date(202 | 1208 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1209 | <span·class="go">datetime.date(202 | 1209 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1210 | </pre></div> | 1210 | </pre></div> |
| 1211 | </div> | 1211 | </div> |
| 1212 | </dd></dl> | 1212 | </dd></dl> |
| 1213 | <dl·class="py·method"> | 1213 | <dl·class="py·method"> |
| 1214 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ro_RO.Provider.date_object"> | 1214 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ro_RO.Provider.date_object"> |
| 1215 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ro_RO.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 1215 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ro_RO.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1222, 19 lines modified | Offset 1222, 19 lines modified | ||
| 1222 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1222 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1223 | <dd·class="field-even"><p></p></dd> | 1223 | <dd·class="field-even"><p></p></dd> |
| 1224 | </dl> | 1224 | </dl> |
| 1225 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1225 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1226 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1226 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1227 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1227 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 1228 | <span·class="gp">...</span> | 1228 | <span·class="gp">...</span> |
| 1229 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 1230 | <span·class="go">datetime.date(201 | 1229 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 1230 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 1231 | <span·class="go">datetime.date(1993,· | 1231 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 1232 | <span·class="go">datetime.date(1984,· | 1232 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 1233 | <span·class="go">datetime.date(199 | 1233 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 1234 | </pre></div> | 1234 | </pre></div> |
| 1235 | </div> | 1235 | </div> |
| 1236 | </dd></dl> | 1236 | </dd></dl> |
| 1237 | <dl·class="py·method"> | 1237 | <dl·class="py·method"> |
| 1238 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ro_RO.Provider.date_of_birth"> | 1238 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ro_RO.Provider.date_of_birth"> |
| 1239 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ro_RO.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1239 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ro_RO.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1258, 19 lines modified | Offset 1258, 19 lines modified | ||
| 1258 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1258 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1259 | <dd·class="field-even"><p></p></dd> | 1259 | <dd·class="field-even"><p></p></dd> |
| 1260 | </dl> | 1260 | </dl> |
| 1261 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1261 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1262 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1262 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1263 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1263 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 1264 | <span·class="gp">...</span> | 1264 | <span·class="gp">...</span> |
| 1265 | <span·class="go">datetime.date(200 | 1265 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 1266 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 1267 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 1266 | <span·class="go">datetime.date(19 | 1268 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 1267 | <span·class="go">datetime.date(19 | 1269 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 1268 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 1269 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 1270 | </pre></div> | 1270 | </pre></div> |
| 1271 | </div> | 1271 | </div> |
| 1272 | </dd></dl> | 1272 | </dd></dl> |
| 1273 | <dl·class="py·method"> | 1273 | <dl·class="py·method"> |
| 1274 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ro_RO.Provider.date_this_century"> | 1274 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ro_RO.Provider.date_this_century"> |
| 1275 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ro_RO.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 1275 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ro_RO.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1291, 19 lines modified | Offset 1291, 19 lines modified | ||
| 1291 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1291 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 98151/120390 bytes (81.53%) of diff not shown. | |||
| Offset 612, 19 lines modified | Offset 612, 19 lines modified | ||
| 612 | ······Bases:·Provider | 612 | ······Bases:·Provider |
| 613 | ········am_pm()·→·str¶ | 613 | ········am_pm()·→·str¶ |
| 614 | ··············Examples: | 614 | ··············Examples: |
| 615 | ············>>>·Faker.seed(0) | 615 | ············>>>·Faker.seed(0) |
| 616 | ············>>>·for·_·in·range(5): | 616 | ············>>>·for·_·in·range(5): |
| 617 | ············...·····fake.am_pm() | 617 | ············...·····fake.am_pm() |
| 618 | ············... | 618 | ············... |
| 619 | ············'PM' | ||
| 620 | ············'PM' | ||
| 621 | ············'AM' | 619 | ············'AM' |
| 622 | ············'PM' | 620 | ············'PM' |
| 623 | ············'AM' | 621 | ············'AM' |
| 622 | ············'AM' | ||
| 623 | ············'AM' | ||
| 624 | ········century()·→·str¶ | 624 | ········century()·→·str¶ |
| 625 | ··············Example: | 625 | ··············Example: |
| 626 | ··················‘XVII’ | 626 | ··················‘XVII’ |
| 627 | ··············Examples: | 627 | ··············Examples: |
| 628 | ············>>>·Faker.seed(0) | 628 | ············>>>·Faker.seed(0) |
| 629 | ············>>>·for·_·in·range(5): | 629 | ············>>>·for·_·in·range(5): |
| 630 | ············...·····fake.century() | 630 | ············...·····fake.century() |
| Offset 644, 19 lines modified | Offset 644, 19 lines modified | ||
| 644 | ··············Returns: | 644 | ··············Returns: |
| 645 | ··················Date | 645 | ··················Date |
| 646 | ··············Examples: | 646 | ··············Examples: |
| 647 | ············>>>·Faker.seed(0) | 647 | ············>>>·Faker.seed(0) |
| 648 | ············>>>·for·_·in·range(5): | 648 | ············>>>·for·_·in·range(5): |
| 649 | ············...·····fake.date() | 649 | ············...·····fake.date() |
| 650 | ············... | 650 | ············... |
| 651 | ············'2018-01-27' | ||
| 652 | ············'201 | 651 | ············'2017-02-26' |
| 652 | ············'2012-04-29' | ||
| 653 | ············'1993- | 653 | ············'1993-06-27' |
| 654 | ············'1984-0 | 654 | ············'1984-06-17' |
| 655 | ············'199 | 655 | ············'1998-07-21' |
| 656 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 656 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 657 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 657 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 658 | ········date¶ | 658 | ········date¶ |
| 659 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 659 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 660 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 660 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 661 | ··············Parameters: | 661 | ··············Parameters: |
| 662 | ······················*·start_date·–·Defaults·to·30·years·ago | 662 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 666, 19 lines modified | Offset 666, 19 lines modified | ||
| 666 | ··············Returns: | 666 | ··············Returns: |
| 667 | ··················Date | 667 | ··················Date |
| 668 | ··············Examples: | 668 | ··············Examples: |
| 669 | ············>>>·Faker.seed(0) | 669 | ············>>>·Faker.seed(0) |
| 670 | ············>>>·for·_·in·range(5): | 670 | ············>>>·for·_·in·range(5): |
| 671 | ············...·····fake.date_between() | 671 | ············...·····fake.date_between() |
| 672 | ············... | 672 | ············... |
| 673 | ············datetime.date(202 | 673 | ············datetime.date(2021,·3,·5) |
| 674 | ············datetime.date(201 | 674 | ············datetime.date(2018,·7,·31) |
| 675 | ············datetime.date(200 | 675 | ············datetime.date(2008,·6,·16) |
| 676 | ············datetime.date(200 | 676 | ············datetime.date(2003,·8,·11) |
| 677 | ············datetime.date(201 | 677 | ············datetime.date(2011,·3,·7) |
| 678 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 678 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 679 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 679 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 680 | ········=·None)·→·date¶ | 680 | ········=·None)·→·date¶ |
| 681 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 681 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 682 | ············given·dates.·Accepts·Date·or·datetime·objects | 682 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 683 | ··············Parameters: | 683 | ··············Parameters: |
| 684 | ······················*·date_start·–·Date | 684 | ······················*·date_start·–·Date |
| Offset 686, 33 lines modified | Offset 686, 33 lines modified | ||
| 686 | ··············Returns: | 686 | ··············Returns: |
| 687 | ··················Date | 687 | ··················Date |
| 688 | ··············Examples: | 688 | ··············Examples: |
| 689 | ············>>>·Faker.seed(0) | 689 | ············>>>·Faker.seed(0) |
| 690 | ············>>>·for·_·in·range(5): | 690 | ············>>>·for·_·in·range(5): |
| 691 | ············...·····fake.date_between_dates() | 691 | ············...·····fake.date_between_dates() |
| 692 | ············... | 692 | ············... |
| 693 | ············datetime.date(202 | 693 | ············datetime.date(2025,·11,·4) |
| 694 | ············datetime.date(202 | 694 | ············datetime.date(2025,·11,·4) |
| 695 | ············datetime.date(202 | 695 | ············datetime.date(2025,·11,·4) |
| 696 | ············datetime.date(202 | 696 | ············datetime.date(2025,·11,·4) |
| 697 | ············datetime.date(202 | 697 | ············datetime.date(2025,·11,·4) |
| 698 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 698 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 699 | ············Get·a·date·object·between·January·1,·1970·and·now | 699 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 700 | ··············Example: | 700 | ··············Example: |
| 701 | ··················datetime.date(2016,·9,·20) | 701 | ··················datetime.date(2016,·9,·20) |
| 702 | ··············Examples: | 702 | ··············Examples: |
| 703 | ············>>>·Faker.seed(0) | 703 | ············>>>·Faker.seed(0) |
| 704 | ············>>>·for·_·in·range(5): | 704 | ············>>>·for·_·in·range(5): |
| 705 | ············...·····fake.date_object() | 705 | ············...·····fake.date_object() |
| 706 | ············... | 706 | ············... |
| 707 | ············datetime.date(2018,·1,·27) | ||
| 708 | ············datetime.date(201 | 707 | ············datetime.date(2017,·2,·26) |
| 708 | ············datetime.date(2012,·4,·29) | ||
| 709 | ············datetime.date(1993,· | 709 | ············datetime.date(1993,·6,·27) |
| 710 | ············datetime.date(1984,· | 710 | ············datetime.date(1984,·6,·17) |
| 711 | ············datetime.date(199 | 711 | ············datetime.date(1998,·7,·21) |
| 712 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 712 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 713 | ········maximum_age:·int·=·115)·→·date¶ | 713 | ········maximum_age:·int·=·115)·→·date¶ |
| 714 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 714 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 715 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 715 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 716 | ··············Parameters: | 716 | ··············Parameters: |
| 717 | ······················*·tzinfo·–·Defaults·to·None. | 717 | ······················*·tzinfo·–·Defaults·to·None. |
| 718 | ······················*·minimum_age·–·Defaults·to·0. | 718 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 722, 19 lines modified | Offset 722, 19 lines modified | ||
| 722 | ··············Returns: | 722 | ··············Returns: |
| 723 | ··················Date | 723 | ··················Date |
| 724 | ··············Examples: | 724 | ··············Examples: |
| 725 | ············>>>·Faker.seed(0) | 725 | ············>>>·Faker.seed(0) |
| 726 | ············>>>·for·_·in·range(5): | 726 | ············>>>·for·_·in·range(5): |
| 727 | ············...·····fake.date_of_birth() | 727 | ············...·····fake.date_of_birth() |
| 728 | ············... | 728 | ············... |
| 729 | ············datetime.date(200 | 729 | ············datetime.date(2007,·10,·18) |
| 730 | ············datetime.date(1997,·10,·6) | ||
| 731 | ············datetime.date(1958,·8,·18) | ||
| 730 | ············datetime.date(19 | 732 | ············datetime.date(1939,·11,·17) |
| 731 | ············datetime.date(19 | 733 | ············datetime.date(1969,·2,·24) |
| 732 | ············datetime.date(1940,·12,·18) | ||
| 733 | ············datetime.date(1970,·3,·28) | ||
| 734 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 734 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 735 | ········→·date¶ | 735 | ········→·date¶ |
| 736 | ············Gets·a·Date·object·for·the·current·century. | 736 | ············Gets·a·Date·object·for·the·current·century. |
| 737 | ··············Parameters: | 737 | ··············Parameters: |
| 738 | ······················*·before_today·–·include·days·in·current·century·before | 738 | ······················*·before_today·–·include·days·in·current·century·before |
| 739 | ························today | 739 | ························today |
| 740 | ······················*·after_today·–·include·days·in·current·century·after | 740 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 744, 19 lines modified | Offset 744, 19 lines modified | ||
| 744 | ··············Returns: | 744 | ··············Returns: |
| 745 | ··················Date | 745 | ··················Date |
| 746 | ··············Examples: | 746 | ··············Examples: |
| 747 | ············>>>·Faker.seed(0) | 747 | ············>>>·Faker.seed(0) |
| 748 | ············>>>·for·_·in·range(5): | 748 | ············>>>·for·_·in·range(5): |
| 749 | ············...·····fake.date_this_century() | 749 | ············...·····fake.date_this_century() |
| 750 | ············... | 750 | ············... |
| Max diff block lines reached; 24722/30636 bytes (80.70%) of diff not shown. | |||
| Offset 1569, 19 lines modified | Offset 1569, 19 lines modified | ||
| 1569 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1569 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1570 | <dd·class="field-odd"><p></p></dd> | 1570 | <dd·class="field-odd"><p></p></dd> |
| 1571 | </dl> | 1571 | </dl> |
| 1572 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1572 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1573 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1573 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1574 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">credit_card_expire</span><span·class="p">()</span> | 1574 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">credit_card_expire</span><span·class="p">()</span> |
| 1575 | <span·class="gp">...</span> | 1575 | <span·class="gp">...</span> |
| 1576 | <span·class="go">'05/35'</span> | ||
| 1577 | <span·class="go">'0 | 1576 | <span·class="go">'04/34'</span> |
| 1578 | <span·class="go">'0 | 1577 | <span·class="go">'06/33'</span> |
| 1579 | <span·class="go">'07/29'</span> | ||
| 1580 | <span·class="go">'01/3 | 1578 | <span·class="go">'01/30'</span> |
| 1579 | <span·class="go">'06/28'</span> | ||
| 1580 | <span·class="go">'12/30'</span> | ||
| 1581 | </pre></div> | 1581 | </pre></div> |
| 1582 | </div> | 1582 | </div> |
| 1583 | </dd></dl> | 1583 | </dd></dl> |
| 1584 | <dl·class="py·method"> | 1584 | <dl·class="py·method"> |
| 1585 | <dt·class="sig·sig-object·py"·id="faker.providers.credit_card.ru_RU.Provider.credit_card_full"> | 1585 | <dt·class="sig·sig-object·py"·id="faker.providers.credit_card.ru_RU.Provider.credit_card_full"> |
| 1586 | <span·class="sig-name·descname"><span·class="pre">credit_card_full</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">card_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CardType</span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.credit_card.ru_RU.Provider.credit_card_full"·title="Link·to·this·definition">¶</a></dt> | 1586 | <span·class="sig-name·descname"><span·class="pre">credit_card_full</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">card_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CardType</span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.credit_card.ru_RU.Provider.credit_card_full"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1590, 19 lines modified | Offset 1590, 19 lines modified | ||
| 1590 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1590 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1591 | <dd·class="field-odd"><p></p></dd> | 1591 | <dd·class="field-odd"><p></p></dd> |
| 1592 | </dl> | 1592 | </dl> |
| 1593 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1593 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1594 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1594 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1595 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">credit_card_full</span><span·class="p">()</span> | 1595 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">credit_card_full</span><span·class="p">()</span> |
| 1596 | <span·class="gp">...</span> | 1596 | <span·class="gp">...</span> |
| 1597 | <span·class="go">'Maestro\nAlina·Osipova\n6376475938242192·1 | 1597 | <span·class="go">'Maestro\nAlina·Osipova\n6376475938242192·11/33\nCVV2:·892\nКС·Банк'</span> |
| 1598 | <span·class="go">'Visa\nMaksimilyan·Voronov\n4565938778408013·0 | 1598 | <span·class="go">'Visa\nMaksimilyan·Voronov\n4565938778408013·01/33\nCVV2:·609\nПриобье'</span> |
| 1599 | <span·class="go">'МИР\nLyubosmysl·Kryukov\n2200393328711588·1 | 1599 | <span·class="go">'МИР\nLyubosmysl·Kryukov\n2200393328711588·10/35\nCVC:·714\nРосэксимбанк'</span> |
| 1600 | <span·class="go">'МИР\nTrofim·Mironov\n2204398947196596·0 | 1600 | <span·class="go">'МИР\nTrofim·Mironov\n2204398947196596·04/28\nCVC:·232\nАкцепт'</span> |
| 1601 | <span·class="go">'American·Express\nOlimpiada·Vinogradova\n342201868483398·0 | 1601 | <span·class="go">'American·Express\nOlimpiada·Vinogradova\n342201868483398·02/34\nCID:·6947\nПриобье'</span> |
| 1602 | </pre></div> | 1602 | </pre></div> |
| 1603 | </div> | 1603 | </div> |
| 1604 | </dd></dl> | 1604 | </dd></dl> |
| 1605 | <dl·class="py·method"> | 1605 | <dl·class="py·method"> |
| 1606 | <dt·class="sig·sig-object·py"·id="faker.providers.credit_card.ru_RU.Provider.credit_card_number"> | 1606 | <dt·class="sig·sig-object·py"·id="faker.providers.credit_card.ru_RU.Provider.credit_card_number"> |
| 1607 | <span·class="sig-name·descname"><span·class="pre">credit_card_number</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">card_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CardType</span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.credit_card.ru_RU.Provider.credit_card_number"·title="Link·to·this·definition">¶</a></dt> | 1607 | <span·class="sig-name·descname"><span·class="pre">credit_card_number</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">card_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CardType</span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.credit_card.ru_RU.Provider.credit_card_number"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1854, 19 lines modified | Offset 1854, 19 lines modified | ||
| 1854 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1854 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1855 | <dd·class="field-odd"><p></p></dd> | 1855 | <dd·class="field-odd"><p></p></dd> |
| 1856 | </dl> | 1856 | </dl> |
| 1857 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1857 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1858 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1858 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1859 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1859 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 1860 | <span·class="gp">...</span> | 1860 | <span·class="gp">...</span> |
| 1861 | <span·class="go">'PM'</span> | ||
| 1862 | <span·class="go">'PM'</span> | ||
| 1863 | <span·class="go">'AM'</span> | 1861 | <span·class="go">'AM'</span> |
| 1864 | <span·class="go">'PM'</span> | 1862 | <span·class="go">'PM'</span> |
| 1865 | <span·class="go">'AM'</span> | 1863 | <span·class="go">'AM'</span> |
| 1864 | <span·class="go">'AM'</span> | ||
| 1865 | <span·class="go">'AM'</span> | ||
| 1866 | </pre></div> | 1866 | </pre></div> |
| 1867 | </div> | 1867 | </div> |
| 1868 | </dd></dl> | 1868 | </dd></dl> |
| 1869 | <dl·class="py·method"> | 1869 | <dl·class="py·method"> |
| 1870 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ru_RU.Provider.century"> | 1870 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ru_RU.Provider.century"> |
| 1871 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ru_RU.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 1871 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ru_RU.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1907, 19 lines modified | Offset 1907, 19 lines modified | ||
| 1907 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1907 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1908 | <dd·class="field-even"><p></p></dd> | 1908 | <dd·class="field-even"><p></p></dd> |
| 1909 | </dl> | 1909 | </dl> |
| 1910 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1910 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1911 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1911 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1912 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1912 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 1913 | <span·class="gp">...</span> | 1913 | <span·class="gp">...</span> |
| 1914 | <span·class="go">'2018-01-27'</span> | ||
| 1915 | <span·class="go">'201 | 1914 | <span·class="go">'2017-02-26'</span> |
| 1915 | <span·class="go">'2012-04-29'</span> | ||
| 1916 | <span·class="go">'1993- | 1916 | <span·class="go">'1993-06-27'</span> |
| 1917 | <span·class="go">'1984-0 | 1917 | <span·class="go">'1984-06-17'</span> |
| 1918 | <span·class="go">'199 | 1918 | <span·class="go">'1998-07-21'</span> |
| 1919 | </pre></div> | 1919 | </pre></div> |
| 1920 | </div> | 1920 | </div> |
| 1921 | </dd></dl> | 1921 | </dd></dl> |
| 1922 | <dl·class="py·method"> | 1922 | <dl·class="py·method"> |
| 1923 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ru_RU.Provider.date_between"> | 1923 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ru_RU.Provider.date_between"> |
| 1924 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ru_RU.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1924 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ru_RU.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1941, 19 lines modified | Offset 1941, 19 lines modified | ||
| 1941 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1941 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1942 | <dd·class="field-even"><p></p></dd> | 1942 | <dd·class="field-even"><p></p></dd> |
| 1943 | </dl> | 1943 | </dl> |
| 1944 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1944 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1945 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1945 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1946 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1946 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 1947 | <span·class="gp">...</span> | 1947 | <span·class="gp">...</span> |
| 1948 | <span·class="go">datetime.date(202 | 1948 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 1949 | <span·class="go">datetime.date(201 | 1949 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 1950 | <span·class="go">datetime.date(200 | 1950 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 1951 | <span·class="go">datetime.date(200 | 1951 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 1952 | <span·class="go">datetime.date(201 | 1952 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 1953 | </pre></div> | 1953 | </pre></div> |
| 1954 | </div> | 1954 | </div> |
| 1955 | </dd></dl> | 1955 | </dd></dl> |
| 1956 | <dl·class="py·method"> | 1956 | <dl·class="py·method"> |
| 1957 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ru_RU.Provider.date_between_dates"> | 1957 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ru_RU.Provider.date_between_dates"> |
| 1958 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ru_RU.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 1958 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ru_RU.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1972, 19 lines modified | Offset 1972, 19 lines modified | ||
| 1972 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1972 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1973 | <dd·class="field-odd"><p></p></dd> | 1973 | <dd·class="field-odd"><p></p></dd> |
| 1974 | </dl> | 1974 | </dl> |
| 1975 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1975 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1976 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1976 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1977 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 1977 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 1978 | <span·class="gp">...</span> | 1978 | <span·class="gp">...</span> |
| 1979 | <span·class="go">datetime.date(202 | 1979 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1980 | <span·class="go">datetime.date(202 | 1980 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1981 | <span·class="go">datetime.date(202 | 1981 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1982 | <span·class="go">datetime.date(202 | 1982 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1983 | <span·class="go">datetime.date(202 | 1983 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1984 | </pre></div> | 1984 | </pre></div> |
| 1985 | </div> | 1985 | </div> |
| 1986 | </dd></dl> | 1986 | </dd></dl> |
| 1987 | <dl·class="py·method"> | 1987 | <dl·class="py·method"> |
| 1988 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ru_RU.Provider.date_object"> | 1988 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ru_RU.Provider.date_object"> |
| 1989 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ru_RU.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 1989 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ru_RU.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1996, 19 lines modified | Offset 1996, 19 lines modified | ||
| 1996 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1996 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1997 | <dd·class="field-even"><p></p></dd> | 1997 | <dd·class="field-even"><p></p></dd> |
| Max diff block lines reached; 118718/139891 bytes (84.86%) of diff not shown. | |||
| Offset 935, 35 lines modified | Offset 935, 35 lines modified | ||
| 935 | ············expiry·date,·strftime()·is·used·and·date_format·is·simply·passed·to | 935 | ············expiry·date,·strftime()·is·used·and·date_format·is·simply·passed·to |
| 936 | ············that·method. | 936 | ············that·method. |
| 937 | ··············Examples: | 937 | ··············Examples: |
| 938 | ············>>>·Faker.seed(0) | 938 | ············>>>·Faker.seed(0) |
| 939 | ············>>>·for·_·in·range(5): | 939 | ············>>>·for·_·in·range(5): |
| 940 | ············...·····fake.credit_card_expire() | 940 | ············...·····fake.credit_card_expire() |
| 941 | ············... | 941 | ············... |
| 942 | ············'05/35' | ||
| 943 | ············'0 | 942 | ············'04/34' |
| 944 | ············'0 | 943 | ············'06/33' |
| 945 | ············'07/29' | ||
| 946 | ············'01/3 | 944 | ············'01/30' |
| 945 | ············'06/28' | ||
| 946 | ············'12/30' | ||
| 947 | ········credit_card_full(card_type:·CardType·|·None·=·None)·→·str¶ | 947 | ········credit_card_full(card_type:·CardType·|·None·=·None)·→·str¶ |
| 948 | ············Generate·a·set·of·credit·card·details. | 948 | ············Generate·a·set·of·credit·card·details. |
| 949 | ··············Examples: | 949 | ··············Examples: |
| 950 | ············>>>·Faker.seed(0) | 950 | ············>>>·Faker.seed(0) |
| 951 | ············>>>·for·_·in·range(5): | 951 | ············>>>·for·_·in·range(5): |
| 952 | ············...·····fake.credit_card_full() | 952 | ············...·····fake.credit_card_full() |
| 953 | ············... | 953 | ············... |
| 954 | ············'Maestro\nAlina·Osipova\n6376475938242192·1 | 954 | ············'Maestro\nAlina·Osipova\n6376475938242192·11/33\nCVV2:·892\nКС |
| 955 | ············Банк' | 955 | ············Банк' |
| 956 | ············'Visa\nMaksimilyan·Voronov\n4565938778408013·0 | 956 | ············'Visa\nMaksimilyan·Voronov\n4565938778408013·01/33\nCVV2: |
| 957 | ············609\nПриобье' | 957 | ············609\nПриобье' |
| 958 | ············'МИР\nLyubosmysl·Kryukov\n2200393328711588·1 | 958 | ············'МИР\nLyubosmysl·Kryukov\n2200393328711588·10/35\nCVC: |
| 959 | ············714\nРосэксимбанк' | 959 | ············714\nРосэксимбанк' |
| 960 | ············'МИР\nTrofim·Mironov\n2204398947196596·0 | 960 | ············'МИР\nTrofim·Mironov\n2204398947196596·04/28\nCVC:·232\nАкцепт' |
| 961 | ············'American·Express\nOlimpiada·Vinogradova\n342201868483398·0 | 961 | ············'American·Express\nOlimpiada·Vinogradova\n342201868483398·02/ |
| 962 | ············3 | 962 | ············34\nCID:·6947\nПриобье' |
| 963 | ········credit_card_number(card_type:·CardType·|·None·=·None)·→·str¶ | 963 | ········credit_card_number(card_type:·CardType·|·None·=·None)·→·str¶ |
| 964 | ············Generate·a·valid·credit·card·number. | 964 | ············Generate·a·valid·credit·card·number. |
| 965 | ··············Examples: | 965 | ··············Examples: |
| 966 | ············>>>·Faker.seed(0) | 966 | ············>>>·Faker.seed(0) |
| 967 | ············>>>·for·_·in·range(5): | 967 | ············>>>·for·_·in·range(5): |
| 968 | ············...·····fake.credit_card_number() | 968 | ············...·····fake.credit_card_number() |
| 969 | ············... | 969 | ············... |
| Offset 1094, 19 lines modified | Offset 1094, 19 lines modified | ||
| 1094 | ······Bases:·Provider | 1094 | ······Bases:·Provider |
| 1095 | ········am_pm()·→·str¶ | 1095 | ········am_pm()·→·str¶ |
| 1096 | ··············Examples: | 1096 | ··············Examples: |
| 1097 | ············>>>·Faker.seed(0) | 1097 | ············>>>·Faker.seed(0) |
| 1098 | ············>>>·for·_·in·range(5): | 1098 | ············>>>·for·_·in·range(5): |
| 1099 | ············...·····fake.am_pm() | 1099 | ············...·····fake.am_pm() |
| 1100 | ············... | 1100 | ············... |
| 1101 | ············'PM' | ||
| 1102 | ············'PM' | ||
| 1103 | ············'AM' | 1101 | ············'AM' |
| 1104 | ············'PM' | 1102 | ············'PM' |
| 1105 | ············'AM' | 1103 | ············'AM' |
| 1104 | ············'AM' | ||
| 1105 | ············'AM' | ||
| 1106 | ········century()·→·str¶ | 1106 | ········century()·→·str¶ |
| 1107 | ··············Example: | 1107 | ··············Example: |
| 1108 | ··················‘XVII’ | 1108 | ··················‘XVII’ |
| 1109 | ··············Examples: | 1109 | ··············Examples: |
| 1110 | ············>>>·Faker.seed(0) | 1110 | ············>>>·Faker.seed(0) |
| 1111 | ············>>>·for·_·in·range(5): | 1111 | ············>>>·for·_·in·range(5): |
| 1112 | ············...·····fake.century() | 1112 | ············...·····fake.century() |
| Offset 1126, 19 lines modified | Offset 1126, 19 lines modified | ||
| 1126 | ··············Returns: | 1126 | ··············Returns: |
| 1127 | ··················Date | 1127 | ··················Date |
| 1128 | ··············Examples: | 1128 | ··············Examples: |
| 1129 | ············>>>·Faker.seed(0) | 1129 | ············>>>·Faker.seed(0) |
| 1130 | ············>>>·for·_·in·range(5): | 1130 | ············>>>·for·_·in·range(5): |
| 1131 | ············...·····fake.date() | 1131 | ············...·····fake.date() |
| 1132 | ············... | 1132 | ············... |
| 1133 | ············'2018-01-27' | ||
| 1134 | ············'201 | 1133 | ············'2017-02-26' |
| 1134 | ············'2012-04-29' | ||
| 1135 | ············'1993- | 1135 | ············'1993-06-27' |
| 1136 | ············'1984-0 | 1136 | ············'1984-06-17' |
| 1137 | ············'199 | 1137 | ············'1998-07-21' |
| 1138 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 1138 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 1139 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 1139 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 1140 | ········date¶ | 1140 | ········date¶ |
| 1141 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 1141 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 1142 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 1142 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 1143 | ··············Parameters: | 1143 | ··············Parameters: |
| 1144 | ······················*·start_date·–·Defaults·to·30·years·ago | 1144 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 1148, 19 lines modified | Offset 1148, 19 lines modified | ||
| 1148 | ··············Returns: | 1148 | ··············Returns: |
| 1149 | ··················Date | 1149 | ··················Date |
| 1150 | ··············Examples: | 1150 | ··············Examples: |
| 1151 | ············>>>·Faker.seed(0) | 1151 | ············>>>·Faker.seed(0) |
| 1152 | ············>>>·for·_·in·range(5): | 1152 | ············>>>·for·_·in·range(5): |
| 1153 | ············...·····fake.date_between() | 1153 | ············...·····fake.date_between() |
| 1154 | ············... | 1154 | ············... |
| 1155 | ············datetime.date(202 | 1155 | ············datetime.date(2021,·3,·5) |
| 1156 | ············datetime.date(201 | 1156 | ············datetime.date(2018,·7,·31) |
| 1157 | ············datetime.date(200 | 1157 | ············datetime.date(2008,·6,·16) |
| 1158 | ············datetime.date(200 | 1158 | ············datetime.date(2003,·8,·11) |
| 1159 | ············datetime.date(201 | 1159 | ············datetime.date(2011,·3,·7) |
| 1160 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 1160 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 1161 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 1161 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 1162 | ········=·None)·→·date¶ | 1162 | ········=·None)·→·date¶ |
| 1163 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 1163 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 1164 | ············given·dates.·Accepts·Date·or·datetime·objects | 1164 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 1165 | ··············Parameters: | 1165 | ··············Parameters: |
| 1166 | ······················*·date_start·–·Date | 1166 | ······················*·date_start·–·Date |
| Offset 1168, 33 lines modified | Offset 1168, 33 lines modified | ||
| 1168 | ··············Returns: | 1168 | ··············Returns: |
| 1169 | ··················Date | 1169 | ··················Date |
| 1170 | ··············Examples: | 1170 | ··············Examples: |
| 1171 | ············>>>·Faker.seed(0) | 1171 | ············>>>·Faker.seed(0) |
| 1172 | ············>>>·for·_·in·range(5): | 1172 | ············>>>·for·_·in·range(5): |
| 1173 | ············...·····fake.date_between_dates() | 1173 | ············...·····fake.date_between_dates() |
| 1174 | ············... | 1174 | ············... |
| 1175 | ············datetime.date(202 | 1175 | ············datetime.date(2025,·11,·4) |
| 1176 | ············datetime.date(202 | 1176 | ············datetime.date(2025,·11,·4) |
| 1177 | ············datetime.date(202 | 1177 | ············datetime.date(2025,·11,·4) |
| 1178 | ············datetime.date(202 | 1178 | ············datetime.date(2025,·11,·4) |
| 1179 | ············datetime.date(202 | 1179 | ············datetime.date(2025,·11,·4) |
| 1180 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 1180 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 1181 | ············Get·a·date·object·between·January·1,·1970·and·now | 1181 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 1182 | ··············Example: | 1182 | ··············Example: |
| 1183 | ··················datetime.date(2016,·9,·20) | 1183 | ··················datetime.date(2016,·9,·20) |
| 1184 | ··············Examples: | 1184 | ··············Examples: |
| 1185 | ············>>>·Faker.seed(0) | 1185 | ············>>>·Faker.seed(0) |
| 1186 | ············>>>·for·_·in·range(5): | 1186 | ············>>>·for·_·in·range(5): |
| 1187 | ············...·····fake.date_object() | 1187 | ············...·····fake.date_object() |
| 1188 | ············... | 1188 | ············... |
| 1189 | ············datetime.date(2018,·1,·27) | ||
| 1190 | ············datetime.date(201 | 1189 | ············datetime.date(2017,·2,·26) |
| 1190 | ············datetime.date(2012,·4,·29) | ||
| 1191 | ············datetime.date(1993,· | 1191 | ············datetime.date(1993,·6,·27) |
| 1192 | ············datetime.date(1984,· | 1192 | ············datetime.date(1984,·6,·17) |
| Max diff block lines reached; 32365/38190 bytes (84.75%) of diff not shown. | |||
| Offset 1369, 19 lines modified | Offset 1369, 19 lines modified | ||
| 1369 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1369 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1370 | <dd·class="field-odd"><p></p></dd> | 1370 | <dd·class="field-odd"><p></p></dd> |
| 1371 | </dl> | 1371 | </dl> |
| 1372 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1372 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1373 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1373 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1374 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1374 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 1375 | <span·class="gp">...</span> | 1375 | <span·class="gp">...</span> |
| 1376 | <span·class="go">'PM'</span> | ||
| 1377 | <span·class="go">'PM'</span> | ||
| 1378 | <span·class="go">'AM'</span> | 1376 | <span·class="go">'AM'</span> |
| 1379 | <span·class="go">'PM'</span> | 1377 | <span·class="go">'PM'</span> |
| 1380 | <span·class="go">'AM'</span> | 1378 | <span·class="go">'AM'</span> |
| 1379 | <span·class="go">'AM'</span> | ||
| 1380 | <span·class="go">'AM'</span> | ||
| 1381 | </pre></div> | 1381 | </pre></div> |
| 1382 | </div> | 1382 | </div> |
| 1383 | </dd></dl> | 1383 | </dd></dl> |
| 1384 | <dl·class="py·method"> | 1384 | <dl·class="py·method"> |
| 1385 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.sk_SK.Provider.century"> | 1385 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.sk_SK.Provider.century"> |
| 1386 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.sk_SK.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 1386 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.sk_SK.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1422, 19 lines modified | Offset 1422, 19 lines modified | ||
| 1422 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1422 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1423 | <dd·class="field-even"><p></p></dd> | 1423 | <dd·class="field-even"><p></p></dd> |
| 1424 | </dl> | 1424 | </dl> |
| 1425 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1425 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1426 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1426 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1427 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1427 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 1428 | <span·class="gp">...</span> | 1428 | <span·class="gp">...</span> |
| 1429 | <span·class="go">'2018-01-27'</span> | ||
| 1430 | <span·class="go">'201 | 1429 | <span·class="go">'2017-02-26'</span> |
| 1430 | <span·class="go">'2012-04-29'</span> | ||
| 1431 | <span·class="go">'1993- | 1431 | <span·class="go">'1993-06-27'</span> |
| 1432 | <span·class="go">'1984-0 | 1432 | <span·class="go">'1984-06-17'</span> |
| 1433 | <span·class="go">'199 | 1433 | <span·class="go">'1998-07-21'</span> |
| 1434 | </pre></div> | 1434 | </pre></div> |
| 1435 | </div> | 1435 | </div> |
| 1436 | </dd></dl> | 1436 | </dd></dl> |
| 1437 | <dl·class="py·method"> | 1437 | <dl·class="py·method"> |
| 1438 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.sk_SK.Provider.date_between"> | 1438 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.sk_SK.Provider.date_between"> |
| 1439 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.sk_SK.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1439 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.sk_SK.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1456, 19 lines modified | Offset 1456, 19 lines modified | ||
| 1456 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1456 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1457 | <dd·class="field-even"><p></p></dd> | 1457 | <dd·class="field-even"><p></p></dd> |
| 1458 | </dl> | 1458 | </dl> |
| 1459 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1459 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1460 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1460 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1461 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1461 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 1462 | <span·class="gp">...</span> | 1462 | <span·class="gp">...</span> |
| 1463 | <span·class="go">datetime.date(202 | 1463 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 1464 | <span·class="go">datetime.date(201 | 1464 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 1465 | <span·class="go">datetime.date(200 | 1465 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 1466 | <span·class="go">datetime.date(200 | 1466 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 1467 | <span·class="go">datetime.date(201 | 1467 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 1468 | </pre></div> | 1468 | </pre></div> |
| 1469 | </div> | 1469 | </div> |
| 1470 | </dd></dl> | 1470 | </dd></dl> |
| 1471 | <dl·class="py·method"> | 1471 | <dl·class="py·method"> |
| 1472 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.sk_SK.Provider.date_between_dates"> | 1472 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.sk_SK.Provider.date_between_dates"> |
| 1473 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.sk_SK.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 1473 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.sk_SK.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1487, 19 lines modified | Offset 1487, 19 lines modified | ||
| 1487 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1487 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1488 | <dd·class="field-odd"><p></p></dd> | 1488 | <dd·class="field-odd"><p></p></dd> |
| 1489 | </dl> | 1489 | </dl> |
| 1490 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1490 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1491 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1491 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1492 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 1492 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 1493 | <span·class="gp">...</span> | 1493 | <span·class="gp">...</span> |
| 1494 | <span·class="go">datetime.date(202 | 1494 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1495 | <span·class="go">datetime.date(202 | 1495 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1496 | <span·class="go">datetime.date(202 | 1496 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1497 | <span·class="go">datetime.date(202 | 1497 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1498 | <span·class="go">datetime.date(202 | 1498 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1499 | </pre></div> | 1499 | </pre></div> |
| 1500 | </div> | 1500 | </div> |
| 1501 | </dd></dl> | 1501 | </dd></dl> |
| 1502 | <dl·class="py·method"> | 1502 | <dl·class="py·method"> |
| 1503 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.sk_SK.Provider.date_object"> | 1503 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.sk_SK.Provider.date_object"> |
| 1504 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.sk_SK.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 1504 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.sk_SK.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1511, 19 lines modified | Offset 1511, 19 lines modified | ||
| 1511 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1511 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1512 | <dd·class="field-even"><p></p></dd> | 1512 | <dd·class="field-even"><p></p></dd> |
| 1513 | </dl> | 1513 | </dl> |
| 1514 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1514 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1515 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1515 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1516 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1516 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 1517 | <span·class="gp">...</span> | 1517 | <span·class="gp">...</span> |
| 1518 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 1519 | <span·class="go">datetime.date(201 | 1518 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 1519 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 1520 | <span·class="go">datetime.date(1993,· | 1520 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 1521 | <span·class="go">datetime.date(1984,· | 1521 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 1522 | <span·class="go">datetime.date(199 | 1522 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 1523 | </pre></div> | 1523 | </pre></div> |
| 1524 | </div> | 1524 | </div> |
| 1525 | </dd></dl> | 1525 | </dd></dl> |
| 1526 | <dl·class="py·method"> | 1526 | <dl·class="py·method"> |
| 1527 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.sk_SK.Provider.date_of_birth"> | 1527 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.sk_SK.Provider.date_of_birth"> |
| 1528 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.sk_SK.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1528 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.sk_SK.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1547, 19 lines modified | Offset 1547, 19 lines modified | ||
| 1547 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1547 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1548 | <dd·class="field-even"><p></p></dd> | 1548 | <dd·class="field-even"><p></p></dd> |
| 1549 | </dl> | 1549 | </dl> |
| 1550 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1550 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1551 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1551 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1552 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1552 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 1553 | <span·class="gp">...</span> | 1553 | <span·class="gp">...</span> |
| 1554 | <span·class="go">datetime.date(200 | 1554 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 1555 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 1556 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 1555 | <span·class="go">datetime.date(19 | 1557 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 1556 | <span·class="go">datetime.date(19 | 1558 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 1557 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 1558 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 1559 | </pre></div> | 1559 | </pre></div> |
| 1560 | </div> | 1560 | </div> |
| 1561 | </dd></dl> | 1561 | </dd></dl> |
| 1562 | <dl·class="py·method"> | 1562 | <dl·class="py·method"> |
| 1563 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.sk_SK.Provider.date_this_century"> | 1563 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.sk_SK.Provider.date_this_century"> |
| 1564 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.sk_SK.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 1564 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.sk_SK.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1580, 19 lines modified | Offset 1580, 19 lines modified | ||
| 1580 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1580 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 100058/122297 bytes (81.82%) of diff not shown. | |||
| Offset 803, 19 lines modified | Offset 803, 19 lines modified | ||
| 803 | ······Bases:·Provider | 803 | ······Bases:·Provider |
| 804 | ········am_pm()·→·str¶ | 804 | ········am_pm()·→·str¶ |
| 805 | ··············Examples: | 805 | ··············Examples: |
| 806 | ············>>>·Faker.seed(0) | 806 | ············>>>·Faker.seed(0) |
| 807 | ············>>>·for·_·in·range(5): | 807 | ············>>>·for·_·in·range(5): |
| 808 | ············...·····fake.am_pm() | 808 | ············...·····fake.am_pm() |
| 809 | ············... | 809 | ············... |
| 810 | ············'PM' | ||
| 811 | ············'PM' | ||
| 812 | ············'AM' | 810 | ············'AM' |
| 813 | ············'PM' | 811 | ············'PM' |
| 814 | ············'AM' | 812 | ············'AM' |
| 813 | ············'AM' | ||
| 814 | ············'AM' | ||
| 815 | ········century()·→·str¶ | 815 | ········century()·→·str¶ |
| 816 | ··············Example: | 816 | ··············Example: |
| 817 | ··················‘XVII’ | 817 | ··················‘XVII’ |
| 818 | ··············Examples: | 818 | ··············Examples: |
| 819 | ············>>>·Faker.seed(0) | 819 | ············>>>·Faker.seed(0) |
| 820 | ············>>>·for·_·in·range(5): | 820 | ············>>>·for·_·in·range(5): |
| 821 | ············...·····fake.century() | 821 | ············...·····fake.century() |
| Offset 835, 19 lines modified | Offset 835, 19 lines modified | ||
| 835 | ··············Returns: | 835 | ··············Returns: |
| 836 | ··················Date | 836 | ··················Date |
| 837 | ··············Examples: | 837 | ··············Examples: |
| 838 | ············>>>·Faker.seed(0) | 838 | ············>>>·Faker.seed(0) |
| 839 | ············>>>·for·_·in·range(5): | 839 | ············>>>·for·_·in·range(5): |
| 840 | ············...·····fake.date() | 840 | ············...·····fake.date() |
| 841 | ············... | 841 | ············... |
| 842 | ············'2018-01-27' | ||
| 843 | ············'201 | 842 | ············'2017-02-26' |
| 843 | ············'2012-04-29' | ||
| 844 | ············'1993- | 844 | ············'1993-06-27' |
| 845 | ············'1984-0 | 845 | ············'1984-06-17' |
| 846 | ············'199 | 846 | ············'1998-07-21' |
| 847 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 847 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 848 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 848 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 849 | ········date¶ | 849 | ········date¶ |
| 850 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 850 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 851 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 851 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 852 | ··············Parameters: | 852 | ··············Parameters: |
| 853 | ······················*·start_date·–·Defaults·to·30·years·ago | 853 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 857, 19 lines modified | Offset 857, 19 lines modified | ||
| 857 | ··············Returns: | 857 | ··············Returns: |
| 858 | ··················Date | 858 | ··················Date |
| 859 | ··············Examples: | 859 | ··············Examples: |
| 860 | ············>>>·Faker.seed(0) | 860 | ············>>>·Faker.seed(0) |
| 861 | ············>>>·for·_·in·range(5): | 861 | ············>>>·for·_·in·range(5): |
| 862 | ············...·····fake.date_between() | 862 | ············...·····fake.date_between() |
| 863 | ············... | 863 | ············... |
| 864 | ············datetime.date(202 | 864 | ············datetime.date(2021,·3,·5) |
| 865 | ············datetime.date(201 | 865 | ············datetime.date(2018,·7,·31) |
| 866 | ············datetime.date(200 | 866 | ············datetime.date(2008,·6,·16) |
| 867 | ············datetime.date(200 | 867 | ············datetime.date(2003,·8,·11) |
| 868 | ············datetime.date(201 | 868 | ············datetime.date(2011,·3,·7) |
| 869 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 869 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 870 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 870 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 871 | ········=·None)·→·date¶ | 871 | ········=·None)·→·date¶ |
| 872 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 872 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 873 | ············given·dates.·Accepts·Date·or·datetime·objects | 873 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 874 | ··············Parameters: | 874 | ··············Parameters: |
| 875 | ······················*·date_start·–·Date | 875 | ······················*·date_start·–·Date |
| Offset 877, 33 lines modified | Offset 877, 33 lines modified | ||
| 877 | ··············Returns: | 877 | ··············Returns: |
| 878 | ··················Date | 878 | ··················Date |
| 879 | ··············Examples: | 879 | ··············Examples: |
| 880 | ············>>>·Faker.seed(0) | 880 | ············>>>·Faker.seed(0) |
| 881 | ············>>>·for·_·in·range(5): | 881 | ············>>>·for·_·in·range(5): |
| 882 | ············...·····fake.date_between_dates() | 882 | ············...·····fake.date_between_dates() |
| 883 | ············... | 883 | ············... |
| 884 | ············datetime.date(202 | 884 | ············datetime.date(2025,·11,·4) |
| 885 | ············datetime.date(202 | 885 | ············datetime.date(2025,·11,·4) |
| 886 | ············datetime.date(202 | 886 | ············datetime.date(2025,·11,·4) |
| 887 | ············datetime.date(202 | 887 | ············datetime.date(2025,·11,·4) |
| 888 | ············datetime.date(202 | 888 | ············datetime.date(2025,·11,·4) |
| 889 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 889 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 890 | ············Get·a·date·object·between·January·1,·1970·and·now | 890 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 891 | ··············Example: | 891 | ··············Example: |
| 892 | ··················datetime.date(2016,·9,·20) | 892 | ··················datetime.date(2016,·9,·20) |
| 893 | ··············Examples: | 893 | ··············Examples: |
| 894 | ············>>>·Faker.seed(0) | 894 | ············>>>·Faker.seed(0) |
| 895 | ············>>>·for·_·in·range(5): | 895 | ············>>>·for·_·in·range(5): |
| 896 | ············...·····fake.date_object() | 896 | ············...·····fake.date_object() |
| 897 | ············... | 897 | ············... |
| 898 | ············datetime.date(2018,·1,·27) | ||
| 899 | ············datetime.date(201 | 898 | ············datetime.date(2017,·2,·26) |
| 899 | ············datetime.date(2012,·4,·29) | ||
| 900 | ············datetime.date(1993,· | 900 | ············datetime.date(1993,·6,·27) |
| 901 | ············datetime.date(1984,· | 901 | ············datetime.date(1984,·6,·17) |
| 902 | ············datetime.date(199 | 902 | ············datetime.date(1998,·7,·21) |
| 903 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 903 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 904 | ········maximum_age:·int·=·115)·→·date¶ | 904 | ········maximum_age:·int·=·115)·→·date¶ |
| 905 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 905 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 906 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 906 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 907 | ··············Parameters: | 907 | ··············Parameters: |
| 908 | ······················*·tzinfo·–·Defaults·to·None. | 908 | ······················*·tzinfo·–·Defaults·to·None. |
| 909 | ······················*·minimum_age·–·Defaults·to·0. | 909 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 913, 19 lines modified | Offset 913, 19 lines modified | ||
| 913 | ··············Returns: | 913 | ··············Returns: |
| 914 | ··················Date | 914 | ··················Date |
| 915 | ··············Examples: | 915 | ··············Examples: |
| 916 | ············>>>·Faker.seed(0) | 916 | ············>>>·Faker.seed(0) |
| 917 | ············>>>·for·_·in·range(5): | 917 | ············>>>·for·_·in·range(5): |
| 918 | ············...·····fake.date_of_birth() | 918 | ············...·····fake.date_of_birth() |
| 919 | ············... | 919 | ············... |
| 920 | ············datetime.date(200 | 920 | ············datetime.date(2007,·10,·18) |
| 921 | ············datetime.date(1997,·10,·6) | ||
| 922 | ············datetime.date(1958,·8,·18) | ||
| 921 | ············datetime.date(19 | 923 | ············datetime.date(1939,·11,·17) |
| 922 | ············datetime.date(19 | 924 | ············datetime.date(1969,·2,·24) |
| 923 | ············datetime.date(1940,·12,·18) | ||
| 924 | ············datetime.date(1970,·3,·28) | ||
| 925 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 925 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 926 | ········→·date¶ | 926 | ········→·date¶ |
| 927 | ············Gets·a·Date·object·for·the·current·century. | 927 | ············Gets·a·Date·object·for·the·current·century. |
| 928 | ··············Parameters: | 928 | ··············Parameters: |
| 929 | ······················*·before_today·–·include·days·in·current·century·before | 929 | ······················*·before_today·–·include·days·in·current·century·before |
| 930 | ························today | 930 | ························today |
| 931 | ······················*·after_today·–·include·days·in·current·century·after | 931 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 935, 19 lines modified | Offset 935, 19 lines modified | ||
| 935 | ··············Returns: | 935 | ··············Returns: |
| 936 | ··················Date | 936 | ··················Date |
| 937 | ··············Examples: | 937 | ··············Examples: |
| 938 | ············>>>·Faker.seed(0) | 938 | ············>>>·Faker.seed(0) |
| 939 | ············>>>·for·_·in·range(5): | 939 | ············>>>·for·_·in·range(5): |
| 940 | ············...·····fake.date_this_century() | 940 | ············...·····fake.date_this_century() |
| 941 | ············... | 941 | ············... |
| Max diff block lines reached; 25508/31422 bytes (81.18%) of diff not shown. | |||
| Offset 490, 19 lines modified | Offset 490, 19 lines modified | ||
| 490 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 490 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 491 | <dd·class="field-odd"><p></p></dd> | 491 | <dd·class="field-odd"><p></p></dd> |
| 492 | </dl> | 492 | </dl> |
| 493 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 493 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 494 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 494 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 495 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 495 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 496 | <span·class="gp">...</span> | 496 | <span·class="gp">...</span> |
| 497 | <span·class="go">'PM'</span> | ||
| 498 | <span·class="go">'PM'</span> | ||
| 499 | <span·class="go">'AM'</span> | 497 | <span·class="go">'AM'</span> |
| 500 | <span·class="go">'PM'</span> | 498 | <span·class="go">'PM'</span> |
| 501 | <span·class="go">'AM'</span> | 499 | <span·class="go">'AM'</span> |
| 500 | <span·class="go">'AM'</span> | ||
| 501 | <span·class="go">'AM'</span> | ||
| 502 | </pre></div> | 502 | </pre></div> |
| 503 | </div> | 503 | </div> |
| 504 | </dd></dl> | 504 | </dd></dl> |
| 505 | <dl·class="py·method"> | 505 | <dl·class="py·method"> |
| 506 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.sl_SI.Provider.century"> | 506 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.sl_SI.Provider.century"> |
| 507 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.sl_SI.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 507 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.sl_SI.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 543, 19 lines modified | Offset 543, 19 lines modified | ||
| 543 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 543 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 544 | <dd·class="field-even"><p></p></dd> | 544 | <dd·class="field-even"><p></p></dd> |
| 545 | </dl> | 545 | </dl> |
| 546 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 546 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 547 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 547 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 548 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 548 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 549 | <span·class="gp">...</span> | 549 | <span·class="gp">...</span> |
| 550 | <span·class="go">'2018-01-27'</span> | ||
| 551 | <span·class="go">'201 | 550 | <span·class="go">'2017-02-26'</span> |
| 551 | <span·class="go">'2012-04-29'</span> | ||
| 552 | <span·class="go">'1993- | 552 | <span·class="go">'1993-06-27'</span> |
| 553 | <span·class="go">'1984-0 | 553 | <span·class="go">'1984-06-17'</span> |
| 554 | <span·class="go">'199 | 554 | <span·class="go">'1998-07-21'</span> |
| 555 | </pre></div> | 555 | </pre></div> |
| 556 | </div> | 556 | </div> |
| 557 | </dd></dl> | 557 | </dd></dl> |
| 558 | <dl·class="py·method"> | 558 | <dl·class="py·method"> |
| 559 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.sl_SI.Provider.date_between"> | 559 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.sl_SI.Provider.date_between"> |
| 560 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.sl_SI.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 560 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.sl_SI.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 577, 19 lines modified | Offset 577, 19 lines modified | ||
| 577 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 577 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 578 | <dd·class="field-even"><p></p></dd> | 578 | <dd·class="field-even"><p></p></dd> |
| 579 | </dl> | 579 | </dl> |
| 580 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 580 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 581 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 581 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 582 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 582 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 583 | <span·class="gp">...</span> | 583 | <span·class="gp">...</span> |
| 584 | <span·class="go">datetime.date(202 | 584 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 585 | <span·class="go">datetime.date(201 | 585 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 586 | <span·class="go">datetime.date(200 | 586 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 587 | <span·class="go">datetime.date(200 | 587 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 588 | <span·class="go">datetime.date(201 | 588 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 589 | </pre></div> | 589 | </pre></div> |
| 590 | </div> | 590 | </div> |
| 591 | </dd></dl> | 591 | </dd></dl> |
| 592 | <dl·class="py·method"> | 592 | <dl·class="py·method"> |
| 593 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.sl_SI.Provider.date_between_dates"> | 593 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.sl_SI.Provider.date_between_dates"> |
| 594 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.sl_SI.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 594 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.sl_SI.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 608, 19 lines modified | Offset 608, 19 lines modified | ||
| 608 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 608 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 609 | <dd·class="field-odd"><p></p></dd> | 609 | <dd·class="field-odd"><p></p></dd> |
| 610 | </dl> | 610 | </dl> |
| 611 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 611 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 612 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 612 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 613 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 613 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 614 | <span·class="gp">...</span> | 614 | <span·class="gp">...</span> |
| 615 | <span·class="go">datetime.date(202 | 615 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 616 | <span·class="go">datetime.date(202 | 616 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 617 | <span·class="go">datetime.date(202 | 617 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 618 | <span·class="go">datetime.date(202 | 618 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 619 | <span·class="go">datetime.date(202 | 619 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 620 | </pre></div> | 620 | </pre></div> |
| 621 | </div> | 621 | </div> |
| 622 | </dd></dl> | 622 | </dd></dl> |
| 623 | <dl·class="py·method"> | 623 | <dl·class="py·method"> |
| 624 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.sl_SI.Provider.date_object"> | 624 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.sl_SI.Provider.date_object"> |
| 625 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.sl_SI.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 625 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.sl_SI.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 632, 19 lines modified | Offset 632, 19 lines modified | ||
| 632 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 632 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 633 | <dd·class="field-even"><p></p></dd> | 633 | <dd·class="field-even"><p></p></dd> |
| 634 | </dl> | 634 | </dl> |
| 635 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 635 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 636 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 636 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 637 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 637 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 638 | <span·class="gp">...</span> | 638 | <span·class="gp">...</span> |
| 639 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 640 | <span·class="go">datetime.date(201 | 639 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 640 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 641 | <span·class="go">datetime.date(1993,· | 641 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 642 | <span·class="go">datetime.date(1984,· | 642 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 643 | <span·class="go">datetime.date(199 | 643 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 644 | </pre></div> | 644 | </pre></div> |
| 645 | </div> | 645 | </div> |
| 646 | </dd></dl> | 646 | </dd></dl> |
| 647 | <dl·class="py·method"> | 647 | <dl·class="py·method"> |
| 648 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.sl_SI.Provider.date_of_birth"> | 648 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.sl_SI.Provider.date_of_birth"> |
| 649 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.sl_SI.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 649 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.sl_SI.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 668, 19 lines modified | Offset 668, 19 lines modified | ||
| 668 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 668 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 669 | <dd·class="field-even"><p></p></dd> | 669 | <dd·class="field-even"><p></p></dd> |
| 670 | </dl> | 670 | </dl> |
| 671 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 671 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 672 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 672 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 673 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 673 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 674 | <span·class="gp">...</span> | 674 | <span·class="gp">...</span> |
| 675 | <span·class="go">datetime.date(200 | 675 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 676 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 677 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 676 | <span·class="go">datetime.date(19 | 678 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 677 | <span·class="go">datetime.date(19 | 679 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 678 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 679 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 680 | </pre></div> | 680 | </pre></div> |
| 681 | </div> | 681 | </div> |
| 682 | </dd></dl> | 682 | </dd></dl> |
| 683 | <dl·class="py·method"> | 683 | <dl·class="py·method"> |
| 684 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.sl_SI.Provider.date_this_century"> | 684 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.sl_SI.Provider.date_this_century"> |
| 685 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.sl_SI.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 685 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.sl_SI.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 701, 19 lines modified | Offset 701, 19 lines modified | ||
| 701 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 701 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 98668/120893 bytes (81.62%) of diff not shown. | |||
| Offset 250, 19 lines modified | Offset 250, 19 lines modified | ||
| 250 | ······Bases:·Provider | 250 | ······Bases:·Provider |
| 251 | ········am_pm()·→·str¶ | 251 | ········am_pm()·→·str¶ |
| 252 | ··············Examples: | 252 | ··············Examples: |
| 253 | ············>>>·Faker.seed(0) | 253 | ············>>>·Faker.seed(0) |
| 254 | ············>>>·for·_·in·range(5): | 254 | ············>>>·for·_·in·range(5): |
| 255 | ············...·····fake.am_pm() | 255 | ············...·····fake.am_pm() |
| 256 | ············... | 256 | ············... |
| 257 | ············'PM' | ||
| 258 | ············'PM' | ||
| 259 | ············'AM' | 257 | ············'AM' |
| 260 | ············'PM' | 258 | ············'PM' |
| 261 | ············'AM' | 259 | ············'AM' |
| 260 | ············'AM' | ||
| 261 | ············'AM' | ||
| 262 | ········century()·→·str¶ | 262 | ········century()·→·str¶ |
| 263 | ··············Example: | 263 | ··············Example: |
| 264 | ··················‘XVII’ | 264 | ··················‘XVII’ |
| 265 | ··············Examples: | 265 | ··············Examples: |
| 266 | ············>>>·Faker.seed(0) | 266 | ············>>>·Faker.seed(0) |
| 267 | ············>>>·for·_·in·range(5): | 267 | ············>>>·for·_·in·range(5): |
| 268 | ············...·····fake.century() | 268 | ············...·····fake.century() |
| Offset 282, 19 lines modified | Offset 282, 19 lines modified | ||
| 282 | ··············Returns: | 282 | ··············Returns: |
| 283 | ··················Date | 283 | ··················Date |
| 284 | ··············Examples: | 284 | ··············Examples: |
| 285 | ············>>>·Faker.seed(0) | 285 | ············>>>·Faker.seed(0) |
| 286 | ············>>>·for·_·in·range(5): | 286 | ············>>>·for·_·in·range(5): |
| 287 | ············...·····fake.date() | 287 | ············...·····fake.date() |
| 288 | ············... | 288 | ············... |
| 289 | ············'2018-01-27' | ||
| 290 | ············'201 | 289 | ············'2017-02-26' |
| 290 | ············'2012-04-29' | ||
| 291 | ············'1993- | 291 | ············'1993-06-27' |
| 292 | ············'1984-0 | 292 | ············'1984-06-17' |
| 293 | ············'199 | 293 | ············'1998-07-21' |
| 294 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 294 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 295 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 295 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 296 | ········date¶ | 296 | ········date¶ |
| 297 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 297 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 298 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 298 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 299 | ··············Parameters: | 299 | ··············Parameters: |
| 300 | ······················*·start_date·–·Defaults·to·30·years·ago | 300 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 304, 19 lines modified | Offset 304, 19 lines modified | ||
| 304 | ··············Returns: | 304 | ··············Returns: |
| 305 | ··················Date | 305 | ··················Date |
| 306 | ··············Examples: | 306 | ··············Examples: |
| 307 | ············>>>·Faker.seed(0) | 307 | ············>>>·Faker.seed(0) |
| 308 | ············>>>·for·_·in·range(5): | 308 | ············>>>·for·_·in·range(5): |
| 309 | ············...·····fake.date_between() | 309 | ············...·····fake.date_between() |
| 310 | ············... | 310 | ············... |
| 311 | ············datetime.date(202 | 311 | ············datetime.date(2021,·3,·5) |
| 312 | ············datetime.date(201 | 312 | ············datetime.date(2018,·7,·31) |
| 313 | ············datetime.date(200 | 313 | ············datetime.date(2008,·6,·16) |
| 314 | ············datetime.date(200 | 314 | ············datetime.date(2003,·8,·11) |
| 315 | ············datetime.date(201 | 315 | ············datetime.date(2011,·3,·7) |
| 316 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 316 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 317 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 317 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 318 | ········=·None)·→·date¶ | 318 | ········=·None)·→·date¶ |
| 319 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 319 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 320 | ············given·dates.·Accepts·Date·or·datetime·objects | 320 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 321 | ··············Parameters: | 321 | ··············Parameters: |
| 322 | ······················*·date_start·–·Date | 322 | ······················*·date_start·–·Date |
| Offset 324, 33 lines modified | Offset 324, 33 lines modified | ||
| 324 | ··············Returns: | 324 | ··············Returns: |
| 325 | ··················Date | 325 | ··················Date |
| 326 | ··············Examples: | 326 | ··············Examples: |
| 327 | ············>>>·Faker.seed(0) | 327 | ············>>>·Faker.seed(0) |
| 328 | ············>>>·for·_·in·range(5): | 328 | ············>>>·for·_·in·range(5): |
| 329 | ············...·····fake.date_between_dates() | 329 | ············...·····fake.date_between_dates() |
| 330 | ············... | 330 | ············... |
| 331 | ············datetime.date(202 | 331 | ············datetime.date(2025,·11,·4) |
| 332 | ············datetime.date(202 | 332 | ············datetime.date(2025,·11,·4) |
| 333 | ············datetime.date(202 | 333 | ············datetime.date(2025,·11,·4) |
| 334 | ············datetime.date(202 | 334 | ············datetime.date(2025,·11,·4) |
| 335 | ············datetime.date(202 | 335 | ············datetime.date(2025,·11,·4) |
| 336 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 336 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 337 | ············Get·a·date·object·between·January·1,·1970·and·now | 337 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 338 | ··············Example: | 338 | ··············Example: |
| 339 | ··················datetime.date(2016,·9,·20) | 339 | ··················datetime.date(2016,·9,·20) |
| 340 | ··············Examples: | 340 | ··············Examples: |
| 341 | ············>>>·Faker.seed(0) | 341 | ············>>>·Faker.seed(0) |
| 342 | ············>>>·for·_·in·range(5): | 342 | ············>>>·for·_·in·range(5): |
| 343 | ············...·····fake.date_object() | 343 | ············...·····fake.date_object() |
| 344 | ············... | 344 | ············... |
| 345 | ············datetime.date(2018,·1,·27) | ||
| 346 | ············datetime.date(201 | 345 | ············datetime.date(2017,·2,·26) |
| 346 | ············datetime.date(2012,·4,·29) | ||
| 347 | ············datetime.date(1993,· | 347 | ············datetime.date(1993,·6,·27) |
| 348 | ············datetime.date(1984,· | 348 | ············datetime.date(1984,·6,·17) |
| 349 | ············datetime.date(199 | 349 | ············datetime.date(1998,·7,·21) |
| 350 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 350 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 351 | ········maximum_age:·int·=·115)·→·date¶ | 351 | ········maximum_age:·int·=·115)·→·date¶ |
| 352 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 352 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 353 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 353 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 354 | ··············Parameters: | 354 | ··············Parameters: |
| 355 | ······················*·tzinfo·–·Defaults·to·None. | 355 | ······················*·tzinfo·–·Defaults·to·None. |
| 356 | ······················*·minimum_age·–·Defaults·to·0. | 356 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 360, 19 lines modified | Offset 360, 19 lines modified | ||
| 360 | ··············Returns: | 360 | ··············Returns: |
| 361 | ··················Date | 361 | ··················Date |
| 362 | ··············Examples: | 362 | ··············Examples: |
| 363 | ············>>>·Faker.seed(0) | 363 | ············>>>·Faker.seed(0) |
| 364 | ············>>>·for·_·in·range(5): | 364 | ············>>>·for·_·in·range(5): |
| 365 | ············...·····fake.date_of_birth() | 365 | ············...·····fake.date_of_birth() |
| 366 | ············... | 366 | ············... |
| 367 | ············datetime.date(200 | 367 | ············datetime.date(2007,·10,·18) |
| 368 | ············datetime.date(1997,·10,·6) | ||
| 369 | ············datetime.date(1958,·8,·18) | ||
| 368 | ············datetime.date(19 | 370 | ············datetime.date(1939,·11,·17) |
| 369 | ············datetime.date(19 | 371 | ············datetime.date(1969,·2,·24) |
| 370 | ············datetime.date(1940,·12,·18) | ||
| 371 | ············datetime.date(1970,·3,·28) | ||
| 372 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 372 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 373 | ········→·date¶ | 373 | ········→·date¶ |
| 374 | ············Gets·a·Date·object·for·the·current·century. | 374 | ············Gets·a·Date·object·for·the·current·century. |
| 375 | ··············Parameters: | 375 | ··············Parameters: |
| 376 | ······················*·before_today·–·include·days·in·current·century·before | 376 | ······················*·before_today·–·include·days·in·current·century·before |
| 377 | ························today | 377 | ························today |
| 378 | ······················*·after_today·–·include·days·in·current·century·after | 378 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 382, 19 lines modified | Offset 382, 19 lines modified | ||
| 382 | ··············Returns: | 382 | ··············Returns: |
| 383 | ··················Date | 383 | ··················Date |
| 384 | ··············Examples: | 384 | ··············Examples: |
| 385 | ············>>>·Faker.seed(0) | 385 | ············>>>·Faker.seed(0) |
| 386 | ············>>>·for·_·in·range(5): | 386 | ············>>>·for·_·in·range(5): |
| 387 | ············...·····fake.date_this_century() | 387 | ············...·····fake.date_this_century() |
| 388 | ············... | 388 | ············... |
| Max diff block lines reached; 24707/30621 bytes (80.69%) of diff not shown. | |||
| Offset 2122, 19 lines modified | Offset 2122, 19 lines modified | ||
| 2122 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 2122 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 2123 | <dd·class="field-odd"><p></p></dd> | 2123 | <dd·class="field-odd"><p></p></dd> |
| 2124 | </dl> | 2124 | </dl> |
| 2125 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 2125 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 2126 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 2126 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 2127 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">org_and_vat_id</span><span·class="p">()</span> | 2127 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">org_and_vat_id</span><span·class="p">()</span> |
| 2128 | <span·class="gp">...</span> | 2128 | <span·class="gp">...</span> |
| 2129 | <span·class="go">(' | 2129 | <span·class="go">('967305-2651',·'SE16967305265101')</span> |
| 2130 | <span·class="go">(' | 2130 | <span·class="go">('888251-9401',·'SE16888251940101')</span> |
| 2131 | <span·class="go">(' | 2131 | <span·class="go">('948145-5971',·'SE16948145597101')</span> |
| 2132 | <span·class="go">(' | 2132 | <span·class="go">('638417-2885',·'SE16638417288501')</span> |
| 2133 | <span·class="go">(' | 2133 | <span·class="go">('123279-8189',·'SE16123279818901')</span> |
| 2134 | </pre></div> | 2134 | </pre></div> |
| 2135 | </div> | 2135 | </div> |
| 2136 | </dd></dl> | 2136 | </dd></dl> |
| 2137 | <dl·class="py·method"> | 2137 | <dl·class="py·method"> |
| 2138 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.sv_SE.Provider.org_id"> | 2138 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.sv_SE.Provider.org_id"> |
| 2139 | <span·class="sig-name·descname"><span·class="pre">org_id</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">long</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">dash</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.sv_SE.Provider.org_id"·title="Link·to·this·definition">¶</a></dt> | 2139 | <span·class="sig-name·descname"><span·class="pre">org_id</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">long</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">dash</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.sv_SE.Provider.org_id"·title="Link·to·this·definition">¶</a></dt> |
| Offset 2145, 19 lines modified | Offset 2145, 19 lines modified | ||
| 2145 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 2145 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 2146 | <dd·class="field-odd"><p></p></dd> | 2146 | <dd·class="field-odd"><p></p></dd> |
| 2147 | </dl> | 2147 | </dl> |
| 2148 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 2148 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 2149 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 2149 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 2150 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">org_id</span><span·class="p">()</span> | 2150 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">org_id</span><span·class="p">()</span> |
| 2151 | <span·class="gp">...</span> | 2151 | <span·class="gp">...</span> |
| 2152 | <span·class="go">' | 2152 | <span·class="go">'567305-2659'</span> |
| 2153 | <span·class="go">' | 2153 | <span·class="go">'388251-9402'</span> |
| 2154 | <span·class="go">' | 2154 | <span·class="go">'248145-5976'</span> |
| 2155 | <span·class="go">' | 2155 | <span·class="go">'138417-2886'</span> |
| 2156 | <span·class="go">' | 2156 | <span·class="go">'123279-8189'</span> |
| 2157 | </pre></div> | 2157 | </pre></div> |
| 2158 | </div> | 2158 | </div> |
| 2159 | </dd></dl> | 2159 | </dd></dl> |
| 2160 | <dl·class="py·method"> | 2160 | <dl·class="py·method"> |
| 2161 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.sv_SE.Provider.ssn"> | 2161 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.sv_SE.Provider.ssn"> |
| 2162 | <span·class="sig-name·descname"><span·class="pre">ssn</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">min_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">18</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">max_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">90</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">long</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">dash</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.sv_SE.Provider.ssn"·title="Link·to·this·definition">¶</a></dt> | 2162 | <span·class="sig-name·descname"><span·class="pre">ssn</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">min_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">18</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">max_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">90</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">long</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">dash</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.sv_SE.Provider.ssn"·title="Link·to·this·definition">¶</a></dt> |
| Offset 2172, 19 lines modified | Offset 2172, 19 lines modified | ||
| 2172 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 2172 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 2173 | <dd·class="field-odd"><p></p></dd> | 2173 | <dd·class="field-odd"><p></p></dd> |
| 2174 | </dl> | 2174 | </dl> |
| 2175 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 2175 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 2176 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 2176 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 2177 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">ssn</span><span·class="p">()</span> | 2177 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">ssn</span><span·class="p">()</span> |
| 2178 | <span·class="gp">...</span> | 2178 | <span·class="gp">...</span> |
| 2179 | <span·class="go">'7 | 2179 | <span·class="go">'730418-7763'</span> |
| 2180 | <span·class="go">'7 | 2180 | <span·class="go">'700215-0410'</span> |
| 2181 | <span·class="go">'8 | 2181 | <span·class="go">'840817-9888'</span> |
| 2182 | <span·class="go">'6 | 2182 | <span·class="go">'611227-4979'</span> |
| 2183 | <span·class="go">'7 | 2183 | <span·class="go">'710713-9409'</span> |
| 2184 | </pre></div> | 2184 | </pre></div> |
| 2185 | </div> | 2185 | </div> |
| 2186 | </dd></dl> | 2186 | </dd></dl> |
| 2187 | <dl·class="py·method"> | 2187 | <dl·class="py·method"> |
| 2188 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.sv_SE.Provider.vat_id"> | 2188 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.sv_SE.Provider.vat_id"> |
| 2189 | <span·class="sig-name·descname"><span·class="pre">vat_id</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.sv_SE.Provider.vat_id"·title="Link·to·this·definition">¶</a></dt> | 2189 | <span·class="sig-name·descname"><span·class="pre">vat_id</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.sv_SE.Provider.vat_id"·title="Link·to·this·definition">¶</a></dt> |
| Offset 2194, 19 lines modified | Offset 2194, 19 lines modified | ||
| 2194 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 2194 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 2195 | <dd·class="field-odd"><p></p></dd> | 2195 | <dd·class="field-odd"><p></p></dd> |
| 2196 | </dl> | 2196 | </dl> |
| 2197 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 2197 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 2198 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 2198 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 2199 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">vat_id</span><span·class="p">()</span> | 2199 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">vat_id</span><span·class="p">()</span> |
| 2200 | <span·class="gp">...</span> | 2200 | <span·class="gp">...</span> |
| 2201 | <span·class="go">'SE16 | 2201 | <span·class="go">'SE16567305265901'</span> |
| 2202 | <span·class="go">'SE16 | 2202 | <span·class="go">'SE16188251940601'</span> |
| 2203 | <span·class="go">'SE16 | 2203 | <span·class="go">'SE16248145597601'</span> |
| 2204 | <span·class="go">'SE16 | 2204 | <span·class="go">'SE16338417288201'</span> |
| 2205 | <span·class="go">'SE16 | 2205 | <span·class="go">'SE16923279818201'</span> |
| 2206 | </pre></div> | 2206 | </pre></div> |
| 2207 | </div> | 2207 | </div> |
| 2208 | </dd></dl> | 2208 | </dd></dl> |
| 2209 | </dd></dl> | 2209 | </dd></dl> |
| 2210 | </section> | 2210 | </section> |
| Offset 1176, 64 lines modified | Offset 1176, 64 lines modified | ||
| 1176 | ········str]¶ | 1176 | ········str]¶ |
| 1177 | ············Returns·matching·Org·ID·and·VAT·number | 1177 | ············Returns·matching·Org·ID·and·VAT·number |
| 1178 | ··············Examples: | 1178 | ··············Examples: |
| 1179 | ············>>>·Faker.seed(0) | 1179 | ············>>>·Faker.seed(0) |
| 1180 | ············>>>·for·_·in·range(5): | 1180 | ············>>>·for·_·in·range(5): |
| 1181 | ············...·····fake.org_and_vat_id() | 1181 | ············...·····fake.org_and_vat_id() |
| 1182 | ············... | 1182 | ············... |
| 1183 | ············(' | 1183 | ············('967305-2651',·'SE16967305265101') |
| 1184 | ············(' | 1184 | ············('888251-9401',·'SE16888251940101') |
| 1185 | ············(' | 1185 | ············('948145-5971',·'SE16948145597101') |
| 1186 | ············(' | 1186 | ············('638417-2885',·'SE16638417288501') |
| 1187 | ············(' | 1187 | ············('123279-8189',·'SE16123279818901') |
| 1188 | ········org_id(long:·bool·=·False,·dash:·bool·=·True)·→·str¶ | 1188 | ········org_id(long:·bool·=·False,·dash:·bool·=·True)·→·str¶ |
| 1189 | ············Returns·a·10·or·12·digit·Organisation·ID·for·a·Swedish·company.·(In | 1189 | ············Returns·a·10·or·12·digit·Organisation·ID·for·a·Swedish·company.·(In |
| 1190 | ············Swedish)·https://sv.wikipedia.org/wiki/Organisationsnummer | 1190 | ············Swedish)·https://sv.wikipedia.org/wiki/Organisationsnummer |
| 1191 | ··············Examples: | 1191 | ··············Examples: |
| 1192 | ············>>>·Faker.seed(0) | 1192 | ············>>>·Faker.seed(0) |
| 1193 | ············>>>·for·_·in·range(5): | 1193 | ············>>>·for·_·in·range(5): |
| 1194 | ············...·····fake.org_id() | 1194 | ············...·····fake.org_id() |
| 1195 | ············... | 1195 | ············... |
| 1196 | ············' | 1196 | ············'567305-2659' |
| 1197 | ············' | 1197 | ············'388251-9402' |
| 1198 | ············' | 1198 | ············'248145-5976' |
| 1199 | ············' | 1199 | ············'138417-2886' |
| 1200 | ············' | 1200 | ············'123279-8189' |
| 1201 | ········ssn(min_age:·int·=·18,·max_age:·int·=·90,·long:·bool·=·False,·dash: | 1201 | ········ssn(min_age:·int·=·18,·max_age:·int·=·90,·long:·bool·=·False,·dash: |
| 1202 | ········bool·=·True)·→·str¶ | 1202 | ········bool·=·True)·→·str¶ |
| 1203 | ············Returns·a·10·or·12·(long=True)·digit·Swedish·SSN,·“Personnummer”. | 1203 | ············Returns·a·10·or·12·(long=True)·digit·Swedish·SSN,·“Personnummer”. |
| 1204 | ············It·consists·of·10·digits·in·the·form·(CC)YYMMDD-SSSQ,·where·YYMMDD | 1204 | ············It·consists·of·10·digits·in·the·form·(CC)YYMMDD-SSSQ,·where·YYMMDD |
| 1205 | ············is·the·date·of·birth,·SSS·is·a·serial·number·and·Q·is·a·control | 1205 | ············is·the·date·of·birth,·SSS·is·a·serial·number·and·Q·is·a·control |
| 1206 | ············character·(Luhn·checksum). | 1206 | ············character·(Luhn·checksum). |
| 1207 | ············Specifying·dash=False·will·give·a·purely·numeric·string,·suitable | 1207 | ············Specifying·dash=False·will·give·a·purely·numeric·string,·suitable |
| 1208 | ············for·writing·direct·to·databases. | 1208 | ············for·writing·direct·to·databases. |
| 1209 | ············http://en.wikipedia.org/wiki/Personal_identity_number_(Sweden) | 1209 | ············http://en.wikipedia.org/wiki/Personal_identity_number_(Sweden) |
| 1210 | ··············Examples: | 1210 | ··············Examples: |
| 1211 | ············>>>·Faker.seed(0) | 1211 | ············>>>·Faker.seed(0) |
| 1212 | ············>>>·for·_·in·range(5): | 1212 | ············>>>·for·_·in·range(5): |
| 1213 | ············...·····fake.ssn() | 1213 | ············...·····fake.ssn() |
| 1214 | ············... | 1214 | ············... |
| 1215 | ············'7 | 1215 | ············'730418-7763' |
| 1216 | ············'7 | 1216 | ············'700215-0410' |
| 1217 | ············'8 | 1217 | ············'840817-9888' |
| 1218 | ············'6 | 1218 | ············'611227-4979' |
| 1219 | ············'7 | 1219 | ············'710713-9409' |
| 1220 | ········vat_id()·→·str¶ | 1220 | ········vat_id()·→·str¶ |
| 1221 | ············http://ec.europa.eu/taxation_customs/vies/faq.html#item_11·:return: | 1221 | ············http://ec.europa.eu/taxation_customs/vies/faq.html#item_11·:return: |
| 1222 | ············A·random·Swedish·VAT·ID,·based·on·a·valid·Org·ID | 1222 | ············A·random·Swedish·VAT·ID,·based·on·a·valid·Org·ID |
| 1223 | ··············Examples: | 1223 | ··············Examples: |
| 1224 | ············>>>·Faker.seed(0) | 1224 | ············>>>·Faker.seed(0) |
| 1225 | ············>>>·for·_·in·range(5): | 1225 | ············>>>·for·_·in·range(5): |
| 1226 | ············...·····fake.vat_id() | 1226 | ············...·····fake.vat_id() |
| 1227 | ············... | 1227 | ············... |
| 1228 | ············'SE16 | 1228 | ············'SE16567305265901' |
| 1229 | ············'SE16 | 1229 | ············'SE16188251940601' |
| 1230 | ············'SE16 | 1230 | ············'SE16248145597601' |
| 1231 | ············'SE16 | 1231 | ············'SE16338417288201' |
| 1232 | ············'SE16 | 1232 | ············'SE16923279818201' |
| 1233 | ****·Table_of_Contents·**** | 1233 | ****·Table_of_Contents·**** |
| 1234 | ····*·Locale_sv_SE | 1234 | ····*·Locale_sv_SE |
| 1235 | ··········o·faker.providers.address | 1235 | ··········o·faker.providers.address |
| 1236 | ················#·Provider | 1236 | ················#·Provider |
| 1237 | ······················#·Provider.address() | 1237 | ······················#·Provider.address() |
| 1238 | ······················#·Provider.administrative_unit() | 1238 | ······················#·Provider.administrative_unit() |
| 1239 | ······················#·Provider.building_number() | 1239 | ······················#·Provider.building_number() |
| Offset 389, 19 lines modified | Offset 389, 19 lines modified | ||
| 389 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 389 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 390 | <dd·class="field-odd"><p></p></dd> | 390 | <dd·class="field-odd"><p></p></dd> |
| 391 | </dl> | 391 | </dl> |
| 392 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 392 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 393 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 393 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 394 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 394 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 395 | <span·class="gp">...</span> | 395 | <span·class="gp">...</span> |
| 396 | <span·class="go">'PM'</span> | ||
| 397 | <span·class="go">'PM'</span> | ||
| 398 | <span·class="go">'AM'</span> | 396 | <span·class="go">'AM'</span> |
| 399 | <span·class="go">'PM'</span> | 397 | <span·class="go">'PM'</span> |
| 400 | <span·class="go">'AM'</span> | 398 | <span·class="go">'AM'</span> |
| 399 | <span·class="go">'AM'</span> | ||
| 400 | <span·class="go">'AM'</span> | ||
| 401 | </pre></div> | 401 | </pre></div> |
| 402 | </div> | 402 | </div> |
| 403 | </dd></dl> | 403 | </dd></dl> |
| 404 | <dl·class="py·method"> | 404 | <dl·class="py·method"> |
| 405 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ta_IN.Provider.century"> | 405 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ta_IN.Provider.century"> |
| 406 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ta_IN.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 406 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ta_IN.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 442, 19 lines modified | Offset 442, 19 lines modified | ||
| 442 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 442 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 443 | <dd·class="field-even"><p></p></dd> | 443 | <dd·class="field-even"><p></p></dd> |
| 444 | </dl> | 444 | </dl> |
| 445 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 445 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 446 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 446 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 447 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 447 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 448 | <span·class="gp">...</span> | 448 | <span·class="gp">...</span> |
| 449 | <span·class="go">'2018-01-27'</span> | ||
| 450 | <span·class="go">'201 | 449 | <span·class="go">'2017-02-26'</span> |
| 450 | <span·class="go">'2012-04-29'</span> | ||
| 451 | <span·class="go">'1993- | 451 | <span·class="go">'1993-06-27'</span> |
| 452 | <span·class="go">'1984-0 | 452 | <span·class="go">'1984-06-17'</span> |
| 453 | <span·class="go">'199 | 453 | <span·class="go">'1998-07-21'</span> |
| 454 | </pre></div> | 454 | </pre></div> |
| 455 | </div> | 455 | </div> |
| 456 | </dd></dl> | 456 | </dd></dl> |
| 457 | <dl·class="py·method"> | 457 | <dl·class="py·method"> |
| 458 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ta_IN.Provider.date_between"> | 458 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ta_IN.Provider.date_between"> |
| 459 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ta_IN.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 459 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ta_IN.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 476, 19 lines modified | Offset 476, 19 lines modified | ||
| 476 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 476 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 477 | <dd·class="field-even"><p></p></dd> | 477 | <dd·class="field-even"><p></p></dd> |
| 478 | </dl> | 478 | </dl> |
| 479 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 479 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 480 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 480 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 481 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 481 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 482 | <span·class="gp">...</span> | 482 | <span·class="gp">...</span> |
| 483 | <span·class="go">datetime.date(202 | 483 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 484 | <span·class="go">datetime.date(201 | 484 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 485 | <span·class="go">datetime.date(200 | 485 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 486 | <span·class="go">datetime.date(200 | 486 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 487 | <span·class="go">datetime.date(201 | 487 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 488 | </pre></div> | 488 | </pre></div> |
| 489 | </div> | 489 | </div> |
| 490 | </dd></dl> | 490 | </dd></dl> |
| 491 | <dl·class="py·method"> | 491 | <dl·class="py·method"> |
| 492 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ta_IN.Provider.date_between_dates"> | 492 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ta_IN.Provider.date_between_dates"> |
| 493 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ta_IN.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 493 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ta_IN.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 507, 19 lines modified | Offset 507, 19 lines modified | ||
| 507 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 507 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 508 | <dd·class="field-odd"><p></p></dd> | 508 | <dd·class="field-odd"><p></p></dd> |
| 509 | </dl> | 509 | </dl> |
| 510 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 510 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 511 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 511 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 512 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 512 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 513 | <span·class="gp">...</span> | 513 | <span·class="gp">...</span> |
| 514 | <span·class="go">datetime.date(202 | 514 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 515 | <span·class="go">datetime.date(202 | 515 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 516 | <span·class="go">datetime.date(202 | 516 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 517 | <span·class="go">datetime.date(202 | 517 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 518 | <span·class="go">datetime.date(202 | 518 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 519 | </pre></div> | 519 | </pre></div> |
| 520 | </div> | 520 | </div> |
| 521 | </dd></dl> | 521 | </dd></dl> |
| 522 | <dl·class="py·method"> | 522 | <dl·class="py·method"> |
| 523 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ta_IN.Provider.date_object"> | 523 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ta_IN.Provider.date_object"> |
| 524 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ta_IN.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 524 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ta_IN.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 531, 19 lines modified | Offset 531, 19 lines modified | ||
| 531 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 531 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 532 | <dd·class="field-even"><p></p></dd> | 532 | <dd·class="field-even"><p></p></dd> |
| 533 | </dl> | 533 | </dl> |
| 534 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 534 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 535 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 535 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 536 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 536 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 537 | <span·class="gp">...</span> | 537 | <span·class="gp">...</span> |
| 538 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 539 | <span·class="go">datetime.date(201 | 538 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 539 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 540 | <span·class="go">datetime.date(1993,· | 540 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 541 | <span·class="go">datetime.date(1984,· | 541 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 542 | <span·class="go">datetime.date(199 | 542 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 543 | </pre></div> | 543 | </pre></div> |
| 544 | </div> | 544 | </div> |
| 545 | </dd></dl> | 545 | </dd></dl> |
| 546 | <dl·class="py·method"> | 546 | <dl·class="py·method"> |
| 547 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ta_IN.Provider.date_of_birth"> | 547 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ta_IN.Provider.date_of_birth"> |
| 548 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ta_IN.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 548 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ta_IN.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 567, 19 lines modified | Offset 567, 19 lines modified | ||
| 567 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 567 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 568 | <dd·class="field-even"><p></p></dd> | 568 | <dd·class="field-even"><p></p></dd> |
| 569 | </dl> | 569 | </dl> |
| 570 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 570 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 571 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 571 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 572 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 572 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 573 | <span·class="gp">...</span> | 573 | <span·class="gp">...</span> |
| 574 | <span·class="go">datetime.date(200 | 574 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 575 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 576 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 575 | <span·class="go">datetime.date(19 | 577 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 576 | <span·class="go">datetime.date(19 | 578 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 577 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 578 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 579 | </pre></div> | 579 | </pre></div> |
| 580 | </div> | 580 | </div> |
| 581 | </dd></dl> | 581 | </dd></dl> |
| 582 | <dl·class="py·method"> | 582 | <dl·class="py·method"> |
| 583 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ta_IN.Provider.date_this_century"> | 583 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ta_IN.Provider.date_this_century"> |
| 584 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ta_IN.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 584 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ta_IN.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 600, 19 lines modified | Offset 600, 19 lines modified | ||
| 600 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 600 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 98663/120888 bytes (81.62%) of diff not shown. | |||
| Offset 195, 19 lines modified | Offset 195, 19 lines modified | ||
| 195 | ······Bases:·Provider | 195 | ······Bases:·Provider |
| 196 | ········am_pm()·→·str¶ | 196 | ········am_pm()·→·str¶ |
| 197 | ··············Examples: | 197 | ··············Examples: |
| 198 | ············>>>·Faker.seed(0) | 198 | ············>>>·Faker.seed(0) |
| 199 | ············>>>·for·_·in·range(5): | 199 | ············>>>·for·_·in·range(5): |
| 200 | ············...·····fake.am_pm() | 200 | ············...·····fake.am_pm() |
| 201 | ············... | 201 | ············... |
| 202 | ············'PM' | ||
| 203 | ············'PM' | ||
| 204 | ············'AM' | 202 | ············'AM' |
| 205 | ············'PM' | 203 | ············'PM' |
| 206 | ············'AM' | 204 | ············'AM' |
| 205 | ············'AM' | ||
| 206 | ············'AM' | ||
| 207 | ········century()·→·str¶ | 207 | ········century()·→·str¶ |
| 208 | ··············Example: | 208 | ··············Example: |
| 209 | ··················‘XVII’ | 209 | ··················‘XVII’ |
| 210 | ··············Examples: | 210 | ··············Examples: |
| 211 | ············>>>·Faker.seed(0) | 211 | ············>>>·Faker.seed(0) |
| 212 | ············>>>·for·_·in·range(5): | 212 | ············>>>·for·_·in·range(5): |
| 213 | ············...·····fake.century() | 213 | ············...·····fake.century() |
| Offset 227, 19 lines modified | Offset 227, 19 lines modified | ||
| 227 | ··············Returns: | 227 | ··············Returns: |
| 228 | ··················Date | 228 | ··················Date |
| 229 | ··············Examples: | 229 | ··············Examples: |
| 230 | ············>>>·Faker.seed(0) | 230 | ············>>>·Faker.seed(0) |
| 231 | ············>>>·for·_·in·range(5): | 231 | ············>>>·for·_·in·range(5): |
| 232 | ············...·····fake.date() | 232 | ············...·····fake.date() |
| 233 | ············... | 233 | ············... |
| 234 | ············'2018-01-27' | ||
| 235 | ············'201 | 234 | ············'2017-02-26' |
| 235 | ············'2012-04-29' | ||
| 236 | ············'1993- | 236 | ············'1993-06-27' |
| 237 | ············'1984-0 | 237 | ············'1984-06-17' |
| 238 | ············'199 | 238 | ············'1998-07-21' |
| 239 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 239 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 240 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 240 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 241 | ········date¶ | 241 | ········date¶ |
| 242 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 242 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 243 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 243 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 244 | ··············Parameters: | 244 | ··············Parameters: |
| 245 | ······················*·start_date·–·Defaults·to·30·years·ago | 245 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 249, 19 lines modified | Offset 249, 19 lines modified | ||
| 249 | ··············Returns: | 249 | ··············Returns: |
| 250 | ··················Date | 250 | ··················Date |
| 251 | ··············Examples: | 251 | ··············Examples: |
| 252 | ············>>>·Faker.seed(0) | 252 | ············>>>·Faker.seed(0) |
| 253 | ············>>>·for·_·in·range(5): | 253 | ············>>>·for·_·in·range(5): |
| 254 | ············...·····fake.date_between() | 254 | ············...·····fake.date_between() |
| 255 | ············... | 255 | ············... |
| 256 | ············datetime.date(202 | 256 | ············datetime.date(2021,·3,·5) |
| 257 | ············datetime.date(201 | 257 | ············datetime.date(2018,·7,·31) |
| 258 | ············datetime.date(200 | 258 | ············datetime.date(2008,·6,·16) |
| 259 | ············datetime.date(200 | 259 | ············datetime.date(2003,·8,·11) |
| 260 | ············datetime.date(201 | 260 | ············datetime.date(2011,·3,·7) |
| 261 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 261 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 262 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 262 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 263 | ········=·None)·→·date¶ | 263 | ········=·None)·→·date¶ |
| 264 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 264 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 265 | ············given·dates.·Accepts·Date·or·datetime·objects | 265 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 266 | ··············Parameters: | 266 | ··············Parameters: |
| 267 | ······················*·date_start·–·Date | 267 | ······················*·date_start·–·Date |
| Offset 269, 33 lines modified | Offset 269, 33 lines modified | ||
| 269 | ··············Returns: | 269 | ··············Returns: |
| 270 | ··················Date | 270 | ··················Date |
| 271 | ··············Examples: | 271 | ··············Examples: |
| 272 | ············>>>·Faker.seed(0) | 272 | ············>>>·Faker.seed(0) |
| 273 | ············>>>·for·_·in·range(5): | 273 | ············>>>·for·_·in·range(5): |
| 274 | ············...·····fake.date_between_dates() | 274 | ············...·····fake.date_between_dates() |
| 275 | ············... | 275 | ············... |
| 276 | ············datetime.date(202 | 276 | ············datetime.date(2025,·11,·4) |
| 277 | ············datetime.date(202 | 277 | ············datetime.date(2025,·11,·4) |
| 278 | ············datetime.date(202 | 278 | ············datetime.date(2025,·11,·4) |
| 279 | ············datetime.date(202 | 279 | ············datetime.date(2025,·11,·4) |
| 280 | ············datetime.date(202 | 280 | ············datetime.date(2025,·11,·4) |
| 281 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 281 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 282 | ············Get·a·date·object·between·January·1,·1970·and·now | 282 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 283 | ··············Example: | 283 | ··············Example: |
| 284 | ··················datetime.date(2016,·9,·20) | 284 | ··················datetime.date(2016,·9,·20) |
| 285 | ··············Examples: | 285 | ··············Examples: |
| 286 | ············>>>·Faker.seed(0) | 286 | ············>>>·Faker.seed(0) |
| 287 | ············>>>·for·_·in·range(5): | 287 | ············>>>·for·_·in·range(5): |
| 288 | ············...·····fake.date_object() | 288 | ············...·····fake.date_object() |
| 289 | ············... | 289 | ············... |
| 290 | ············datetime.date(2018,·1,·27) | ||
| 291 | ············datetime.date(201 | 290 | ············datetime.date(2017,·2,·26) |
| 291 | ············datetime.date(2012,·4,·29) | ||
| 292 | ············datetime.date(1993,· | 292 | ············datetime.date(1993,·6,·27) |
| 293 | ············datetime.date(1984,· | 293 | ············datetime.date(1984,·6,·17) |
| 294 | ············datetime.date(199 | 294 | ············datetime.date(1998,·7,·21) |
| 295 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 295 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 296 | ········maximum_age:·int·=·115)·→·date¶ | 296 | ········maximum_age:·int·=·115)·→·date¶ |
| 297 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 297 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 298 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 298 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 299 | ··············Parameters: | 299 | ··············Parameters: |
| 300 | ······················*·tzinfo·–·Defaults·to·None. | 300 | ······················*·tzinfo·–·Defaults·to·None. |
| 301 | ······················*·minimum_age·–·Defaults·to·0. | 301 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 305, 19 lines modified | Offset 305, 19 lines modified | ||
| 305 | ··············Returns: | 305 | ··············Returns: |
| 306 | ··················Date | 306 | ··················Date |
| 307 | ··············Examples: | 307 | ··············Examples: |
| 308 | ············>>>·Faker.seed(0) | 308 | ············>>>·Faker.seed(0) |
| 309 | ············>>>·for·_·in·range(5): | 309 | ············>>>·for·_·in·range(5): |
| 310 | ············...·····fake.date_of_birth() | 310 | ············...·····fake.date_of_birth() |
| 311 | ············... | 311 | ············... |
| 312 | ············datetime.date(200 | 312 | ············datetime.date(2007,·10,·18) |
| 313 | ············datetime.date(1997,·10,·6) | ||
| 314 | ············datetime.date(1958,·8,·18) | ||
| 313 | ············datetime.date(19 | 315 | ············datetime.date(1939,·11,·17) |
| 314 | ············datetime.date(19 | 316 | ············datetime.date(1969,·2,·24) |
| 315 | ············datetime.date(1940,·12,·18) | ||
| 316 | ············datetime.date(1970,·3,·28) | ||
| 317 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 317 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 318 | ········→·date¶ | 318 | ········→·date¶ |
| 319 | ············Gets·a·Date·object·for·the·current·century. | 319 | ············Gets·a·Date·object·for·the·current·century. |
| 320 | ··············Parameters: | 320 | ··············Parameters: |
| 321 | ······················*·before_today·–·include·days·in·current·century·before | 321 | ······················*·before_today·–·include·days·in·current·century·before |
| 322 | ························today | 322 | ························today |
| 323 | ······················*·after_today·–·include·days·in·current·century·after | 323 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 327, 19 lines modified | Offset 327, 19 lines modified | ||
| 327 | ··············Returns: | 327 | ··············Returns: |
| 328 | ··················Date | 328 | ··················Date |
| 329 | ··············Examples: | 329 | ··············Examples: |
| 330 | ············>>>·Faker.seed(0) | 330 | ············>>>·Faker.seed(0) |
| 331 | ············>>>·for·_·in·range(5): | 331 | ············>>>·for·_·in·range(5): |
| 332 | ············...·····fake.date_this_century() | 332 | ············...·····fake.date_this_century() |
| 333 | ············... | 333 | ············... |
| Max diff block lines reached; 24695/30609 bytes (80.68%) of diff not shown. | |||
| Offset 1477, 19 lines modified | Offset 1477, 19 lines modified | ||
| 1477 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1477 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1478 | <dd·class="field-odd"><p></p></dd> | 1478 | <dd·class="field-odd"><p></p></dd> |
| 1479 | </dl> | 1479 | </dl> |
| 1480 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1480 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1481 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1481 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1482 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1482 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 1483 | <span·class="gp">...</span> | 1483 | <span·class="gp">...</span> |
| 1484 | <span·class="go">'PM'</span> | ||
| 1485 | <span·class="go">'PM'</span> | ||
| 1486 | <span·class="go">'AM'</span> | 1484 | <span·class="go">'AM'</span> |
| 1487 | <span·class="go">'PM'</span> | 1485 | <span·class="go">'PM'</span> |
| 1488 | <span·class="go">'AM'</span> | 1486 | <span·class="go">'AM'</span> |
| 1487 | <span·class="go">'AM'</span> | ||
| 1488 | <span·class="go">'AM'</span> | ||
| 1489 | </pre></div> | 1489 | </pre></div> |
| 1490 | </div> | 1490 | </div> |
| 1491 | </dd></dl> | 1491 | </dd></dl> |
| 1492 | <dl·class="py·method"> | 1492 | <dl·class="py·method"> |
| 1493 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.th_TH.Provider.century"> | 1493 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.th_TH.Provider.century"> |
| 1494 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">thai_digit</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">buddhist_era</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.th_TH.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 1494 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">thai_digit</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">buddhist_era</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.th_TH.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1534, 19 lines modified | Offset 1534, 19 lines modified | ||
| 1534 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1534 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1535 | <dd·class="field-odd"><p></p></dd> | 1535 | <dd·class="field-odd"><p></p></dd> |
| 1536 | </dl> | 1536 | </dl> |
| 1537 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1537 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1538 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1538 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1539 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1539 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 1540 | <span·class="gp">...</span> | 1540 | <span·class="gp">...</span> |
| 1541 | <span·class="go">'27·ม.ค.·2561'</span> | ||
| 1542 | <span·class="go">'2 | 1541 | <span·class="go">'26·ก.พ.·2560'</span> |
| 1542 | <span·class="go">'29·เม.ย.·2555'</span> | ||
| 1543 | <span·class="go">' | 1543 | <span·class="go">'27·มิ.ย.·2536'</span> |
| 1544 | <span·class="go">' | 1544 | <span·class="go">'17·มิ.ย.·2527'</span> |
| 1545 | <span·class="go">' | 1545 | <span·class="go">'21·ก.ค.·2541'</span> |
| 1546 | </pre></div> | 1546 | </pre></div> |
| 1547 | </div> | 1547 | </div> |
| 1548 | </dd></dl> | 1548 | </dd></dl> |
| 1549 | <dl·class="py·method"> | 1549 | <dl·class="py·method"> |
| 1550 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.th_TH.Provider.date_between"> | 1550 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.th_TH.Provider.date_between"> |
| 1551 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.th_TH.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1551 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.th_TH.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1568, 19 lines modified | Offset 1568, 19 lines modified | ||
| 1568 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1568 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1569 | <dd·class="field-even"><p></p></dd> | 1569 | <dd·class="field-even"><p></p></dd> |
| 1570 | </dl> | 1570 | </dl> |
| 1571 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1571 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1572 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1572 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1573 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1573 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 1574 | <span·class="gp">...</span> | 1574 | <span·class="gp">...</span> |
| 1575 | <span·class="go">datetime.date(202 | 1575 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 1576 | <span·class="go">datetime.date(201 | 1576 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 1577 | <span·class="go">datetime.date(200 | 1577 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 1578 | <span·class="go">datetime.date(200 | 1578 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 1579 | <span·class="go">datetime.date(201 | 1579 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 1580 | </pre></div> | 1580 | </pre></div> |
| 1581 | </div> | 1581 | </div> |
| 1582 | </dd></dl> | 1582 | </dd></dl> |
| 1583 | <dl·class="py·method"> | 1583 | <dl·class="py·method"> |
| 1584 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.th_TH.Provider.date_between_dates"> | 1584 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.th_TH.Provider.date_between_dates"> |
| 1585 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.th_TH.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 1585 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.th_TH.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1599, 19 lines modified | Offset 1599, 19 lines modified | ||
| 1599 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1599 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1600 | <dd·class="field-odd"><p></p></dd> | 1600 | <dd·class="field-odd"><p></p></dd> |
| 1601 | </dl> | 1601 | </dl> |
| 1602 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1602 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1603 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1603 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1604 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 1604 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 1605 | <span·class="gp">...</span> | 1605 | <span·class="gp">...</span> |
| 1606 | <span·class="go">datetime.date(202 | 1606 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1607 | <span·class="go">datetime.date(202 | 1607 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1608 | <span·class="go">datetime.date(202 | 1608 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1609 | <span·class="go">datetime.date(202 | 1609 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1610 | <span·class="go">datetime.date(202 | 1610 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1611 | </pre></div> | 1611 | </pre></div> |
| 1612 | </div> | 1612 | </div> |
| 1613 | </dd></dl> | 1613 | </dd></dl> |
| 1614 | <dl·class="py·method"> | 1614 | <dl·class="py·method"> |
| 1615 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.th_TH.Provider.date_object"> | 1615 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.th_TH.Provider.date_object"> |
| 1616 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.th_TH.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 1616 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.th_TH.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1623, 19 lines modified | Offset 1623, 19 lines modified | ||
| 1623 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1623 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1624 | <dd·class="field-even"><p></p></dd> | 1624 | <dd·class="field-even"><p></p></dd> |
| 1625 | </dl> | 1625 | </dl> |
| 1626 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1626 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1627 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1627 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1628 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1628 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 1629 | <span·class="gp">...</span> | 1629 | <span·class="gp">...</span> |
| 1630 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 1631 | <span·class="go">datetime.date(201 | 1630 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 1631 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 1632 | <span·class="go">datetime.date(1993,· | 1632 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 1633 | <span·class="go">datetime.date(1984,· | 1633 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 1634 | <span·class="go">datetime.date(199 | 1634 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 1635 | </pre></div> | 1635 | </pre></div> |
| 1636 | </div> | 1636 | </div> |
| 1637 | </dd></dl> | 1637 | </dd></dl> |
| 1638 | <dl·class="py·method"> | 1638 | <dl·class="py·method"> |
| 1639 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.th_TH.Provider.date_of_birth"> | 1639 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.th_TH.Provider.date_of_birth"> |
| 1640 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.th_TH.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1640 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.th_TH.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1659, 19 lines modified | Offset 1659, 19 lines modified | ||
| 1659 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1659 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1660 | <dd·class="field-even"><p></p></dd> | 1660 | <dd·class="field-even"><p></p></dd> |
| 1661 | </dl> | 1661 | </dl> |
| 1662 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1662 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1663 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1663 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1664 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1664 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 1665 | <span·class="gp">...</span> | 1665 | <span·class="gp">...</span> |
| 1666 | <span·class="go">datetime.date(200 | 1666 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 1667 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 1668 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 1667 | <span·class="go">datetime.date(19 | 1669 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 1668 | <span·class="go">datetime.date(19 | 1670 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 1669 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 1670 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 1671 | </pre></div> | 1671 | </pre></div> |
| 1672 | </div> | 1672 | </div> |
| 1673 | </dd></dl> | 1673 | </dd></dl> |
| 1674 | <dl·class="py·method"> | 1674 | <dl·class="py·method"> |
| 1675 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.th_TH.Provider.date_this_century"> | 1675 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.th_TH.Provider.date_this_century"> |
| 1676 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.th_TH.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 1676 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.th_TH.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1692, 19 lines modified | Offset 1692, 19 lines modified | ||
| 1692 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1692 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 102113/125373 bytes (81.45%) of diff not shown. | |||
| Offset 867, 19 lines modified | Offset 867, 19 lines modified | ||
| 867 | ······Bases:·Provider | 867 | ······Bases:·Provider |
| 868 | ········am_pm()·→·str¶ | 868 | ········am_pm()·→·str¶ |
| 869 | ··············Examples: | 869 | ··············Examples: |
| 870 | ············>>>·Faker.seed(0) | 870 | ············>>>·Faker.seed(0) |
| 871 | ············>>>·for·_·in·range(5): | 871 | ············>>>·for·_·in·range(5): |
| 872 | ············...·····fake.am_pm() | 872 | ············...·····fake.am_pm() |
| 873 | ············... | 873 | ············... |
| 874 | ············'PM' | ||
| 875 | ············'PM' | ||
| 876 | ············'AM' | 874 | ············'AM' |
| 877 | ············'PM' | 875 | ············'PM' |
| 878 | ············'AM' | 876 | ············'AM' |
| 877 | ············'AM' | ||
| 878 | ············'AM' | ||
| 879 | ········century(thai_digit:·bool·=·False,·buddhist_era:·bool·=·True)·→·str¶ | 879 | ········century(thai_digit:·bool·=·False,·buddhist_era:·bool·=·True)·→·str¶ |
| 880 | ··············Parameters: | 880 | ··············Parameters: |
| 881 | ······················*·(default·(buddhist:_era·use·Buddist·era·or·not)·– | 881 | ······················*·(default·(buddhist:_era·use·Buddist·era·or·not)·– |
| 882 | ························False) | 882 | ························False) |
| 883 | ······················*·(default·–·True) | 883 | ······················*·(default·–·True) |
| 884 | ··············Example: | 884 | ··············Example: |
| 885 | ··················‘20’ | 885 | ··················‘20’ |
| Offset 903, 19 lines modified | Offset 903, 19 lines modified | ||
| 903 | ············2563’·(thai_digit·=·True)·:example:·‘8·พฤศิจกายน·2020’·(pattern: | 903 | ············2563’·(thai_digit·=·True)·:example:·‘8·พฤศิจกายน·2020’·(pattern: |
| 904 | ············str·=·“%-d·%B·%Y”,·buddhist_era·=·False) | 904 | ············str·=·“%-d·%B·%Y”,·buddhist_era·=·False) |
| 905 | ··············Examples: | 905 | ··············Examples: |
| 906 | ············>>>·Faker.seed(0) | 906 | ············>>>·Faker.seed(0) |
| 907 | ············>>>·for·_·in·range(5): | 907 | ············>>>·for·_·in·range(5): |
| 908 | ············...·····fake.date() | 908 | ············...·····fake.date() |
| 909 | ············... | 909 | ············... |
| 910 | ············'27·ม.ค.·2561' | ||
| 911 | ············'2 | 910 | ············'26·ก.พ.·2560' |
| 911 | ············'29·เม.ย.·2555' | ||
| 912 | ············' | 912 | ············'27·มิ.ย.·2536' |
| 913 | ············' | 913 | ············'17·มิ.ย.·2527' |
| 914 | ············' | 914 | ············'21·ก.ค.·2541' |
| 915 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 915 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 916 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 916 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 917 | ········date¶ | 917 | ········date¶ |
| 918 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 918 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 919 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 919 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 920 | ··············Parameters: | 920 | ··············Parameters: |
| 921 | ······················*·start_date·–·Defaults·to·30·years·ago | 921 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 925, 19 lines modified | Offset 925, 19 lines modified | ||
| 925 | ··············Returns: | 925 | ··············Returns: |
| 926 | ··················Date | 926 | ··················Date |
| 927 | ··············Examples: | 927 | ··············Examples: |
| 928 | ············>>>·Faker.seed(0) | 928 | ············>>>·Faker.seed(0) |
| 929 | ············>>>·for·_·in·range(5): | 929 | ············>>>·for·_·in·range(5): |
| 930 | ············...·····fake.date_between() | 930 | ············...·····fake.date_between() |
| 931 | ············... | 931 | ············... |
| 932 | ············datetime.date(202 | 932 | ············datetime.date(2021,·3,·5) |
| 933 | ············datetime.date(201 | 933 | ············datetime.date(2018,·7,·31) |
| 934 | ············datetime.date(200 | 934 | ············datetime.date(2008,·6,·16) |
| 935 | ············datetime.date(200 | 935 | ············datetime.date(2003,·8,·11) |
| 936 | ············datetime.date(201 | 936 | ············datetime.date(2011,·3,·7) |
| 937 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 937 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 938 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 938 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 939 | ········=·None)·→·date¶ | 939 | ········=·None)·→·date¶ |
| 940 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 940 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 941 | ············given·dates.·Accepts·Date·or·datetime·objects | 941 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 942 | ··············Parameters: | 942 | ··············Parameters: |
| 943 | ······················*·date_start·–·Date | 943 | ······················*·date_start·–·Date |
| Offset 945, 33 lines modified | Offset 945, 33 lines modified | ||
| 945 | ··············Returns: | 945 | ··············Returns: |
| 946 | ··················Date | 946 | ··················Date |
| 947 | ··············Examples: | 947 | ··············Examples: |
| 948 | ············>>>·Faker.seed(0) | 948 | ············>>>·Faker.seed(0) |
| 949 | ············>>>·for·_·in·range(5): | 949 | ············>>>·for·_·in·range(5): |
| 950 | ············...·····fake.date_between_dates() | 950 | ············...·····fake.date_between_dates() |
| 951 | ············... | 951 | ············... |
| 952 | ············datetime.date(202 | 952 | ············datetime.date(2025,·11,·4) |
| 953 | ············datetime.date(202 | 953 | ············datetime.date(2025,·11,·4) |
| 954 | ············datetime.date(202 | 954 | ············datetime.date(2025,·11,·4) |
| 955 | ············datetime.date(202 | 955 | ············datetime.date(2025,·11,·4) |
| 956 | ············datetime.date(202 | 956 | ············datetime.date(2025,·11,·4) |
| 957 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 957 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 958 | ············Get·a·date·object·between·January·1,·1970·and·now | 958 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 959 | ··············Example: | 959 | ··············Example: |
| 960 | ··················datetime.date(2016,·9,·20) | 960 | ··················datetime.date(2016,·9,·20) |
| 961 | ··············Examples: | 961 | ··············Examples: |
| 962 | ············>>>·Faker.seed(0) | 962 | ············>>>·Faker.seed(0) |
| 963 | ············>>>·for·_·in·range(5): | 963 | ············>>>·for·_·in·range(5): |
| 964 | ············...·····fake.date_object() | 964 | ············...·····fake.date_object() |
| 965 | ············... | 965 | ············... |
| 966 | ············datetime.date(2018,·1,·27) | ||
| 967 | ············datetime.date(201 | 966 | ············datetime.date(2017,·2,·26) |
| 967 | ············datetime.date(2012,·4,·29) | ||
| 968 | ············datetime.date(1993,· | 968 | ············datetime.date(1993,·6,·27) |
| 969 | ············datetime.date(1984,· | 969 | ············datetime.date(1984,·6,·17) |
| 970 | ············datetime.date(199 | 970 | ············datetime.date(1998,·7,·21) |
| 971 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 971 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 972 | ········maximum_age:·int·=·115)·→·date¶ | 972 | ········maximum_age:·int·=·115)·→·date¶ |
| 973 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 973 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 974 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 974 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 975 | ··············Parameters: | 975 | ··············Parameters: |
| 976 | ······················*·tzinfo·–·Defaults·to·None. | 976 | ······················*·tzinfo·–·Defaults·to·None. |
| 977 | ······················*·minimum_age·–·Defaults·to·0. | 977 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 981, 19 lines modified | Offset 981, 19 lines modified | ||
| 981 | ··············Returns: | 981 | ··············Returns: |
| 982 | ··················Date | 982 | ··················Date |
| 983 | ··············Examples: | 983 | ··············Examples: |
| 984 | ············>>>·Faker.seed(0) | 984 | ············>>>·Faker.seed(0) |
| 985 | ············>>>·for·_·in·range(5): | 985 | ············>>>·for·_·in·range(5): |
| 986 | ············...·····fake.date_of_birth() | 986 | ············...·····fake.date_of_birth() |
| 987 | ············... | 987 | ············... |
| 988 | ············datetime.date(200 | 988 | ············datetime.date(2007,·10,·18) |
| 989 | ············datetime.date(1997,·10,·6) | ||
| 990 | ············datetime.date(1958,·8,·18) | ||
| 989 | ············datetime.date(19 | 991 | ············datetime.date(1939,·11,·17) |
| 990 | ············datetime.date(19 | 992 | ············datetime.date(1969,·2,·24) |
| 991 | ············datetime.date(1940,·12,·18) | ||
| 992 | ············datetime.date(1970,·3,·28) | ||
| 993 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 993 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 994 | ········→·date¶ | 994 | ········→·date¶ |
| 995 | ············Gets·a·Date·object·for·the·current·century. | 995 | ············Gets·a·Date·object·for·the·current·century. |
| 996 | ··············Parameters: | 996 | ··············Parameters: |
| 997 | ······················*·before_today·–·include·days·in·current·century·before | 997 | ······················*·before_today·–·include·days·in·current·century·before |
| 998 | ························today | 998 | ························today |
| 999 | ······················*·after_today·–·include·days·in·current·century·after | 999 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 1003, 19 lines modified | Offset 1003, 19 lines modified | ||
| 1003 | ··············Returns: | 1003 | ··············Returns: |
| 1004 | ··················Date | 1004 | ··················Date |
| 1005 | ··············Examples: | 1005 | ··············Examples: |
| 1006 | ············>>>·Faker.seed(0) | 1006 | ············>>>·Faker.seed(0) |
| 1007 | ············>>>·for·_·in·range(5): | 1007 | ············>>>·for·_·in·range(5): |
| 1008 | ············...·····fake.date_this_century() | 1008 | ············...·····fake.date_this_century() |
| 1009 | ············... | 1009 | ············... |
| Max diff block lines reached; 26240/32359 bytes (81.09%) of diff not shown. | |||
| Offset 1639, 19 lines modified | Offset 1639, 19 lines modified | ||
| 1639 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1639 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1640 | <dd·class="field-odd"><p></p></dd> | 1640 | <dd·class="field-odd"><p></p></dd> |
| 1641 | </dl> | 1641 | </dl> |
| 1642 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1642 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1643 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1643 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1644 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1644 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 1645 | <span·class="gp">...</span> | 1645 | <span·class="gp">...</span> |
| 1646 | <span·class="go">'PM'</span> | ||
| 1647 | <span·class="go">'PM'</span> | ||
| 1648 | <span·class="go">'AM'</span> | 1646 | <span·class="go">'AM'</span> |
| 1649 | <span·class="go">'PM'</span> | 1647 | <span·class="go">'PM'</span> |
| 1650 | <span·class="go">'AM'</span> | 1648 | <span·class="go">'AM'</span> |
| 1649 | <span·class="go">'AM'</span> | ||
| 1650 | <span·class="go">'AM'</span> | ||
| 1651 | </pre></div> | 1651 | </pre></div> |
| 1652 | </div> | 1652 | </div> |
| 1653 | </dd></dl> | 1653 | </dd></dl> |
| 1654 | <dl·class="py·method"> | 1654 | <dl·class="py·method"> |
| 1655 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.tl_PH.Provider.century"> | 1655 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.tl_PH.Provider.century"> |
| 1656 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.tl_PH.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 1656 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.tl_PH.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1692, 19 lines modified | Offset 1692, 19 lines modified | ||
| 1692 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1692 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1693 | <dd·class="field-even"><p></p></dd> | 1693 | <dd·class="field-even"><p></p></dd> |
| 1694 | </dl> | 1694 | </dl> |
| 1695 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1695 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1696 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1696 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1697 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1697 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 1698 | <span·class="gp">...</span> | 1698 | <span·class="gp">...</span> |
| 1699 | <span·class="go">'2018-01-27'</span> | ||
| 1700 | <span·class="go">'201 | 1699 | <span·class="go">'2017-02-26'</span> |
| 1700 | <span·class="go">'2012-04-29'</span> | ||
| 1701 | <span·class="go">'1993- | 1701 | <span·class="go">'1993-06-27'</span> |
| 1702 | <span·class="go">'1984-0 | 1702 | <span·class="go">'1984-06-17'</span> |
| 1703 | <span·class="go">'199 | 1703 | <span·class="go">'1998-07-21'</span> |
| 1704 | </pre></div> | 1704 | </pre></div> |
| 1705 | </div> | 1705 | </div> |
| 1706 | </dd></dl> | 1706 | </dd></dl> |
| 1707 | <dl·class="py·method"> | 1707 | <dl·class="py·method"> |
| 1708 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.tl_PH.Provider.date_between"> | 1708 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.tl_PH.Provider.date_between"> |
| 1709 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.tl_PH.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1709 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.tl_PH.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1726, 19 lines modified | Offset 1726, 19 lines modified | ||
| 1726 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1726 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1727 | <dd·class="field-even"><p></p></dd> | 1727 | <dd·class="field-even"><p></p></dd> |
| 1728 | </dl> | 1728 | </dl> |
| 1729 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1729 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1730 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1730 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1731 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1731 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 1732 | <span·class="gp">...</span> | 1732 | <span·class="gp">...</span> |
| 1733 | <span·class="go">datetime.date(202 | 1733 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 1734 | <span·class="go">datetime.date(201 | 1734 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 1735 | <span·class="go">datetime.date(200 | 1735 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 1736 | <span·class="go">datetime.date(200 | 1736 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 1737 | <span·class="go">datetime.date(201 | 1737 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 1738 | </pre></div> | 1738 | </pre></div> |
| 1739 | </div> | 1739 | </div> |
| 1740 | </dd></dl> | 1740 | </dd></dl> |
| 1741 | <dl·class="py·method"> | 1741 | <dl·class="py·method"> |
| 1742 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.tl_PH.Provider.date_between_dates"> | 1742 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.tl_PH.Provider.date_between_dates"> |
| 1743 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.tl_PH.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 1743 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.tl_PH.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1757, 19 lines modified | Offset 1757, 19 lines modified | ||
| 1757 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1757 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1758 | <dd·class="field-odd"><p></p></dd> | 1758 | <dd·class="field-odd"><p></p></dd> |
| 1759 | </dl> | 1759 | </dl> |
| 1760 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1760 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1761 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1761 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1762 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 1762 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 1763 | <span·class="gp">...</span> | 1763 | <span·class="gp">...</span> |
| 1764 | <span·class="go">datetime.date(202 | 1764 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1765 | <span·class="go">datetime.date(202 | 1765 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1766 | <span·class="go">datetime.date(202 | 1766 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1767 | <span·class="go">datetime.date(202 | 1767 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1768 | <span·class="go">datetime.date(202 | 1768 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1769 | </pre></div> | 1769 | </pre></div> |
| 1770 | </div> | 1770 | </div> |
| 1771 | </dd></dl> | 1771 | </dd></dl> |
| 1772 | <dl·class="py·method"> | 1772 | <dl·class="py·method"> |
| 1773 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.tl_PH.Provider.date_object"> | 1773 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.tl_PH.Provider.date_object"> |
| 1774 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.tl_PH.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 1774 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.tl_PH.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1781, 19 lines modified | Offset 1781, 19 lines modified | ||
| 1781 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1781 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1782 | <dd·class="field-even"><p></p></dd> | 1782 | <dd·class="field-even"><p></p></dd> |
| 1783 | </dl> | 1783 | </dl> |
| 1784 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1784 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1785 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1785 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1786 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1786 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 1787 | <span·class="gp">...</span> | 1787 | <span·class="gp">...</span> |
| 1788 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 1789 | <span·class="go">datetime.date(201 | 1788 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 1789 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 1790 | <span·class="go">datetime.date(1993,· | 1790 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 1791 | <span·class="go">datetime.date(1984,· | 1791 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 1792 | <span·class="go">datetime.date(199 | 1792 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 1793 | </pre></div> | 1793 | </pre></div> |
| 1794 | </div> | 1794 | </div> |
| 1795 | </dd></dl> | 1795 | </dd></dl> |
| 1796 | <dl·class="py·method"> | 1796 | <dl·class="py·method"> |
| 1797 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.tl_PH.Provider.date_of_birth"> | 1797 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.tl_PH.Provider.date_of_birth"> |
| 1798 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.tl_PH.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1798 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.tl_PH.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1817, 19 lines modified | Offset 1817, 19 lines modified | ||
| 1817 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1817 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1818 | <dd·class="field-even"><p></p></dd> | 1818 | <dd·class="field-even"><p></p></dd> |
| 1819 | </dl> | 1819 | </dl> |
| 1820 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1820 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1821 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1821 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1822 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1822 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 1823 | <span·class="gp">...</span> | 1823 | <span·class="gp">...</span> |
| 1824 | <span·class="go">datetime.date(200 | 1824 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 1825 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 1826 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 1825 | <span·class="go">datetime.date(19 | 1827 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 1826 | <span·class="go">datetime.date(19 | 1828 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 1827 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 1828 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 1829 | </pre></div> | 1829 | </pre></div> |
| 1830 | </div> | 1830 | </div> |
| 1831 | </dd></dl> | 1831 | </dd></dl> |
| 1832 | <dl·class="py·method"> | 1832 | <dl·class="py·method"> |
| 1833 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.tl_PH.Provider.date_this_century"> | 1833 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.tl_PH.Provider.date_this_century"> |
| 1834 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.tl_PH.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 1834 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.tl_PH.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1850, 19 lines modified | Offset 1850, 19 lines modified | ||
| 1850 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1850 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 300342/322581 bytes (93.11%) of diff not shown. | |||
| Offset 942, 19 lines modified | Offset 942, 19 lines modified | ||
| 942 | ······No·difference·from·DateTime·Provider·for·fil_PH·locale | 942 | ······No·difference·from·DateTime·Provider·for·fil_PH·locale |
| 943 | ········am_pm()·→·str¶ | 943 | ········am_pm()·→·str¶ |
| 944 | ··············Examples: | 944 | ··············Examples: |
| 945 | ············>>>·Faker.seed(0) | 945 | ············>>>·Faker.seed(0) |
| 946 | ············>>>·for·_·in·range(5): | 946 | ············>>>·for·_·in·range(5): |
| 947 | ············...·····fake.am_pm() | 947 | ············...·····fake.am_pm() |
| 948 | ············... | 948 | ············... |
| 949 | ············'PM' | ||
| 950 | ············'PM' | ||
| 951 | ············'AM' | 949 | ············'AM' |
| 952 | ············'PM' | 950 | ············'PM' |
| 953 | ············'AM' | 951 | ············'AM' |
| 952 | ············'AM' | ||
| 953 | ············'AM' | ||
| 954 | ········century()·→·str¶ | 954 | ········century()·→·str¶ |
| 955 | ··············Example: | 955 | ··············Example: |
| 956 | ··················‘XVII’ | 956 | ··················‘XVII’ |
| 957 | ··············Examples: | 957 | ··············Examples: |
| 958 | ············>>>·Faker.seed(0) | 958 | ············>>>·Faker.seed(0) |
| 959 | ············>>>·for·_·in·range(5): | 959 | ············>>>·for·_·in·range(5): |
| 960 | ············...·····fake.century() | 960 | ············...·····fake.century() |
| Offset 974, 19 lines modified | Offset 974, 19 lines modified | ||
| 974 | ··············Returns: | 974 | ··············Returns: |
| 975 | ··················Date | 975 | ··················Date |
| 976 | ··············Examples: | 976 | ··············Examples: |
| 977 | ············>>>·Faker.seed(0) | 977 | ············>>>·Faker.seed(0) |
| 978 | ············>>>·for·_·in·range(5): | 978 | ············>>>·for·_·in·range(5): |
| 979 | ············...·····fake.date() | 979 | ············...·····fake.date() |
| 980 | ············... | 980 | ············... |
| 981 | ············'2018-01-27' | ||
| 982 | ············'201 | 981 | ············'2017-02-26' |
| 982 | ············'2012-04-29' | ||
| 983 | ············'1993- | 983 | ············'1993-06-27' |
| 984 | ············'1984-0 | 984 | ············'1984-06-17' |
| 985 | ············'199 | 985 | ············'1998-07-21' |
| 986 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 986 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 987 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 987 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 988 | ········date¶ | 988 | ········date¶ |
| 989 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 989 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 990 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 990 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 991 | ··············Parameters: | 991 | ··············Parameters: |
| 992 | ······················*·start_date·–·Defaults·to·30·years·ago | 992 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 996, 19 lines modified | Offset 996, 19 lines modified | ||
| 996 | ··············Returns: | 996 | ··············Returns: |
| 997 | ··················Date | 997 | ··················Date |
| 998 | ··············Examples: | 998 | ··············Examples: |
| 999 | ············>>>·Faker.seed(0) | 999 | ············>>>·Faker.seed(0) |
| 1000 | ············>>>·for·_·in·range(5): | 1000 | ············>>>·for·_·in·range(5): |
| 1001 | ············...·····fake.date_between() | 1001 | ············...·····fake.date_between() |
| 1002 | ············... | 1002 | ············... |
| 1003 | ············datetime.date(202 | 1003 | ············datetime.date(2021,·3,·5) |
| 1004 | ············datetime.date(201 | 1004 | ············datetime.date(2018,·7,·31) |
| 1005 | ············datetime.date(200 | 1005 | ············datetime.date(2008,·6,·16) |
| 1006 | ············datetime.date(200 | 1006 | ············datetime.date(2003,·8,·11) |
| 1007 | ············datetime.date(201 | 1007 | ············datetime.date(2011,·3,·7) |
| 1008 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 1008 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 1009 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 1009 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 1010 | ········=·None)·→·date¶ | 1010 | ········=·None)·→·date¶ |
| 1011 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 1011 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 1012 | ············given·dates.·Accepts·Date·or·datetime·objects | 1012 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 1013 | ··············Parameters: | 1013 | ··············Parameters: |
| 1014 | ······················*·date_start·–·Date | 1014 | ······················*·date_start·–·Date |
| Offset 1016, 33 lines modified | Offset 1016, 33 lines modified | ||
| 1016 | ··············Returns: | 1016 | ··············Returns: |
| 1017 | ··················Date | 1017 | ··················Date |
| 1018 | ··············Examples: | 1018 | ··············Examples: |
| 1019 | ············>>>·Faker.seed(0) | 1019 | ············>>>·Faker.seed(0) |
| 1020 | ············>>>·for·_·in·range(5): | 1020 | ············>>>·for·_·in·range(5): |
| 1021 | ············...·····fake.date_between_dates() | 1021 | ············...·····fake.date_between_dates() |
| 1022 | ············... | 1022 | ············... |
| 1023 | ············datetime.date(202 | 1023 | ············datetime.date(2025,·11,·4) |
| 1024 | ············datetime.date(202 | 1024 | ············datetime.date(2025,·11,·4) |
| 1025 | ············datetime.date(202 | 1025 | ············datetime.date(2025,·11,·4) |
| 1026 | ············datetime.date(202 | 1026 | ············datetime.date(2025,·11,·4) |
| 1027 | ············datetime.date(202 | 1027 | ············datetime.date(2025,·11,·4) |
| 1028 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 1028 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 1029 | ············Get·a·date·object·between·January·1,·1970·and·now | 1029 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 1030 | ··············Example: | 1030 | ··············Example: |
| 1031 | ··················datetime.date(2016,·9,·20) | 1031 | ··················datetime.date(2016,·9,·20) |
| 1032 | ··············Examples: | 1032 | ··············Examples: |
| 1033 | ············>>>·Faker.seed(0) | 1033 | ············>>>·Faker.seed(0) |
| 1034 | ············>>>·for·_·in·range(5): | 1034 | ············>>>·for·_·in·range(5): |
| 1035 | ············...·····fake.date_object() | 1035 | ············...·····fake.date_object() |
| 1036 | ············... | 1036 | ············... |
| 1037 | ············datetime.date(2018,·1,·27) | ||
| 1038 | ············datetime.date(201 | 1037 | ············datetime.date(2017,·2,·26) |
| 1038 | ············datetime.date(2012,·4,·29) | ||
| 1039 | ············datetime.date(1993,· | 1039 | ············datetime.date(1993,·6,·27) |
| 1040 | ············datetime.date(1984,· | 1040 | ············datetime.date(1984,·6,·17) |
| 1041 | ············datetime.date(199 | 1041 | ············datetime.date(1998,·7,·21) |
| 1042 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 1042 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 1043 | ········maximum_age:·int·=·115)·→·date¶ | 1043 | ········maximum_age:·int·=·115)·→·date¶ |
| 1044 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 1044 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 1045 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 1045 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 1046 | ··············Parameters: | 1046 | ··············Parameters: |
| 1047 | ······················*·tzinfo·–·Defaults·to·None. | 1047 | ······················*·tzinfo·–·Defaults·to·None. |
| 1048 | ······················*·minimum_age·–·Defaults·to·0. | 1048 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 1052, 19 lines modified | Offset 1052, 19 lines modified | ||
| 1052 | ··············Returns: | 1052 | ··············Returns: |
| 1053 | ··················Date | 1053 | ··················Date |
| 1054 | ··············Examples: | 1054 | ··············Examples: |
| 1055 | ············>>>·Faker.seed(0) | 1055 | ············>>>·Faker.seed(0) |
| 1056 | ············>>>·for·_·in·range(5): | 1056 | ············>>>·for·_·in·range(5): |
| 1057 | ············...·····fake.date_of_birth() | 1057 | ············...·····fake.date_of_birth() |
| 1058 | ············... | 1058 | ············... |
| 1059 | ············datetime.date(200 | 1059 | ············datetime.date(2007,·10,·18) |
| 1060 | ············datetime.date(1997,·10,·6) | ||
| 1061 | ············datetime.date(1958,·8,·18) | ||
| 1060 | ············datetime.date(19 | 1062 | ············datetime.date(1939,·11,·17) |
| 1061 | ············datetime.date(19 | 1063 | ············datetime.date(1969,·2,·24) |
| 1062 | ············datetime.date(1940,·12,·18) | ||
| 1063 | ············datetime.date(1970,·3,·28) | ||
| 1064 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 1064 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 1065 | ········→·date¶ | 1065 | ········→·date¶ |
| 1066 | ············Gets·a·Date·object·for·the·current·century. | 1066 | ············Gets·a·Date·object·for·the·current·century. |
| 1067 | ··············Parameters: | 1067 | ··············Parameters: |
| 1068 | ······················*·before_today·–·include·days·in·current·century·before | 1068 | ······················*·before_today·–·include·days·in·current·century·before |
| 1069 | ························today | 1069 | ························today |
| 1070 | ······················*·after_today·–·include·days·in·current·century·after | 1070 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 1074, 19 lines modified | Offset 1074, 19 lines modified | ||
| 1074 | ··············Returns: | 1074 | ··············Returns: |
| 1075 | ··················Date | 1075 | ··················Date |
| 1076 | ··············Examples: | 1076 | ··············Examples: |
| 1077 | ············>>>·Faker.seed(0) | 1077 | ············>>>·Faker.seed(0) |
| 1078 | ············>>>·for·_·in·range(5): | 1078 | ············>>>·for·_·in·range(5): |
| 1079 | ············...·····fake.date_this_century() | 1079 | ············...·····fake.date_this_century() |
| 1080 | ············... | 1080 | ············... |
| Max diff block lines reached; 196422/202381 bytes (97.06%) of diff not shown. | |||
| Offset 679, 19 lines modified | Offset 679, 19 lines modified | ||
| 679 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 679 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 680 | <dd·class="field-odd"><p></p></dd> | 680 | <dd·class="field-odd"><p></p></dd> |
| 681 | </dl> | 681 | </dl> |
| 682 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 682 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 683 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 683 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 684 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 684 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 685 | <span·class="gp">...</span> | 685 | <span·class="gp">...</span> |
| 686 | <span·class="go">'PM'</span> | ||
| 687 | <span·class="go">'PM'</span> | ||
| 688 | <span·class="go">'AM'</span> | 686 | <span·class="go">'AM'</span> |
| 689 | <span·class="go">'PM'</span> | 687 | <span·class="go">'PM'</span> |
| 690 | <span·class="go">'AM'</span> | 688 | <span·class="go">'AM'</span> |
| 689 | <span·class="go">'AM'</span> | ||
| 690 | <span·class="go">'AM'</span> | ||
| 691 | </pre></div> | 691 | </pre></div> |
| 692 | </div> | 692 | </div> |
| 693 | </dd></dl> | 693 | </dd></dl> |
| 694 | <dl·class="py·method"> | 694 | <dl·class="py·method"> |
| 695 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.tr_TR.Provider.century"> | 695 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.tr_TR.Provider.century"> |
| 696 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.tr_TR.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 696 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.tr_TR.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 732, 19 lines modified | Offset 732, 19 lines modified | ||
| 732 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 732 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 733 | <dd·class="field-even"><p></p></dd> | 733 | <dd·class="field-even"><p></p></dd> |
| 734 | </dl> | 734 | </dl> |
| 735 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 735 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 736 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 736 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 737 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 737 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 738 | <span·class="gp">...</span> | 738 | <span·class="gp">...</span> |
| 739 | <span·class="go">'2018-01-27'</span> | ||
| 740 | <span·class="go">'201 | 739 | <span·class="go">'2017-02-26'</span> |
| 740 | <span·class="go">'2012-04-29'</span> | ||
| 741 | <span·class="go">'1993- | 741 | <span·class="go">'1993-06-27'</span> |
| 742 | <span·class="go">'1984-0 | 742 | <span·class="go">'1984-06-17'</span> |
| 743 | <span·class="go">'199 | 743 | <span·class="go">'1998-07-21'</span> |
| 744 | </pre></div> | 744 | </pre></div> |
| 745 | </div> | 745 | </div> |
| 746 | </dd></dl> | 746 | </dd></dl> |
| 747 | <dl·class="py·method"> | 747 | <dl·class="py·method"> |
| 748 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.tr_TR.Provider.date_between"> | 748 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.tr_TR.Provider.date_between"> |
| 749 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.tr_TR.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 749 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.tr_TR.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 766, 19 lines modified | Offset 766, 19 lines modified | ||
| 766 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 766 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 767 | <dd·class="field-even"><p></p></dd> | 767 | <dd·class="field-even"><p></p></dd> |
| 768 | </dl> | 768 | </dl> |
| 769 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 769 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 770 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 770 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 771 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 771 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 772 | <span·class="gp">...</span> | 772 | <span·class="gp">...</span> |
| 773 | <span·class="go">datetime.date(202 | 773 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 774 | <span·class="go">datetime.date(201 | 774 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 775 | <span·class="go">datetime.date(200 | 775 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 776 | <span·class="go">datetime.date(200 | 776 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 777 | <span·class="go">datetime.date(201 | 777 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 778 | </pre></div> | 778 | </pre></div> |
| 779 | </div> | 779 | </div> |
| 780 | </dd></dl> | 780 | </dd></dl> |
| 781 | <dl·class="py·method"> | 781 | <dl·class="py·method"> |
| 782 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.tr_TR.Provider.date_between_dates"> | 782 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.tr_TR.Provider.date_between_dates"> |
| 783 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.tr_TR.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 783 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.tr_TR.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 797, 19 lines modified | Offset 797, 19 lines modified | ||
| 797 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 797 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 798 | <dd·class="field-odd"><p></p></dd> | 798 | <dd·class="field-odd"><p></p></dd> |
| 799 | </dl> | 799 | </dl> |
| 800 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 800 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 801 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 801 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 802 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 802 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 803 | <span·class="gp">...</span> | 803 | <span·class="gp">...</span> |
| 804 | <span·class="go">datetime.date(202 | 804 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 805 | <span·class="go">datetime.date(202 | 805 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 806 | <span·class="go">datetime.date(202 | 806 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 807 | <span·class="go">datetime.date(202 | 807 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 808 | <span·class="go">datetime.date(202 | 808 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 809 | </pre></div> | 809 | </pre></div> |
| 810 | </div> | 810 | </div> |
| 811 | </dd></dl> | 811 | </dd></dl> |
| 812 | <dl·class="py·method"> | 812 | <dl·class="py·method"> |
| 813 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.tr_TR.Provider.date_object"> | 813 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.tr_TR.Provider.date_object"> |
| 814 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.tr_TR.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 814 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.tr_TR.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 821, 19 lines modified | Offset 821, 19 lines modified | ||
| 821 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 821 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 822 | <dd·class="field-even"><p></p></dd> | 822 | <dd·class="field-even"><p></p></dd> |
| 823 | </dl> | 823 | </dl> |
| 824 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 824 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 825 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 825 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 826 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 826 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 827 | <span·class="gp">...</span> | 827 | <span·class="gp">...</span> |
| 828 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 829 | <span·class="go">datetime.date(201 | 828 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 829 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 830 | <span·class="go">datetime.date(1993,· | 830 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 831 | <span·class="go">datetime.date(1984,· | 831 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 832 | <span·class="go">datetime.date(199 | 832 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 833 | </pre></div> | 833 | </pre></div> |
| 834 | </div> | 834 | </div> |
| 835 | </dd></dl> | 835 | </dd></dl> |
| 836 | <dl·class="py·method"> | 836 | <dl·class="py·method"> |
| 837 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.tr_TR.Provider.date_of_birth"> | 837 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.tr_TR.Provider.date_of_birth"> |
| 838 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.tr_TR.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 838 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.tr_TR.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 857, 19 lines modified | Offset 857, 19 lines modified | ||
| 857 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 857 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 858 | <dd·class="field-even"><p></p></dd> | 858 | <dd·class="field-even"><p></p></dd> |
| 859 | </dl> | 859 | </dl> |
| 860 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 860 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 861 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 861 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 862 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 862 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 863 | <span·class="gp">...</span> | 863 | <span·class="gp">...</span> |
| 864 | <span·class="go">datetime.date(200 | 864 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 865 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 866 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 865 | <span·class="go">datetime.date(19 | 867 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 866 | <span·class="go">datetime.date(19 | 868 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 867 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 868 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 869 | </pre></div> | 869 | </pre></div> |
| 870 | </div> | 870 | </div> |
| 871 | </dd></dl> | 871 | </dd></dl> |
| 872 | <dl·class="py·method"> | 872 | <dl·class="py·method"> |
| 873 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.tr_TR.Provider.date_this_century"> | 873 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.tr_TR.Provider.date_this_century"> |
| 874 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.tr_TR.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 874 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.tr_TR.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 890, 19 lines modified | Offset 890, 19 lines modified | ||
| 890 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 890 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 98098/120323 bytes (81.53%) of diff not shown. | |||
| Offset 389, 19 lines modified | Offset 389, 19 lines modified | ||
| 389 | ······Bases:·Provider | 389 | ······Bases:·Provider |
| 390 | ········am_pm()·→·str¶ | 390 | ········am_pm()·→·str¶ |
| 391 | ··············Examples: | 391 | ··············Examples: |
| 392 | ············>>>·Faker.seed(0) | 392 | ············>>>·Faker.seed(0) |
| 393 | ············>>>·for·_·in·range(5): | 393 | ············>>>·for·_·in·range(5): |
| 394 | ············...·····fake.am_pm() | 394 | ············...·····fake.am_pm() |
| 395 | ············... | 395 | ············... |
| 396 | ············'PM' | ||
| 397 | ············'PM' | ||
| 398 | ············'AM' | 396 | ············'AM' |
| 399 | ············'PM' | 397 | ············'PM' |
| 400 | ············'AM' | 398 | ············'AM' |
| 399 | ············'AM' | ||
| 400 | ············'AM' | ||
| 401 | ········century()·→·str¶ | 401 | ········century()·→·str¶ |
| 402 | ··············Example: | 402 | ··············Example: |
| 403 | ··················‘XVII’ | 403 | ··················‘XVII’ |
| 404 | ··············Examples: | 404 | ··············Examples: |
| 405 | ············>>>·Faker.seed(0) | 405 | ············>>>·Faker.seed(0) |
| 406 | ············>>>·for·_·in·range(5): | 406 | ············>>>·for·_·in·range(5): |
| 407 | ············...·····fake.century() | 407 | ············...·····fake.century() |
| Offset 421, 19 lines modified | Offset 421, 19 lines modified | ||
| 421 | ··············Returns: | 421 | ··············Returns: |
| 422 | ··················Date | 422 | ··················Date |
| 423 | ··············Examples: | 423 | ··············Examples: |
| 424 | ············>>>·Faker.seed(0) | 424 | ············>>>·Faker.seed(0) |
| 425 | ············>>>·for·_·in·range(5): | 425 | ············>>>·for·_·in·range(5): |
| 426 | ············...·····fake.date() | 426 | ············...·····fake.date() |
| 427 | ············... | 427 | ············... |
| 428 | ············'2018-01-27' | ||
| 429 | ············'201 | 428 | ············'2017-02-26' |
| 429 | ············'2012-04-29' | ||
| 430 | ············'1993- | 430 | ············'1993-06-27' |
| 431 | ············'1984-0 | 431 | ············'1984-06-17' |
| 432 | ············'199 | 432 | ············'1998-07-21' |
| 433 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 433 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 434 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 434 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 435 | ········date¶ | 435 | ········date¶ |
| 436 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 436 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 437 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 437 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 438 | ··············Parameters: | 438 | ··············Parameters: |
| 439 | ······················*·start_date·–·Defaults·to·30·years·ago | 439 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 443, 19 lines modified | Offset 443, 19 lines modified | ||
| 443 | ··············Returns: | 443 | ··············Returns: |
| 444 | ··················Date | 444 | ··················Date |
| 445 | ··············Examples: | 445 | ··············Examples: |
| 446 | ············>>>·Faker.seed(0) | 446 | ············>>>·Faker.seed(0) |
| 447 | ············>>>·for·_·in·range(5): | 447 | ············>>>·for·_·in·range(5): |
| 448 | ············...·····fake.date_between() | 448 | ············...·····fake.date_between() |
| 449 | ············... | 449 | ············... |
| 450 | ············datetime.date(202 | 450 | ············datetime.date(2021,·3,·5) |
| 451 | ············datetime.date(201 | 451 | ············datetime.date(2018,·7,·31) |
| 452 | ············datetime.date(200 | 452 | ············datetime.date(2008,·6,·16) |
| 453 | ············datetime.date(200 | 453 | ············datetime.date(2003,·8,·11) |
| 454 | ············datetime.date(201 | 454 | ············datetime.date(2011,·3,·7) |
| 455 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 455 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 456 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 456 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 457 | ········=·None)·→·date¶ | 457 | ········=·None)·→·date¶ |
| 458 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 458 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 459 | ············given·dates.·Accepts·Date·or·datetime·objects | 459 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 460 | ··············Parameters: | 460 | ··············Parameters: |
| 461 | ······················*·date_start·–·Date | 461 | ······················*·date_start·–·Date |
| Offset 463, 33 lines modified | Offset 463, 33 lines modified | ||
| 463 | ··············Returns: | 463 | ··············Returns: |
| 464 | ··················Date | 464 | ··················Date |
| 465 | ··············Examples: | 465 | ··············Examples: |
| 466 | ············>>>·Faker.seed(0) | 466 | ············>>>·Faker.seed(0) |
| 467 | ············>>>·for·_·in·range(5): | 467 | ············>>>·for·_·in·range(5): |
| 468 | ············...·····fake.date_between_dates() | 468 | ············...·····fake.date_between_dates() |
| 469 | ············... | 469 | ············... |
| 470 | ············datetime.date(202 | 470 | ············datetime.date(2025,·11,·4) |
| 471 | ············datetime.date(202 | 471 | ············datetime.date(2025,·11,·4) |
| 472 | ············datetime.date(202 | 472 | ············datetime.date(2025,·11,·4) |
| 473 | ············datetime.date(202 | 473 | ············datetime.date(2025,·11,·4) |
| 474 | ············datetime.date(202 | 474 | ············datetime.date(2025,·11,·4) |
| 475 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 475 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 476 | ············Get·a·date·object·between·January·1,·1970·and·now | 476 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 477 | ··············Example: | 477 | ··············Example: |
| 478 | ··················datetime.date(2016,·9,·20) | 478 | ··················datetime.date(2016,·9,·20) |
| 479 | ··············Examples: | 479 | ··············Examples: |
| 480 | ············>>>·Faker.seed(0) | 480 | ············>>>·Faker.seed(0) |
| 481 | ············>>>·for·_·in·range(5): | 481 | ············>>>·for·_·in·range(5): |
| 482 | ············...·····fake.date_object() | 482 | ············...·····fake.date_object() |
| 483 | ············... | 483 | ············... |
| 484 | ············datetime.date(2018,·1,·27) | ||
| 485 | ············datetime.date(201 | 484 | ············datetime.date(2017,·2,·26) |
| 485 | ············datetime.date(2012,·4,·29) | ||
| 486 | ············datetime.date(1993,· | 486 | ············datetime.date(1993,·6,·27) |
| 487 | ············datetime.date(1984,· | 487 | ············datetime.date(1984,·6,·17) |
| 488 | ············datetime.date(199 | 488 | ············datetime.date(1998,·7,·21) |
| 489 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 489 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 490 | ········maximum_age:·int·=·115)·→·date¶ | 490 | ········maximum_age:·int·=·115)·→·date¶ |
| 491 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 491 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 492 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 492 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 493 | ··············Parameters: | 493 | ··············Parameters: |
| 494 | ······················*·tzinfo·–·Defaults·to·None. | 494 | ······················*·tzinfo·–·Defaults·to·None. |
| 495 | ······················*·minimum_age·–·Defaults·to·0. | 495 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 499, 19 lines modified | Offset 499, 19 lines modified | ||
| 499 | ··············Returns: | 499 | ··············Returns: |
| 500 | ··················Date | 500 | ··················Date |
| 501 | ··············Examples: | 501 | ··············Examples: |
| 502 | ············>>>·Faker.seed(0) | 502 | ············>>>·Faker.seed(0) |
| 503 | ············>>>·for·_·in·range(5): | 503 | ············>>>·for·_·in·range(5): |
| 504 | ············...·····fake.date_of_birth() | 504 | ············...·····fake.date_of_birth() |
| 505 | ············... | 505 | ············... |
| 506 | ············datetime.date(200 | 506 | ············datetime.date(2007,·10,·18) |
| 507 | ············datetime.date(1997,·10,·6) | ||
| 508 | ············datetime.date(1958,·8,·18) | ||
| 507 | ············datetime.date(19 | 509 | ············datetime.date(1939,·11,·17) |
| 508 | ············datetime.date(19 | 510 | ············datetime.date(1969,·2,·24) |
| 509 | ············datetime.date(1940,·12,·18) | ||
| 510 | ············datetime.date(1970,·3,·28) | ||
| 511 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 511 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 512 | ········→·date¶ | 512 | ········→·date¶ |
| 513 | ············Gets·a·Date·object·for·the·current·century. | 513 | ············Gets·a·Date·object·for·the·current·century. |
| 514 | ··············Parameters: | 514 | ··············Parameters: |
| 515 | ······················*·before_today·–·include·days·in·current·century·before | 515 | ······················*·before_today·–·include·days·in·current·century·before |
| 516 | ························today | 516 | ························today |
| 517 | ······················*·after_today·–·include·days·in·current·century·after | 517 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 521, 19 lines modified | Offset 521, 19 lines modified | ||
| 521 | ··············Returns: | 521 | ··············Returns: |
| 522 | ··················Date | 522 | ··················Date |
| 523 | ··············Examples: | 523 | ··············Examples: |
| 524 | ············>>>·Faker.seed(0) | 524 | ············>>>·Faker.seed(0) |
| 525 | ············>>>·for·_·in·range(5): | 525 | ············>>>·for·_·in·range(5): |
| 526 | ············...·····fake.date_this_century() | 526 | ············...·····fake.date_this_century() |
| 527 | ············... | 527 | ············... |
| Max diff block lines reached; 24717/30631 bytes (80.69%) of diff not shown. | |||
| Offset 432, 15 lines modified | Offset 432, 15 lines modified | ||
| 432 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 432 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 433 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">diplomatic_license_plate</span><span·class="p">()</span> | 433 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">diplomatic_license_plate</span><span·class="p">()</span> |
| 434 | <span·class="gp">...</span> | 434 | <span·class="gp">...</span> |
| 435 | <span·class="go">'S·964·494'</span> | 435 | <span·class="go">'S·964·494'</span> |
| 436 | <span·class="go">'S·876·530'</span> | 436 | <span·class="go">'S·876·530'</span> |
| 437 | <span·class="go">'S·141·365'</span> | 437 | <span·class="go">'S·141·365'</span> |
| 438 | <span·class="go">'CDP·623'</span> | 438 | <span·class="go">'CDP·623'</span> |
| 439 | <span·class="go">'DP·514 | 439 | <span·class="go">'CDP·514'</span> |
| 440 | </pre></div> | 440 | </pre></div> |
| 441 | </div> | 441 | </div> |
| 442 | </dd></dl> | 442 | </dd></dl> |
| 443 | <dl·class="py·method"> | 443 | <dl·class="py·method"> |
| 444 | <dt·class="sig·sig-object·py"·id="faker.providers.automotive.uk_UA.Provider.license_plate"> | 444 | <dt·class="sig·sig-object·py"·id="faker.providers.automotive.uk_UA.Provider.license_plate"> |
| 445 | <span·class="sig-name·descname"><span·class="pre">license_plate</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">region_name</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">temporary_plate</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.automotive.uk_UA.Provider.license_plate"·title="Link·to·this·definition">¶</a></dt> | 445 | <span·class="sig-name·descname"><span·class="pre">license_plate</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">region_name</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">temporary_plate</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.automotive.uk_UA.Provider.license_plate"·title="Link·to·this·definition">¶</a></dt> |
| Offset 456, 63 lines modified | Offset 456, 63 lines modified | ||
| 456 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 456 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 457 | <dd·class="field-odd"><p></p></dd> | 457 | <dd·class="field-odd"><p></p></dd> |
| 458 | </dl> | 458 | </dl> |
| 459 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 459 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 460 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 460 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 461 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">license_plate</span><span·class="p">()</span> | 461 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">license_plate</span><span·class="p">()</span> |
| 462 | <span·class="gp">...</span> | 462 | <span·class="gp">...</span> |
| 463 | <span·class="go">' | 463 | <span·class="go">'AX6048HT'</span> |
| 464 | <span·class="go">' | 464 | <span·class="go">'MT4759MK'</span> |
| 465 | <span·class="go">'B | 465 | <span·class="go">'BO4219HI'</span> |
| 466 | <span·class="go">' | 466 | <span·class="go">'BN4115AT'</span> |
| 467 | <span·class="go">' | 467 | <span·class="go">'EK5659HN'</span> |
| 468 | </pre></div> | 468 | </pre></div> |
| 469 | </div> | 469 | </div> |
| 470 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 470 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 471 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 471 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 472 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">license_plate</span><span·class="p">(</span><span·class="n">region_name</span><span·class="o">=</span><span·class="kc">None</span><span·class="p">,</span>·<span·class="n">temporary_plate</span><span·class="o">=</span><span·class="kc">False</span><span·class="p">)</span> | 472 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">license_plate</span><span·class="p">(</span><span·class="n">region_name</span><span·class="o">=</span><span·class="kc">None</span><span·class="p">,</span>·<span·class="n">temporary_plate</span><span·class="o">=</span><span·class="kc">False</span><span·class="p">)</span> |
| 473 | <span·class="gp">...</span> | 473 | <span·class="gp">...</span> |
| 474 | <span·class="go">' | 474 | <span·class="go">'EM6048HT'</span> |
| 475 | <span·class="go">' | 475 | <span·class="go">'RR4759MK'</span> |
| 476 | <span·class="go">' | 476 | <span·class="go">'RR4219HI'</span> |
| 477 | <span·class="go">' | 477 | <span·class="go">'RV4115AT'</span> |
| 478 | <span·class="go">' | 478 | <span·class="go">'TK5659HN'</span> |
| 479 | </pre></div> | 479 | </pre></div> |
| 480 | </div> | 480 | </div> |
| 481 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 481 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 482 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 482 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 483 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">license_plate</span><span·class="p">(</span><span·class="n">region_name</span><span·class="o">=</span><span·class="kc">None</span><span·class="p">,</span>·<span·class="n">temporary_plate</span><span·class="o">=</span><span·class="kc">True</span><span·class="p">)</span> | 483 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">license_plate</span><span·class="p">(</span><span·class="n">region_name</span><span·class="o">=</span><span·class="kc">None</span><span·class="p">,</span>·<span·class="n">temporary_plate</span><span·class="o">=</span><span·class="kc">True</span><span·class="p">)</span> |
| 484 | <span·class="gp">...</span> | 484 | <span·class="gp">...</span> |
| 485 | <span·class="go">'2 | 485 | <span·class="go">'26·IE6048'</span> |
| 486 | <span·class="go">' | 486 | <span·class="go">'04·AE6475'</span> |
| 487 | <span·class="go">' | 487 | <span·class="go">'05·MH8242'</span> |
| 488 | <span·class="go">'1 | 488 | <span·class="go">'16·BN9489'</span> |
| 489 | <span·class="go">'1 | 489 | <span·class="go">'16·NN4115'</span> |
| 490 | </pre></div> | 490 | </pre></div> |
| 491 | </div> | 491 | </div> |
| 492 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 492 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 493 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 493 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 494 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">license_plate</span><span·class="p">(</span><span·class="n">region_name</span><span·class="o">=</span><span·class="s2">"Kyiv"</span><span·class="p">,</span>·<span·class="n">temporary_plate</span><span·class="o">=</span><span·class="kc">False</span><span·class="p">)</span> | 494 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">license_plate</span><span·class="p">(</span><span·class="n">region_name</span><span·class="o">=</span><span·class="s2">"Kyiv"</span><span·class="p">,</span>·<span·class="n">temporary_plate</span><span·class="o">=</span><span·class="kc">False</span><span·class="p">)</span> |
| 495 | <span·class="gp">...</span> | 495 | <span·class="gp">...</span> |
| 496 | <span·class="go">'TA6048HT'</span> | 496 | <span·class="go">'TA6048HT'</span> |
| 497 | <span·class="go">'TA4759MK'</span> | 497 | <span·class="go">'TA4759MK'</span> |
| 498 | <span·class="go">' | 498 | <span·class="go">'KA4219HI'</span> |
| 499 | <span·class="go">' | 499 | <span·class="go">'AA4115AT'</span> |
| 500 | <span·class="go">' | 500 | <span·class="go">'KA5659HN'</span> |
| 501 | </pre></div> | 501 | </pre></div> |
| 502 | </div> | 502 | </div> |
| 503 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 503 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 504 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 504 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 505 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">license_plate</span><span·class="p">(</span><span·class="n">region_name</span><span·class="o">=</span><span·class="s2">"Kyiv"</span><span·class="p">,</span>·<span·class="n">temporary_plate</span><span·class="o">=</span><span·class="kc">True</span><span·class="p">)</span> | 505 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">license_plate</span><span·class="p">(</span><span·class="n">region_name</span><span·class="o">=</span><span·class="s2">"Kyiv"</span><span·class="p">,</span>·<span·class="n">temporary_plate</span><span·class="o">=</span><span·class="kc">True</span><span·class="p">)</span> |
| 506 | <span·class="gp">...</span> | 506 | <span·class="gp">...</span> |
| 507 | <span·class="go">'11· | 507 | <span·class="go">'11·TA6048'</span> |
| 508 | <span·class="go">'11·AA6475'</span> | 508 | <span·class="go">'11·AA6475'</span> |
| 509 | <span·class="go">'11· | 509 | <span·class="go">'11·KA8242'</span> |
| 510 | <span·class="go">'11· | 510 | <span·class="go">'11·AA9489'</span> |
| 511 | <span·class="go">'11· | 511 | <span·class="go">'11·TA4115'</span> |
| 512 | </pre></div> | 512 | </pre></div> |
| 513 | </div> | 513 | </div> |
| 514 | </dd></dl> | 514 | </dd></dl> |
| 515 | <dl·class="py·method"> | 515 | <dl·class="py·method"> |
| 516 | <dt·class="sig·sig-object·py"·id="faker.providers.automotive.uk_UA.Provider.plate_letter_prefix"> | 516 | <dt·class="sig·sig-object·py"·id="faker.providers.automotive.uk_UA.Provider.plate_letter_prefix"> |
| 517 | <span·class="sig-name·descname"><span·class="pre">plate_letter_prefix</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">region_name</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.automotive.uk_UA.Provider.plate_letter_prefix"·title="Link·to·this·definition">¶</a></dt> | 517 | <span·class="sig-name·descname"><span·class="pre">plate_letter_prefix</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">region_name</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.automotive.uk_UA.Provider.plate_letter_prefix"·title="Link·to·this·definition">¶</a></dt> |
| Offset 521, 30 lines modified | Offset 521, 30 lines modified | ||
| 521 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 521 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 522 | <dd·class="field-odd"><p></p></dd> | 522 | <dd·class="field-odd"><p></p></dd> |
| 523 | </dl> | 523 | </dl> |
| 524 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 524 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 525 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 525 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 526 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">plate_letter_prefix</span><span·class="p">()</span> | 526 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">plate_letter_prefix</span><span·class="p">()</span> |
| 527 | <span·class="gp">...</span> | 527 | <span·class="gp">...</span> |
| 528 | <span·class="go">' | 528 | <span·class="go">'KH'</span> |
| 529 | <span·class="go">'SV'</span> | ||
| 530 | <span·class="go">'XN'</span> | ||
| 529 | <span·class="go">' | 531 | <span·class="go">'EI'</span> |
| 530 | <span·class="go">' | 532 | <span·class="go">'RX'</span> |
| 531 | <span·class="go">'EA'</span> | ||
| 532 | <span·class="go">'MH'</span> | ||
| 533 | </pre></div> | 533 | </pre></div> |
| 534 | </div> | 534 | </div> |
| 535 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 535 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 536 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 536 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 537 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">plate_letter_prefix</span><span·class="p">(</span><span·class="n">region_name</span><span·class="o">=</span><span·class="s2">"Kyiv"</span><span·class="p">)</span> | 537 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">plate_letter_prefix</span><span·class="p">(</span><span·class="n">region_name</span><span·class="o">=</span><span·class="s2">"Kyiv"</span><span·class="p">)</span> |
| 538 | <span·class="gp">...</span> | 538 | <span·class="gp">...</span> |
| 539 | <span·class="go">'TT'</span> | 539 | <span·class="go">'TT'</span> |
| 540 | <span·class="go">'KA'</span> | ||
| 541 | <span·class="go">'KA'</span> | ||
| 542 | <span·class="go">'AA'</span> | ||
| 543 | <span·class="go">'TT'</span> | 540 | <span·class="go">'TT'</span> |
| 541 | <span·class="go">'KA'</span> | ||
| 542 | <span·class="go">'TA'</span> | ||
| 543 | <span·class="go">'TA'</span> | ||
| 544 | </pre></div> | 544 | </pre></div> |
| 545 | </div> | 545 | </div> |
| 546 | </dd></dl> | 546 | </dd></dl> |
| 547 | <dl·class="py·method"> | 547 | <dl·class="py·method"> |
| 548 | <dt·class="sig·sig-object·py"·id="faker.providers.automotive.uk_UA.Provider.plate_letter_suffix"> | 548 | <dt·class="sig·sig-object·py"·id="faker.providers.automotive.uk_UA.Provider.plate_letter_suffix"> |
| 549 | <span·class="sig-name·descname"><span·class="pre">plate_letter_suffix</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.automotive.uk_UA.Provider.plate_letter_suffix"·title="Link·to·this·definition">¶</a></dt> | 549 | <span·class="sig-name·descname"><span·class="pre">plate_letter_suffix</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.automotive.uk_UA.Provider.plate_letter_suffix"·title="Link·to·this·definition">¶</a></dt> |
| Offset 595, 19 lines modified | Offset 595, 19 lines modified | ||
| 595 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 595 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 596 | <dd·class="field-odd"><p></p></dd> | 596 | <dd·class="field-odd"><p></p></dd> |
| 597 | </dl> | 597 | </dl> |
| 598 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 598 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 599 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 599 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 600 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">plate_region_code</span><span·class="p">()</span> | 600 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">plate_region_code</span><span·class="p">()</span> |
| 601 | <span·class="gp">...</span> | 601 | <span·class="gp">...</span> |
| 602 | <span·class="go">'0 | 602 | <span·class="go">'00'</span> |
| 603 | <span·class="go">' | 603 | <span·class="go">'22'</span> |
| 604 | <span·class="go">'1 | 604 | <span·class="go">'13'</span> |
| 605 | <span·class="go">'0 | 605 | <span·class="go">'06'</span> |
| Max diff block lines reached; 13248/28231 bytes (46.93%) of diff not shown. | |||
| Offset 221, 15 lines modified | Offset 221, 15 lines modified | ||
| 221 | ············>>>·for·_·in·range(5): | 221 | ············>>>·for·_·in·range(5): |
| 222 | ············...·····fake.diplomatic_license_plate() | 222 | ············...·····fake.diplomatic_license_plate() |
| 223 | ············... | 223 | ············... |
| 224 | ············'S·964·494' | 224 | ············'S·964·494' |
| 225 | ············'S·876·530' | 225 | ············'S·876·530' |
| 226 | ············'S·141·365' | 226 | ············'S·141·365' |
| 227 | ············'CDP·623' | 227 | ············'CDP·623' |
| 228 | ············'DP·514 | 228 | ············'CDP·514' |
| 229 | ········license_plate(region_name:·str·|·None·=·None,·temporary_plate:·bool·= | 229 | ········license_plate(region_name:·str·|·None·=·None,·temporary_plate:·bool·= |
| 230 | ········False)·→·str¶ | 230 | ········False)·→·str¶ |
| 231 | ············Generate·a·license·plate. | 231 | ············Generate·a·license·plate. |
| 232 | ················*·If·region_name·is·None·(default),·its·value·will·be·set·to·a | 232 | ················*·If·region_name·is·None·(default),·its·value·will·be·set·to·a |
| 233 | ··················random. | 233 | ··················random. |
| 234 | ················*·If·region_name·is·Kyiv,·will·use·this·region·in·build·of | 234 | ················*·If·region_name·is·Kyiv,·will·use·this·region·in·build·of |
| 235 | ··················license·plates. | 235 | ··················license·plates. |
| Offset 239, 78 lines modified | Offset 239, 78 lines modified | ||
| 239 | ··················01·AA0000 | 239 | ··················01·AA0000 |
| 240 | ············01·-·27·it’s·region·number | 240 | ············01·-·27·it’s·region·number |
| 241 | ··············Examples: | 241 | ··············Examples: |
| 242 | ············>>>·Faker.seed(0) | 242 | ············>>>·Faker.seed(0) |
| 243 | ············>>>·for·_·in·range(5): | 243 | ············>>>·for·_·in·range(5): |
| 244 | ············...·····fake.license_plate() | 244 | ············...·····fake.license_plate() |
| 245 | ············... | 245 | ············... |
| 246 | ············' | 246 | ············'AX6048HT' |
| 247 | ············' | 247 | ············'MT4759MK' |
| 248 | ············'B | 248 | ············'BO4219HI' |
| 249 | ············' | 249 | ············'BN4115AT' |
| 250 | ············' | 250 | ············'EK5659HN' |
| 251 | ············>>>·Faker.seed(0) | 251 | ············>>>·Faker.seed(0) |
| 252 | ············>>>·for·_·in·range(5): | 252 | ············>>>·for·_·in·range(5): |
| 253 | ············...·····fake.license_plate(region_name=None,·temporary_plate=False) | 253 | ············...·····fake.license_plate(region_name=None,·temporary_plate=False) |
| 254 | ············... | 254 | ············... |
| 255 | ············' | 255 | ············'EM6048HT' |
| 256 | ············' | 256 | ············'RR4759MK' |
| 257 | ············' | 257 | ············'RR4219HI' |
| 258 | ············' | 258 | ············'RV4115AT' |
| 259 | ············' | 259 | ············'TK5659HN' |
| 260 | ············>>>·Faker.seed(0) | 260 | ············>>>·Faker.seed(0) |
| 261 | ············>>>·for·_·in·range(5): | 261 | ············>>>·for·_·in·range(5): |
| 262 | ············...·····fake.license_plate(region_name=None,·temporary_plate=True) | 262 | ············...·····fake.license_plate(region_name=None,·temporary_plate=True) |
| 263 | ············... | 263 | ············... |
| 264 | ············'2 | 264 | ············'26·IE6048' |
| 265 | ············' | 265 | ············'04·AE6475' |
| 266 | ············' | 266 | ············'05·MH8242' |
| 267 | ············'1 | 267 | ············'16·BN9489' |
| 268 | ············'1 | 268 | ············'16·NN4115' |
| 269 | ············>>>·Faker.seed(0) | 269 | ············>>>·Faker.seed(0) |
| 270 | ············>>>·for·_·in·range(5): | 270 | ············>>>·for·_·in·range(5): |
| 271 | ············...·····fake.license_plate(region_name="Kyiv",·temporary_ | 271 | ············...·····fake.license_plate(region_name="Kyiv",·temporary_ |
| 272 | ············plate=False) | 272 | ············plate=False) |
| 273 | ············... | 273 | ············... |
| 274 | ············'TA6048HT' | 274 | ············'TA6048HT' |
| 275 | ············'TA4759MK' | 275 | ············'TA4759MK' |
| 276 | ············' | 276 | ············'KA4219HI' |
| 277 | ············' | 277 | ············'AA4115AT' |
| 278 | ············' | 278 | ············'KA5659HN' |
| 279 | ············>>>·Faker.seed(0) | 279 | ············>>>·Faker.seed(0) |
| 280 | ············>>>·for·_·in·range(5): | 280 | ············>>>·for·_·in·range(5): |
| 281 | ············...·····fake.license_plate(region_name="Kyiv",·temporary_ | 281 | ············...·····fake.license_plate(region_name="Kyiv",·temporary_ |
| 282 | ············plate=True) | 282 | ············plate=True) |
| 283 | ············... | 283 | ············... |
| 284 | ············'11· | 284 | ············'11·TA6048' |
| 285 | ············'11·AA6475' | 285 | ············'11·AA6475' |
| 286 | ············'11· | 286 | ············'11·KA8242' |
| 287 | ············'11· | 287 | ············'11·AA9489' |
| 288 | ············'11· | 288 | ············'11·TA4115' |
| 289 | ········plate_letter_prefix(region_name:·str·|·None·=·None)·→·str¶ | 289 | ········plate_letter_prefix(region_name:·str·|·None·=·None)·→·str¶ |
| 290 | ············Generate·a·letter·for·license·plates. | 290 | ············Generate·a·letter·for·license·plates. |
| 291 | ··············Examples: | 291 | ··············Examples: |
| 292 | ············>>>·Faker.seed(0) | 292 | ············>>>·Faker.seed(0) |
| 293 | ············>>>·for·_·in·range(5): | 293 | ············>>>·for·_·in·range(5): |
| 294 | ············...·····fake.plate_letter_prefix() | 294 | ············...·····fake.plate_letter_prefix() |
| 295 | ············... | 295 | ············... |
| 296 | ············' | 296 | ············'KH' |
| 297 | ············'SV' | ||
| 298 | ············'XN' | ||
| 297 | ············' | 299 | ············'EI' |
| 298 | ············' | 300 | ············'RX' |
| 299 | ············'EA' | ||
| 300 | ············'MH' | ||
| 301 | ············>>>·Faker.seed(0) | 301 | ············>>>·Faker.seed(0) |
| 302 | ············>>>·for·_·in·range(5): | 302 | ············>>>·for·_·in·range(5): |
| 303 | ············...·····fake.plate_letter_prefix(region_name="Kyiv") | 303 | ············...·····fake.plate_letter_prefix(region_name="Kyiv") |
| 304 | ············... | 304 | ············... |
| 305 | ············'TT' | 305 | ············'TT' |
| 306 | ············'KA' | ||
| 307 | ············'KA' | ||
| 308 | ············'AA' | ||
| 309 | ············'TT' | 306 | ············'TT' |
| 307 | ············'KA' | ||
| 308 | ············'TA' | ||
| 309 | ············'TA' | ||
| 310 | ········plate_letter_suffix()·→·str¶ | 310 | ········plate_letter_suffix()·→·str¶ |
| 311 | ············Generate·a·end·letter·for·license·plates. | 311 | ············Generate·a·end·letter·for·license·plates. |
| 312 | ··············Examples: | 312 | ··············Examples: |
| 313 | ············>>>·Faker.seed(0) | 313 | ············>>>·Faker.seed(0) |
| 314 | ············>>>·for·_·in·range(5): | 314 | ············>>>·for·_·in·range(5): |
| 315 | ············...·····fake.plate_letter_suffix() | 315 | ············...·····fake.plate_letter_suffix() |
| 316 | ············... | 316 | ············... |
| Offset 334, 19 lines modified | Offset 334, 19 lines modified | ||
| 334 | ········plate_region_code(region_name:·str·|·None·=·None)·→·str¶ | 334 | ········plate_region_code(region_name:·str·|·None·=·None)·→·str¶ |
| 335 | ············Generate·plate·region·number | 335 | ············Generate·plate·region·number |
| 336 | ··············Examples: | 336 | ··············Examples: |
| 337 | ············>>>·Faker.seed(0) | 337 | ············>>>·Faker.seed(0) |
| 338 | ············>>>·for·_·in·range(5): | 338 | ············>>>·for·_·in·range(5): |
| 339 | ············...·····fake.plate_region_code() | 339 | ············...·····fake.plate_region_code() |
| 340 | ············... | 340 | ············... |
| 341 | ············'0 | 341 | ············'00' |
| 342 | ············' | 342 | ············'22' |
| 343 | ············'1 | 343 | ············'13' |
| 344 | ············'0 | 344 | ············'06' |
| 345 | ············' | 345 | ············'20' |
| 346 | ············>>>·Faker.seed(0) | 346 | ············>>>·Faker.seed(0) |
| 347 | ············>>>·for·_·in·range(5): | 347 | ············>>>·for·_·in·range(5): |
| 348 | ············...·····fake.plate_region_code(region_name="Kyiv") | 348 | ············...·····fake.plate_region_code(region_name="Kyiv") |
| 349 | ············... | 349 | ············... |
| 350 | ············'11' | 350 | ············'11' |
| 351 | ············'11' | 351 | ············'11' |
| 352 | ············'11' | 352 | ············'11' |
| Offset 801, 64 lines modified | Offset 801, 64 lines modified | ||
| 801 | ············expiry·date,·strftime()·is·used·and·date_format·is·simply·passed·to | 801 | ············expiry·date,·strftime()·is·used·and·date_format·is·simply·passed·to |
| 802 | ············that·method. | 802 | ············that·method. |
| 803 | ··············Examples: | 803 | ··············Examples: |
| 804 | ············>>>·Faker.seed(0) | 804 | ············>>>·Faker.seed(0) |
| 805 | ············>>>·for·_·in·range(5): | 805 | ············>>>·for·_·in·range(5): |
| 806 | ············...·····fake.credit_card_expire() | 806 | ············...·····fake.credit_card_expire() |
| 807 | ············... | 807 | ············... |
| Max diff block lines reached; 4691/9634 bytes (48.69%) of diff not shown. | |||
| Offset 547, 19 lines modified | Offset 547, 19 lines modified | ||
| 547 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 547 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 548 | <dd·class="field-odd"><p></p></dd> | 548 | <dd·class="field-odd"><p></p></dd> |
| 549 | </dl> | 549 | </dl> |
| 550 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 550 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 551 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 551 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 552 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 552 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 553 | <span·class="gp">...</span> | 553 | <span·class="gp">...</span> |
| 554 | <span·class="go">'PM'</span> | ||
| 555 | <span·class="go">'PM'</span> | ||
| 556 | <span·class="go">'AM'</span> | 554 | <span·class="go">'AM'</span> |
| 557 | <span·class="go">'PM'</span> | 555 | <span·class="go">'PM'</span> |
| 558 | <span·class="go">'AM'</span> | 556 | <span·class="go">'AM'</span> |
| 557 | <span·class="go">'AM'</span> | ||
| 558 | <span·class="go">'AM'</span> | ||
| 559 | </pre></div> | 559 | </pre></div> |
| 560 | </div> | 560 | </div> |
| 561 | </dd></dl> | 561 | </dd></dl> |
| 562 | <dl·class="py·method"> | 562 | <dl·class="py·method"> |
| 563 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.uz_UZ.Provider.century"> | 563 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.uz_UZ.Provider.century"> |
| 564 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.uz_UZ.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 564 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.uz_UZ.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 600, 19 lines modified | Offset 600, 19 lines modified | ||
| 600 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 600 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 601 | <dd·class="field-even"><p></p></dd> | 601 | <dd·class="field-even"><p></p></dd> |
| 602 | </dl> | 602 | </dl> |
| 603 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 603 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 604 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 604 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 605 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 605 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 606 | <span·class="gp">...</span> | 606 | <span·class="gp">...</span> |
| 607 | <span·class="go">'2018-01-27'</span> | ||
| 608 | <span·class="go">'201 | 607 | <span·class="go">'2017-02-26'</span> |
| 608 | <span·class="go">'2012-04-29'</span> | ||
| 609 | <span·class="go">'1993- | 609 | <span·class="go">'1993-06-27'</span> |
| 610 | <span·class="go">'1984-0 | 610 | <span·class="go">'1984-06-17'</span> |
| 611 | <span·class="go">'199 | 611 | <span·class="go">'1998-07-21'</span> |
| 612 | </pre></div> | 612 | </pre></div> |
| 613 | </div> | 613 | </div> |
| 614 | </dd></dl> | 614 | </dd></dl> |
| 615 | <dl·class="py·method"> | 615 | <dl·class="py·method"> |
| 616 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.uz_UZ.Provider.date_between"> | 616 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.uz_UZ.Provider.date_between"> |
| 617 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.uz_UZ.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 617 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.uz_UZ.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 634, 19 lines modified | Offset 634, 19 lines modified | ||
| 634 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 634 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 635 | <dd·class="field-even"><p></p></dd> | 635 | <dd·class="field-even"><p></p></dd> |
| 636 | </dl> | 636 | </dl> |
| 637 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 637 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 638 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 638 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 639 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 639 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 640 | <span·class="gp">...</span> | 640 | <span·class="gp">...</span> |
| 641 | <span·class="go">datetime.date(202 | 641 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 642 | <span·class="go">datetime.date(201 | 642 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 643 | <span·class="go">datetime.date(200 | 643 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 644 | <span·class="go">datetime.date(200 | 644 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 645 | <span·class="go">datetime.date(201 | 645 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 646 | </pre></div> | 646 | </pre></div> |
| 647 | </div> | 647 | </div> |
| 648 | </dd></dl> | 648 | </dd></dl> |
| 649 | <dl·class="py·method"> | 649 | <dl·class="py·method"> |
| 650 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.uz_UZ.Provider.date_between_dates"> | 650 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.uz_UZ.Provider.date_between_dates"> |
| 651 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.uz_UZ.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 651 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.uz_UZ.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 665, 19 lines modified | Offset 665, 19 lines modified | ||
| 665 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 665 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 666 | <dd·class="field-odd"><p></p></dd> | 666 | <dd·class="field-odd"><p></p></dd> |
| 667 | </dl> | 667 | </dl> |
| 668 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 668 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 669 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 669 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 670 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 670 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 671 | <span·class="gp">...</span> | 671 | <span·class="gp">...</span> |
| 672 | <span·class="go">datetime.date(202 | 672 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 673 | <span·class="go">datetime.date(202 | 673 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 674 | <span·class="go">datetime.date(202 | 674 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 675 | <span·class="go">datetime.date(202 | 675 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 676 | <span·class="go">datetime.date(202 | 676 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 677 | </pre></div> | 677 | </pre></div> |
| 678 | </div> | 678 | </div> |
| 679 | </dd></dl> | 679 | </dd></dl> |
| 680 | <dl·class="py·method"> | 680 | <dl·class="py·method"> |
| 681 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.uz_UZ.Provider.date_object"> | 681 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.uz_UZ.Provider.date_object"> |
| 682 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.uz_UZ.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 682 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.uz_UZ.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 689, 19 lines modified | Offset 689, 19 lines modified | ||
| 689 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 689 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 690 | <dd·class="field-even"><p></p></dd> | 690 | <dd·class="field-even"><p></p></dd> |
| 691 | </dl> | 691 | </dl> |
| 692 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 692 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 693 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 693 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 694 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 694 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 695 | <span·class="gp">...</span> | 695 | <span·class="gp">...</span> |
| 696 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 697 | <span·class="go">datetime.date(201 | 696 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 697 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 698 | <span·class="go">datetime.date(1993,· | 698 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 699 | <span·class="go">datetime.date(1984,· | 699 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 700 | <span·class="go">datetime.date(199 | 700 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 701 | </pre></div> | 701 | </pre></div> |
| 702 | </div> | 702 | </div> |
| 703 | </dd></dl> | 703 | </dd></dl> |
| 704 | <dl·class="py·method"> | 704 | <dl·class="py·method"> |
| 705 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.uz_UZ.Provider.date_of_birth"> | 705 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.uz_UZ.Provider.date_of_birth"> |
| 706 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.uz_UZ.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 706 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.uz_UZ.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 725, 19 lines modified | Offset 725, 19 lines modified | ||
| 725 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 725 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 726 | <dd·class="field-even"><p></p></dd> | 726 | <dd·class="field-even"><p></p></dd> |
| 727 | </dl> | 727 | </dl> |
| 728 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 728 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 729 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 729 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 730 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 730 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 731 | <span·class="gp">...</span> | 731 | <span·class="gp">...</span> |
| 732 | <span·class="go">datetime.date(200 | 732 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 733 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 734 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 733 | <span·class="go">datetime.date(19 | 735 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 734 | <span·class="go">datetime.date(19 | 736 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 735 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 736 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 737 | </pre></div> | 737 | </pre></div> |
| 738 | </div> | 738 | </div> |
| 739 | </dd></dl> | 739 | </dd></dl> |
| 740 | <dl·class="py·method"> | 740 | <dl·class="py·method"> |
| 741 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.uz_UZ.Provider.date_this_century"> | 741 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.uz_UZ.Provider.date_this_century"> |
| 742 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.uz_UZ.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 742 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.uz_UZ.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 758, 19 lines modified | Offset 758, 19 lines modified | ||
| 758 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 758 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 98671/120896 bytes (81.62%) of diff not shown. | |||
| Offset 313, 19 lines modified | Offset 313, 19 lines modified | ||
| 313 | ······Bases:·Provider | 313 | ······Bases:·Provider |
| 314 | ········am_pm()·→·str¶ | 314 | ········am_pm()·→·str¶ |
| 315 | ··············Examples: | 315 | ··············Examples: |
| 316 | ············>>>·Faker.seed(0) | 316 | ············>>>·Faker.seed(0) |
| 317 | ············>>>·for·_·in·range(5): | 317 | ············>>>·for·_·in·range(5): |
| 318 | ············...·····fake.am_pm() | 318 | ············...·····fake.am_pm() |
| 319 | ············... | 319 | ············... |
| 320 | ············'PM' | ||
| 321 | ············'PM' | ||
| 322 | ············'AM' | 320 | ············'AM' |
| 323 | ············'PM' | 321 | ············'PM' |
| 324 | ············'AM' | 322 | ············'AM' |
| 323 | ············'AM' | ||
| 324 | ············'AM' | ||
| 325 | ········century()·→·str¶ | 325 | ········century()·→·str¶ |
| 326 | ··············Example: | 326 | ··············Example: |
| 327 | ··················‘XVII’ | 327 | ··················‘XVII’ |
| 328 | ··············Examples: | 328 | ··············Examples: |
| 329 | ············>>>·Faker.seed(0) | 329 | ············>>>·Faker.seed(0) |
| 330 | ············>>>·for·_·in·range(5): | 330 | ············>>>·for·_·in·range(5): |
| 331 | ············...·····fake.century() | 331 | ············...·····fake.century() |
| Offset 345, 19 lines modified | Offset 345, 19 lines modified | ||
| 345 | ··············Returns: | 345 | ··············Returns: |
| 346 | ··················Date | 346 | ··················Date |
| 347 | ··············Examples: | 347 | ··············Examples: |
| 348 | ············>>>·Faker.seed(0) | 348 | ············>>>·Faker.seed(0) |
| 349 | ············>>>·for·_·in·range(5): | 349 | ············>>>·for·_·in·range(5): |
| 350 | ············...·····fake.date() | 350 | ············...·····fake.date() |
| 351 | ············... | 351 | ············... |
| 352 | ············'2018-01-27' | ||
| 353 | ············'201 | 352 | ············'2017-02-26' |
| 353 | ············'2012-04-29' | ||
| 354 | ············'1993- | 354 | ············'1993-06-27' |
| 355 | ············'1984-0 | 355 | ············'1984-06-17' |
| 356 | ············'199 | 356 | ············'1998-07-21' |
| 357 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 357 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 358 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 358 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 359 | ········date¶ | 359 | ········date¶ |
| 360 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 360 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 361 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 361 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 362 | ··············Parameters: | 362 | ··············Parameters: |
| 363 | ······················*·start_date·–·Defaults·to·30·years·ago | 363 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 367, 19 lines modified | Offset 367, 19 lines modified | ||
| 367 | ··············Returns: | 367 | ··············Returns: |
| 368 | ··················Date | 368 | ··················Date |
| 369 | ··············Examples: | 369 | ··············Examples: |
| 370 | ············>>>·Faker.seed(0) | 370 | ············>>>·Faker.seed(0) |
| 371 | ············>>>·for·_·in·range(5): | 371 | ············>>>·for·_·in·range(5): |
| 372 | ············...·····fake.date_between() | 372 | ············...·····fake.date_between() |
| 373 | ············... | 373 | ············... |
| 374 | ············datetime.date(202 | 374 | ············datetime.date(2021,·3,·5) |
| 375 | ············datetime.date(201 | 375 | ············datetime.date(2018,·7,·31) |
| 376 | ············datetime.date(200 | 376 | ············datetime.date(2008,·6,·16) |
| 377 | ············datetime.date(200 | 377 | ············datetime.date(2003,·8,·11) |
| 378 | ············datetime.date(201 | 378 | ············datetime.date(2011,·3,·7) |
| 379 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 379 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 380 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 380 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 381 | ········=·None)·→·date¶ | 381 | ········=·None)·→·date¶ |
| 382 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 382 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 383 | ············given·dates.·Accepts·Date·or·datetime·objects | 383 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 384 | ··············Parameters: | 384 | ··············Parameters: |
| 385 | ······················*·date_start·–·Date | 385 | ······················*·date_start·–·Date |
| Offset 387, 33 lines modified | Offset 387, 33 lines modified | ||
| 387 | ··············Returns: | 387 | ··············Returns: |
| 388 | ··················Date | 388 | ··················Date |
| 389 | ··············Examples: | 389 | ··············Examples: |
| 390 | ············>>>·Faker.seed(0) | 390 | ············>>>·Faker.seed(0) |
| 391 | ············>>>·for·_·in·range(5): | 391 | ············>>>·for·_·in·range(5): |
| 392 | ············...·····fake.date_between_dates() | 392 | ············...·····fake.date_between_dates() |
| 393 | ············... | 393 | ············... |
| 394 | ············datetime.date(202 | 394 | ············datetime.date(2025,·11,·4) |
| 395 | ············datetime.date(202 | 395 | ············datetime.date(2025,·11,·4) |
| 396 | ············datetime.date(202 | 396 | ············datetime.date(2025,·11,·4) |
| 397 | ············datetime.date(202 | 397 | ············datetime.date(2025,·11,·4) |
| 398 | ············datetime.date(202 | 398 | ············datetime.date(2025,·11,·4) |
| 399 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 399 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 400 | ············Get·a·date·object·between·January·1,·1970·and·now | 400 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 401 | ··············Example: | 401 | ··············Example: |
| 402 | ··················datetime.date(2016,·9,·20) | 402 | ··················datetime.date(2016,·9,·20) |
| 403 | ··············Examples: | 403 | ··············Examples: |
| 404 | ············>>>·Faker.seed(0) | 404 | ············>>>·Faker.seed(0) |
| 405 | ············>>>·for·_·in·range(5): | 405 | ············>>>·for·_·in·range(5): |
| 406 | ············...·····fake.date_object() | 406 | ············...·····fake.date_object() |
| 407 | ············... | 407 | ············... |
| 408 | ············datetime.date(2018,·1,·27) | ||
| 409 | ············datetime.date(201 | 408 | ············datetime.date(2017,·2,·26) |
| 409 | ············datetime.date(2012,·4,·29) | ||
| 410 | ············datetime.date(1993,· | 410 | ············datetime.date(1993,·6,·27) |
| 411 | ············datetime.date(1984,· | 411 | ············datetime.date(1984,·6,·17) |
| 412 | ············datetime.date(199 | 412 | ············datetime.date(1998,·7,·21) |
| 413 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 413 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 414 | ········maximum_age:·int·=·115)·→·date¶ | 414 | ········maximum_age:·int·=·115)·→·date¶ |
| 415 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 415 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 416 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 416 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 417 | ··············Parameters: | 417 | ··············Parameters: |
| 418 | ······················*·tzinfo·–·Defaults·to·None. | 418 | ······················*·tzinfo·–·Defaults·to·None. |
| 419 | ······················*·minimum_age·–·Defaults·to·0. | 419 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 423, 19 lines modified | Offset 423, 19 lines modified | ||
| 423 | ··············Returns: | 423 | ··············Returns: |
| 424 | ··················Date | 424 | ··················Date |
| 425 | ··············Examples: | 425 | ··············Examples: |
| 426 | ············>>>·Faker.seed(0) | 426 | ············>>>·Faker.seed(0) |
| 427 | ············>>>·for·_·in·range(5): | 427 | ············>>>·for·_·in·range(5): |
| 428 | ············...·····fake.date_of_birth() | 428 | ············...·····fake.date_of_birth() |
| 429 | ············... | 429 | ············... |
| 430 | ············datetime.date(200 | 430 | ············datetime.date(2007,·10,·18) |
| 431 | ············datetime.date(1997,·10,·6) | ||
| 432 | ············datetime.date(1958,·8,·18) | ||
| 431 | ············datetime.date(19 | 433 | ············datetime.date(1939,·11,·17) |
| 432 | ············datetime.date(19 | 434 | ············datetime.date(1969,·2,·24) |
| 433 | ············datetime.date(1940,·12,·18) | ||
| 434 | ············datetime.date(1970,·3,·28) | ||
| 435 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 435 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 436 | ········→·date¶ | 436 | ········→·date¶ |
| 437 | ············Gets·a·Date·object·for·the·current·century. | 437 | ············Gets·a·Date·object·for·the·current·century. |
| 438 | ··············Parameters: | 438 | ··············Parameters: |
| 439 | ······················*·before_today·–·include·days·in·current·century·before | 439 | ······················*·before_today·–·include·days·in·current·century·before |
| 440 | ························today | 440 | ························today |
| 441 | ······················*·after_today·–·include·days·in·current·century·after | 441 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 445, 19 lines modified | Offset 445, 19 lines modified | ||
| 445 | ··············Returns: | 445 | ··············Returns: |
| 446 | ··················Date | 446 | ··················Date |
| 447 | ··············Examples: | 447 | ··············Examples: |
| 448 | ············>>>·Faker.seed(0) | 448 | ············>>>·Faker.seed(0) |
| 449 | ············>>>·for·_·in·range(5): | 449 | ············>>>·for·_·in·range(5): |
| 450 | ············...·····fake.date_this_century() | 450 | ············...·····fake.date_this_century() |
| 451 | ············... | 451 | ············... |
| Max diff block lines reached; 24693/30607 bytes (80.68%) of diff not shown. | |||
| Offset 1090, 19 lines modified | Offset 1090, 19 lines modified | ||
| 1090 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1090 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1091 | <dd·class="field-odd"><p></p></dd> | 1091 | <dd·class="field-odd"><p></p></dd> |
| 1092 | </dl> | 1092 | </dl> |
| 1093 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1093 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1094 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1094 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1095 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1095 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 1096 | <span·class="gp">...</span> | 1096 | <span·class="gp">...</span> |
| 1097 | <span·class="go">'PM'</span> | ||
| 1098 | <span·class="go">'PM'</span> | ||
| 1099 | <span·class="go">'AM'</span> | 1097 | <span·class="go">'AM'</span> |
| 1100 | <span·class="go">'PM'</span> | 1098 | <span·class="go">'PM'</span> |
| 1101 | <span·class="go">'AM'</span> | 1099 | <span·class="go">'AM'</span> |
| 1100 | <span·class="go">'AM'</span> | ||
| 1101 | <span·class="go">'AM'</span> | ||
| 1102 | </pre></div> | 1102 | </pre></div> |
| 1103 | </div> | 1103 | </div> |
| 1104 | </dd></dl> | 1104 | </dd></dl> |
| 1105 | <dl·class="py·method"> | 1105 | <dl·class="py·method"> |
| 1106 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.vi_VN.Provider.century"> | 1106 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.vi_VN.Provider.century"> |
| 1107 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.vi_VN.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 1107 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.vi_VN.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1143, 19 lines modified | Offset 1143, 19 lines modified | ||
| 1143 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1143 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1144 | <dd·class="field-even"><p></p></dd> | 1144 | <dd·class="field-even"><p></p></dd> |
| 1145 | </dl> | 1145 | </dl> |
| 1146 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1146 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1147 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1147 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1148 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1148 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 1149 | <span·class="gp">...</span> | 1149 | <span·class="gp">...</span> |
| 1150 | <span·class="go">'2018-01-27'</span> | ||
| 1151 | <span·class="go">'201 | 1150 | <span·class="go">'2017-02-26'</span> |
| 1151 | <span·class="go">'2012-04-29'</span> | ||
| 1152 | <span·class="go">'1993- | 1152 | <span·class="go">'1993-06-27'</span> |
| 1153 | <span·class="go">'1984-0 | 1153 | <span·class="go">'1984-06-17'</span> |
| 1154 | <span·class="go">'199 | 1154 | <span·class="go">'1998-07-21'</span> |
| 1155 | </pre></div> | 1155 | </pre></div> |
| 1156 | </div> | 1156 | </div> |
| 1157 | </dd></dl> | 1157 | </dd></dl> |
| 1158 | <dl·class="py·method"> | 1158 | <dl·class="py·method"> |
| 1159 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.vi_VN.Provider.date_between"> | 1159 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.vi_VN.Provider.date_between"> |
| 1160 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.vi_VN.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1160 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.vi_VN.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1177, 19 lines modified | Offset 1177, 19 lines modified | ||
| 1177 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1177 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1178 | <dd·class="field-even"><p></p></dd> | 1178 | <dd·class="field-even"><p></p></dd> |
| 1179 | </dl> | 1179 | </dl> |
| 1180 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1180 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1181 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1181 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1182 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1182 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 1183 | <span·class="gp">...</span> | 1183 | <span·class="gp">...</span> |
| 1184 | <span·class="go">datetime.date(202 | 1184 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 1185 | <span·class="go">datetime.date(201 | 1185 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 1186 | <span·class="go">datetime.date(200 | 1186 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 1187 | <span·class="go">datetime.date(200 | 1187 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 1188 | <span·class="go">datetime.date(201 | 1188 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 1189 | </pre></div> | 1189 | </pre></div> |
| 1190 | </div> | 1190 | </div> |
| 1191 | </dd></dl> | 1191 | </dd></dl> |
| 1192 | <dl·class="py·method"> | 1192 | <dl·class="py·method"> |
| 1193 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.vi_VN.Provider.date_between_dates"> | 1193 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.vi_VN.Provider.date_between_dates"> |
| 1194 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.vi_VN.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 1194 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.vi_VN.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1208, 19 lines modified | Offset 1208, 19 lines modified | ||
| 1208 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1208 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 1209 | <dd·class="field-odd"><p></p></dd> | 1209 | <dd·class="field-odd"><p></p></dd> |
| 1210 | </dl> | 1210 | </dl> |
| 1211 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1211 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1212 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1212 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1213 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 1213 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 1214 | <span·class="gp">...</span> | 1214 | <span·class="gp">...</span> |
| 1215 | <span·class="go">datetime.date(202 | 1215 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1216 | <span·class="go">datetime.date(202 | 1216 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1217 | <span·class="go">datetime.date(202 | 1217 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1218 | <span·class="go">datetime.date(202 | 1218 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1219 | <span·class="go">datetime.date(202 | 1219 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1220 | </pre></div> | 1220 | </pre></div> |
| 1221 | </div> | 1221 | </div> |
| 1222 | </dd></dl> | 1222 | </dd></dl> |
| 1223 | <dl·class="py·method"> | 1223 | <dl·class="py·method"> |
| 1224 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.vi_VN.Provider.date_object"> | 1224 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.vi_VN.Provider.date_object"> |
| 1225 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.vi_VN.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 1225 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.vi_VN.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1232, 19 lines modified | Offset 1232, 19 lines modified | ||
| 1232 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1232 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1233 | <dd·class="field-even"><p></p></dd> | 1233 | <dd·class="field-even"><p></p></dd> |
| 1234 | </dl> | 1234 | </dl> |
| 1235 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1235 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1236 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1236 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1237 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1237 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 1238 | <span·class="gp">...</span> | 1238 | <span·class="gp">...</span> |
| 1239 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 1240 | <span·class="go">datetime.date(201 | 1239 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 1240 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 1241 | <span·class="go">datetime.date(1993,· | 1241 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 1242 | <span·class="go">datetime.date(1984,· | 1242 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 1243 | <span·class="go">datetime.date(199 | 1243 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 1244 | </pre></div> | 1244 | </pre></div> |
| 1245 | </div> | 1245 | </div> |
| 1246 | </dd></dl> | 1246 | </dd></dl> |
| 1247 | <dl·class="py·method"> | 1247 | <dl·class="py·method"> |
| 1248 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.vi_VN.Provider.date_of_birth"> | 1248 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.vi_VN.Provider.date_of_birth"> |
| 1249 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.vi_VN.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1249 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.vi_VN.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1268, 19 lines modified | Offset 1268, 19 lines modified | ||
| 1268 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1268 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1269 | <dd·class="field-even"><p></p></dd> | 1269 | <dd·class="field-even"><p></p></dd> |
| 1270 | </dl> | 1270 | </dl> |
| 1271 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1271 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1272 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1272 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1273 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1273 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 1274 | <span·class="gp">...</span> | 1274 | <span·class="gp">...</span> |
| 1275 | <span·class="go">datetime.date(200 | 1275 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 1276 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 1277 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 1276 | <span·class="go">datetime.date(19 | 1278 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 1277 | <span·class="go">datetime.date(19 | 1279 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 1278 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 1279 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 1280 | </pre></div> | 1280 | </pre></div> |
| 1281 | </div> | 1281 | </div> |
| 1282 | </dd></dl> | 1282 | </dd></dl> |
| 1283 | <dl·class="py·method"> | 1283 | <dl·class="py·method"> |
| 1284 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.vi_VN.Provider.date_this_century"> | 1284 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.vi_VN.Provider.date_this_century"> |
| 1285 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.vi_VN.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 1285 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.vi_VN.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1301, 19 lines modified | Offset 1301, 19 lines modified | ||
| 1301 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1301 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 98172/120411 bytes (81.53%) of diff not shown. | |||
| Offset 618, 19 lines modified | Offset 618, 19 lines modified | ||
| 618 | ······Bases:·Provider | 618 | ······Bases:·Provider |
| 619 | ········am_pm()·→·str¶ | 619 | ········am_pm()·→·str¶ |
| 620 | ··············Examples: | 620 | ··············Examples: |
| 621 | ············>>>·Faker.seed(0) | 621 | ············>>>·Faker.seed(0) |
| 622 | ············>>>·for·_·in·range(5): | 622 | ············>>>·for·_·in·range(5): |
| 623 | ············...·····fake.am_pm() | 623 | ············...·····fake.am_pm() |
| 624 | ············... | 624 | ············... |
| 625 | ············'PM' | ||
| 626 | ············'PM' | ||
| 627 | ············'AM' | 625 | ············'AM' |
| 628 | ············'PM' | 626 | ············'PM' |
| 629 | ············'AM' | 627 | ············'AM' |
| 628 | ············'AM' | ||
| 629 | ············'AM' | ||
| 630 | ········century()·→·str¶ | 630 | ········century()·→·str¶ |
| 631 | ··············Example: | 631 | ··············Example: |
| 632 | ··················‘XVII’ | 632 | ··················‘XVII’ |
| 633 | ··············Examples: | 633 | ··············Examples: |
| 634 | ············>>>·Faker.seed(0) | 634 | ············>>>·Faker.seed(0) |
| 635 | ············>>>·for·_·in·range(5): | 635 | ············>>>·for·_·in·range(5): |
| 636 | ············...·····fake.century() | 636 | ············...·····fake.century() |
| Offset 650, 19 lines modified | Offset 650, 19 lines modified | ||
| 650 | ··············Returns: | 650 | ··············Returns: |
| 651 | ··················Date | 651 | ··················Date |
| 652 | ··············Examples: | 652 | ··············Examples: |
| 653 | ············>>>·Faker.seed(0) | 653 | ············>>>·Faker.seed(0) |
| 654 | ············>>>·for·_·in·range(5): | 654 | ············>>>·for·_·in·range(5): |
| 655 | ············...·····fake.date() | 655 | ············...·····fake.date() |
| 656 | ············... | 656 | ············... |
| 657 | ············'2018-01-27' | ||
| 658 | ············'201 | 657 | ············'2017-02-26' |
| 658 | ············'2012-04-29' | ||
| 659 | ············'1993- | 659 | ············'1993-06-27' |
| 660 | ············'1984-0 | 660 | ············'1984-06-17' |
| 661 | ············'199 | 661 | ············'1998-07-21' |
| 662 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 662 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 663 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 663 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 664 | ········date¶ | 664 | ········date¶ |
| 665 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 665 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 666 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 666 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 667 | ··············Parameters: | 667 | ··············Parameters: |
| 668 | ······················*·start_date·–·Defaults·to·30·years·ago | 668 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 672, 19 lines modified | Offset 672, 19 lines modified | ||
| 672 | ··············Returns: | 672 | ··············Returns: |
| 673 | ··················Date | 673 | ··················Date |
| 674 | ··············Examples: | 674 | ··············Examples: |
| 675 | ············>>>·Faker.seed(0) | 675 | ············>>>·Faker.seed(0) |
| 676 | ············>>>·for·_·in·range(5): | 676 | ············>>>·for·_·in·range(5): |
| 677 | ············...·····fake.date_between() | 677 | ············...·····fake.date_between() |
| 678 | ············... | 678 | ············... |
| 679 | ············datetime.date(202 | 679 | ············datetime.date(2021,·3,·5) |
| 680 | ············datetime.date(201 | 680 | ············datetime.date(2018,·7,·31) |
| 681 | ············datetime.date(200 | 681 | ············datetime.date(2008,·6,·16) |
| 682 | ············datetime.date(200 | 682 | ············datetime.date(2003,·8,·11) |
| 683 | ············datetime.date(201 | 683 | ············datetime.date(2011,·3,·7) |
| 684 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 684 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 685 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 685 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 686 | ········=·None)·→·date¶ | 686 | ········=·None)·→·date¶ |
| 687 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 687 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 688 | ············given·dates.·Accepts·Date·or·datetime·objects | 688 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 689 | ··············Parameters: | 689 | ··············Parameters: |
| 690 | ······················*·date_start·–·Date | 690 | ······················*·date_start·–·Date |
| Offset 692, 33 lines modified | Offset 692, 33 lines modified | ||
| 692 | ··············Returns: | 692 | ··············Returns: |
| 693 | ··················Date | 693 | ··················Date |
| 694 | ··············Examples: | 694 | ··············Examples: |
| 695 | ············>>>·Faker.seed(0) | 695 | ············>>>·Faker.seed(0) |
| 696 | ············>>>·for·_·in·range(5): | 696 | ············>>>·for·_·in·range(5): |
| 697 | ············...·····fake.date_between_dates() | 697 | ············...·····fake.date_between_dates() |
| 698 | ············... | 698 | ············... |
| 699 | ············datetime.date(202 | 699 | ············datetime.date(2025,·11,·4) |
| 700 | ············datetime.date(202 | 700 | ············datetime.date(2025,·11,·4) |
| 701 | ············datetime.date(202 | 701 | ············datetime.date(2025,·11,·4) |
| 702 | ············datetime.date(202 | 702 | ············datetime.date(2025,·11,·4) |
| 703 | ············datetime.date(202 | 703 | ············datetime.date(2025,·11,·4) |
| 704 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 704 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 705 | ············Get·a·date·object·between·January·1,·1970·and·now | 705 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 706 | ··············Example: | 706 | ··············Example: |
| 707 | ··················datetime.date(2016,·9,·20) | 707 | ··················datetime.date(2016,·9,·20) |
| 708 | ··············Examples: | 708 | ··············Examples: |
| 709 | ············>>>·Faker.seed(0) | 709 | ············>>>·Faker.seed(0) |
| 710 | ············>>>·for·_·in·range(5): | 710 | ············>>>·for·_·in·range(5): |
| 711 | ············...·····fake.date_object() | 711 | ············...·····fake.date_object() |
| 712 | ············... | 712 | ············... |
| 713 | ············datetime.date(2018,·1,·27) | ||
| 714 | ············datetime.date(201 | 713 | ············datetime.date(2017,·2,·26) |
| 714 | ············datetime.date(2012,·4,·29) | ||
| 715 | ············datetime.date(1993,· | 715 | ············datetime.date(1993,·6,·27) |
| 716 | ············datetime.date(1984,· | 716 | ············datetime.date(1984,·6,·17) |
| 717 | ············datetime.date(199 | 717 | ············datetime.date(1998,·7,·21) |
| 718 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 718 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 719 | ········maximum_age:·int·=·115)·→·date¶ | 719 | ········maximum_age:·int·=·115)·→·date¶ |
| 720 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 720 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 721 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 721 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 722 | ··············Parameters: | 722 | ··············Parameters: |
| 723 | ······················*·tzinfo·–·Defaults·to·None. | 723 | ······················*·tzinfo·–·Defaults·to·None. |
| 724 | ······················*·minimum_age·–·Defaults·to·0. | 724 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 728, 19 lines modified | Offset 728, 19 lines modified | ||
| 728 | ··············Returns: | 728 | ··············Returns: |
| 729 | ··················Date | 729 | ··················Date |
| 730 | ··············Examples: | 730 | ··············Examples: |
| 731 | ············>>>·Faker.seed(0) | 731 | ············>>>·Faker.seed(0) |
| 732 | ············>>>·for·_·in·range(5): | 732 | ············>>>·for·_·in·range(5): |
| 733 | ············...·····fake.date_of_birth() | 733 | ············...·····fake.date_of_birth() |
| 734 | ············... | 734 | ············... |
| 735 | ············datetime.date(200 | 735 | ············datetime.date(2007,·10,·18) |
| 736 | ············datetime.date(1997,·10,·6) | ||
| 737 | ············datetime.date(1958,·8,·18) | ||
| 736 | ············datetime.date(19 | 738 | ············datetime.date(1939,·11,·17) |
| 737 | ············datetime.date(19 | 739 | ············datetime.date(1969,·2,·24) |
| 738 | ············datetime.date(1940,·12,·18) | ||
| 739 | ············datetime.date(1970,·3,·28) | ||
| 740 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 740 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 741 | ········→·date¶ | 741 | ········→·date¶ |
| 742 | ············Gets·a·Date·object·for·the·current·century. | 742 | ············Gets·a·Date·object·for·the·current·century. |
| 743 | ··············Parameters: | 743 | ··············Parameters: |
| 744 | ······················*·before_today·–·include·days·in·current·century·before | 744 | ······················*·before_today·–·include·days·in·current·century·before |
| 745 | ························today | 745 | ························today |
| 746 | ······················*·after_today·–·include·days·in·current·century·after | 746 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 750, 19 lines modified | Offset 750, 19 lines modified | ||
| 750 | ··············Returns: | 750 | ··············Returns: |
| 751 | ··················Date | 751 | ··················Date |
| 752 | ··············Examples: | 752 | ··············Examples: |
| 753 | ············>>>·Faker.seed(0) | 753 | ············>>>·Faker.seed(0) |
| 754 | ············>>>·for·_·in·range(5): | 754 | ············>>>·for·_·in·range(5): |
| 755 | ············...·····fake.date_this_century() | 755 | ············...·····fake.date_this_century() |
| 756 | ············... | 756 | ············... |
| Max diff block lines reached; 24716/30630 bytes (80.69%) of diff not shown. | |||
| Offset 876, 19 lines modified | Offset 876, 19 lines modified | ||
| 876 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 876 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 877 | <dd·class="field-odd"><p></p></dd> | 877 | <dd·class="field-odd"><p></p></dd> |
| 878 | </dl> | 878 | </dl> |
| 879 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 879 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 880 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 880 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 881 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 881 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 882 | <span·class="gp">...</span> | 882 | <span·class="gp">...</span> |
| 883 | <span·class="go">'PM'</span> | ||
| 884 | <span·class="go">'PM'</span> | ||
| 885 | <span·class="go">'AM'</span> | 883 | <span·class="go">'AM'</span> |
| 886 | <span·class="go">'PM'</span> | 884 | <span·class="go">'PM'</span> |
| 887 | <span·class="go">'AM'</span> | 885 | <span·class="go">'AM'</span> |
| 886 | <span·class="go">'AM'</span> | ||
| 887 | <span·class="go">'AM'</span> | ||
| 888 | </pre></div> | 888 | </pre></div> |
| 889 | </div> | 889 | </div> |
| 890 | </dd></dl> | 890 | </dd></dl> |
| 891 | <dl·class="py·method"> | 891 | <dl·class="py·method"> |
| 892 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.zh_CN.Provider.century"> | 892 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.zh_CN.Provider.century"> |
| 893 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.zh_CN.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 893 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.zh_CN.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 929, 19 lines modified | Offset 929, 19 lines modified | ||
| 929 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 929 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 930 | <dd·class="field-even"><p></p></dd> | 930 | <dd·class="field-even"><p></p></dd> |
| 931 | </dl> | 931 | </dl> |
| 932 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 932 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 933 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 933 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 934 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 934 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 935 | <span·class="gp">...</span> | 935 | <span·class="gp">...</span> |
| 936 | <span·class="go">'2018-01-27'</span> | ||
| 937 | <span·class="go">'201 | 936 | <span·class="go">'2017-02-26'</span> |
| 937 | <span·class="go">'2012-04-29'</span> | ||
| 938 | <span·class="go">'1993- | 938 | <span·class="go">'1993-06-27'</span> |
| 939 | <span·class="go">'1984-0 | 939 | <span·class="go">'1984-06-17'</span> |
| 940 | <span·class="go">'199 | 940 | <span·class="go">'1998-07-21'</span> |
| 941 | </pre></div> | 941 | </pre></div> |
| 942 | </div> | 942 | </div> |
| 943 | </dd></dl> | 943 | </dd></dl> |
| 944 | <dl·class="py·method"> | 944 | <dl·class="py·method"> |
| 945 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.zh_CN.Provider.date_between"> | 945 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.zh_CN.Provider.date_between"> |
| 946 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.zh_CN.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 946 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.zh_CN.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 963, 19 lines modified | Offset 963, 19 lines modified | ||
| 963 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 963 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 964 | <dd·class="field-even"><p></p></dd> | 964 | <dd·class="field-even"><p></p></dd> |
| 965 | </dl> | 965 | </dl> |
| 966 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 966 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 967 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 967 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 968 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 968 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 969 | <span·class="gp">...</span> | 969 | <span·class="gp">...</span> |
| 970 | <span·class="go">datetime.date(202 | 970 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 971 | <span·class="go">datetime.date(201 | 971 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 972 | <span·class="go">datetime.date(200 | 972 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 973 | <span·class="go">datetime.date(200 | 973 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 974 | <span·class="go">datetime.date(201 | 974 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 975 | </pre></div> | 975 | </pre></div> |
| 976 | </div> | 976 | </div> |
| 977 | </dd></dl> | 977 | </dd></dl> |
| 978 | <dl·class="py·method"> | 978 | <dl·class="py·method"> |
| 979 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.zh_CN.Provider.date_between_dates"> | 979 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.zh_CN.Provider.date_between_dates"> |
| 980 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.zh_CN.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 980 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.zh_CN.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 994, 19 lines modified | Offset 994, 19 lines modified | ||
| 994 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 994 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 995 | <dd·class="field-odd"><p></p></dd> | 995 | <dd·class="field-odd"><p></p></dd> |
| 996 | </dl> | 996 | </dl> |
| 997 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 997 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 998 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 998 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 999 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 999 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 1000 | <span·class="gp">...</span> | 1000 | <span·class="gp">...</span> |
| 1001 | <span·class="go">datetime.date(202 | 1001 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1002 | <span·class="go">datetime.date(202 | 1002 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1003 | <span·class="go">datetime.date(202 | 1003 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1004 | <span·class="go">datetime.date(202 | 1004 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1005 | <span·class="go">datetime.date(202 | 1005 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 1006 | </pre></div> | 1006 | </pre></div> |
| 1007 | </div> | 1007 | </div> |
| 1008 | </dd></dl> | 1008 | </dd></dl> |
| 1009 | <dl·class="py·method"> | 1009 | <dl·class="py·method"> |
| 1010 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.zh_CN.Provider.date_object"> | 1010 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.zh_CN.Provider.date_object"> |
| 1011 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.zh_CN.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 1011 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.zh_CN.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1018, 19 lines modified | Offset 1018, 19 lines modified | ||
| 1018 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1018 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1019 | <dd·class="field-even"><p></p></dd> | 1019 | <dd·class="field-even"><p></p></dd> |
| 1020 | </dl> | 1020 | </dl> |
| 1021 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1021 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1022 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1022 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1023 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1023 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 1024 | <span·class="gp">...</span> | 1024 | <span·class="gp">...</span> |
| 1025 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 1026 | <span·class="go">datetime.date(201 | 1025 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 1026 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 1027 | <span·class="go">datetime.date(1993,· | 1027 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 1028 | <span·class="go">datetime.date(1984,· | 1028 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 1029 | <span·class="go">datetime.date(199 | 1029 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 1030 | </pre></div> | 1030 | </pre></div> |
| 1031 | </div> | 1031 | </div> |
| 1032 | </dd></dl> | 1032 | </dd></dl> |
| 1033 | <dl·class="py·method"> | 1033 | <dl·class="py·method"> |
| 1034 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.zh_CN.Provider.date_of_birth"> | 1034 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.zh_CN.Provider.date_of_birth"> |
| 1035 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.zh_CN.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1035 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.zh_CN.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1054, 19 lines modified | Offset 1054, 19 lines modified | ||
| 1054 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1054 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 1055 | <dd·class="field-even"><p></p></dd> | 1055 | <dd·class="field-even"><p></p></dd> |
| 1056 | </dl> | 1056 | </dl> |
| 1057 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1057 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 1058 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1058 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 1059 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1059 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 1060 | <span·class="gp">...</span> | 1060 | <span·class="gp">...</span> |
| 1061 | <span·class="go">datetime.date(200 | 1061 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 1062 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 1063 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 1062 | <span·class="go">datetime.date(19 | 1064 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 1063 | <span·class="go">datetime.date(19 | 1065 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 1064 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 1065 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 1066 | </pre></div> | 1066 | </pre></div> |
| 1067 | </div> | 1067 | </div> |
| 1068 | </dd></dl> | 1068 | </dd></dl> |
| 1069 | <dl·class="py·method"> | 1069 | <dl·class="py·method"> |
| 1070 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.zh_CN.Provider.date_this_century"> | 1070 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.zh_CN.Provider.date_this_century"> |
| 1071 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.zh_CN.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 1071 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.zh_CN.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 1087, 19 lines modified | Offset 1087, 19 lines modified | ||
| 1087 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1087 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 100022/122253 bytes (81.82%) of diff not shown. | |||
| Offset 501, 19 lines modified | Offset 501, 19 lines modified | ||
| 501 | ······Bases:·Provider | 501 | ······Bases:·Provider |
| 502 | ········am_pm()·→·str¶ | 502 | ········am_pm()·→·str¶ |
| 503 | ··············Examples: | 503 | ··············Examples: |
| 504 | ············>>>·Faker.seed(0) | 504 | ············>>>·Faker.seed(0) |
| 505 | ············>>>·for·_·in·range(5): | 505 | ············>>>·for·_·in·range(5): |
| 506 | ············...·····fake.am_pm() | 506 | ············...·····fake.am_pm() |
| 507 | ············... | 507 | ············... |
| 508 | ············'PM' | ||
| 509 | ············'PM' | ||
| 510 | ············'AM' | 508 | ············'AM' |
| 511 | ············'PM' | 509 | ············'PM' |
| 512 | ············'AM' | 510 | ············'AM' |
| 511 | ············'AM' | ||
| 512 | ············'AM' | ||
| 513 | ········century()·→·str¶ | 513 | ········century()·→·str¶ |
| 514 | ··············Example: | 514 | ··············Example: |
| 515 | ··················‘XVII’ | 515 | ··················‘XVII’ |
| 516 | ··············Examples: | 516 | ··············Examples: |
| 517 | ············>>>·Faker.seed(0) | 517 | ············>>>·Faker.seed(0) |
| 518 | ············>>>·for·_·in·range(5): | 518 | ············>>>·for·_·in·range(5): |
| 519 | ············...·····fake.century() | 519 | ············...·····fake.century() |
| Offset 533, 19 lines modified | Offset 533, 19 lines modified | ||
| 533 | ··············Returns: | 533 | ··············Returns: |
| 534 | ··················Date | 534 | ··················Date |
| 535 | ··············Examples: | 535 | ··············Examples: |
| 536 | ············>>>·Faker.seed(0) | 536 | ············>>>·Faker.seed(0) |
| 537 | ············>>>·for·_·in·range(5): | 537 | ············>>>·for·_·in·range(5): |
| 538 | ············...·····fake.date() | 538 | ············...·····fake.date() |
| 539 | ············... | 539 | ············... |
| 540 | ············'2018-01-27' | ||
| 541 | ············'201 | 540 | ············'2017-02-26' |
| 541 | ············'2012-04-29' | ||
| 542 | ············'1993- | 542 | ············'1993-06-27' |
| 543 | ············'1984-0 | 543 | ············'1984-06-17' |
| 544 | ············'199 | 544 | ············'1998-07-21' |
| 545 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 545 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 546 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 546 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 547 | ········date¶ | 547 | ········date¶ |
| 548 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 548 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 549 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 549 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 550 | ··············Parameters: | 550 | ··············Parameters: |
| 551 | ······················*·start_date·–·Defaults·to·30·years·ago | 551 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 555, 19 lines modified | Offset 555, 19 lines modified | ||
| 555 | ··············Returns: | 555 | ··············Returns: |
| 556 | ··················Date | 556 | ··················Date |
| 557 | ··············Examples: | 557 | ··············Examples: |
| 558 | ············>>>·Faker.seed(0) | 558 | ············>>>·Faker.seed(0) |
| 559 | ············>>>·for·_·in·range(5): | 559 | ············>>>·for·_·in·range(5): |
| 560 | ············...·····fake.date_between() | 560 | ············...·····fake.date_between() |
| 561 | ············... | 561 | ············... |
| 562 | ············datetime.date(202 | 562 | ············datetime.date(2021,·3,·5) |
| 563 | ············datetime.date(201 | 563 | ············datetime.date(2018,·7,·31) |
| 564 | ············datetime.date(200 | 564 | ············datetime.date(2008,·6,·16) |
| 565 | ············datetime.date(200 | 565 | ············datetime.date(2003,·8,·11) |
| 566 | ············datetime.date(201 | 566 | ············datetime.date(2011,·3,·7) |
| 567 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 567 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 568 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 568 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 569 | ········=·None)·→·date¶ | 569 | ········=·None)·→·date¶ |
| 570 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 570 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 571 | ············given·dates.·Accepts·Date·or·datetime·objects | 571 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 572 | ··············Parameters: | 572 | ··············Parameters: |
| 573 | ······················*·date_start·–·Date | 573 | ······················*·date_start·–·Date |
| Offset 575, 33 lines modified | Offset 575, 33 lines modified | ||
| 575 | ··············Returns: | 575 | ··············Returns: |
| 576 | ··················Date | 576 | ··················Date |
| 577 | ··············Examples: | 577 | ··············Examples: |
| 578 | ············>>>·Faker.seed(0) | 578 | ············>>>·Faker.seed(0) |
| 579 | ············>>>·for·_·in·range(5): | 579 | ············>>>·for·_·in·range(5): |
| 580 | ············...·····fake.date_between_dates() | 580 | ············...·····fake.date_between_dates() |
| 581 | ············... | 581 | ············... |
| 582 | ············datetime.date(202 | 582 | ············datetime.date(2025,·11,·4) |
| 583 | ············datetime.date(202 | 583 | ············datetime.date(2025,·11,·4) |
| 584 | ············datetime.date(202 | 584 | ············datetime.date(2025,·11,·4) |
| 585 | ············datetime.date(202 | 585 | ············datetime.date(2025,·11,·4) |
| 586 | ············datetime.date(202 | 586 | ············datetime.date(2025,·11,·4) |
| 587 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 587 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 588 | ············Get·a·date·object·between·January·1,·1970·and·now | 588 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 589 | ··············Example: | 589 | ··············Example: |
| 590 | ··················datetime.date(2016,·9,·20) | 590 | ··················datetime.date(2016,·9,·20) |
| 591 | ··············Examples: | 591 | ··············Examples: |
| 592 | ············>>>·Faker.seed(0) | 592 | ············>>>·Faker.seed(0) |
| 593 | ············>>>·for·_·in·range(5): | 593 | ············>>>·for·_·in·range(5): |
| 594 | ············...·····fake.date_object() | 594 | ············...·····fake.date_object() |
| 595 | ············... | 595 | ············... |
| 596 | ············datetime.date(2018,·1,·27) | ||
| 597 | ············datetime.date(201 | 596 | ············datetime.date(2017,·2,·26) |
| 597 | ············datetime.date(2012,·4,·29) | ||
| 598 | ············datetime.date(1993,· | 598 | ············datetime.date(1993,·6,·27) |
| 599 | ············datetime.date(1984,· | 599 | ············datetime.date(1984,·6,·17) |
| 600 | ············datetime.date(199 | 600 | ············datetime.date(1998,·7,·21) |
| 601 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 601 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 602 | ········maximum_age:·int·=·115)·→·date¶ | 602 | ········maximum_age:·int·=·115)·→·date¶ |
| 603 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 603 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 604 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 604 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 605 | ··············Parameters: | 605 | ··············Parameters: |
| 606 | ······················*·tzinfo·–·Defaults·to·None. | 606 | ······················*·tzinfo·–·Defaults·to·None. |
| 607 | ······················*·minimum_age·–·Defaults·to·0. | 607 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 611, 19 lines modified | Offset 611, 19 lines modified | ||
| 611 | ··············Returns: | 611 | ··············Returns: |
| 612 | ··················Date | 612 | ··················Date |
| 613 | ··············Examples: | 613 | ··············Examples: |
| 614 | ············>>>·Faker.seed(0) | 614 | ············>>>·Faker.seed(0) |
| 615 | ············>>>·for·_·in·range(5): | 615 | ············>>>·for·_·in·range(5): |
| 616 | ············...·····fake.date_of_birth() | 616 | ············...·····fake.date_of_birth() |
| 617 | ············... | 617 | ············... |
| 618 | ············datetime.date(200 | 618 | ············datetime.date(2007,·10,·18) |
| 619 | ············datetime.date(1997,·10,·6) | ||
| 620 | ············datetime.date(1958,·8,·18) | ||
| 619 | ············datetime.date(19 | 621 | ············datetime.date(1939,·11,·17) |
| 620 | ············datetime.date(19 | 622 | ············datetime.date(1969,·2,·24) |
| 621 | ············datetime.date(1940,·12,·18) | ||
| 622 | ············datetime.date(1970,·3,·28) | ||
| 623 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 623 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 624 | ········→·date¶ | 624 | ········→·date¶ |
| 625 | ············Gets·a·Date·object·for·the·current·century. | 625 | ············Gets·a·Date·object·for·the·current·century. |
| 626 | ··············Parameters: | 626 | ··············Parameters: |
| 627 | ······················*·before_today·–·include·days·in·current·century·before | 627 | ······················*·before_today·–·include·days·in·current·century·before |
| 628 | ························today | 628 | ························today |
| 629 | ······················*·after_today·–·include·days·in·current·century·after | 629 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 633, 19 lines modified | Offset 633, 19 lines modified | ||
| 633 | ··············Returns: | 633 | ··············Returns: |
| 634 | ··················Date | 634 | ··················Date |
| 635 | ··············Examples: | 635 | ··············Examples: |
| 636 | ············>>>·Faker.seed(0) | 636 | ············>>>·Faker.seed(0) |
| 637 | ············>>>·for·_·in·range(5): | 637 | ············>>>·for·_·in·range(5): |
| 638 | ············...·····fake.date_this_century() | 638 | ············...·····fake.date_this_century() |
| 639 | ············... | 639 | ············... |
| Max diff block lines reached; 25546/31460 bytes (81.20%) of diff not shown. | |||
| Offset 604, 19 lines modified | Offset 604, 19 lines modified | ||
| 604 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 604 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 605 | <dd·class="field-odd"><p></p></dd> | 605 | <dd·class="field-odd"><p></p></dd> |
| 606 | </dl> | 606 | </dl> |
| 607 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 607 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 608 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 608 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 609 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 609 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 610 | <span·class="gp">...</span> | 610 | <span·class="gp">...</span> |
| 611 | <span·class="go">'PM'</span> | ||
| 612 | <span·class="go">'PM'</span> | ||
| 613 | <span·class="go">'AM'</span> | 611 | <span·class="go">'AM'</span> |
| 614 | <span·class="go">'PM'</span> | 612 | <span·class="go">'PM'</span> |
| 615 | <span·class="go">'AM'</span> | 613 | <span·class="go">'AM'</span> |
| 614 | <span·class="go">'AM'</span> | ||
| 615 | <span·class="go">'AM'</span> | ||
| 616 | </pre></div> | 616 | </pre></div> |
| 617 | </div> | 617 | </div> |
| 618 | </dd></dl> | 618 | </dd></dl> |
| 619 | <dl·class="py·method"> | 619 | <dl·class="py·method"> |
| 620 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.zh_TW.Provider.century"> | 620 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.zh_TW.Provider.century"> |
| 621 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.zh_TW.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 621 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.zh_TW.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 657, 19 lines modified | Offset 657, 19 lines modified | ||
| 657 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 657 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 658 | <dd·class="field-even"><p></p></dd> | 658 | <dd·class="field-even"><p></p></dd> |
| 659 | </dl> | 659 | </dl> |
| 660 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 660 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 661 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 661 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 662 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 662 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 663 | <span·class="gp">...</span> | 663 | <span·class="gp">...</span> |
| 664 | <span·class="go">'2018-01-27'</span> | ||
| 665 | <span·class="go">'201 | 664 | <span·class="go">'2017-02-26'</span> |
| 665 | <span·class="go">'2012-04-29'</span> | ||
| 666 | <span·class="go">'1993- | 666 | <span·class="go">'1993-06-27'</span> |
| 667 | <span·class="go">'1984-0 | 667 | <span·class="go">'1984-06-17'</span> |
| 668 | <span·class="go">'199 | 668 | <span·class="go">'1998-07-21'</span> |
| 669 | </pre></div> | 669 | </pre></div> |
| 670 | </div> | 670 | </div> |
| 671 | </dd></dl> | 671 | </dd></dl> |
| 672 | <dl·class="py·method"> | 672 | <dl·class="py·method"> |
| 673 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.zh_TW.Provider.date_between"> | 673 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.zh_TW.Provider.date_between"> |
| 674 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.zh_TW.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 674 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.zh_TW.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 691, 19 lines modified | Offset 691, 19 lines modified | ||
| 691 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 691 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 692 | <dd·class="field-even"><p></p></dd> | 692 | <dd·class="field-even"><p></p></dd> |
| 693 | </dl> | 693 | </dl> |
| 694 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 694 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 695 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 695 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 696 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 696 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 697 | <span·class="gp">...</span> | 697 | <span·class="gp">...</span> |
| 698 | <span·class="go">datetime.date(202 | 698 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 699 | <span·class="go">datetime.date(201 | 699 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 700 | <span·class="go">datetime.date(200 | 700 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 701 | <span·class="go">datetime.date(200 | 701 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 702 | <span·class="go">datetime.date(201 | 702 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 703 | </pre></div> | 703 | </pre></div> |
| 704 | </div> | 704 | </div> |
| 705 | </dd></dl> | 705 | </dd></dl> |
| 706 | <dl·class="py·method"> | 706 | <dl·class="py·method"> |
| 707 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.zh_TW.Provider.date_between_dates"> | 707 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.zh_TW.Provider.date_between_dates"> |
| 708 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.zh_TW.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 708 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.zh_TW.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 722, 19 lines modified | Offset 722, 19 lines modified | ||
| 722 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 722 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 723 | <dd·class="field-odd"><p></p></dd> | 723 | <dd·class="field-odd"><p></p></dd> |
| 724 | </dl> | 724 | </dl> |
| 725 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 725 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 726 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 726 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 727 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 727 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 728 | <span·class="gp">...</span> | 728 | <span·class="gp">...</span> |
| 729 | <span·class="go">datetime.date(202 | 729 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 730 | <span·class="go">datetime.date(202 | 730 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 731 | <span·class="go">datetime.date(202 | 731 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 732 | <span·class="go">datetime.date(202 | 732 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 733 | <span·class="go">datetime.date(202 | 733 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 734 | </pre></div> | 734 | </pre></div> |
| 735 | </div> | 735 | </div> |
| 736 | </dd></dl> | 736 | </dd></dl> |
| 737 | <dl·class="py·method"> | 737 | <dl·class="py·method"> |
| 738 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.zh_TW.Provider.date_object"> | 738 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.zh_TW.Provider.date_object"> |
| 739 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.zh_TW.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 739 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.zh_TW.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 746, 19 lines modified | Offset 746, 19 lines modified | ||
| 746 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 746 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 747 | <dd·class="field-even"><p></p></dd> | 747 | <dd·class="field-even"><p></p></dd> |
| 748 | </dl> | 748 | </dl> |
| 749 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 749 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 750 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 750 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 751 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 751 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 752 | <span·class="gp">...</span> | 752 | <span·class="gp">...</span> |
| 753 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 754 | <span·class="go">datetime.date(201 | 753 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 754 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 755 | <span·class="go">datetime.date(1993,· | 755 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 756 | <span·class="go">datetime.date(1984,· | 756 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 757 | <span·class="go">datetime.date(199 | 757 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 758 | </pre></div> | 758 | </pre></div> |
| 759 | </div> | 759 | </div> |
| 760 | </dd></dl> | 760 | </dd></dl> |
| 761 | <dl·class="py·method"> | 761 | <dl·class="py·method"> |
| 762 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.zh_TW.Provider.date_of_birth"> | 762 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.zh_TW.Provider.date_of_birth"> |
| 763 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.zh_TW.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 763 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.zh_TW.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 782, 19 lines modified | Offset 782, 19 lines modified | ||
| 782 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 782 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 783 | <dd·class="field-even"><p></p></dd> | 783 | <dd·class="field-even"><p></p></dd> |
| 784 | </dl> | 784 | </dl> |
| 785 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 785 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 786 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 786 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 787 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 787 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 788 | <span·class="gp">...</span> | 788 | <span·class="gp">...</span> |
| 789 | <span·class="go">datetime.date(200 | 789 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 790 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 791 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 790 | <span·class="go">datetime.date(19 | 792 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 791 | <span·class="go">datetime.date(19 | 793 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 792 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 793 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 794 | </pre></div> | 794 | </pre></div> |
| 795 | </div> | 795 | </div> |
| 796 | </dd></dl> | 796 | </dd></dl> |
| 797 | <dl·class="py·method"> | 797 | <dl·class="py·method"> |
| 798 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.zh_TW.Provider.date_this_century"> | 798 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.zh_TW.Provider.date_this_century"> |
| 799 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.zh_TW.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 799 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.zh_TW.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 815, 19 lines modified | Offset 815, 19 lines modified | ||
| 815 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 815 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 100412/122637 bytes (81.88%) of diff not shown. | |||
| Offset 313, 19 lines modified | Offset 313, 19 lines modified | ||
| 313 | ······Bases:·Provider | 313 | ······Bases:·Provider |
| 314 | ········am_pm()·→·str¶ | 314 | ········am_pm()·→·str¶ |
| 315 | ··············Examples: | 315 | ··············Examples: |
| 316 | ············>>>·Faker.seed(0) | 316 | ············>>>·Faker.seed(0) |
| 317 | ············>>>·for·_·in·range(5): | 317 | ············>>>·for·_·in·range(5): |
| 318 | ············...·····fake.am_pm() | 318 | ············...·····fake.am_pm() |
| 319 | ············... | 319 | ············... |
| 320 | ············'PM' | ||
| 321 | ············'PM' | ||
| 322 | ············'AM' | 320 | ············'AM' |
| 323 | ············'PM' | 321 | ············'PM' |
| 324 | ············'AM' | 322 | ············'AM' |
| 323 | ············'AM' | ||
| 324 | ············'AM' | ||
| 325 | ········century()·→·str¶ | 325 | ········century()·→·str¶ |
| 326 | ··············Example: | 326 | ··············Example: |
| 327 | ··················‘XVII’ | 327 | ··················‘XVII’ |
| 328 | ··············Examples: | 328 | ··············Examples: |
| 329 | ············>>>·Faker.seed(0) | 329 | ············>>>·Faker.seed(0) |
| 330 | ············>>>·for·_·in·range(5): | 330 | ············>>>·for·_·in·range(5): |
| 331 | ············...·····fake.century() | 331 | ············...·····fake.century() |
| Offset 345, 19 lines modified | Offset 345, 19 lines modified | ||
| 345 | ··············Returns: | 345 | ··············Returns: |
| 346 | ··················Date | 346 | ··················Date |
| 347 | ··············Examples: | 347 | ··············Examples: |
| 348 | ············>>>·Faker.seed(0) | 348 | ············>>>·Faker.seed(0) |
| 349 | ············>>>·for·_·in·range(5): | 349 | ············>>>·for·_·in·range(5): |
| 350 | ············...·····fake.date() | 350 | ············...·····fake.date() |
| 351 | ············... | 351 | ············... |
| 352 | ············'2018-01-27' | ||
| 353 | ············'201 | 352 | ············'2017-02-26' |
| 353 | ············'2012-04-29' | ||
| 354 | ············'1993- | 354 | ············'1993-06-27' |
| 355 | ············'1984-0 | 355 | ············'1984-06-17' |
| 356 | ············'199 | 356 | ············'1998-07-21' |
| 357 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 357 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 358 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 358 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 359 | ········date¶ | 359 | ········date¶ |
| 360 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 360 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 361 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 361 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 362 | ··············Parameters: | 362 | ··············Parameters: |
| 363 | ······················*·start_date·–·Defaults·to·30·years·ago | 363 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 367, 19 lines modified | Offset 367, 19 lines modified | ||
| 367 | ··············Returns: | 367 | ··············Returns: |
| 368 | ··················Date | 368 | ··················Date |
| 369 | ··············Examples: | 369 | ··············Examples: |
| 370 | ············>>>·Faker.seed(0) | 370 | ············>>>·Faker.seed(0) |
| 371 | ············>>>·for·_·in·range(5): | 371 | ············>>>·for·_·in·range(5): |
| 372 | ············...·····fake.date_between() | 372 | ············...·····fake.date_between() |
| 373 | ············... | 373 | ············... |
| 374 | ············datetime.date(202 | 374 | ············datetime.date(2021,·3,·5) |
| 375 | ············datetime.date(201 | 375 | ············datetime.date(2018,·7,·31) |
| 376 | ············datetime.date(200 | 376 | ············datetime.date(2008,·6,·16) |
| 377 | ············datetime.date(200 | 377 | ············datetime.date(2003,·8,·11) |
| 378 | ············datetime.date(201 | 378 | ············datetime.date(2011,·3,·7) |
| 379 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 379 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 380 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 380 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 381 | ········=·None)·→·date¶ | 381 | ········=·None)·→·date¶ |
| 382 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 382 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 383 | ············given·dates.·Accepts·Date·or·datetime·objects | 383 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 384 | ··············Parameters: | 384 | ··············Parameters: |
| 385 | ······················*·date_start·–·Date | 385 | ······················*·date_start·–·Date |
| Offset 387, 33 lines modified | Offset 387, 33 lines modified | ||
| 387 | ··············Returns: | 387 | ··············Returns: |
| 388 | ··················Date | 388 | ··················Date |
| 389 | ··············Examples: | 389 | ··············Examples: |
| 390 | ············>>>·Faker.seed(0) | 390 | ············>>>·Faker.seed(0) |
| 391 | ············>>>·for·_·in·range(5): | 391 | ············>>>·for·_·in·range(5): |
| 392 | ············...·····fake.date_between_dates() | 392 | ············...·····fake.date_between_dates() |
| 393 | ············... | 393 | ············... |
| 394 | ············datetime.date(202 | 394 | ············datetime.date(2025,·11,·4) |
| 395 | ············datetime.date(202 | 395 | ············datetime.date(2025,·11,·4) |
| 396 | ············datetime.date(202 | 396 | ············datetime.date(2025,·11,·4) |
| 397 | ············datetime.date(202 | 397 | ············datetime.date(2025,·11,·4) |
| 398 | ············datetime.date(202 | 398 | ············datetime.date(2025,·11,·4) |
| 399 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 399 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 400 | ············Get·a·date·object·between·January·1,·1970·and·now | 400 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 401 | ··············Example: | 401 | ··············Example: |
| 402 | ··················datetime.date(2016,·9,·20) | 402 | ··················datetime.date(2016,·9,·20) |
| 403 | ··············Examples: | 403 | ··············Examples: |
| 404 | ············>>>·Faker.seed(0) | 404 | ············>>>·Faker.seed(0) |
| 405 | ············>>>·for·_·in·range(5): | 405 | ············>>>·for·_·in·range(5): |
| 406 | ············...·····fake.date_object() | 406 | ············...·····fake.date_object() |
| 407 | ············... | 407 | ············... |
| 408 | ············datetime.date(2018,·1,·27) | ||
| 409 | ············datetime.date(201 | 408 | ············datetime.date(2017,·2,·26) |
| 409 | ············datetime.date(2012,·4,·29) | ||
| 410 | ············datetime.date(1993,· | 410 | ············datetime.date(1993,·6,·27) |
| 411 | ············datetime.date(1984,· | 411 | ············datetime.date(1984,·6,·17) |
| 412 | ············datetime.date(199 | 412 | ············datetime.date(1998,·7,·21) |
| 413 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 413 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 414 | ········maximum_age:·int·=·115)·→·date¶ | 414 | ········maximum_age:·int·=·115)·→·date¶ |
| 415 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 415 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 416 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 416 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 417 | ··············Parameters: | 417 | ··············Parameters: |
| 418 | ······················*·tzinfo·–·Defaults·to·None. | 418 | ······················*·tzinfo·–·Defaults·to·None. |
| 419 | ······················*·minimum_age·–·Defaults·to·0. | 419 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 423, 19 lines modified | Offset 423, 19 lines modified | ||
| 423 | ··············Returns: | 423 | ··············Returns: |
| 424 | ··················Date | 424 | ··················Date |
| 425 | ··············Examples: | 425 | ··············Examples: |
| 426 | ············>>>·Faker.seed(0) | 426 | ············>>>·Faker.seed(0) |
| 427 | ············>>>·for·_·in·range(5): | 427 | ············>>>·for·_·in·range(5): |
| 428 | ············...·····fake.date_of_birth() | 428 | ············...·····fake.date_of_birth() |
| 429 | ············... | 429 | ············... |
| 430 | ············datetime.date(200 | 430 | ············datetime.date(2007,·10,·18) |
| 431 | ············datetime.date(1997,·10,·6) | ||
| 432 | ············datetime.date(1958,·8,·18) | ||
| 431 | ············datetime.date(19 | 433 | ············datetime.date(1939,·11,·17) |
| 432 | ············datetime.date(19 | 434 | ············datetime.date(1969,·2,·24) |
| 433 | ············datetime.date(1940,·12,·18) | ||
| 434 | ············datetime.date(1970,·3,·28) | ||
| 435 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 435 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 436 | ········→·date¶ | 436 | ········→·date¶ |
| 437 | ············Gets·a·Date·object·for·the·current·century. | 437 | ············Gets·a·Date·object·for·the·current·century. |
| 438 | ··············Parameters: | 438 | ··············Parameters: |
| 439 | ······················*·before_today·–·include·days·in·current·century·before | 439 | ······················*·before_today·–·include·days·in·current·century·before |
| 440 | ························today | 440 | ························today |
| 441 | ······················*·after_today·–·include·days·in·current·century·after | 441 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 445, 19 lines modified | Offset 445, 19 lines modified | ||
| 445 | ··············Returns: | 445 | ··············Returns: |
| 446 | ··················Date | 446 | ··················Date |
| 447 | ··············Examples: | 447 | ··············Examples: |
| 448 | ············>>>·Faker.seed(0) | 448 | ············>>>·Faker.seed(0) |
| 449 | ············>>>·for·_·in·range(5): | 449 | ············>>>·for·_·in·range(5): |
| 450 | ············...·····fake.date_this_century() | 450 | ············...·····fake.date_this_century() |
| 451 | ············... | 451 | ············... |
| Max diff block lines reached; 24964/30878 bytes (80.85%) of diff not shown. | |||
| Offset 72, 19 lines modified | Offset 72, 19 lines modified | ||
| 72 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 72 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 73 | <dd·class="field-odd"><p></p></dd> | 73 | <dd·class="field-odd"><p></p></dd> |
| 74 | </dl> | 74 | </dl> |
| 75 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 75 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 76 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 76 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 77 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">credit_card_expire</span><span·class="p">()</span> | 77 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">credit_card_expire</span><span·class="p">()</span> |
| 78 | <span·class="gp">...</span> | 78 | <span·class="gp">...</span> |
| 79 | <span·class="go">'05/35'</span> | ||
| 80 | <span·class="go">'0 | 79 | <span·class="go">'04/34'</span> |
| 81 | <span·class="go">'0 | 80 | <span·class="go">'06/33'</span> |
| 82 | <span·class="go">'07/29'</span> | ||
| 83 | <span·class="go">'01/3 | 81 | <span·class="go">'01/30'</span> |
| 82 | <span·class="go">'06/28'</span> | ||
| 83 | <span·class="go">'12/30'</span> | ||
| 84 | </pre></div> | 84 | </pre></div> |
| 85 | </div> | 85 | </div> |
| 86 | </dd></dl> | 86 | </dd></dl> |
| 87 | <dl·class="py·method"> | 87 | <dl·class="py·method"> |
| 88 | <dt·class="sig·sig-object·py"·id="faker.providers.credit_card.Provider.credit_card_full"> | 88 | <dt·class="sig·sig-object·py"·id="faker.providers.credit_card.Provider.credit_card_full"> |
| 89 | <span·class="sig-name·descname"><span·class="pre">credit_card_full</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">card_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CardType</span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.credit_card.Provider.credit_card_full"·title="Link·to·this·definition">¶</a></dt> | 89 | <span·class="sig-name·descname"><span·class="pre">credit_card_full</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">card_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CardType</span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.credit_card.Provider.credit_card_full"·title="Link·to·this·definition">¶</a></dt> |
| Offset 93, 19 lines modified | Offset 93, 19 lines modified | ||
| 93 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 93 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 94 | <dd·class="field-odd"><p></p></dd> | 94 | <dd·class="field-odd"><p></p></dd> |
| 95 | </dl> | 95 | </dl> |
| 96 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 96 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 97 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 97 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 98 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">credit_card_full</span><span·class="p">()</span> | 98 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">credit_card_full</span><span·class="p">()</span> |
| 99 | <span·class="gp">...</span> | 99 | <span·class="gp">...</span> |
| 100 | <span·class="go">'Discover\nKatherine·Fisher\n6587647593824218·0 | 100 | <span·class="go">'Discover\nKatherine·Fisher\n6587647593824218·01/32\nCVC:·489\n'</span> |
| 101 | <span·class="go">'VISA·16·digit\nKyle·Blair\n4781565938778403·1 | 101 | <span·class="go">'VISA·16·digit\nKyle·Blair\n4781565938778403·11/33\nCVC:·801\n'</span> |
| 102 | <span·class="go">'JCB·16·digit\nMary·Page\n3597535139332876·1 | 102 | <span·class="go">'JCB·16·digit\nMary·Page\n3597535139332876·10/26\nCVC:·587\n'</span> |
| 103 | <span·class="go">'Mastercard\nKevin·Carter\n5485839894719651·0 | 103 | <span·class="go">'Mastercard\nKevin·Carter\n5485839894719651·08/31\nCVV:·423\n'</span> |
| 104 | <span·class="go">'VISA·16·digit\nAntonio·Zavala\n4711220186848335·1 | 104 | <span·class="go">'VISA·16·digit\nAntonio·Zavala\n4711220186848335·10/34\nCVC:·969\n'</span> |
| 105 | </pre></div> | 105 | </pre></div> |
| 106 | </div> | 106 | </div> |
| 107 | </dd></dl> | 107 | </dd></dl> |
| 108 | <dl·class="py·method"> | 108 | <dl·class="py·method"> |
| 109 | <dt·class="sig·sig-object·py"·id="faker.providers.credit_card.Provider.credit_card_number"> | 109 | <dt·class="sig·sig-object·py"·id="faker.providers.credit_card.Provider.credit_card_number"> |
| 110 | <span·class="sig-name·descname"><span·class="pre">credit_card_number</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">card_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CardType</span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.credit_card.Provider.credit_card_number"·title="Link·to·this·definition">¶</a></dt> | 110 | <span·class="sig-name·descname"><span·class="pre">credit_card_number</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">card_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CardType</span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.credit_card.Provider.credit_card_number"·title="Link·to·this·definition">¶</a></dt> |
| Offset 28, 31 lines modified | Offset 28, 31 lines modified | ||
| 28 | ············expiry·date,·strftime()·is·used·and·date_format·is·simply·passed·to | 28 | ············expiry·date,·strftime()·is·used·and·date_format·is·simply·passed·to |
| 29 | ············that·method. | 29 | ············that·method. |
| 30 | ··············Examples: | 30 | ··············Examples: |
| 31 | ············>>>·Faker.seed(0) | 31 | ············>>>·Faker.seed(0) |
| 32 | ············>>>·for·_·in·range(5): | 32 | ············>>>·for·_·in·range(5): |
| 33 | ············...·····fake.credit_card_expire() | 33 | ············...·····fake.credit_card_expire() |
| 34 | ············... | 34 | ············... |
| 35 | ············'05/35' | ||
| 36 | ············'0 | 35 | ············'04/34' |
| 37 | ············'0 | 36 | ············'06/33' |
| 38 | ············'07/29' | ||
| 39 | ············'01/3 | 37 | ············'01/30' |
| 38 | ············'06/28' | ||
| 39 | ············'12/30' | ||
| 40 | ········credit_card_full(card_type:·CardType·|·None·=·None)·→·str¶ | 40 | ········credit_card_full(card_type:·CardType·|·None·=·None)·→·str¶ |
| 41 | ············Generate·a·set·of·credit·card·details. | 41 | ············Generate·a·set·of·credit·card·details. |
| 42 | ··············Examples: | 42 | ··············Examples: |
| 43 | ············>>>·Faker.seed(0) | 43 | ············>>>·Faker.seed(0) |
| 44 | ············>>>·for·_·in·range(5): | 44 | ············>>>·for·_·in·range(5): |
| 45 | ············...·····fake.credit_card_full() | 45 | ············...·····fake.credit_card_full() |
| 46 | ············... | 46 | ············... |
| 47 | ············'Discover\nKatherine·Fisher\n6587647593824218·0 | 47 | ············'Discover\nKatherine·Fisher\n6587647593824218·01/32\nCVC:·489\n' |
| 48 | ············'VISA·16·digit\nKyle·Blair\n4781565938778403·1 | 48 | ············'VISA·16·digit\nKyle·Blair\n4781565938778403·11/33\nCVC:·801\n' |
| 49 | ············'JCB·16·digit\nMary·Page\n3597535139332876·1 | 49 | ············'JCB·16·digit\nMary·Page\n3597535139332876·10/26\nCVC:·587\n' |
| 50 | ············'Mastercard\nKevin·Carter\n5485839894719651·0 | 50 | ············'Mastercard\nKevin·Carter\n5485839894719651·08/31\nCVV:·423\n' |
| 51 | ············'VISA·16·digit\nAntonio·Zavala\n4711220186848335·1 | 51 | ············'VISA·16·digit\nAntonio·Zavala\n4711220186848335·10/34\nCVC:·969\n' |
| 52 | ········credit_card_number(card_type:·CardType·|·None·=·None)·→·str¶ | 52 | ········credit_card_number(card_type:·CardType·|·None·=·None)·→·str¶ |
| 53 | ············Generate·a·valid·credit·card·number. | 53 | ············Generate·a·valid·credit·card·number. |
| 54 | ··············Examples: | 54 | ··············Examples: |
| 55 | ············>>>·Faker.seed(0) | 55 | ············>>>·Faker.seed(0) |
| 56 | ············>>>·for·_·in·range(5): | 56 | ············>>>·for·_·in·range(5): |
| 57 | ············...·····fake.credit_card_number() | 57 | ············...·····fake.credit_card_number() |
| 58 | ············... | 58 | ············... |
| Offset 54, 19 lines modified | Offset 54, 19 lines modified | ||
| 54 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 54 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 55 | <dd·class="field-odd"><p></p></dd> | 55 | <dd·class="field-odd"><p></p></dd> |
| 56 | </dl> | 56 | </dl> |
| 57 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 57 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 58 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 58 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 59 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 59 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
| 60 | <span·class="gp">...</span> | 60 | <span·class="gp">...</span> |
| 61 | <span·class="go">'PM'</span> | ||
| 62 | <span·class="go">'PM'</span> | ||
| 63 | <span·class="go">'AM'</span> | 61 | <span·class="go">'AM'</span> |
| 64 | <span·class="go">'PM'</span> | 62 | <span·class="go">'PM'</span> |
| 65 | <span·class="go">'AM'</span> | 63 | <span·class="go">'AM'</span> |
| 64 | <span·class="go">'AM'</span> | ||
| 65 | <span·class="go">'AM'</span> | ||
| 66 | </pre></div> | 66 | </pre></div> |
| 67 | </div> | 67 | </div> |
| 68 | </dd></dl> | 68 | </dd></dl> |
| 69 | <dl·class="py·method"> | 69 | <dl·class="py·method"> |
| 70 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.Provider.century"> | 70 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.Provider.century"> |
| 71 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 71 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 107, 19 lines modified | Offset 107, 19 lines modified | ||
| 107 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 107 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 108 | <dd·class="field-even"><p></p></dd> | 108 | <dd·class="field-even"><p></p></dd> |
| 109 | </dl> | 109 | </dl> |
| 110 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 110 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 111 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 111 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 112 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 112 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
| 113 | <span·class="gp">...</span> | 113 | <span·class="gp">...</span> |
| 114 | <span·class="go">'2018-01-27'</span> | ||
| 115 | <span·class="go">'201 | 114 | <span·class="go">'2017-02-26'</span> |
| 115 | <span·class="go">'2012-04-29'</span> | ||
| 116 | <span·class="go">'1993- | 116 | <span·class="go">'1993-06-27'</span> |
| 117 | <span·class="go">'1984-0 | 117 | <span·class="go">'1984-06-17'</span> |
| 118 | <span·class="go">'199 | 118 | <span·class="go">'1998-07-21'</span> |
| 119 | </pre></div> | 119 | </pre></div> |
| 120 | </div> | 120 | </div> |
| 121 | </dd></dl> | 121 | </dd></dl> |
| 122 | <dl·class="py·method"> | 122 | <dl·class="py·method"> |
| 123 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.Provider.date_between"> | 123 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.Provider.date_between"> |
| 124 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 124 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
| Offset 141, 19 lines modified | Offset 141, 19 lines modified | ||
| 141 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 141 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 142 | <dd·class="field-even"><p></p></dd> | 142 | <dd·class="field-even"><p></p></dd> |
| 143 | </dl> | 143 | </dl> |
| 144 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 144 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 145 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 145 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 146 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 146 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
| 147 | <span·class="gp">...</span> | 147 | <span·class="gp">...</span> |
| 148 | <span·class="go">datetime.date(202 | 148 | <span·class="go">datetime.date(2021,·3,·5)</span> |
| 149 | <span·class="go">datetime.date(201 | 149 | <span·class="go">datetime.date(2018,·7,·31)</span> |
| 150 | <span·class="go">datetime.date(200 | 150 | <span·class="go">datetime.date(2008,·6,·16)</span> |
| 151 | <span·class="go">datetime.date(200 | 151 | <span·class="go">datetime.date(2003,·8,·11)</span> |
| 152 | <span·class="go">datetime.date(201 | 152 | <span·class="go">datetime.date(2011,·3,·7)</span> |
| 153 | </pre></div> | 153 | </pre></div> |
| 154 | </div> | 154 | </div> |
| 155 | </dd></dl> | 155 | </dd></dl> |
| 156 | <dl·class="py·method"> | 156 | <dl·class="py·method"> |
| 157 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.Provider.date_between_dates"> | 157 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.Provider.date_between_dates"> |
| 158 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 158 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">date_end</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.13)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
| Offset 172, 19 lines modified | Offset 172, 19 lines modified | ||
| 172 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 172 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 173 | <dd·class="field-odd"><p></p></dd> | 173 | <dd·class="field-odd"><p></p></dd> |
| 174 | </dl> | 174 | </dl> |
| 175 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 175 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 176 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 176 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 177 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 177 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
| 178 | <span·class="gp">...</span> | 178 | <span·class="gp">...</span> |
| 179 | <span·class="go">datetime.date(202 | 179 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 180 | <span·class="go">datetime.date(202 | 180 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 181 | <span·class="go">datetime.date(202 | 181 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 182 | <span·class="go">datetime.date(202 | 182 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 183 | <span·class="go">datetime.date(202 | 183 | <span·class="go">datetime.date(2025,·11,·4)</span> |
| 184 | </pre></div> | 184 | </pre></div> |
| 185 | </div> | 185 | </div> |
| 186 | </dd></dl> | 186 | </dd></dl> |
| 187 | <dl·class="py·method"> | 187 | <dl·class="py·method"> |
| 188 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.Provider.date_object"> | 188 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.Provider.date_object"> |
| 189 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 189 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.13)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
| Offset 196, 19 lines modified | Offset 196, 19 lines modified | ||
| 196 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 196 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 197 | <dd·class="field-even"><p></p></dd> | 197 | <dd·class="field-even"><p></p></dd> |
| 198 | </dl> | 198 | </dl> |
| 199 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 199 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 200 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 200 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 201 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 201 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
| 202 | <span·class="gp">...</span> | 202 | <span·class="gp">...</span> |
| 203 | <span·class="go">datetime.date(2018,·1,·27)</span> | ||
| 204 | <span·class="go">datetime.date(201 | 203 | <span·class="go">datetime.date(2017,·2,·26)</span> |
| 204 | <span·class="go">datetime.date(2012,·4,·29)</span> | ||
| 205 | <span·class="go">datetime.date(1993,· | 205 | <span·class="go">datetime.date(1993,·6,·27)</span> |
| 206 | <span·class="go">datetime.date(1984,· | 206 | <span·class="go">datetime.date(1984,·6,·17)</span> |
| 207 | <span·class="go">datetime.date(199 | 207 | <span·class="go">datetime.date(1998,·7,·21)</span> |
| 208 | </pre></div> | 208 | </pre></div> |
| 209 | </div> | 209 | </div> |
| 210 | </dd></dl> | 210 | </dd></dl> |
| 211 | <dl·class="py·method"> | 211 | <dl·class="py·method"> |
| 212 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.Provider.date_of_birth"> | 212 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.Provider.date_of_birth"> |
| 213 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 213 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.13)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
| Offset 232, 19 lines modified | Offset 232, 19 lines modified | ||
| 232 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 232 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 233 | <dd·class="field-even"><p></p></dd> | 233 | <dd·class="field-even"><p></p></dd> |
| 234 | </dl> | 234 | </dl> |
| 235 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 235 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 236 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 236 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 237 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 237 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
| 238 | <span·class="gp">...</span> | 238 | <span·class="gp">...</span> |
| 239 | <span·class="go">datetime.date(200 | 239 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 240 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 241 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 240 | <span·class="go">datetime.date(19 | 242 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 241 | <span·class="go">datetime.date(19 | 243 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 242 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 243 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 244 | </pre></div> | 244 | </pre></div> |
| 245 | </div> | 245 | </div> |
| 246 | </dd></dl> | 246 | </dd></dl> |
| 247 | <dl·class="py·method"> | 247 | <dl·class="py·method"> |
| 248 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.Provider.date_this_century"> | 248 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.Provider.date_this_century"> |
| 249 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 249 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">after_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
| Offset 265, 19 lines modified | Offset 265, 19 lines modified | ||
| 265 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 265 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| Max diff block lines reached; 98350/120501 bytes (81.62%) of diff not shown. | |||
| Offset 10, 19 lines modified | Offset 10, 19 lines modified | ||
| 10 | ······Bases:·BaseProvider | 10 | ······Bases:·BaseProvider |
| 11 | ········am_pm()·→·str¶ | 11 | ········am_pm()·→·str¶ |
| 12 | ··············Examples: | 12 | ··············Examples: |
| 13 | ············>>>·Faker.seed(0) | 13 | ············>>>·Faker.seed(0) |
| 14 | ············>>>·for·_·in·range(5): | 14 | ············>>>·for·_·in·range(5): |
| 15 | ············...·····fake.am_pm() | 15 | ············...·····fake.am_pm() |
| 16 | ············... | 16 | ············... |
| 17 | ············'PM' | ||
| 18 | ············'PM' | ||
| 19 | ············'AM' | 17 | ············'AM' |
| 20 | ············'PM' | 18 | ············'PM' |
| 21 | ············'AM' | 19 | ············'AM' |
| 20 | ············'AM' | ||
| 21 | ············'AM' | ||
| 22 | ········century()·→·str¶ | 22 | ········century()·→·str¶ |
| 23 | ··············Example: | 23 | ··············Example: |
| 24 | ··················‘XVII’ | 24 | ··················‘XVII’ |
| 25 | ··············Examples: | 25 | ··············Examples: |
| 26 | ············>>>·Faker.seed(0) | 26 | ············>>>·Faker.seed(0) |
| 27 | ············>>>·for·_·in·range(5): | 27 | ············>>>·for·_·in·range(5): |
| 28 | ············...·····fake.century() | 28 | ············...·····fake.century() |
| Offset 42, 19 lines modified | Offset 42, 19 lines modified | ||
| 42 | ··············Returns: | 42 | ··············Returns: |
| 43 | ··················Date | 43 | ··················Date |
| 44 | ··············Examples: | 44 | ··············Examples: |
| 45 | ············>>>·Faker.seed(0) | 45 | ············>>>·Faker.seed(0) |
| 46 | ············>>>·for·_·in·range(5): | 46 | ············>>>·for·_·in·range(5): |
| 47 | ············...·····fake.date() | 47 | ············...·····fake.date() |
| 48 | ············... | 48 | ············... |
| 49 | ············'2018-01-27' | ||
| 50 | ············'201 | 49 | ············'2017-02-26' |
| 50 | ············'2012-04-29' | ||
| 51 | ············'1993- | 51 | ············'1993-06-27' |
| 52 | ············'1984-0 | 52 | ············'1984-06-17' |
| 53 | ············'199 | 53 | ············'1998-07-21' |
| 54 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- | 54 | ········date_between(start_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'- |
| 55 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ | 55 | ········30y',·end_date:·date·|·datetime·|·timedelta·|·str·|·int·=·'today')·→ |
| 56 | ········date¶ | 56 | ········date¶ |
| 57 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 57 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
| 58 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 58 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
| 59 | ··············Parameters: | 59 | ··············Parameters: |
| 60 | ······················*·start_date·–·Defaults·to·30·years·ago | 60 | ······················*·start_date·–·Defaults·to·30·years·ago |
| Offset 64, 19 lines modified | Offset 64, 19 lines modified | ||
| 64 | ··············Returns: | 64 | ··············Returns: |
| 65 | ··················Date | 65 | ··················Date |
| 66 | ··············Examples: | 66 | ··············Examples: |
| 67 | ············>>>·Faker.seed(0) | 67 | ············>>>·Faker.seed(0) |
| 68 | ············>>>·for·_·in·range(5): | 68 | ············>>>·for·_·in·range(5): |
| 69 | ············...·····fake.date_between() | 69 | ············...·····fake.date_between() |
| 70 | ············... | 70 | ············... |
| 71 | ············datetime.date(202 | 71 | ············datetime.date(2021,·3,·5) |
| 72 | ············datetime.date(201 | 72 | ············datetime.date(2018,·7,·31) |
| 73 | ············datetime.date(200 | 73 | ············datetime.date(2008,·6,·16) |
| 74 | ············datetime.date(200 | 74 | ············datetime.date(2003,·8,·11) |
| 75 | ············datetime.date(201 | 75 | ············datetime.date(2011,·3,·7) |
| 76 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int | 76 | ········date_between_dates(date_start:·date·|·datetime·|·timedelta·|·str·|·int |
| 77 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None | 77 | ········|·None·=·None,·date_end:·date·|·datetime·|·timedelta·|·str·|·int·|·None |
| 78 | ········=·None)·→·date¶ | 78 | ········=·None)·→·date¶ |
| 79 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 79 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
| 80 | ············given·dates.·Accepts·Date·or·datetime·objects | 80 | ············given·dates.·Accepts·Date·or·datetime·objects |
| 81 | ··············Parameters: | 81 | ··············Parameters: |
| 82 | ······················*·date_start·–·Date | 82 | ······················*·date_start·–·Date |
| Offset 84, 33 lines modified | Offset 84, 33 lines modified | ||
| 84 | ··············Returns: | 84 | ··············Returns: |
| 85 | ··················Date | 85 | ··················Date |
| 86 | ··············Examples: | 86 | ··············Examples: |
| 87 | ············>>>·Faker.seed(0) | 87 | ············>>>·Faker.seed(0) |
| 88 | ············>>>·for·_·in·range(5): | 88 | ············>>>·for·_·in·range(5): |
| 89 | ············...·····fake.date_between_dates() | 89 | ············...·····fake.date_between_dates() |
| 90 | ············... | 90 | ············... |
| 91 | ············datetime.date(202 | 91 | ············datetime.date(2025,·11,·4) |
| 92 | ············datetime.date(202 | 92 | ············datetime.date(2025,·11,·4) |
| 93 | ············datetime.date(202 | 93 | ············datetime.date(2025,·11,·4) |
| 94 | ············datetime.date(202 | 94 | ············datetime.date(2025,·11,·4) |
| 95 | ············datetime.date(202 | 95 | ············datetime.date(2025,·11,·4) |
| 96 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ | 96 | ········date_object(end_datetime:·datetime·|·None·=·None)·→·date¶ |
| 97 | ············Get·a·date·object·between·January·1,·1970·and·now | 97 | ············Get·a·date·object·between·January·1,·1970·and·now |
| 98 | ··············Example: | 98 | ··············Example: |
| 99 | ··················datetime.date(2016,·9,·20) | 99 | ··················datetime.date(2016,·9,·20) |
| 100 | ··············Examples: | 100 | ··············Examples: |
| 101 | ············>>>·Faker.seed(0) | 101 | ············>>>·Faker.seed(0) |
| 102 | ············>>>·for·_·in·range(5): | 102 | ············>>>·for·_·in·range(5): |
| 103 | ············...·····fake.date_object() | 103 | ············...·····fake.date_object() |
| 104 | ············... | 104 | ············... |
| 105 | ············datetime.date(2018,·1,·27) | ||
| 106 | ············datetime.date(201 | 105 | ············datetime.date(2017,·2,·26) |
| 106 | ············datetime.date(2012,·4,·29) | ||
| 107 | ············datetime.date(1993,· | 107 | ············datetime.date(1993,·6,·27) |
| 108 | ············datetime.date(1984,· | 108 | ············datetime.date(1984,·6,·17) |
| 109 | ············datetime.date(199 | 109 | ············datetime.date(1998,·7,·21) |
| 110 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, | 110 | ········date_of_birth(tzinfo:·tzinfo·|·None·=·None,·minimum_age:·int·=·0, |
| 111 | ········maximum_age:·int·=·115)·→·date¶ | 111 | ········maximum_age:·int·=·115)·→·date¶ |
| 112 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 112 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
| 113 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 113 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
| 114 | ··············Parameters: | 114 | ··············Parameters: |
| 115 | ······················*·tzinfo·–·Defaults·to·None. | 115 | ······················*·tzinfo·–·Defaults·to·None. |
| 116 | ······················*·minimum_age·–·Defaults·to·0. | 116 | ······················*·minimum_age·–·Defaults·to·0. |
| Offset 120, 19 lines modified | Offset 120, 19 lines modified | ||
| 120 | ··············Returns: | 120 | ··············Returns: |
| 121 | ··················Date | 121 | ··················Date |
| 122 | ··············Examples: | 122 | ··············Examples: |
| 123 | ············>>>·Faker.seed(0) | 123 | ············>>>·Faker.seed(0) |
| 124 | ············>>>·for·_·in·range(5): | 124 | ············>>>·for·_·in·range(5): |
| 125 | ············...·····fake.date_of_birth() | 125 | ············...·····fake.date_of_birth() |
| 126 | ············... | 126 | ············... |
| 127 | ············datetime.date(200 | 127 | ············datetime.date(2007,·10,·18) |
| 128 | ············datetime.date(1997,·10,·6) | ||
| 129 | ············datetime.date(1958,·8,·18) | ||
| 128 | ············datetime.date(19 | 130 | ············datetime.date(1939,·11,·17) |
| 129 | ············datetime.date(19 | 131 | ············datetime.date(1969,·2,·24) |
| 130 | ············datetime.date(1940,·12,·18) | ||
| 131 | ············datetime.date(1970,·3,·28) | ||
| 132 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) | 132 | ········date_this_century(before_today:·bool·=·True,·after_today:·bool·=·False) |
| 133 | ········→·date¶ | 133 | ········→·date¶ |
| 134 | ············Gets·a·Date·object·for·the·current·century. | 134 | ············Gets·a·Date·object·for·the·current·century. |
| 135 | ··············Parameters: | 135 | ··············Parameters: |
| 136 | ······················*·before_today·–·include·days·in·current·century·before | 136 | ······················*·before_today·–·include·days·in·current·century·before |
| 137 | ························today | 137 | ························today |
| 138 | ······················*·after_today·–·include·days·in·current·century·after | 138 | ······················*·after_today·–·include·days·in·current·century·after |
| Offset 142, 19 lines modified | Offset 142, 19 lines modified | ||
| 142 | ··············Returns: | 142 | ··············Returns: |
| 143 | ··················Date | 143 | ··················Date |
| 144 | ··············Examples: | 144 | ··············Examples: |
| 145 | ············>>>·Faker.seed(0) | 145 | ············>>>·Faker.seed(0) |
| 146 | ············>>>·for·_·in·range(5): | 146 | ············>>>·for·_·in·range(5): |
| 147 | ············...·····fake.date_this_century() | 147 | ············...·····fake.date_this_century() |
| 148 | ············... | 148 | ············... |
| Max diff block lines reached; 24687/30597 bytes (80.68%) of diff not shown. | |||
| Offset 278, 19 lines modified | Offset 278, 19 lines modified | ||
| 278 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 278 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 279 | <dd·class="field-odd"><p></p></dd> | 279 | <dd·class="field-odd"><p></p></dd> |
| 280 | </dl> | 280 | </dl> |
| 281 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 281 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 282 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 282 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 283 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">image</span><span·class="p">(</span><span·class="n">size</span><span·class="o">=</span><span·class="p">(</span><span·class="mi">2</span><span·class="p">,</span>·<span·class="mi">2</span><span·class="p">),</span>·<span·class="n">hue</span><span·class="o">=</span><span·class="s1">'purple'</span><span·class="p">,</span>·<span·class="n">luminosity</span><span·class="o">=</span><span·class="s1">'bright'</span><span·class="p">,</span>·<span·class="n">image_format</span><span·class="o">=</span><span·class="s1">'pdf'</span><span·class="p">)</span> | 283 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">image</span><span·class="p">(</span><span·class="n">size</span><span·class="o">=</span><span·class="p">(</span><span·class="mi">2</span><span·class="p">,</span>·<span·class="mi">2</span><span·class="p">),</span>·<span·class="n">hue</span><span·class="o">=</span><span·class="s1">'purple'</span><span·class="p">,</span>·<span·class="n">luminosity</span><span·class="o">=</span><span·class="s1">'bright'</span><span·class="p">,</span>·<span·class="n">image_format</span><span·class="o">=</span><span·class="s1">'pdf'</span><span·class="p">)</span> |
| 284 | <span·class="gp">...</span> | 284 | <span·class="gp">...</span> |
| 285 | <span·class="go">b'%PDF-1.4\n%·created·by·Pillow·PDF·driver\n4·0·obj<<\n/Type·/Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count·1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/Image\n/Width·2\n/Height·2\n/Filter·/DCTDecode\n/BitsPerComponent·8\n/ColorSpace·/DeviceRGB\n/Length·642\n>>stream\n\xff\xd8\xff\xe0\x00\x10JFIF\x00\x01\x01\x00\x00\x01\x00\x01\x00\x00\xff\xdb\x00C\x00\x08\x06\x06\x07\x06\x05\x08\x07\x07\x07\t\t\x08\n\x0c\x14\r\x0c\x0b\x0b\x0c\x19\x12\x13\x0f\x14\x1d\x1a\x1f\x1e\x1d\x1a\x1c\x1c·$.\'·",#\x1c\x1c(7),01444\x1f\'9=82<.342\xff\xdb\x00C\x01\t\t\t\x0c\x0b\x0c\x18\r\r\x182!\x1c!22222222222222222222222222222222222222222222222222\xff\xc0\x00\x11\x08\x00\x02\x00\x02\x03\x01"\x00\x02\x11\x01\x03\x11\x01\xff\xc4\x00\x1f\x00\x00\x01\x05\x01\x01\x01\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\xff\xc4\x00\xb5\x10\x00\x02\x01\x03\x03\x02\x04\x03\x05\x05\x04\x04\x00\x00\x01}\x01\x02\x03\x00\x04\x11\x05\x12!1A\x06\x13Qa\x07"q\x142\x81\x91\xa1\x08#B\xb1\xc1\x15R\xd1\xf0$3br\x82\t\n\x16\x17\x18\x19\x1a%&\'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xc4\x00\x1f\x01\x00\x03\x01\x01\x01\x01\x01\x01\x01\x01\x01\x00\x00\x00\x00\x00\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\xff\xc4\x00\xb5\x11\x00\x02\x01\x02\x04\x04\x03\x04\x07\x05\x04\x04\x00\x01\x02w\x00\x01\x02\x03\x11\x04\x05!1\x06\x12AQ\x07aq\x13"2\x81\x08\x14B\x91\xa1\xb1\xc1\t#3R\xf0\x15br\xd1\n\x16$4\xe1%\xf1\x17\x18\x19\x1a&\'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xcfU\n\xa1T\x00\xa0`\x01\xd0QE\x15\xf5\xc7\xb4\x7f\xff\xd9\nendstream\nendobj\n2·0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length·43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do·Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D:202 | 285 | <span·class="go">b'%PDF-1.4\n%·created·by·Pillow·PDF·driver\n4·0·obj<<\n/Type·/Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count·1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/Image\n/Width·2\n/Height·2\n/Filter·/DCTDecode\n/BitsPerComponent·8\n/ColorSpace·/DeviceRGB\n/Length·642\n>>stream\n\xff\xd8\xff\xe0\x00\x10JFIF\x00\x01\x01\x00\x00\x01\x00\x01\x00\x00\xff\xdb\x00C\x00\x08\x06\x06\x07\x06\x05\x08\x07\x07\x07\t\t\x08\n\x0c\x14\r\x0c\x0b\x0b\x0c\x19\x12\x13\x0f\x14\x1d\x1a\x1f\x1e\x1d\x1a\x1c\x1c·$.\'·",#\x1c\x1c(7),01444\x1f\'9=82<.342\xff\xdb\x00C\x01\t\t\t\x0c\x0b\x0c\x18\r\r\x182!\x1c!22222222222222222222222222222222222222222222222222\xff\xc0\x00\x11\x08\x00\x02\x00\x02\x03\x01"\x00\x02\x11\x01\x03\x11\x01\xff\xc4\x00\x1f\x00\x00\x01\x05\x01\x01\x01\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\xff\xc4\x00\xb5\x10\x00\x02\x01\x03\x03\x02\x04\x03\x05\x05\x04\x04\x00\x00\x01}\x01\x02\x03\x00\x04\x11\x05\x12!1A\x06\x13Qa\x07"q\x142\x81\x91\xa1\x08#B\xb1\xc1\x15R\xd1\xf0$3br\x82\t\n\x16\x17\x18\x19\x1a%&\'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xc4\x00\x1f\x01\x00\x03\x01\x01\x01\x01\x01\x01\x01\x01\x01\x00\x00\x00\x00\x00\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\xff\xc4\x00\xb5\x11\x00\x02\x01\x02\x04\x04\x03\x04\x07\x05\x04\x04\x00\x01\x02w\x00\x01\x02\x03\x11\x04\x05!1\x06\x12AQ\x07aq\x13"2\x81\x08\x14B\x91\xa1\xb1\xc1\t#3R\xf0\x15br\xd1\n\x16$4\xe1%\xf1\x17\x18\x19\x1a&\'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xcfU\n\xa1T\x00\xa0`\x01\xd0QE\x15\xf5\xc7\xb4\x7f\xff\xd9\nendstream\nendobj\n2·0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length·43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do·Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D:20251103233928Z)\n/ModDate·(D:20251103233928Z)\n>>endobj\nxref\n0·7\n0000000000·65536·f·\n0000000144·00000·n·\n0000000947·00000·n·\n0000001105·00000·n·\n0000000040·00000·n·\n0000000087·00000·n·\n0000001196·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0·R\n>>\nstartxref\n1278\n%%EOF'</span> |
| 286 | <span·class="go">b'%PDF-1.4\n%·created·by·Pillow·PDF·driver\n4·0·obj<<\n/Type·/Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count·1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/Image\n/Width·2\n/Height·2\n/Filter·/DCTDecode\n/BitsPerComponent·8\n/ColorSpace·/DeviceRGB\n/Length·644\n>>stream\n\xff\xd8\xff\xe0\x00\x10JFIF\x00\x01\x01\x00\x00\x01\x00\x01\x00\x00\xff\xdb\x00C\x00\x08\x06\x06\x07\x06\x05\x08\x07\x07\x07\t\t\x08\n\x0c\x14\r\x0c\x0b\x0b\x0c\x19\x12\x13\x0f\x14\x1d\x1a\x1f\x1e\x1d\x1a\x1c\x1c·$.\'·",#\x1c\x1c(7),01444\x1f\'9=82<.342\xff\xdb\x00C\x01\t\t\t\x0c\x0b\x0c\x18\r\r\x182!\x1c!22222222222222222222222222222222222222222222222222\xff\xc0\x00\x11\x08\x00\x02\x00\x02\x03\x01"\x00\x02\x11\x01\x03\x11\x01\xff\xc4\x00\x1f\x00\x00\x01\x05\x01\x01\x01\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\xff\xc4\x00\xb5\x10\x00\x02\x01\x03\x03\x02\x04\x03\x05\x05\x04\x04\x00\x00\x01}\x01\x02\x03\x00\x04\x11\x05\x12!1A\x06\x13Qa\x07"q\x142\x81\x91\xa1\x08#B\xb1\xc1\x15R\xd1\xf0$3br\x82\t\n\x16\x17\x18\x19\x1a%&\'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xc4\x00\x1f\x01\x00\x03\x01\x01\x01\x01\x01\x01\x01\x01\x01\x00\x00\x00\x00\x00\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\xff\xc4\x00\xb5\x11\x00\x02\x01\x02\x04\x04\x03\x04\x07\x05\x04\x04\x00\x01\x02w\x00\x01\x02\x03\x11\x04\x05!1\x06\x12AQ\x07aq\x13"2\x81\x08\x14B\x91\xa1\xb1\xc1\t#3R\xf0\x15br\xd1\n\x16$4\xe1%\xf1\x17\x18\x19\x1a&\'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xc5\x93\xfdk\xff\x00\xbch\xa2\x8a\xfd.?\n>\xa6\x1f\n?\xff\xd9\nendstream\nendobj\n2·0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length·43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do·Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D:202 | 286 | <span·class="go">b'%PDF-1.4\n%·created·by·Pillow·PDF·driver\n4·0·obj<<\n/Type·/Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count·1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/Image\n/Width·2\n/Height·2\n/Filter·/DCTDecode\n/BitsPerComponent·8\n/ColorSpace·/DeviceRGB\n/Length·644\n>>stream\n\xff\xd8\xff\xe0\x00\x10JFIF\x00\x01\x01\x00\x00\x01\x00\x01\x00\x00\xff\xdb\x00C\x00\x08\x06\x06\x07\x06\x05\x08\x07\x07\x07\t\t\x08\n\x0c\x14\r\x0c\x0b\x0b\x0c\x19\x12\x13\x0f\x14\x1d\x1a\x1f\x1e\x1d\x1a\x1c\x1c·$.\'·",#\x1c\x1c(7),01444\x1f\'9=82<.342\xff\xdb\x00C\x01\t\t\t\x0c\x0b\x0c\x18\r\r\x182!\x1c!22222222222222222222222222222222222222222222222222\xff\xc0\x00\x11\x08\x00\x02\x00\x02\x03\x01"\x00\x02\x11\x01\x03\x11\x01\xff\xc4\x00\x1f\x00\x00\x01\x05\x01\x01\x01\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\xff\xc4\x00\xb5\x10\x00\x02\x01\x03\x03\x02\x04\x03\x05\x05\x04\x04\x00\x00\x01}\x01\x02\x03\x00\x04\x11\x05\x12!1A\x06\x13Qa\x07"q\x142\x81\x91\xa1\x08#B\xb1\xc1\x15R\xd1\xf0$3br\x82\t\n\x16\x17\x18\x19\x1a%&\'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xc4\x00\x1f\x01\x00\x03\x01\x01\x01\x01\x01\x01\x01\x01\x01\x00\x00\x00\x00\x00\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\xff\xc4\x00\xb5\x11\x00\x02\x01\x02\x04\x04\x03\x04\x07\x05\x04\x04\x00\x01\x02w\x00\x01\x02\x03\x11\x04\x05!1\x06\x12AQ\x07aq\x13"2\x81\x08\x14B\x91\xa1\xb1\xc1\t#3R\xf0\x15br\xd1\n\x16$4\xe1%\xf1\x17\x18\x19\x1a&\'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xc5\x93\xfdk\xff\x00\xbch\xa2\x8a\xfd.?\n>\xa6\x1f\n?\xff\xd9\nendstream\nendobj\n2·0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length·43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do·Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D:20251103233928Z)\n/ModDate·(D:20251103233928Z)\n>>endobj\nxref\n0·7\n0000000000·65536·f·\n0000000144·00000·n·\n0000000949·00000·n·\n0000001107·00000·n·\n0000000040·00000·n·\n0000000087·00000·n·\n0000001198·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0·R\n>>\nstartxref\n1280\n%%EOF'</span> |
| 287 | <span·class="go">b'%PDF-1.4\n%·created·by·Pillow·PDF·driver\n4·0·obj<<\n/Type·/Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count·1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/Image\n/Width·2\n/Height·2\n/Filter·/DCTDecode\n/BitsPerComponent·8\n/ColorSpace·/DeviceRGB\n/Length·632\n>>stream\n\xff\xd8\xff\xe0\x00\x10JFIF\x00\x01\x01\x00\x00\x01\x00\x01\x00\x00\xff\xdb\x00C\x00\x08\x06\x06\x07\x06\x05\x08\x07\x07\x07\t\t\x08\n\x0c\x14\r\x0c\x0b\x0b\x0c\x19\x12\x13\x0f\x14\x1d\x1a\x1f\x1e\x1d\x1a\x1c\x1c·$.\'·",#\x1c\x1c(7),01444\x1f\'9=82<.342\xff\xdb\x00C\x01\t\t\t\x0c\x0b\x0c\x18\r\r\x182!\x1c!22222222222222222222222222222222222222222222222222\xff\xc0\x00\x11\x08\x00\x02\x00\x02\x03\x01"\x00\x02\x11\x01\x03\x11\x01\xff\xc4\x00\x1f\x00\x00\x01\x05\x01\x01\x01\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\xff\xc4\x00\xb5\x10\x00\x02\x01\x03\x03\x02\x04\x03\x05\x05\x04\x04\x00\x00\x01}\x01\x02\x03\x00\x04\x11\x05\x12!1A\x06\x13Qa\x07"q\x142\x81\x91\xa1\x08#B\xb1\xc1\x15R\xd1\xf0$3br\x82\t\n\x16\x17\x18\x19\x1a%&\'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xc4\x00\x1f\x01\x00\x03\x01\x01\x01\x01\x01\x01\x01\x01\x01\x00\x00\x00\x00\x00\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\xff\xc4\x00\xb5\x11\x00\x02\x01\x02\x04\x04\x03\x04\x07\x05\x04\x04\x00\x01\x02w\x00\x01\x02\x03\x11\x04\x05!1\x06\x12AQ\x07aq\x13"2\x81\x08\x14B\x91\xa1\xb1\xc1\t#3R\xf0\x15br\xd1\n\x16$4\xe1%\xf1\x17\x18\x19\x1a&\'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xabE\x14W\xd7\x9e\xb1\xff\xd9\nendstream\nendobj\n2·0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length·43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do·Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D:202 | 287 | <span·class="go">b'%PDF-1.4\n%·created·by·Pillow·PDF·driver\n4·0·obj<<\n/Type·/Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count·1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/Image\n/Width·2\n/Height·2\n/Filter·/DCTDecode\n/BitsPerComponent·8\n/ColorSpace·/DeviceRGB\n/Length·632\n>>stream\n\xff\xd8\xff\xe0\x00\x10JFIF\x00\x01\x01\x00\x00\x01\x00\x01\x00\x00\xff\xdb\x00C\x00\x08\x06\x06\x07\x06\x05\x08\x07\x07\x07\t\t\x08\n\x0c\x14\r\x0c\x0b\x0b\x0c\x19\x12\x13\x0f\x14\x1d\x1a\x1f\x1e\x1d\x1a\x1c\x1c·$.\'·",#\x1c\x1c(7),01444\x1f\'9=82<.342\xff\xdb\x00C\x01\t\t\t\x0c\x0b\x0c\x18\r\r\x182!\x1c!22222222222222222222222222222222222222222222222222\xff\xc0\x00\x11\x08\x00\x02\x00\x02\x03\x01"\x00\x02\x11\x01\x03\x11\x01\xff\xc4\x00\x1f\x00\x00\x01\x05\x01\x01\x01\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\xff\xc4\x00\xb5\x10\x00\x02\x01\x03\x03\x02\x04\x03\x05\x05\x04\x04\x00\x00\x01}\x01\x02\x03\x00\x04\x11\x05\x12!1A\x06\x13Qa\x07"q\x142\x81\x91\xa1\x08#B\xb1\xc1\x15R\xd1\xf0$3br\x82\t\n\x16\x17\x18\x19\x1a%&\'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xc4\x00\x1f\x01\x00\x03\x01\x01\x01\x01\x01\x01\x01\x01\x01\x00\x00\x00\x00\x00\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\xff\xc4\x00\xb5\x11\x00\x02\x01\x02\x04\x04\x03\x04\x07\x05\x04\x04\x00\x01\x02w\x00\x01\x02\x03\x11\x04\x05!1\x06\x12AQ\x07aq\x13"2\x81\x08\x14B\x91\xa1\xb1\xc1\t#3R\xf0\x15br\xd1\n\x16$4\xe1%\xf1\x17\x18\x19\x1a&\'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xabE\x14W\xd7\x9e\xb1\xff\xd9\nendstream\nendobj\n2·0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length·43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do·Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D:20251103233928Z)\n/ModDate·(D:20251103233928Z)\n>>endobj\nxref\n0·7\n0000000000·65536·f·\n0000000144·00000·n·\n0000000937·00000·n·\n0000001095·00000·n·\n0000000040·00000·n·\n0000000087·00000·n·\n0000001186·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0·R\n>>\nstartxref\n1268\n%%EOF'</span> |
| 288 | <span·class="go">b'%PDF-1.4\n%·created·by·Pillow·PDF·driver\n4·0·obj<<\n/Type·/Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count·1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/Image\n/Width·2\n/Height·2\n/Filter·/DCTDecode\n/BitsPerComponent·8\n/ColorSpace·/DeviceRGB\n/Length·632\n>>stream\n\xff\xd8\xff\xe0\x00\x10JFIF\x00\x01\x01\x00\x00\x01\x00\x01\x00\x00\xff\xdb\x00C\x00\x08\x06\x06\x07\x06\x05\x08\x07\x07\x07\t\t\x08\n\x0c\x14\r\x0c\x0b\x0b\x0c\x19\x12\x13\x0f\x14\x1d\x1a\x1f\x1e\x1d\x1a\x1c\x1c·$.\'·",#\x1c\x1c(7),01444\x1f\'9=82<.342\xff\xdb\x00C\x01\t\t\t\x0c\x0b\x0c\x18\r\r\x182!\x1c!22222222222222222222222222222222222222222222222222\xff\xc0\x00\x11\x08\x00\x02\x00\x02\x03\x01"\x00\x02\x11\x01\x03\x11\x01\xff\xc4\x00\x1f\x00\x00\x01\x05\x01\x01\x01\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\xff\xc4\x00\xb5\x10\x00\x02\x01\x03\x03\x02\x04\x03\x05\x05\x04\x04\x00\x00\x01}\x01\x02\x03\x00\x04\x11\x05\x12!1A\x06\x13Qa\x07"q\x142\x81\x91\xa1\x08#B\xb1\xc1\x15R\xd1\xf0$3br\x82\t\n\x16\x17\x18\x19\x1a%&\'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xc4\x00\x1f\x01\x00\x03\x01\x01\x01\x01\x01\x01\x01\x01\x01\x00\x00\x00\x00\x00\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\xff\xc4\x00\xb5\x11\x00\x02\x01\x02\x04\x04\x03\x04\x07\x05\x04\x04\x00\x01\x02w\x00\x01\x02\x03\x11\x04\x05!1\x06\x12AQ\x07aq\x13"2\x81\x08\x14B\x91\xa1\xb1\xc1\t#3R\xf0\x15br\xd1\n\x16$4\xe1%\xf1\x17\x18\x19\x1a&\'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xc6\xa2\x8a+\xea\x0fh\xff\xd9\nendstream\nendobj\n2·0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length·43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do·Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D:202 | 288 | <span·class="go">b'%PDF-1.4\n%·created·by·Pillow·PDF·driver\n4·0·obj<<\n/Type·/Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count·1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/Image\n/Width·2\n/Height·2\n/Filter·/DCTDecode\n/BitsPerComponent·8\n/ColorSpace·/DeviceRGB\n/Length·632\n>>stream\n\xff\xd8\xff\xe0\x00\x10JFIF\x00\x01\x01\x00\x00\x01\x00\x01\x00\x00\xff\xdb\x00C\x00\x08\x06\x06\x07\x06\x05\x08\x07\x07\x07\t\t\x08\n\x0c\x14\r\x0c\x0b\x0b\x0c\x19\x12\x13\x0f\x14\x1d\x1a\x1f\x1e\x1d\x1a\x1c\x1c·$.\'·",#\x1c\x1c(7),01444\x1f\'9=82<.342\xff\xdb\x00C\x01\t\t\t\x0c\x0b\x0c\x18\r\r\x182!\x1c!22222222222222222222222222222222222222222222222222\xff\xc0\x00\x11\x08\x00\x02\x00\x02\x03\x01"\x00\x02\x11\x01\x03\x11\x01\xff\xc4\x00\x1f\x00\x00\x01\x05\x01\x01\x01\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\xff\xc4\x00\xb5\x10\x00\x02\x01\x03\x03\x02\x04\x03\x05\x05\x04\x04\x00\x00\x01}\x01\x02\x03\x00\x04\x11\x05\x12!1A\x06\x13Qa\x07"q\x142\x81\x91\xa1\x08#B\xb1\xc1\x15R\xd1\xf0$3br\x82\t\n\x16\x17\x18\x19\x1a%&\'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xc4\x00\x1f\x01\x00\x03\x01\x01\x01\x01\x01\x01\x01\x01\x01\x00\x00\x00\x00\x00\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\xff\xc4\x00\xb5\x11\x00\x02\x01\x02\x04\x04\x03\x04\x07\x05\x04\x04\x00\x01\x02w\x00\x01\x02\x03\x11\x04\x05!1\x06\x12AQ\x07aq\x13"2\x81\x08\x14B\x91\xa1\xb1\xc1\t#3R\xf0\x15br\xd1\n\x16$4\xe1%\xf1\x17\x18\x19\x1a&\'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xc6\xa2\x8a+\xea\x0fh\xff\xd9\nendstream\nendobj\n2·0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length·43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do·Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D:20251103233928Z)\n/ModDate·(D:20251103233928Z)\n>>endobj\nxref\n0·7\n0000000000·65536·f·\n0000000144·00000·n·\n0000000937·00000·n·\n0000001095·00000·n·\n0000000040·00000·n·\n0000000087·00000·n·\n0000001186·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0·R\n>>\nstartxref\n1268\n%%EOF'</span> |
| 289 | <span·class="go">b'%PDF-1.4\n%·created·by·Pillow·PDF·driver\n4·0·obj<<\n/Type·/Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count·1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/Image\n/Width·2\n/Height·2\n/Filter·/DCTDecode\n/BitsPerComponent·8\n/ColorSpace·/DeviceRGB\n/Length·633\n>>stream\n\xff\xd8\xff\xe0\x00\x10JFIF\x00\x01\x01\x00\x00\x01\x00\x01\x00\x00\xff\xdb\x00C\x00\x08\x06\x06\x07\x06\x05\x08\x07\x07\x07\t\t\x08\n\x0c\x14\r\x0c\x0b\x0b\x0c\x19\x12\x13\x0f\x14\x1d\x1a\x1f\x1e\x1d\x1a\x1c\x1c·$.\'·",#\x1c\x1c(7),01444\x1f\'9=82<.342\xff\xdb\x00C\x01\t\t\t\x0c\x0b\x0c\x18\r\r\x182!\x1c!22222222222222222222222222222222222222222222222222\xff\xc0\x00\x11\x08\x00\x02\x00\x02\x03\x01"\x00\x02\x11\x01\x03\x11\x01\xff\xc4\x00\x1f\x00\x00\x01\x05\x01\x01\x01\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\xff\xc4\x00\xb5\x10\x00\x02\x01\x03\x03\x02\x04\x03\x05\x05\x04\x04\x00\x00\x01}\x01\x02\x03\x00\x04\x11\x05\x12!1A\x06\x13Qa\x07"q\x142\x81\x91\xa1\x08#B\xb1\xc1\x15R\xd1\xf0$3br\x82\t\n\x16\x17\x18\x19\x1a%&\'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xc4\x00\x1f\x01\x00\x03\x01\x01\x01\x01\x01\x01\x01\x01\x01\x00\x00\x00\x00\x00\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\xff\xc4\x00\xb5\x11\x00\x02\x01\x02\x04\x04\x03\x04\x07\x05\x04\x04\x00\x01\x02w\x00\x01\x02\x03\x11\x04\x05!1\x06\x12AQ\x07aq\x13"2\x81\x08\x14B\x91\xa1\xb1\xc1\t#3R\xf0\x15br\xd1\n\x16$4\xe1%\xf1\x17\x18\x19\x1a&\'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xe1\xe8\xa2\x8a\xfd\x1c\xfa#\xff\xd9\nendstream\nendobj\n2·0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length·43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do·Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D:202 | 289 | <span·class="go">b'%PDF-1.4\n%·created·by·Pillow·PDF·driver\n4·0·obj<<\n/Type·/Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count·1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/Image\n/Width·2\n/Height·2\n/Filter·/DCTDecode\n/BitsPerComponent·8\n/ColorSpace·/DeviceRGB\n/Length·633\n>>stream\n\xff\xd8\xff\xe0\x00\x10JFIF\x00\x01\x01\x00\x00\x01\x00\x01\x00\x00\xff\xdb\x00C\x00\x08\x06\x06\x07\x06\x05\x08\x07\x07\x07\t\t\x08\n\x0c\x14\r\x0c\x0b\x0b\x0c\x19\x12\x13\x0f\x14\x1d\x1a\x1f\x1e\x1d\x1a\x1c\x1c·$.\'·",#\x1c\x1c(7),01444\x1f\'9=82<.342\xff\xdb\x00C\x01\t\t\t\x0c\x0b\x0c\x18\r\r\x182!\x1c!22222222222222222222222222222222222222222222222222\xff\xc0\x00\x11\x08\x00\x02\x00\x02\x03\x01"\x00\x02\x11\x01\x03\x11\x01\xff\xc4\x00\x1f\x00\x00\x01\x05\x01\x01\x01\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\xff\xc4\x00\xb5\x10\x00\x02\x01\x03\x03\x02\x04\x03\x05\x05\x04\x04\x00\x00\x01}\x01\x02\x03\x00\x04\x11\x05\x12!1A\x06\x13Qa\x07"q\x142\x81\x91\xa1\x08#B\xb1\xc1\x15R\xd1\xf0$3br\x82\t\n\x16\x17\x18\x19\x1a%&\'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xc4\x00\x1f\x01\x00\x03\x01\x01\x01\x01\x01\x01\x01\x01\x01\x00\x00\x00\x00\x00\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\xff\xc4\x00\xb5\x11\x00\x02\x01\x02\x04\x04\x03\x04\x07\x05\x04\x04\x00\x01\x02w\x00\x01\x02\x03\x11\x04\x05!1\x06\x12AQ\x07aq\x13"2\x81\x08\x14B\x91\xa1\xb1\xc1\t#3R\xf0\x15br\xd1\n\x16$4\xe1%\xf1\x17\x18\x19\x1a&\'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xe1\xe8\xa2\x8a\xfd\x1c\xfa#\xff\xd9\nendstream\nendobj\n2·0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length·43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do·Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D:20251103233928Z)\n/ModDate·(D:20251103233928Z)\n>>endobj\nxref\n0·7\n0000000000·65536·f·\n0000000144·00000·n·\n0000000938·00000·n·\n0000001096·00000·n·\n0000000040·00000·n·\n0000000087·00000·n·\n0000001187·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0·R\n>>\nstartxref\n1269\n%%EOF'</span> |
| 290 | </pre></div> | 290 | </pre></div> |
| 291 | </div> | 291 | </div> |
| 292 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 292 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 293 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 293 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 294 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">image</span><span·class="p">(</span><span·class="n">size</span><span·class="o">=</span><span·class="p">(</span><span·class="mi">16</span><span·class="p">,</span>·<span·class="mi">16</span><span·class="p">),</span>·<span·class="n">hue</span><span·class="o">=</span><span·class="p">[</span><span·class="mi">90</span><span·class="p">,</span>·<span·class="mi">270</span><span·class="p">],</span>·<span·class="n">image_format</span><span·class="o">=</span><span·class="s1">'ico'</span><span·class="p">)</span> | 294 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">image</span><span·class="p">(</span><span·class="n">size</span><span·class="o">=</span><span·class="p">(</span><span·class="mi">16</span><span·class="p">,</span>·<span·class="mi">16</span><span·class="p">),</span>·<span·class="n">hue</span><span·class="o">=</span><span·class="p">[</span><span·class="mi">90</span><span·class="p">,</span>·<span·class="mi">270</span><span·class="p">],</span>·<span·class="n">image_format</span><span·class="o">=</span><span·class="s1">'ico'</span><span·class="p">)</span> |
| 295 | <span·class="gp">...</span> | 295 | <span·class="gp">...</span> |
| 296 | <span·class="go">b'\x00\x00\x01\x00\x01\x00\x10\x10\x00\x00\x00\x00·\x00\xb4\x00\x00\x00\x16\x00\x00\x00\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00\x10\x00\x00\x00\x10\x08\x02\x00\x00\x00\x90\x91h6\x00\x00\x00{IDATx\x9ccT.mb·\x050\x91\xa4\x9ab\r\xd6\x19{\xac3\xf6\xe0\xd7\xc0\x82\xc67UZ\xcb\x90\x11\x0ca\x1f\x9d\xe1BX\x03T\x0f\x04d\x04c\xea\xa1\xaa\xa7M\x95\xd6bz\x89\x80\r\x98z\x08;\tM\x0f\xb1~\x80\x878\x8a\x86\xa33\\N\xdf\x0b\xc6j\t\xdc*\x12B\xe9\xf4\xbd\xe0\xa33\\\xb0\xc4\x03\xa6:\x06X$Zg\xec\xc1\xa7\x01Y)\x1c0b&ox\x98`M\x1a\x00\xb3;+\xfag\xedu\xae\x00\x00\x00\x00IEND\xaeB`\x82'</span> | 296 | <span·class="go">b'\x00\x00\x01\x00\x01\x00\x10\x10\x00\x00\x00\x00·\x00\xb4\x00\x00\x00\x16\x00\x00\x00\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00\x10\x00\x00\x00\x10\x08\x02\x00\x00\x00\x90\x91h6\x00\x00\x00{IDATx\x9ccT.mb·\x050\x91\xa4\x9ab\r\xd6\x19{\xac3\xf6\xe0\xd7\xc0\x82\xc67UZ\xcb\x90\x11\x0ca\x1f\x9d\xe1BX\x03T\x0f\x04d\x04c\xea\xa1\xaa\xa7M\x95\xd6bz\x89\x80\r\x98z\x08;\tM\x0f\xb1~\x80\x878\x8a\x86\xa33\\N\xdf\x0b\xc6j\t\xdc*\x12B\xe9\xf4\xbd\xe0\xa33\\\xb0\xc4\x03\xa6:\x06X$Zg\xec\xc1\xa7\x01Y)\x1c0b&ox\x98`M\x1a\x00\xb3;+\xfag\xedu\xae\x00\x00\x00\x00IEND\xaeB`\x82'</span> |
| Offset 732, 19 lines modified | Offset 732, 19 lines modified | ||
| 732 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 732 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 733 | <dd·class="field-odd"><p></p></dd> | 733 | <dd·class="field-odd"><p></p></dd> |
| 734 | </dl> | 734 | </dl> |
| 735 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 735 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 736 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 736 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 737 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">xml</span><span·class="p">()</span> | 737 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">xml</span><span·class="p">()</span> |
| 738 | <span·class="gp">...</span> | 738 | <span·class="gp">...</span> |
| 739 | <span·class="go">'<?xml·version="1.0"·encoding="utf-8"?>\n<couple><son>-9787526.29318886</son><voice>1977-1 | 739 | <span·class="go">'<?xml·version="1.0"·encoding="utf-8"?>\n<couple><son>-9787526.29318886</son><voice>1977-10-11·16:56:16.651077</voice><kitchen>NGnVZQUqLUJyfwFVYySn</kitchen><amount>2021-02-25·03:28:21.222029</amount><event>LuQIazTmqTjDmYPxeqAW</event><much>ppgrVkPCoePqmjQbZndJ</much><mention>TWRUWCuKoQSUEXExIZVP</mention><interview>qfErjaoKtiwdOSlQGWFd</interview><why>HFDutYbbXjgkPWbwfnlH</why><step>7144</step></couple>'</span> |
| 740 | <span·class="go">'<?xml·version="1.0"·encoding="utf-8"?>\n<rock><most>3266</most><manage>-900146288.946134</manage><among>http://www.moreno-wilson.info/listsearch.html</among><pick>alexandermaldonado@example.net</pick><blood>202 | 740 | <span·class="go">'<?xml·version="1.0"·encoding="utf-8"?>\n<rock><most>3266</most><manage>-900146288.946134</manage><among>http://www.moreno-wilson.info/listsearch.html</among><pick>alexandermaldonado@example.net</pick><blood>2021-03-28·01:53:44.873013</blood><scene>paul42@example.net</scene></rock>'</span> |
| 741 | <span·class="go">'<?xml·version="1.0"·encoding="utf-8"?>\n<different><lot>1985- | 741 | <span·class="go">'<?xml·version="1.0"·encoding="utf-8"?>\n<different><lot>1985-09-08·01:16:07.166556</lot><site>NzFJEUSgqMReEKilxKJT</site><bar>uKvIcxniBzDNTzqyQTQj</bar><government>monroedavid@example.org</government><single>6840</single><answer>55</answer></different>'</span> |
| 742 | <span·class="go">'<?xml·version="1.0"·encoding="utf-8"?>\n<matter><series>http://www.ramirez-good.com/postsabout.htm</series><somebody>-23587860434913790978655934625693951978093570729960966912834032313989657524780944.4000348559097765823</somebody><able>9619</able><test>38191497835621.5</test><Republican>6016</Republican><newspaper>rGciZpuCpymcjBdurvfV</newspaper></matter>'</span> | 742 | <span·class="go">'<?xml·version="1.0"·encoding="utf-8"?>\n<matter><series>http://www.ramirez-good.com/postsabout.htm</series><somebody>-23587860434913790978655934625693951978093570729960966912834032313989657524780944.4000348559097765823</somebody><able>9619</able><test>38191497835621.5</test><Republican>6016</Republican><newspaper>rGciZpuCpymcjBdurvfV</newspaper></matter>'</span> |
| 743 | <span·class="go">'<?xml·version="1.0"·encoding="utf-8"?>\n<bar><thought>pMUVGtYHdeMdauAxzEJv</thought><success>3606</success><task>56521.5119364862</task><gun>dSKUxJgukcXlhktChZZh</gun><capital>6934</capital><measure>199 | 743 | <span·class="go">'<?xml·version="1.0"·encoding="utf-8"?>\n<bar><thought>pMUVGtYHdeMdauAxzEJv</thought><success>3606</success><task>56521.5119364862</task><gun>dSKUxJgukcXlhktChZZh</gun><capital>6934</capital><measure>1997-08-31·13:56:52.842332</measure><business>8166</business><scene>600995291888988873211025510262505134712632953600564174616347579450201.7118013204075227586880918916348967699300248945174466602234500762791256097670172009925185367</scene><modern>TFyGrgJGPgVPVTJQAOjO</modern><last>-710675304631639660753226190483043425415886510754056240444204875232268060793557159011868147985519.318868412696116116207660754</last></bar>'</span> |
| 744 | </pre></div> | 744 | </pre></div> |
| 745 | </div> | 745 | </div> |
| 746 | </dd></dl> | 746 | </dd></dl> |
| 747 | <dl·class="py·method"> | 747 | <dl·class="py·method"> |
| 748 | <dt·class="sig·sig-object·py"·id="faker.providers.misc.Provider.zip"> | 748 | <dt·class="sig·sig-object·py"·id="faker.providers.misc.Provider.zip"> |
| 749 | <span·class="sig-name·descname"><span·class="pre">zip</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">uncompressed_size</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">65536</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">num_files</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">1</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">min_file_size</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">4096</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">compression</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#bytes"·title="(in·Python·v3.13)"><span·class="pre">bytes</span></a></span></span><a·class="headerlink"·href="#faker.providers.misc.Provider.zip"·title="Link·to·this·definition">¶</a></dt> | 749 | <span·class="sig-name·descname"><span·class="pre">zip</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">uncompressed_size</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">65536</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">num_files</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">1</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">min_file_size</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">4096</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">compression</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#bytes"·title="(in·Python·v3.13)"><span·class="pre">bytes</span></a></span></span><a·class="headerlink"·href="#faker.providers.misc.Provider.zip"·title="Link·to·this·definition">¶</a></dt> |
| Offset 767, 30 lines modified | Offset 767, 30 lines modified | ||
| 767 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 767 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 768 | <dd·class="field-odd"><p></p></dd> | 768 | <dd·class="field-odd"><p></p></dd> |
| 769 | </dl> | 769 | </dl> |
| 770 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 770 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 771 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 771 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 772 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">zip</span><span·class="p">(</span><span·class="n">uncompressed_size</span><span·class="o">=</span><span·class="mi">256</span><span·class="p">,</span>·<span·class="n">num_files</span><span·class="o">=</span><span·class="mi">4</span><span·class="p">,</span>·<span·class="n">min_file_size</span><span·class="o">=</span><span·class="mi">32</span><span·class="p">)</span> | 772 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">zip</span><span·class="p">(</span><span·class="n">uncompressed_size</span><span·class="o">=</span><span·class="mi">256</span><span·class="p">,</span>·<span·class="n">num_files</span><span·class="o">=</span><span·class="mi">4</span><span·class="p">,</span>·<span·class="n">min_file_size</span><span·class="o">=</span><span·class="mi">32</span><span·class="p">)</span> |
| 773 | <span·class="gp">...</span> | 773 | <span·class="gp">...</span> |
| 774 | <span·class="go">b"PK\x03\x04\x14\x00\x00\x00\x00\x00 | 774 | <span·class="go">b"PK\x03\x04\x14\x00\x00\x00\x00\x00\xeeld[}\xb4\x1e\xa0o\x00\x00\x00o\x00\x00\x00\x15\x00\x00\x00RNvnAvOpyEVAoNGnVZQU12%\xa9\xf13\xb5\xde\xa1h\xf4\xe2\x85\x1f\x07/\xcc\x00\xfc\xaa|\xa6·aqzH\xe5.)\xa3\xfa7\x9a\x95?\xaah\x93\xe3.\xc5\xa2{\x94^`_\x10\x85\xf3#-BL\x13)\xc8\x8dxn\xd6\x8c\xe6\xfc\[·...·truncated·by·diffoscope;·len:·1467,·SHA:·697a1200ab32793e8fa3cc8c1b4359e68eb4a5071d28db30cb2dea924f0ec5f1·...·]\xf4\x11#)'\x00\x00\x00'\x00\x00\x00\x15\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x01r\x01\x00\x00jBdurvfVyRYryKwpMUVG4PK\x05\x06\x00\x00\x00\x00\x04\x00\x04\x00\x0c\x01\x00\x00\xcc\x01\x00\x00\x00\x00"</span> |
| 775 | <span·class="go">b'PK\x03\x04\x14\x00\x00\x00\x00\x00 | 775 | <span·class="go">b'PK\x03\x04\x14\x00\x00\x00\x00\x00\xeeld[\xfe\xf5\x0eGq\x00\x00\x00q\x00\x00\x00\x15\x00\x00\x00xsRfFzDHwBJURZHTCWaK1\xa4\x12K\x83O\xc2\x96\xf0!+\x14!sB\x14\x99\x07\xe5\xa9RL\xeb\xbe\xc3\x11.\'\xdai\x94\xd5\xf6\xc6w\n\x00]\x9a\x82\xaa!\xfc\x86\x9b\xd0\xc4\xc4\x1fSAz\x92\xab\x1c\x12\xf6[·...·truncated·by·diffoscope;·len:·1530,·SHA:·9ec9434b5fa51fed98f3a9b39dfa8752da0e67dcb5a628a721953fb2c763bd48·...·]\x12\xb4Y~,\x00\x00\x00,\x00\x00\x00\x15\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x01m\x01\x00\x00EbPprBmVivpBDGBvGuOO4PK\x05\x06\x00\x00\x00\x00\x04\x00\x04\x00\x0c\x01\x00\x00\xcc\x01\x00\x00\x00\x00'</span> |
| 776 | <span·class="go">b"PK\x03\x04\x14\x00\x00\x00\x00\x00 | 776 | <span·class="go">b"PK\x03\x04\x14\x00\x00\x00\x00\x00\xeeld[\t':+R\x00\x00\x00R\x00\x00\x00\x15\x00\x00\x00NofxrivUwxKBgVxPuPul1\xe0h\x19\xc6\x11w+_\xba\x1dXw\x98,\x91\xb4\xd2\xea\x1b\xdc\xe8\xfa\x82\xf3n\xac\x88\x15\x16\x1aS\xb3\x01\x94\x03G·\xdbq\xcbq\xe8b\xad4+\xa3\xa5\xe9\xa6\x82\x0e\x16a\xbc)k\xb1`g[·...·truncated·by·diffoscope;·len:·1534,·SHA:·3f0e83291d7c429232c67ce264ccec3d05332d1b6174a2bf38f93624c6ab0c57·...·]\x07Y3S)\x00\x00\x00)\x00\x00\x00\x15\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x01p\x01\x00\x00msMvozuqUCYODnJxLuzb4PK\x05\x06\x00\x00\x00\x00\x04\x00\x04\x00\x0c\x01\x00\x00\xcc\x01\x00\x00\x00\x00"</span> |
| 777 | <span·class="go">b"PK\x03\x04\x14\x00\x00\x00\x00\x00 | 777 | <span·class="go">b"PK\x03\x04\x14\x00\x00\x00\x00\x00\xeeld[\xe5\xb4\xa4\xb0D\x00\x00\x00D\x00\x00\x00\x15\x00\x00\x00BdHEWGCuwqaOQonBqrKw1\x03O\xc4\xb8\xed\x12\xd2t\x08\xb9Qc\xb5\xfe\t\x7f{\x8c^\xd7'\xe5y\xe63`T\xe1!\xda\xca\x8b\x81\xdf\xb6\xa7.\x9d\x0f\xfc\x05\x80g\xcb\xc5\xdf\xc7\x13\xee\xb5@\x8e\xa7\[·...·truncated·by·diffoscope;·len:·1532,·SHA:·2c880e73f53ad0c3fe9ff11d584bd64044393594a6fe63c2089a44efd6d4aec2·...·]\x8a\xe4\x1f\x82n\x00\x00\x00n\x00\x00\x00\x15\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x01+\x01\x00\x00VGobtiChjVHmTGXzUJcm4PK\x05\x06\x00\x00\x00\x00\x04\x00\x04\x00\x0c\x01\x00\x00\xcc\x01\x00\x00\x00\x00"</span> |
| 778 | <span·class="go">b'PK\x03\x04\x14\x00\x00\x00\x00\x00 | 778 | <span·class="go">b'PK\x03\x04\x14\x00\x00\x00\x00\x00\xeeld[OH\xa6[\x88\x00\x00\x00\x88\x00\x00\x00\x15\x00\x00\x00DyHKewLhhibhzUGoPJPV1\x86Q\xaf\xa9J\xc0\x9cx\xc1\xb1\xc7\xf1\x9c\xd1\xd02NK\x026h8\x88V\xc0+\x12\x05;\xb9\xf6\xa27\xe7\xbc\x81\xf9uQ\'V\rU\xd1j\xe0\xcf\x87\nD\xc6W\xe1\x1b\xc0,\xcf\xabw\xe9\[·...·truncated·by·diffoscope;·len:·1538,·SHA:·7e3d10444e5ad8912fe8d64d70f536f98c35bf7735987db9e2b22467686b97c9·...·]\xae\x8c"\xf0&\x00\x00\x00&\x00\x00\x00\x15\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x01s\x01\x00\x00loHFWYBepAJXibTPNyJv4PK\x05\x06\x00\x00\x00\x00\x04\x00\x04\x00\x0c\x01\x00\x00\xcc\x01\x00\x00\x00\x00'</span> |
| 779 | </pre></div> | 779 | </pre></div> |
| 780 | </div> | 780 | </div> |
| 781 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 781 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 782 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 782 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 783 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">zip</span><span·class="p">(</span><span·class="n">uncompressed_size</span><span·class="o">=</span><span·class="mi">256</span><span·class="p">,</span>·<span·class="n">num_files</span><span·class="o">=</span><span·class="mi">32</span><span·class="p">,</span>·<span·class="n">min_file_size</span><span·class="o">=</span><span·class="mi">4</span><span·class="p">,</span>·<span·class="n">compression</span><span·class="o">=</span><span·class="s1">'bz2'</span><span·class="p">)</span> | 783 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">zip</span><span·class="p">(</span><span·class="n">uncompressed_size</span><span·class="o">=</span><span·class="mi">256</span><span·class="p">,</span>·<span·class="n">num_files</span><span·class="o">=</span><span·class="mi">32</span><span·class="p">,</span>·<span·class="n">min_file_size</span><span·class="o">=</span><span·class="mi">4</span><span·class="p">,</span>·<span·class="n">compression</span><span·class="o">=</span><span·class="s1">'bz2'</span><span·class="p">)</span> |
| 784 | <span·class="gp">...</span> | 784 | <span·class="gp">...</span> |
| 785 | <span·class="go">b'PK\x03\x04.\x00\x00\x00\x0c\x00 | 785 | <span·class="go">b'PK\x03\x04.\x00\x00\x00\x0c\x00\xeeld[g#\x1c\xdc\xa4\x00\x00\x00S\x00\x00\x00\x15\x00\x00\x00RNvnAvOpyEVAoNGnVZQU1BZh91AY&SY\xb9;q\x1c\x00\x00\x08\xff\xff\xc0\xc0H\x00\xca3\x98\x88\x90T\x00\x81\xe0A`\\\x02\x16\x0e\x1098\x03\x01\x02D\x01\x11\x1b\x00,4·\x00T`\x98\x83&CA\x88h\r4\x1[·...·truncated·by·diffoscope;·len:·13249,·SHA:·d68d62be195d48c28e3387bb6ff28a874d06d3b7e83e83e5d845373575c1d11a·...·]\x07n\x17U.\x00\x00\x00\x04\x00\x00\x00\x16\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x01|\x0c\x00\x00iAGIRKemRjXXUMRDLwSf32PK\x05\x06\x00\x00\x00\x00·\x00·\x00w\x08\x00\x00\xde\x0c\x00\x00\x00\x00'</span> |
| 786 | <span·class="go">b'PK\x03\x04.\x00\x00\x00\x0c\x00 | 786 | <span·class="go">b'PK\x03\x04.\x00\x00\x00\x0c\x00\xeeld[\xf6@\x026\x93\x00\x00\x00G\x00\x00\x00\x15\x00\x00\x00rMtGUzsIxAiNrPXaBoyb1BZh91AY&SY\x12\xa6\xbba\x00\x00\x03\xff\xff\xcd\x10)\x10H\x00\x00J@A\xc9\xa0`\x10\x00\x04\\I\xa7\x00\x92a\xe4·\x06\x11\x00/\x10·\x02\x02·\x00T`\x98LL\x991\x190\x00F\x10b[·...·truncated·by·diffoscope;·len:·13404,·SHA:·30804f29858f6440890ec71d55b666dd56b8483e62b4e25bb1577f2ff7855e18·...·]>\xea?\xf7.\x00\x00\x00\x04\x00\x00\x00\x16\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x01\x91\x0c\x00\x00qQVXaNBgmovyWdKSsmlp32PK\x05\x06\x00\x00\x00\x00·\x00·\x00w\x08\x00\x00\xf3\x0c\x00\x00\x00\x00'</span> |
| 787 | <span·class="go">b'PK\x03\x04.\x00\x00\x00\x0c\x00 | 787 | <span·class="go">b'PK\x03\x04.\x00\x00\x00\x0c\x00\xeeld[\x15\xf8\x11\xeb\xbd\x00\x00\x00m\x00\x00\x00\x15\x00\x00\x00jSLWKiNgRJMBOPSKbxVk1BZh91AY&SY:\x86\xa8\x85\x00\x00\x10\x7f\xff\xc7\xfc\x00\x98\x18\xa4\x04\x08D\x88BIM\x9d\x00D\xac\xaa\x04\xd1\x08#^\xe8\x1f:\x08\x06%0\x1a\x04\xa0\x00t8\xd0\xd0\x00[·...·truncated·by·diffoscope;·len:·13365,·SHA:·d9b242cf01e9cf5c8bc22efdbc03c2e8a806293fb75d1b20fb0ea8cd5513f5b0·...·]j\xb7\x18\xd6.\x00\x00\x00\x04\x00\x00\x00\x16\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x01\x87\x0c\x00\x00rxdHRlWGCkTwcWtpdbcT32PK\x05\x06\x00\x00\x00\x00·\x00·\x00w\x08\x00\x00\xe9\x0c\x00\x00\x00\x00'</span> |
| 788 | <span·class="go">b'PK\x03\x04.\x00\x00\x00\x0c\x00 | 788 | <span·class="go">b'PK\x03\x04.\x00\x00\x00\x0c\x00\xeeld[i\xa8d\x8bg\x00\x00\x00%\x00\x00\x00\x15\x00\x00\x00bMhfKFIkfzeySZLifSLv1BZh91AY&SY\xdc\x1a\xd9\xb0\x00\x00\x02\xff\xfc\xc4\x10$\x00\x00!@\x08A\xa1\x00@\x81\x08\x00\x08\x8a\x02·\x02\x02\x00\x0c\x11\xa0@\x80\x90·\x00#\r\x0c\x86FG\xa8\xc4h\xf54\xf[·...·truncated·by·diffoscope;·len:·13456,·SHA:·137da993204459e45eec5fb43c9a6bc36fb17701f97a74b67dc665037201bd80·...·]\xaeIK\x08.\x00\x00\x00\x04\x00\x00\x00\x16\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x01\xa5\x0c\x00\x00NIqGGbxGtiVaSiZVeNIS32PK\x05\x06\x00\x00\x00\x00·\x00·\x00w\x08\x00\x00\x07\r\x00\x00\x00\x00'</span> |
| 789 | <span·class="go">b'PK\x03\x04.\x00\x00\x00\x0c\x00 | 789 | <span·class="go">b'PK\x03\x04.\x00\x00\x00\x0c\x00\xeeld[\xf2\xda\x06\xf24\x00\x00\x00\x07\x00\x00\x00\x15\x00\x00\x00MBZOzWARcglmhcDELFxx1BZh91AY&SY1\xde9\xd0\x00\x00\x02\xa54\x00·@\x00\x00\x08\x01·\x08\x00\x00\x02·\x001\x0c\x01\x06\x99\xa1\xe1!E\xdc\x91N\x14$\x0cw\x8et\x00PK\x03\x04.\x00\x00\x00\x0c[·...·truncated·by·diffoscope;·len:·13230,·SHA:·d34501a6cff913b17e84a70886b754f6cb2162a96113174cc0056479cc7abd8e·...·]\xef(\xfai,\x00\x00\x00\x04\x00\x00\x00\x16\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x01z\x0c\x00\x00dxrHdIcclSNnanWCeLGS32PK\x05\x06\x00\x00\x00\x00·\x00·\x00w\x08\x00\x00\xda\x0c\x00\x00\x00\x00'</span> |
| 790 | </pre></div> | 790 | </pre></div> |
| 791 | </div> | 791 | </div> |
| 792 | </dd></dl> | 792 | </dd></dl> |
| 793 | </dd></dl> | 793 | </dd></dl> |
| 794 | </section> | 794 | </section> |
| Offset 472, 15 lines modified | Offset 472, 15 lines modified | ||
| 472 | ············()*56789: | 472 | ············()*56789: |
| 473 | ············CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xcfU\n\xa1T\x00\xa0`\x01\xd0QE\x15\xf5\xc7\xb4\x7f\xff\xd9\nendstream\nendobj\n2 | 473 | ············CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xcfU\n\xa1T\x00\xa0`\x01\xd0QE\x15\xf5\xc7\xb4\x7f\xff\xd9\nendstream\nendobj\n2 |
| 474 | ············0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/ | 474 | ············0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/ |
| 475 | ············image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/ | 475 | ············image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/ |
| 476 | ············Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length | 476 | ············Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length |
| 477 | ············43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do | 477 | ············43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do |
| 478 | ············Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D: | 478 | ············Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D: |
| 479 | ············202 | 479 | ············20251103233928Z)\n/ModDate·(D:20251103233928Z)\n>>endobj\nxref\n0 |
| 480 | ············7\n0000000000·65536·f·\n0000000144·00000·n·\n0000000947·00000·n | 480 | ············7\n0000000000·65536·f·\n0000000144·00000·n·\n0000000947·00000·n |
| 481 | ············\n0000001105·00000·n·\n0000000040·00000·n·\n0000000087·00000·n | 481 | ············\n0000001105·00000·n·\n0000000040·00000·n·\n0000000087·00000·n |
| 482 | ············\n0000001196·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0 | 482 | ············\n0000001196·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0 |
| 483 | ············R\n>>\nstartxref\n1278\n%%EOF' | 483 | ············R\n>>\nstartxref\n1278\n%%EOF' |
| 484 | ············b'%PDF-1.4\n%·created·by·Pillow·PDF·driver\n4·0·obj<<\n/Type·/ | 484 | ············b'%PDF-1.4\n%·created·by·Pillow·PDF·driver\n4·0·obj<<\n/Type·/ |
| 485 | ············Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count | 485 | ············Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count |
| 486 | ············1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/ | 486 | ············1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/ |
| Offset 494, 15 lines modified | Offset 494, 15 lines modified | ||
| 494 | ············()*56789: | 494 | ············()*56789: |
| 495 | ············CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xc5\x93\xfdk\xff\x00\xbch\xa2\x8a\xfd.?\n>\xa6\x1f\n?\xff\xd9\nendstream\nendobj\n2 | 495 | ············CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xc5\x93\xfdk\xff\x00\xbch\xa2\x8a\xfd.?\n>\xa6\x1f\n?\xff\xd9\nendstream\nendobj\n2 |
| 496 | ············0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/ | 496 | ············0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/ |
| 497 | ············image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/ | 497 | ············image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/ |
| 498 | ············Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length | 498 | ············Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length |
| 499 | ············43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do | 499 | ············43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do |
| 500 | ············Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D: | 500 | ············Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D: |
| 501 | ············202 | 501 | ············20251103233928Z)\n/ModDate·(D:20251103233928Z)\n>>endobj\nxref\n0 |
| 502 | ············7\n0000000000·65536·f·\n0000000144·00000·n·\n0000000949·00000·n | 502 | ············7\n0000000000·65536·f·\n0000000144·00000·n·\n0000000949·00000·n |
| 503 | ············\n0000001107·00000·n·\n0000000040·00000·n·\n0000000087·00000·n | 503 | ············\n0000001107·00000·n·\n0000000040·00000·n·\n0000000087·00000·n |
| 504 | ············\n0000001198·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0 | 504 | ············\n0000001198·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0 |
| 505 | ············R\n>>\nstartxref\n1280\n%%EOF' | 505 | ············R\n>>\nstartxref\n1280\n%%EOF' |
| 506 | ············b'%PDF-1.4\n%·created·by·Pillow·PDF·driver\n4·0·obj<<\n/Type·/ | 506 | ············b'%PDF-1.4\n%·created·by·Pillow·PDF·driver\n4·0·obj<<\n/Type·/ |
| 507 | ············Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count | 507 | ············Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count |
| 508 | ············1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/ | 508 | ············1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/ |
| Offset 516, 15 lines modified | Offset 516, 15 lines modified | ||
| 516 | ············()*56789: | 516 | ············()*56789: |
| 517 | ············CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xabE\x14W\xd7\x9e\xb1\xff\xd9\nendstream\nendobj\n2 | 517 | ············CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xabE\x14W\xd7\x9e\xb1\xff\xd9\nendstream\nendobj\n2 |
| 518 | ············0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/ | 518 | ············0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/ |
| 519 | ············image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/ | 519 | ············image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/ |
| 520 | ············Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length | 520 | ············Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length |
| 521 | ············43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do | 521 | ············43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do |
| 522 | ············Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D: | 522 | ············Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D: |
| 523 | ············202 | 523 | ············20251103233928Z)\n/ModDate·(D:20251103233928Z)\n>>endobj\nxref\n0 |
| 524 | ············7\n0000000000·65536·f·\n0000000144·00000·n·\n0000000937·00000·n | 524 | ············7\n0000000000·65536·f·\n0000000144·00000·n·\n0000000937·00000·n |
| 525 | ············\n0000001095·00000·n·\n0000000040·00000·n·\n0000000087·00000·n | 525 | ············\n0000001095·00000·n·\n0000000040·00000·n·\n0000000087·00000·n |
| 526 | ············\n0000001186·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0 | 526 | ············\n0000001186·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0 |
| 527 | ············R\n>>\nstartxref\n1268\n%%EOF' | 527 | ············R\n>>\nstartxref\n1268\n%%EOF' |
| 528 | ············b'%PDF-1.4\n%·created·by·Pillow·PDF·driver\n4·0·obj<<\n/Type·/ | 528 | ············b'%PDF-1.4\n%·created·by·Pillow·PDF·driver\n4·0·obj<<\n/Type·/ |
| 529 | ············Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count | 529 | ············Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count |
| 530 | ············1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/ | 530 | ············1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/ |
| Offset 538, 15 lines modified | Offset 538, 15 lines modified | ||
| 538 | ············()*56789: | 538 | ············()*56789: |
| 539 | ············CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xc6\xa2\x8a+\xea\x0fh\xff\xd9\nendstream\nendobj\n2 | 539 | ············CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xc6\xa2\x8a+\xea\x0fh\xff\xd9\nendstream\nendobj\n2 |
| 540 | ············0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/ | 540 | ············0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/ |
| 541 | ············image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/ | 541 | ············image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/ |
| 542 | ············Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length | 542 | ············Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length |
| 543 | ············43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do | 543 | ············43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do |
| 544 | ············Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D: | 544 | ············Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D: |
| 545 | ············202 | 545 | ············20251103233928Z)\n/ModDate·(D:20251103233928Z)\n>>endobj\nxref\n0 |
| 546 | ············7\n0000000000·65536·f·\n0000000144·00000·n·\n0000000937·00000·n | 546 | ············7\n0000000000·65536·f·\n0000000144·00000·n·\n0000000937·00000·n |
| 547 | ············\n0000001095·00000·n·\n0000000040·00000·n·\n0000000087·00000·n | 547 | ············\n0000001095·00000·n·\n0000000040·00000·n·\n0000000087·00000·n |
| 548 | ············\n0000001186·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0 | 548 | ············\n0000001186·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0 |
| 549 | ············R\n>>\nstartxref\n1268\n%%EOF' | 549 | ············R\n>>\nstartxref\n1268\n%%EOF' |
| 550 | ············b'%PDF-1.4\n%·created·by·Pillow·PDF·driver\n4·0·obj<<\n/Type·/ | 550 | ············b'%PDF-1.4\n%·created·by·Pillow·PDF·driver\n4·0·obj<<\n/Type·/ |
| 551 | ············Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count | 551 | ············Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count |
| 552 | ············1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/ | 552 | ············1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/ |
| Offset 560, 15 lines modified | Offset 560, 15 lines modified | ||
| 560 | ············()*56789: | 560 | ············()*56789: |
| 561 | ············CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xe1\xe8\xa2\x8a\xfd\x1c\xfa#\xff\xd9\nendstream\nendobj\n2 | 561 | ············CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xe1\xe8\xa2\x8a\xfd\x1c\xfa#\xff\xd9\nendstream\nendobj\n2 |
| 562 | ············0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/ | 562 | ············0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/ |
| 563 | ············image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/ | 563 | ············image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/ |
| 564 | ············Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length | 564 | ············Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length |
| 565 | ············43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do | 565 | ············43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do |
| 566 | ············Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D: | 566 | ············Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D: |
| 567 | ············202 | 567 | ············20251103233928Z)\n/ModDate·(D:20251103233928Z)\n>>endobj\nxref\n0 |
| 568 | ············7\n0000000000·65536·f·\n0000000144·00000·n·\n0000000938·00000·n | 568 | ············7\n0000000000·65536·f·\n0000000144·00000·n·\n0000000938·00000·n |
| 569 | ············\n0000001096·00000·n·\n0000000040·00000·n·\n0000000087·00000·n | 569 | ············\n0000001096·00000·n·\n0000000040·00000·n·\n0000000087·00000·n |
| 570 | ············\n0000001187·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0 | 570 | ············\n0000001187·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0 |
| 571 | ············R\n>>\nstartxref\n1269\n%%EOF' | 571 | ············R\n>>\nstartxref\n1269\n%%EOF' |
| 572 | ············>>>·Faker.seed(0) | 572 | ············>>>·Faker.seed(0) |
| 573 | ············>>>·for·_·in·range(5): | 573 | ············>>>·for·_·in·range(5): |
| 574 | ············...·····fake.image(size=(16,·16),·hue=[90,·270],·image_ | 574 | ············...·····fake.image(size=(16,·16),·hue=[90,·270],·image_ |
| Offset 1447, 42 lines modified | Offset 1447, 42 lines modified | ||
| 1447 | ············Note:·this·provider·required·xmltodict·library·installed | 1447 | ············Note:·this·provider·required·xmltodict·library·installed |
| 1448 | ··············Examples: | 1448 | ··············Examples: |
| 1449 | ············>>>·Faker.seed(0) | 1449 | ············>>>·Faker.seed(0) |
| 1450 | ············>>>·for·_·in·range(5): | 1450 | ············>>>·for·_·in·range(5): |
| 1451 | ············...·····fake.xml() | 1451 | ············...·····fake.xml() |
| 1452 | ············... | 1452 | ············... |
| 1453 | ············'<?xml·version="1.0"·encoding="utf-8"?>\n<couple><son>- | 1453 | ············'<?xml·version="1.0"·encoding="utf-8"?>\n<couple><son>- |
| 1454 | ············9787526.29318886</son><voice>1977-1 | 1454 | ············9787526.29318886</son><voice>1977-10-11·16:56:16.651077</ |
| 1455 | ············voice><kitchen>NGnVZQUqLUJyfwFVYySn</kitchen><amount>202 | 1455 | ············voice><kitchen>NGnVZQUqLUJyfwFVYySn</kitchen><amount>2021-02-25·03: |
| 1456 | ············ | 1456 | ············28:21.222029</amount><event>LuQIazTmqTjDmYPxeqAW</ |
| 1457 | ············event><much>ppgrVkPCoePqmjQbZndJ</ | 1457 | ············event><much>ppgrVkPCoePqmjQbZndJ</ |
| 1458 | ············much><mention>TWRUWCuKoQSUEXExIZVP</ | 1458 | ············much><mention>TWRUWCuKoQSUEXExIZVP</ |
| 1459 | ············mention><interview>qfErjaoKtiwdOSlQGWFd</ | 1459 | ············mention><interview>qfErjaoKtiwdOSlQGWFd</ |
| 1460 | ············interview><why>HFDutYbbXjgkPWbwfnlH</why><step>7144</step></ | 1460 | ············interview><why>HFDutYbbXjgkPWbwfnlH</why><step>7144</step></ |
| 1461 | ············couple>' | 1461 | ············couple>' |
| 1462 | ············'<?xml·version="1.0"·encoding="utf-8"?>\n<rock><most>3266</ | 1462 | ············'<?xml·version="1.0"·encoding="utf-8"?>\n<rock><most>3266</ |
| 1463 | ············most><manage>-900146288.946134</manage><among>http://www.moreno- | 1463 | ············most><manage>-900146288.946134</manage><among>http://www.moreno- |
| 1464 | ············wilson.info/listsearch.html</ | 1464 | ············wilson.info/listsearch.html</ |
| 1465 | ············among><pick>alexandermaldonado@example.net</pick><blood>202 | 1465 | ············among><pick>alexandermaldonado@example.net</pick><blood>2021-03-28 |
| 1466 | ············ | 1466 | ············01:53:44.873013</blood><scene>paul42@example.net</scene></rock>' |
| 1467 | ············'<?xml·version="1.0"·encoding="utf-8"?>\n<different><lot>1985- | 1467 | ············'<?xml·version="1.0"·encoding="utf-8"?>\n<different><lot>1985-09-08 |
| 1468 | ············ | 1468 | ············01:16:07.166556</lot><site>NzFJEUSgqMReEKilxKJT</ |
| 1469 | ············site><bar>uKvIcxniBzDNTzqyQTQj</ | 1469 | ············site><bar>uKvIcxniBzDNTzqyQTQj</ |
| 1470 | ············bar><government>monroedavid@example.org</government><single>6840</ | 1470 | ············bar><government>monroedavid@example.org</government><single>6840</ |
| 1471 | ············single><answer>55</answer></different>' | 1471 | ············single><answer>55</answer></different>' |
| 1472 | ············'<?xml·version="1.0"·encoding="utf-8"?>\n<matter><series>http:// | 1472 | ············'<?xml·version="1.0"·encoding="utf-8"?>\n<matter><series>http:// |
| 1473 | ············www.ramirez-good.com/postsabout.htm</series><somebody>- | 1473 | ············www.ramirez-good.com/postsabout.htm</series><somebody>- |
| 1474 | ············23587860434913790978655934625693951978093570729960966912834032313989657524780944.4000348559097765823</ | 1474 | ············23587860434913790978655934625693951978093570729960966912834032313989657524780944.4000348559097765823</ |
| 1475 | ············somebody><able>9619</able><test>38191497835621.5</ | 1475 | ············somebody><able>9619</able><test>38191497835621.5</ |
| 1476 | ············test><Republican>6016</Republican><newspaper>rGciZpuCpymcjBdurvfV</ | 1476 | ············test><Republican>6016</Republican><newspaper>rGciZpuCpymcjBdurvfV</ |
| 1477 | ············newspaper></matter>' | 1477 | ············newspaper></matter>' |
| 1478 | ············'<?xml·version="1.0"·encoding="utf- | 1478 | ············'<?xml·version="1.0"·encoding="utf- |
| 1479 | ············8"?>\n<bar><thought>pMUVGtYHdeMdauAxzEJv</thought><success>3606</ | 1479 | ············8"?>\n<bar><thought>pMUVGtYHdeMdauAxzEJv</thought><success>3606</ |
| 1480 | ············success><task>56521.5119364862</task><gun>dSKUxJgukcXlhktChZZh</ | 1480 | ············success><task>56521.5119364862</task><gun>dSKUxJgukcXlhktChZZh</ |
| 1481 | ············gun><capital>6934</capital><measure>199 | 1481 | ············gun><capital>6934</capital><measure>1997-08-31·13:56:52.842332</ |
| 1482 | ············measure><business>8166</ | 1482 | ············measure><business>8166</ |
| 1483 | ············business><scene>600995291888988873211025510262505134712632953600564174616347579450201.7118013204075227586880918916348967699300248945174466602234500762791256097670172009925185367</ | 1483 | ············business><scene>600995291888988873211025510262505134712632953600564174616347579450201.7118013204075227586880918916348967699300248945174466602234500762791256097670172009925185367</ |
| 1484 | ············scene><modern>TFyGrgJGPgVPVTJQAOjO</modern><last>- | 1484 | ············scene><modern>TFyGrgJGPgVPVTJQAOjO</modern><last>- |
| 1485 | ············710675304631639660753226190483043425415886510754056240444204875232268060793557159011868147985519.318868412696116116207660754</ | 1485 | ············710675304631639660753226190483043425415886510754056240444204875232268060793557159011868147985519.318868412696116116207660754</ |
| 1486 | ············last></bar>' | 1486 | ············last></bar>' |
| 1487 | ········zip(uncompressed_size:·int·=·65536,·num_files:·int·=·1,·min_file_size: | 1487 | ········zip(uncompressed_size:·int·=·65536,·num_files:·int·=·1,·min_file_size: |
| 1488 | ········int·=·4096,·compression:·str·|·None·=·None)·→·bytes¶ | 1488 | ········int·=·4096,·compression:·str·|·None·=·None)·→·bytes¶ |
| Offset 1503, 405 lines modified | Offset 1503, 753 lines modified | ||
| 1503 | ················*·'deflate',·'gzip',·or·'gz'·for·GZIP | 1503 | ················*·'deflate',·'gzip',·or·'gz'·for·GZIP |
| 1504 | ··············Examples: | 1504 | ··············Examples: |
| 1505 | ············>>>·Faker.seed(0) | 1505 | ············>>>·Faker.seed(0) |
| 1506 | ············>>>·for·_·in·range(5): | 1506 | ············>>>·for·_·in·range(5): |
| Max diff block lines reached; 161053/172225 bytes (93.51%) of diff not shown. | |||
| Offset 56, 19 lines modified | Offset 56, 19 lines modified | ||
| 56 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 56 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 57 | <dd·class="field-odd"><p></p></dd> | 57 | <dd·class="field-odd"><p></p></dd> |
| 58 | </dl> | 58 | </dl> |
| 59 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 59 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 60 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 60 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 61 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">passport_dob</span><span·class="p">()</span> | 61 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">passport_dob</span><span·class="p">()</span> |
| 62 | <span·class="gp">...</span> | 62 | <span·class="gp">...</span> |
| 63 | <span·class="go">datetime.date(200 | 63 | <span·class="go">datetime.date(2007,·10,·18)</span> |
| 64 | <span·class="go">datetime.date(1997,·10,·6)</span> | ||
| 65 | <span·class="go">datetime.date(1958,·8,·18)</span> | ||
| 64 | <span·class="go">datetime.date(19 | 66 | <span·class="go">datetime.date(1939,·11,·17)</span> |
| 65 | <span·class="go">datetime.date(19 | 67 | <span·class="go">datetime.date(1969,·2,·24)</span> |
| 66 | <span·class="go">datetime.date(1940,·12,·18)</span> | ||
| 67 | <span·class="go">datetime.date(1970,·3,·28)</span> | ||
| 68 | </pre></div> | 68 | </pre></div> |
| 69 | </div> | 69 | </div> |
| 70 | </dd></dl> | 70 | </dd></dl> |
| 71 | <dl·class="py·method"> | 71 | <dl·class="py·method"> |
| 72 | <dt·class="sig·sig-object·py"·id="faker.providers.passport.Provider.passport_number"> | 72 | <dt·class="sig·sig-object·py"·id="faker.providers.passport.Provider.passport_number"> |
| 73 | <span·class="sig-name·descname"><span·class="pre">passport_number</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.passport.Provider.passport_number"·title="Link·to·this·definition">¶</a></dt> | 73 | <span·class="sig-name·descname"><span·class="pre">passport_number</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.passport.Provider.passport_number"·title="Link·to·this·definition">¶</a></dt> |
| Offset 12, 19 lines modified | Offset 12, 19 lines modified | ||
| 12 | ········passport_dob()·→·date¶ | 12 | ········passport_dob()·→·date¶ |
| 13 | ············Generate·a·datetime·date·of·birth. | 13 | ············Generate·a·datetime·date·of·birth. |
| 14 | ··············Examples: | 14 | ··············Examples: |
| 15 | ············>>>·Faker.seed(0) | 15 | ············>>>·Faker.seed(0) |
| 16 | ············>>>·for·_·in·range(5): | 16 | ············>>>·for·_·in·range(5): |
| 17 | ············...·····fake.passport_dob() | 17 | ············...·····fake.passport_dob() |
| 18 | ············... | 18 | ············... |
| 19 | ············datetime.date(200 | 19 | ············datetime.date(2007,·10,·18) |
| 20 | ············datetime.date(1997,·10,·6) | ||
| 21 | ············datetime.date(1958,·8,·18) | ||
| 20 | ············datetime.date(19 | 22 | ············datetime.date(1939,·11,·17) |
| 21 | ············datetime.date(19 | 23 | ············datetime.date(1969,·2,·24) |
| 22 | ············datetime.date(1940,·12,·18) | ||
| 23 | ············datetime.date(1970,·3,·28) | ||
| 24 | ········passport_number()·→·str¶ | 24 | ········passport_number()·→·str¶ |
| 25 | ············Generate·a·passport·number·by·replacing·tokens·to·be·alphanumeric | 25 | ············Generate·a·passport·number·by·replacing·tokens·to·be·alphanumeric |
| 26 | ··············Examples: | 26 | ··············Examples: |
| 27 | ············>>>·Faker.seed(0) | 27 | ············>>>·Faker.seed(0) |
| 28 | ············>>>·for·_·in·range(5): | 28 | ············>>>·for·_·in·range(5): |
| 29 | ············...·····fake.passport_number() | 29 | ············...·····fake.passport_number() |
| 30 | ············... | 30 | ············... |
| Offset 57, 19 lines modified | Offset 57, 19 lines modified | ||
| 57 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 57 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 58 | <dd·class="field-odd"><p></p></dd> | 58 | <dd·class="field-odd"><p></p></dd> |
| 59 | </dl> | 59 | </dl> |
| 60 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 60 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 61 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 61 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 62 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">profile</span><span·class="p">()</span> | 62 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">profile</span><span·class="p">()</span> |
| 63 | <span·class="gp">...</span> | 63 | <span·class="gp">...</span> |
| 64 | <span·class="go">{'job':·'Musician',·'company':·'Williams-Sheppard',·'ssn':·'498-52-4970',·'residence':·'Unit·5938·Box·2421\nDPO·AP·33335',·'current_location':·(Decimal('52.958961'),·Decimal('143.143712')),·'blood_group':·'B+',·'website':·['http://www.rivera.com/',·'http://grimes-green.net/',·'http://www.larsen.com/'],·'username':·'leeashley',·'name':·'Gary·Cross',·'sex':·'M',·'address':·'711·Golden·Overpass\nWest·Andreaville,·OH·44115',·'mail':·'tamaramorrison@hotmail.com',·'birthdate':·datetime.date(194 | 64 | <span·class="go">{'job':·'Musician',·'company':·'Williams-Sheppard',·'ssn':·'498-52-4970',·'residence':·'Unit·5938·Box·2421\nDPO·AP·33335',·'current_location':·(Decimal('52.958961'),·Decimal('143.143712')),·'blood_group':·'B+',·'website':·['http://www.rivera.com/',·'http://grimes-green.net/',·'http://www.larsen.com/'],·'username':·'leeashley',·'name':·'Gary·Cross',·'sex':·'M',·'address':·'711·Golden·Overpass\nWest·Andreaville,·OH·44115',·'mail':·'tamaramorrison@hotmail.com',·'birthdate':·datetime.date(1943,·3,·18)}</span> |
| 65 | <span·class="go">{'job':·'Chemist,·analytical',·'company':·'Yates,·Stewart·and·Allen',·'ssn':·'189-25-3060',·'residence':·'1122·Megan·Squares·Suite·848\nPort·Jason,·TX·77807',·'current_location':·(Decimal('22.588068'),·Decimal('131.221390')),·'blood_group':·'AB+',·'website':·['https://nguyen.info/',·'https://www.smith.com/',·'http://cook.com/',·'http://www.montoya.net/'],·'username':·'myersmitchell',·'name':·'Madison·Obrien',·'sex':·'F',·'address':·'Unit·0903·Box·2173\nDPO·AP·08507',·'mail':·'stephenschristine@yahoo.com',·'birthdate':·datetime.date(191 | 65 | <span·class="go">{'job':·'Chemist,·analytical',·'company':·'Yates,·Stewart·and·Allen',·'ssn':·'189-25-3060',·'residence':·'1122·Megan·Squares·Suite·848\nPort·Jason,·TX·77807',·'current_location':·(Decimal('22.588068'),·Decimal('131.221390')),·'blood_group':·'AB+',·'website':·['https://nguyen.info/',·'https://www.smith.com/',·'http://cook.com/',·'http://www.montoya.net/'],·'username':·'myersmitchell',·'name':·'Madison·Obrien',·'sex':·'F',·'address':·'Unit·0903·Box·2173\nDPO·AP·08507',·'mail':·'stephenschristine@yahoo.com',·'birthdate':·datetime.date(1917,·12,·18)}</span> |
| 66 | <span·class="go">{'job':·'Building·surveyor',·'company':·'Turner,·Graham·and·Brown',·'ssn':·'479-06-9773',·'residence':·'45792·Tammy·Centers·Apt.·258\nDavidmouth,·TN·23414',·'current_location':·(Decimal('-86.4556435'),·Decimal('73.201966')),·'blood_group':·'O+',·'website':·['https://king.com/',·'https://www.campbell.com/',·'https://arroyo.com/'],·'username':·'hollymoore',·'name':·'Ronald·Miller',·'sex':·'M',·'address':·'9606·Barton·Station·Apt.·271\nJacquelinemouth,·NC·64367',·'mail':·'hensontroy@yahoo.com',·'birthdate':·datetime.date(200 | 66 | <span·class="go">{'job':·'Building·surveyor',·'company':·'Turner,·Graham·and·Brown',·'ssn':·'479-06-9773',·'residence':·'45792·Tammy·Centers·Apt.·258\nDavidmouth,·TN·23414',·'current_location':·(Decimal('-86.4556435'),·Decimal('73.201966')),·'blood_group':·'O+',·'website':·['https://king.com/',·'https://www.campbell.com/',·'https://arroyo.com/'],·'username':·'hollymoore',·'name':·'Ronald·Miller',·'sex':·'M',·'address':·'9606·Barton·Station·Apt.·271\nJacquelinemouth,·NC·64367',·'mail':·'hensontroy@yahoo.com',·'birthdate':·datetime.date(2007,·1,·8)}</span> |
| 67 | <span·class="go">{'job':·'Arts·administrator',·'company':·'Lopez-Key',·'ssn':·'649-11-2139',·'residence':·'Unit·6650·Box·3008\nDPO·AP·13317',·'current_location':·(Decimal('-38.8738015'),·Decimal('-116.163958')),·'blood_group':·'B-',·'website':·['https://www.alvarez.com/',·'http://marsh-wilson.com/',·'http://wiggins.com/'],·'username':·'sheena09',·'name':·'Melanie·Grant',·'sex':·'F',·'address':·'658·Jared·Radial·Suite·022\nMathewstad,·VT·12783',·'mail':·'kimberly00@yahoo.com',·'birthdate':·datetime.date(192 | 67 | <span·class="go">{'job':·'Arts·administrator',·'company':·'Lopez-Key',·'ssn':·'649-11-2139',·'residence':·'Unit·6650·Box·3008\nDPO·AP·13317',·'current_location':·(Decimal('-38.8738015'),·Decimal('-116.163958')),·'blood_group':·'B-',·'website':·['https://www.alvarez.com/',·'http://marsh-wilson.com/',·'http://wiggins.com/'],·'username':·'sheena09',·'name':·'Melanie·Grant',·'sex':·'F',·'address':·'658·Jared·Radial·Suite·022\nMathewstad,·VT·12783',·'mail':·'kimberly00@yahoo.com',·'birthdate':·datetime.date(1928,·11,·6)}</span> |
| 68 | <span·class="go">{'job':·'Television·production·assistant',·'company':·'Ward-Hays',·'ssn':·'133-38-1883',·'residence':·'42814·Houston·Hills\nRodriguezside,·PW·63569',·'current_location':·(Decimal('37.2396545'),·Decimal('0.968737')),·'blood_group':·'AB-',·'website':·['https://www.jimenez.com/'],·'username':·'joneschristopher',·'name':·'Jaime·Villegas',·'sex':·'F',·'address':·'0168·West·Overpass\nSouth·Christopher,·IN·34699',·'mail':·'ryanhoward@gmail.com',·'birthdate':·datetime.date(200 | 68 | <span·class="go">{'job':·'Television·production·assistant',·'company':·'Ward-Hays',·'ssn':·'133-38-1883',·'residence':·'42814·Houston·Hills\nRodriguezside,·PW·63569',·'current_location':·(Decimal('37.2396545'),·Decimal('0.968737')),·'blood_group':·'AB-',·'website':·['https://www.jimenez.com/'],·'username':·'joneschristopher',·'name':·'Jaime·Villegas',·'sex':·'F',·'address':·'0168·West·Overpass\nSouth·Christopher,·IN·34699',·'mail':·'ryanhoward@gmail.com',·'birthdate':·datetime.date(2005,·3,·11)}</span> |
| 69 | </pre></div> | 69 | </pre></div> |
| 70 | </div> | 70 | </div> |
| 71 | </dd></dl> | 71 | </dd></dl> |
| 72 | <dl·class="py·method"> | 72 | <dl·class="py·method"> |
| 73 | <dt·class="sig·sig-object·py"·id="faker.providers.profile.Provider.simple_profile"> | 73 | <dt·class="sig·sig-object·py"·id="faker.providers.profile.Provider.simple_profile"> |
| 74 | <span·class="sig-name·descname"><span·class="pre">simple_profile</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">sex</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Literal"·title="(in·Python·v3.13)"><span·class="pre">Literal</span></a><span·class="p"><span·class="pre">[</span></span><span·class="s"><span·class="pre">'M'</span></span><span·class="p"><span·class="pre">,</span></span><span·class="w">·</span><span·class="s"><span·class="pre">'F'</span></span><span·class="p"><span·class="pre">,</span></span><span·class="w">·</span><span·class="s"><span·class="pre">'X'</span></span><span·class="p"><span·class="pre">]</span></span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Dict"·title="(in·Python·v3.13)"><span·class="pre">Dict</span></a><span·class="p"><span·class="pre">[</span></span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="p"><span·class="pre">,</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Literal"·title="(in·Python·v3.13)"><span·class="pre">Literal</span></a><span·class="p"><span·class="pre">[</span></span><span·class="s"><span·class="pre">'M'</span></span><span·class="p"><span·class="pre">,</span></span><span·class="w">·</span><span·class="s"><span·class="pre">'F'</span></span><span·class="p"><span·class="pre">,</span></span><span·class="w">·</span><span·class="s"><span·class="pre">'X'</span></span><span·class="p"><span·class="pre">]</span></span><span·class="p"><span·class="pre">]</span></span></span></span><a·class="headerlink"·href="#faker.providers.profile.Provider.simple_profile"·title="Link·to·this·definition">¶</a></dt> | 74 | <span·class="sig-name·descname"><span·class="pre">simple_profile</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">sex</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Literal"·title="(in·Python·v3.13)"><span·class="pre">Literal</span></a><span·class="p"><span·class="pre">[</span></span><span·class="s"><span·class="pre">'M'</span></span><span·class="p"><span·class="pre">,</span></span><span·class="w">·</span><span·class="s"><span·class="pre">'F'</span></span><span·class="p"><span·class="pre">,</span></span><span·class="w">·</span><span·class="s"><span·class="pre">'X'</span></span><span·class="p"><span·class="pre">]</span></span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Dict"·title="(in·Python·v3.13)"><span·class="pre">Dict</span></a><span·class="p"><span·class="pre">[</span></span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="p"><span·class="pre">,</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.13)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Literal"·title="(in·Python·v3.13)"><span·class="pre">Literal</span></a><span·class="p"><span·class="pre">[</span></span><span·class="s"><span·class="pre">'M'</span></span><span·class="p"><span·class="pre">,</span></span><span·class="w">·</span><span·class="s"><span·class="pre">'F'</span></span><span·class="p"><span·class="pre">,</span></span><span·class="w">·</span><span·class="s"><span·class="pre">'X'</span></span><span·class="p"><span·class="pre">]</span></span><span·class="p"><span·class="pre">]</span></span></span></span><a·class="headerlink"·href="#faker.providers.profile.Provider.simple_profile"·title="Link·to·this·definition">¶</a></dt> |
| Offset 78, 19 lines modified | Offset 78, 19 lines modified | ||
| 78 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 78 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 79 | <dd·class="field-odd"><p></p></dd> | 79 | <dd·class="field-odd"><p></p></dd> |
| 80 | </dl> | 80 | </dl> |
| 81 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 81 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 82 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 82 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 83 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">simple_profile</span><span·class="p">()</span> | 83 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">simple_profile</span><span·class="p">()</span> |
| 84 | <span·class="gp">...</span> | 84 | <span·class="gp">...</span> |
| 85 | <span·class="go">{'username':·'ysullivan',·'name':·'Jason·Green',·'sex':·'M',·'address':·'9382·Taylor·Court·Suite·892\nCoreyland,·MH·90152',·'mail':·'thomas15@yahoo.com',·'birthdate':·datetime.date(194 | 85 | <span·class="go">{'username':·'ysullivan',·'name':·'Jason·Green',·'sex':·'M',·'address':·'9382·Taylor·Court·Suite·892\nCoreyland,·MH·90152',·'mail':·'thomas15@yahoo.com',·'birthdate':·datetime.date(1946,·7,·9)}</span> |
| 86 | <span·class="go">{'username':·'davismary',·'name':·'Mrs.·Sharon·Green',·'sex':·'F',·'address':·'753·Padilla·Circles\nNew·Jeffrey,·AS·19178',·'mail':·'udavis@hotmail.com',·'birthdate':·datetime.date(202 | 86 | <span·class="go">{'username':·'davismary',·'name':·'Mrs.·Sharon·Green',·'sex':·'F',·'address':·'753·Padilla·Circles\nNew·Jeffrey,·AS·19178',·'mail':·'udavis@hotmail.com',·'birthdate':·datetime.date(2025,·8,·10)}</span> |
| 87 | <span·class="go">{'username':·'lisa83',·'name':·'Juan·Mann',·'sex':·'M',·'address':·'USNV·Wallace\nFPO·AP·50950',·'mail':·'barbara42@gmail.com',·'birthdate':·datetime.date(200 | 87 | <span·class="go">{'username':·'lisa83',·'name':·'Juan·Mann',·'sex':·'M',·'address':·'USNV·Wallace\nFPO·AP·50950',·'mail':·'barbara42@gmail.com',·'birthdate':·datetime.date(2005,·2,·17)}</span> |
| 88 | <span·class="go">{'username':·'sheltondavid',·'name':·'Mary·Alvarez',·'sex':·'F',·'address':·'86848·Melissa·Springs\nRileymouth,·NM·87040',·'mail':·'christopher91@yahoo.com',·'birthdate':·datetime.date(197 | 88 | <span·class="go">{'username':·'sheltondavid',·'name':·'Mary·Alvarez',·'sex':·'F',·'address':·'86848·Melissa·Springs\nRileymouth,·NM·87040',·'mail':·'christopher91@yahoo.com',·'birthdate':·datetime.date(1977,·12,·10)}</span> |
| 89 | <span·class="go">{'username':·'thorntonnathan',·'name':·'David·Dennis',·'sex':·'M',·'address':·'12309·Anthony·Roads·Apt.·991\nDavisville,·AZ·79865',·'mail':·'leetara@hotmail.com',·'birthdate':·datetime.date(192 | 89 | <span·class="go">{'username':·'thorntonnathan',·'name':·'David·Dennis',·'sex':·'M',·'address':·'12309·Anthony·Roads·Apt.·991\nDavisville,·AZ·79865',·'mail':·'leetara@hotmail.com',·'birthdate':·datetime.date(1924,·3,·19)}</span> |
| 90 | </pre></div> | 90 | </pre></div> |
| 91 | </div> | 91 | </div> |
| 92 | </dd></dl> | 92 | </dd></dl> |
| 93 | </dd></dl> | 93 | </dd></dl> |
| 94 | </section> | 94 | </section> |
| Offset 23, 78 lines modified | Offset 23, 79 lines modified | ||
| 23 | ············{'job':·'Musician',·'company':·'Williams-Sheppard',·'ssn':·'498-52- | 23 | ············{'job':·'Musician',·'company':·'Williams-Sheppard',·'ssn':·'498-52- |
| 24 | ············4970',·'residence':·'Unit·5938·Box·2421\nDPO·AP·33335',·'current_ | 24 | ············4970',·'residence':·'Unit·5938·Box·2421\nDPO·AP·33335',·'current_ |
| 25 | ············location':·(Decimal('52.958961'),·Decimal('143.143712')),·'blood_ | 25 | ············location':·(Decimal('52.958961'),·Decimal('143.143712')),·'blood_ |
| 26 | ············group':·'B+',·'website':·['http://www.rivera.com/',·'http://grimes- | 26 | ············group':·'B+',·'website':·['http://www.rivera.com/',·'http://grimes- |
| 27 | ············green.net/',·'http://www.larsen.com/'],·'username':·'leeashley', | 27 | ············green.net/',·'http://www.larsen.com/'],·'username':·'leeashley', |
| 28 | ············'name':·'Gary·Cross',·'sex':·'M',·'address':·'711·Golden | 28 | ············'name':·'Gary·Cross',·'sex':·'M',·'address':·'711·Golden |
| 29 | ············Overpass\nWest·Andreaville,·OH·44115',·'mail': | 29 | ············Overpass\nWest·Andreaville,·OH·44115',·'mail': |
| 30 | ············'tamaramorrison@hotmail.com',·'birthdate':·datetime.date(194 | 30 | ············'tamaramorrison@hotmail.com',·'birthdate':·datetime.date(1943,·3, |
| 31 | ············18)} | 31 | ············18)} |
| 32 | ············{'job':·'Chemist,·analytical',·'company':·'Yates,·Stewart·and | 32 | ············{'job':·'Chemist,·analytical',·'company':·'Yates,·Stewart·and |
| 33 | ············Allen',·'ssn':·'189-25-3060',·'residence':·'1122·Megan·Squares | 33 | ············Allen',·'ssn':·'189-25-3060',·'residence':·'1122·Megan·Squares |
| 34 | ············Suite·848\nPort·Jason,·TX·77807',·'current_location':·(Decimal | 34 | ············Suite·848\nPort·Jason,·TX·77807',·'current_location':·(Decimal |
| 35 | ············('22.588068'),·Decimal('131.221390')),·'blood_group':·'AB+', | 35 | ············('22.588068'),·Decimal('131.221390')),·'blood_group':·'AB+', |
| 36 | ············'website':·['https://nguyen.info/',·'https://www.smith.com/', | 36 | ············'website':·['https://nguyen.info/',·'https://www.smith.com/', |
| 37 | ············'http://cook.com/',·'http://www.montoya.net/'],·'username': | 37 | ············'http://cook.com/',·'http://www.montoya.net/'],·'username': |
| 38 | ············'myersmitchell',·'name':·'Madison·Obrien',·'sex':·'F',·'address': | 38 | ············'myersmitchell',·'name':·'Madison·Obrien',·'sex':·'F',·'address': |
| 39 | ············'Unit·0903·Box·2173\nDPO·AP·08507',·'mail': | 39 | ············'Unit·0903·Box·2173\nDPO·AP·08507',·'mail': |
| 40 | ············'stephenschristine@yahoo.com',·'birthdate':·datetime.date(191 | 40 | ············'stephenschristine@yahoo.com',·'birthdate':·datetime.date(1917,·12, |
| 41 | ············1 | 41 | ············18)} |
| 42 | ············{'job':·'Building·surveyor',·'company':·'Turner,·Graham·and·Brown', | 42 | ············{'job':·'Building·surveyor',·'company':·'Turner,·Graham·and·Brown', |
| 43 | ············'ssn':·'479-06-9773',·'residence':·'45792·Tammy·Centers·Apt. | 43 | ············'ssn':·'479-06-9773',·'residence':·'45792·Tammy·Centers·Apt. |
| 44 | ············258\nDavidmouth,·TN·23414',·'current_location':·(Decimal('- | 44 | ············258\nDavidmouth,·TN·23414',·'current_location':·(Decimal('- |
| 45 | ············86.4556435'),·Decimal('73.201966')),·'blood_group':·'O+', | 45 | ············86.4556435'),·Decimal('73.201966')),·'blood_group':·'O+', |
| 46 | ············'website':·['https://king.com/',·'https://www.campbell.com/', | 46 | ············'website':·['https://king.com/',·'https://www.campbell.com/', |
| 47 | ············'https://arroyo.com/'],·'username':·'hollymoore',·'name':·'Ronald | 47 | ············'https://arroyo.com/'],·'username':·'hollymoore',·'name':·'Ronald |
| 48 | ············Miller',·'sex':·'M',·'address':·'9606·Barton·Station·Apt. | 48 | ············Miller',·'sex':·'M',·'address':·'9606·Barton·Station·Apt. |
| 49 | ············271\nJacquelinemouth,·NC·64367',·'mail':·'hensontroy@yahoo.com', | 49 | ············271\nJacquelinemouth,·NC·64367',·'mail':·'hensontroy@yahoo.com', |
| 50 | ············'birthdate':·datetime.date(200 | 50 | ············'birthdate':·datetime.date(2007,·1,·8)} |
| 51 | ············{'job':·'Arts·administrator',·'company':·'Lopez-Key',·'ssn':·'649- | 51 | ············{'job':·'Arts·administrator',·'company':·'Lopez-Key',·'ssn':·'649- |
| 52 | ············11-2139',·'residence':·'Unit·6650·Box·3008\nDPO·AP·13317', | 52 | ············11-2139',·'residence':·'Unit·6650·Box·3008\nDPO·AP·13317', |
| 53 | ············'current_location':·(Decimal('-38.8738015'),·Decimal('- | 53 | ············'current_location':·(Decimal('-38.8738015'),·Decimal('- |
| 54 | ············116.163958')),·'blood_group':·'B-',·'website':·['https:// | 54 | ············116.163958')),·'blood_group':·'B-',·'website':·['https:// |
| 55 | ············www.alvarez.com/',·'http://marsh-wilson.com/',·'http://wiggins.com/ | 55 | ············www.alvarez.com/',·'http://marsh-wilson.com/',·'http://wiggins.com/ |
| 56 | ············'],·'username':·'sheena09',·'name':·'Melanie·Grant',·'sex':·'F', | 56 | ············'],·'username':·'sheena09',·'name':·'Melanie·Grant',·'sex':·'F', |
| 57 | ············'address':·'658·Jared·Radial·Suite·022\nMathewstad,·VT·12783', | 57 | ············'address':·'658·Jared·Radial·Suite·022\nMathewstad,·VT·12783', |
| 58 | ············'mail':·'kimberly00@yahoo.com',·'birthdate':·datetime.date(192 | 58 | ············'mail':·'kimberly00@yahoo.com',·'birthdate':·datetime.date(1928, |
| 59 | ············1 | 59 | ············11,·6)} |
| 60 | ············{'job':·'Television·production·assistant',·'company':·'Ward-Hays', | 60 | ············{'job':·'Television·production·assistant',·'company':·'Ward-Hays', |
| 61 | ············'ssn':·'133-38-1883',·'residence':·'42814·Houston | 61 | ············'ssn':·'133-38-1883',·'residence':·'42814·Houston |
| 62 | ············Hills\nRodriguezside,·PW·63569',·'current_location':·(Decimal | 62 | ············Hills\nRodriguezside,·PW·63569',·'current_location':·(Decimal |
| 63 | ············('37.2396545'),·Decimal('0.968737')),·'blood_group':·'AB-', | 63 | ············('37.2396545'),·Decimal('0.968737')),·'blood_group':·'AB-', |
| 64 | ············'website':·['https://www.jimenez.com/'],·'username': | 64 | ············'website':·['https://www.jimenez.com/'],·'username': |
| 65 | ············'joneschristopher',·'name':·'Jaime·Villegas',·'sex':·'F', | 65 | ············'joneschristopher',·'name':·'Jaime·Villegas',·'sex':·'F', |
| 66 | ············'address':·'0168·West·Overpass\nSouth·Christopher,·IN·34699', | 66 | ············'address':·'0168·West·Overpass\nSouth·Christopher,·IN·34699', |
| 67 | ············'mail':·'ryanhoward@gmail.com',·'birthdate':·datetime.date(200 | 67 | ············'mail':·'ryanhoward@gmail.com',·'birthdate':·datetime.date(2005,·3, |
| 68 | ············1 | 68 | ············11)} |
| 69 | ········simple_profile(sex:·Literal['M',·'F',·'X']·|·None·=·None)·→·Dict[str, | 69 | ········simple_profile(sex:·Literal['M',·'F',·'X']·|·None·=·None)·→·Dict[str, |
| 70 | ········str·|·date·|·Literal['M',·'F',·'X']]¶ | 70 | ········str·|·date·|·Literal['M',·'F',·'X']]¶ |
| 71 | ············Generates·a·basic·profile·with·personal·informations | 71 | ············Generates·a·basic·profile·with·personal·informations |
| 72 | ··············Examples: | 72 | ··············Examples: |
| 73 | ············>>>·Faker.seed(0) | 73 | ············>>>·Faker.seed(0) |
| 74 | ············>>>·for·_·in·range(5): | 74 | ············>>>·for·_·in·range(5): |
| 75 | ············...·····fake.simple_profile() | 75 | ············...·····fake.simple_profile() |
| 76 | ············... | 76 | ············... |
| 77 | ············{'username':·'ysullivan',·'name':·'Jason·Green',·'sex':·'M', | 77 | ············{'username':·'ysullivan',·'name':·'Jason·Green',·'sex':·'M', |
| 78 | ············'address':·'9382·Taylor·Court·Suite·892\nCoreyland,·MH·90152', | 78 | ············'address':·'9382·Taylor·Court·Suite·892\nCoreyland,·MH·90152', |
| 79 | ············'mail':·'thomas15@yahoo.com',·'birthdate':·datetime.date(194 | 79 | ············'mail':·'thomas15@yahoo.com',·'birthdate':·datetime.date(1946,·7, |
| 80 | ············ | 80 | ············9)} |
| 81 | ············{'username':·'davismary',·'name':·'Mrs.·Sharon·Green',·'sex':·'F', | 81 | ············{'username':·'davismary',·'name':·'Mrs.·Sharon·Green',·'sex':·'F', |
| 82 | ············'address':·'753·Padilla·Circles\nNew·Jeffrey,·AS·19178',·'mail': | 82 | ············'address':·'753·Padilla·Circles\nNew·Jeffrey,·AS·19178',·'mail': |
| 83 | ············'udavis@hotmail.com',·'birthdate':·datetime.date(202 | 83 | ············'udavis@hotmail.com',·'birthdate':·datetime.date(2025,·8,·10)} |
| 84 | ············{'username':·'lisa83',·'name':·'Juan·Mann',·'sex':·'M',·'address': | 84 | ············{'username':·'lisa83',·'name':·'Juan·Mann',·'sex':·'M',·'address': |
| 85 | ············'USNV·Wallace\nFPO·AP·50950',·'mail':·'barbara42@gmail.com', | 85 | ············'USNV·Wallace\nFPO·AP·50950',·'mail':·'barbara42@gmail.com', |
| 86 | ············'birthdate':·datetime.date(200 | 86 | ············'birthdate':·datetime.date(2005,·2,·17)} |
| 87 | ············{'username':·'sheltondavid',·'name':·'Mary·Alvarez',·'sex':·'F', | 87 | ············{'username':·'sheltondavid',·'name':·'Mary·Alvarez',·'sex':·'F', |
| 88 | ············'address':·'86848·Melissa·Springs\nRileymouth,·NM·87040',·'mail': | 88 | ············'address':·'86848·Melissa·Springs\nRileymouth,·NM·87040',·'mail': |
| 89 | ············'christopher91@yahoo.com',·'birthdate':·datetime.date(197 | 89 | ············'christopher91@yahoo.com',·'birthdate':·datetime.date(1977,·12, |
| 90 | ············10)} | ||
| 90 | ············{'username':·'thorntonnathan',·'name':·'David·Dennis',·'sex':·'M', | 91 | ············{'username':·'thorntonnathan',·'name':·'David·Dennis',·'sex':·'M', |
| 91 | ············'address':·'12309·Anthony·Roads·Apt.·991\nDavisville,·AZ·79865', | 92 | ············'address':·'12309·Anthony·Roads·Apt.·991\nDavisville,·AZ·79865', |
| 92 | ············'mail':·'leetara@hotmail.com',·'birthdate':·datetime.date(192 | 93 | ············'mail':·'leetara@hotmail.com',·'birthdate':·datetime.date(1924,·3, |
| 93 | ············ | 94 | ············19)} |
| 94 | ****·Table_of_Contents·**** | 95 | ****·Table_of_Contents·**** |
| 95 | ····*·faker.providers.profile | 96 | ····*·faker.providers.profile |
| 96 | ··········o·Provider | 97 | ··········o·Provider |
| 97 | ················#·Provider.profile() | 98 | ················#·Provider.profile() |
| 98 | ················#·Provider.simple_profile() | 99 | ················#·Provider.simple_profile() |
| 99 | ***·Previous·topic·*** | 100 | ***·Previous·topic·*** |
| 100 | faker.providers.phone_number | 101 | faker.providers.phone_number |
| Offset 128, 18 lines modified | Offset 128, 18 lines modified | ||
| 128 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 128 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
| 129 | <dd·class="field-even"><p></p></dd> | 129 | <dd·class="field-even"><p></p></dd> |
| 130 | </dl> | 130 | </dl> |
| 131 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 131 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 132 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 132 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 133 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">pydict</span><span·class="p">()</span> | 133 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">pydict</span><span·class="p">()</span> |
| 134 | <span·class="gp">...</span> | 134 | <span·class="gp">...</span> |
| 135 | <span·class="go">{'son':·-9787526.29318886,·'voice':·datetime.datetime(1977,·1 | 135 | <span·class="go">{'son':·-9787526.29318886,·'voice':·datetime.datetime(1977,·10,·11,·16,·56,·16,·790350),·'kitchen':·'NGnVZQUqLUJyfwFVYySn',·'amount':·datetime.datetime(2021,·2,·25,·3,·28,·22,·138024),·'event':·'LuQIazTmqTjDmYPxeqAW',·'much':·'ppgrVkPCoePqmjQbZndJ',·'mention':·'TWRUWCuKoQSUEXExIZVP',·'interview':·'qfErjaoKtiwdOSlQGWFd',·'why':·'HFDutYbbXjgkPWbwfnlH',·'step':·7144}</span> |
| 136 | <span·class="go">{'ask':·'nVyUDKkNPiiBgVIaJUTV',·'most':·'paul42@example.net',·'manage':·'xeMChNzFJEUSgqMReEKi',·'among':·'HtTDvuKvIcxniBzDNTzq',·'pick':·Decimal('11411791321240764654788082438993844835687523124385969.650300891319344217610471428512400034855909776582369'),·'blood':·38191497835621.5,·'scene':·6016,·'include':·'rGciZpuCpymcjBdurvfV'}</span> | 136 | <span·class="go">{'ask':·'nVyUDKkNPiiBgVIaJUTV',·'most':·'paul42@example.net',·'manage':·'xeMChNzFJEUSgqMReEKi',·'among':·'HtTDvuKvIcxniBzDNTzq',·'pick':·Decimal('11411791321240764654788082438993844835687523124385969.650300891319344217610471428512400034855909776582369'),·'blood':·38191497835621.5,·'scene':·6016,·'include':·'rGciZpuCpymcjBdurvfV'}</span> |
| 137 | <span·class="go">{'green':·987508377.174646,·'thought':·'odrake@example.org',·'success':·'QklufCpVOLlelZEijfQS',·'task':·'UxJgukcXlhktChZZhvJT',·'gun':·Decimal('-993195182255103703960295170580683369394227422405918440248896642.305550824926947118013204075227586880918916348967699300248945174466602234500762'),·'capital':·Decimal('67972839855751940235263820229154889584951907196767287332264888028711981316080836396161.7017200992518536710979519426418306753751007408993'),·'measure':·'eQUOKvpfwDVWvfOMbxJb',·'business':·4138,·'scene':·'sgJrjRltFhaIMUMpJWmh',·'modern':·Decimal('4805760532403649269240146150593215888587311532081726339112030.5291189426223583324560290611264862964513758066065735471214189276266237'),·'last':·8574,·'always':·'sGeNpRxylfYpFwNezXCv'}</span> | 137 | <span·class="go">{'green':·987508377.174646,·'thought':·'odrake@example.org',·'success':·'QklufCpVOLlelZEijfQS',·'task':·'UxJgukcXlhktChZZhvJT',·'gun':·Decimal('-993195182255103703960295170580683369394227422405918440248896642.305550824926947118013204075227586880918916348967699300248945174466602234500762'),·'capital':·Decimal('67972839855751940235263820229154889584951907196767287332264888028711981316080836396161.7017200992518536710979519426418306753751007408993'),·'measure':·'eQUOKvpfwDVWvfOMbxJb',·'business':·4138,·'scene':·'sgJrjRltFhaIMUMpJWmh',·'modern':·Decimal('4805760532403649269240146150593215888587311532081726339112030.5291189426223583324560290611264862964513758066065735471214189276266237'),·'last':·8574,·'always':·'sGeNpRxylfYpFwNezXCv'}</span> |
| 138 | <span·class="go">{'age':·Decimal('21382039273173884082527988465816382796350650960388704316804460314001343271628396494204470750330.1448'),·'camera':·1936,·'expect':·datetime.datetime(201 | 138 | <span·class="go">{'age':·Decimal('21382039273173884082527988465816382796350650960388704316804460314001343271628396494204470750330.1448'),·'camera':·1936,·'expect':·datetime.datetime(2017,·12,·29,·21,·32,·14,·820137),·'use':·'dSogBkfXCMVoxDhgguyD',·'relate':·-797087381.435271,·'amount':·'yKqHdpMcGbyUaBdTJMIa',·'a':·'gaoHpUhDjwLtrHJhWhqk',·'establish':·'xPuPulkWEcumejcHjFF[·...·truncated·by·diffoscope;·len:·81,·SHA:·add01c948d08b794ba9bb96883177779d6064b30ad03f84370842e77ffd69865·...·]),·'never':·6740,·'voice':·Decimal('97183309942242775163299956300966980935197130931292396426904842486602508273832146.9774735400025040216396837359191558754080351385334448647'),·'party':·3931,·'see':·'pCazwVvzwemQhTlFQDUu',·'individual':·'mlRosZfUFPKOAyGoaFLi'}</span> |
| 139 | <span·class="go">{'energy':·'gHgMsJKIlRmAJmGoiQCr',·'discover':·'http://www.harrington.org/main/wp-contenthome.html',·'feel':·'mgmtFgzVGbEzqXCiTQMC',·'until':·'nFKQOtdbLYrwLInIpsCM',·'simply':·'szdmaXqQrIhVxhqHLOva',·'receive':·-795959.45031711,·'according':·'http://lyons.com/wp-content/categoriesfaq.asp',·'site':·'XXUMRDLwSfGKFcrMtGUz',·'north':·4796,·'myself':·'stephenromero@example.org',·'later':·5531}</span> | 139 | <span·class="go">{'energy':·'gHgMsJKIlRmAJmGoiQCr',·'discover':·'http://www.harrington.org/main/wp-contenthome.html',·'feel':·'mgmtFgzVGbEzqXCiTQMC',·'until':·'nFKQOtdbLYrwLInIpsCM',·'simply':·'szdmaXqQrIhVxhqHLOva',·'receive':·-795959.45031711,·'according':·'http://lyons.com/wp-content/categoriesfaq.asp',·'site':·'XXUMRDLwSfGKFcrMtGUz',·'north':·4796,·'myself':·'stephenromero@example.org',·'later':·5531}</span> |
| 140 | </pre></div> | 140 | </pre></div> |
| 141 | </div> | 141 | </div> |
| 142 | </dd></dl> | 142 | </dd></dl> |
| 143 | <dl·class="py·method"> | 143 | <dl·class="py·method"> |
| 144 | <dt·class="sig·sig-object·py"·id="faker.providers.python.Provider.pyfloat"> | 144 | <dt·class="sig·sig-object·py"·id="faker.providers.python.Provider.pyfloat"> |
| Offset 188, 18 lines modified | Offset 188, 18 lines modified | ||
| 188 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 188 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 189 | <dd·class="field-odd"><p></p></dd> | 189 | <dd·class="field-odd"><p></p></dd> |
| 190 | </dl> | 190 | </dl> |
| 191 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 191 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 192 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 192 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 193 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">pyiterable</span><span·class="p">()</span> | 193 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">pyiterable</span><span·class="p">()</span> |
| 194 | <span·class="gp">...</span> | 194 | <span·class="gp">...</span> |
| 195 | <span·class="go">('nAvOpyEVAoNGnVZQUqLU',·'thomas15@example.com',·3350,·datetime.datetime(199 | 195 | <span·class="go">('nAvOpyEVAoNGnVZQUqLU',·'thomas15@example.com',·3350,·datetime.datetime(1996,·8,·21,·8,·42,·31,·275684),·datetime.datetime(1984,·7,·19,·3,·35,·8,·608390),·datetime.datetime(2021,·2,·25,·3,·28,·22,·138024),·'LuQIazTmqTjDmYPxeqAW',·'ppgrVkPCoePqmjQbZndJ',·'TWRUWCuKoQSUEXExIZVP',·'qfErjaoKtiwdOSlQGWFd',·'HFDutYbbXjgkPWbwfnlH')</span> |
| 196 | <span·class="go">('dyFKunVyUDKkNPiiBgVI',·'yvDAqsRnDaMrcomXsosX',·'jenniferhughes@example.com',·'smithjames@example.com',·'mHtTDvuKvIcxniBzDNTz',·-0.58427929423069,·'CYYRgaXvaaNYJFjFkpJj',·Decimal('-23587860434913790978655934625693951978093570729960966912834032313989657524780944.4000348559097765823'),·9619,·38191497835621.5,·6016)</span> | 196 | <span·class="go">('dyFKunVyUDKkNPiiBgVI',·'yvDAqsRnDaMrcomXsosX',·'jenniferhughes@example.com',·'smithjames@example.com',·'mHtTDvuKvIcxniBzDNTz',·-0.58427929423069,·'CYYRgaXvaaNYJFjFkpJj',·Decimal('-23587860434913790978655934625693951978093570729960966912834032313989657524780944.4000348559097765823'),·9619,·38191497835621.5,·6016)</span> |
| 197 | <span·class="go">{datetime.datetime(1998,·8,·9,·8,·59,·6,·179665),·584,·'ohEsZgfLWqSLpRpfDzrP',·'http://www.bruce-compton.org/tag/posts/searchfaq.php',·Decimal('18000400001558710168379151556371850715591491746684745560870153172067760283158232944569591.3306016884'),·2036,·Decimal('-5566738374584561609320871321036086986788440028749554064377698700636073309631096713016282417601397773.26351108731764303921376582197296687577389305550824926947118013204075227586')}</span> | ||
| 198 | <span·class="go">{ | 197 | <span·class="go">{584,·Decimal('18000400001558710168379151556371850715591491746684745560870153172067760283158232944569591.3306016884'),·2036,·Decimal('-5566738374584561609320871321036086986788440028749554064377698700636073309631096713016282417601397773.263511087[·...·truncated·by·diffoscope;·len:·214,·SHA:·1f8e691d1da80a88611f32c0ff698da762c98b8fab6b7bf5bb552c59fa3e6107·...·]'}</span> |
| 198 | <span·class="go">{'FgqKHkOOfdKFWHYLpSXu',·'hUvefdviXPwvzSqnsgJr',·'IajAndSXpvQdHgoRcbvz',·'aYQdUkkJWgatbFSjfrXg',·'http://www.garcia.com/category/tagscategory.jsp',·531.866983954573,·'butjsGXUcnbBDTlOUGAB',·datetime.datetime(1987,·1,·19,·7,·24,·52,·297969)}</span> | ||
| 199 | <span·class="go">[7755,·-9380404207.10591,·'BqthglAmjtISFuKgpvWE',·-1385.61194945311,·'dana80@example.com',·138,·5253,·Decimal('96801170218340119083001529540605235227463678180.14189276266237582571734'),·'RxylfYpFwNezXCvGboIa',·8619]</span> | 199 | <span·class="go">[7755,·-9380404207.10591,·'BqthglAmjtISFuKgpvWE',·-1385.61194945311,·'dana80@example.com',·138,·5253,·Decimal('96801170218340119083001529540605235227463678180.14189276266237582571734'),·'RxylfYpFwNezXCvGboIa',·8619]</span> |
| 200 | </pre></div> | 200 | </pre></div> |
| 201 | </div> | 201 | </div> |
| 202 | </dd></dl> | 202 | </dd></dl> |
| 203 | <dl·class="py·method"> | 203 | <dl·class="py·method"> |
| 204 | <dt·class="sig·sig-object·py"·id="faker.providers.python.Provider.pylist"> | 204 | <dt·class="sig·sig-object·py"·id="faker.providers.python.Provider.pylist"> |
| Offset 208, 19 lines modified | Offset 208, 19 lines modified | ||
| 208 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 208 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 209 | <dd·class="field-odd"><p></p></dd> | 209 | <dd·class="field-odd"><p></p></dd> |
| 210 | </dl> | 210 | </dl> |
| 211 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 211 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 212 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 212 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 213 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">pylist</span><span·class="p">()</span> | 213 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">pylist</span><span·class="p">()</span> |
| 214 | <span·class="gp">...</span> | 214 | <span·class="gp">...</span> |
| 215 | <span·class="go">[663,·-424604.985946604,·-9787526.29318886,·datetime.datetime(1977,·1 | 215 | <span·class="go">[663,·-424604.985946604,·-9787526.29318886,·datetime.datetime(1977,·10,·11,·16,·56,·16,·790350),·'NGnVZQUqLUJyfwFVYySn',·datetime.datetime(2021,·2,·25,·3,·28,·22,·138024),·'LuQIazTmqTjDmYPxeqAW',·'ppgrVkPCoePqmjQbZndJ',·'TWRUWCuKoQSUEXExIZVP',·'qfErjaoKtiwdOSlQGWFd']</span> |
| 216 | <span·class="go">['catherinejohnston@example.com',·'tYbbXjgkPWbwfnlHsjAc',·'KunVyUDKkNPiiBgVIaJU',·datetime.datetime(202 | 216 | <span·class="go">['catherinejohnston@example.com',·'tYbbXjgkPWbwfnlHsjAc',·'KunVyUDKkNPiiBgVIaJU',·datetime.datetime(2021,·3,·28,·1,·53,·45,·790524),·'paul42@example.net',·'xeMChNzFJEUSgqMReEKi',·'HtTDvuKvIcxniBzDNTzq']</span> |
| 217 | <span·class="go">['QTQjZGeLZuJqlLaQBfgH',·4725240091.51995,·'johnsonrobin@example.org',·-958272097856.158,·0.28952549189774,·'angela59@example.org',·'https://taylor.com/tag/list/wp-contentcategory.htm',·6016,·'rGciZpuCpymcjBdurvfV',·Decimal('-6549903182054842898289740559728455724548119.045229611133060168847793615349263511087317643039213765'),·datetime.datetime(201 | 217 | <span·class="go">['QTQjZGeLZuJqlLaQBfgH',·4725240091.51995,·'johnsonrobin@example.org',·-958272097856.158,·0.28952549189774,·'angela59@example.org',·'https://taylor.com/tag/list/wp-contentcategory.htm',·6016,·'rGciZpuCpymcjBdurvfV',·Decimal('-6549903182054842898289740559728455724548119.045229611133060168847793615349263511087317643039213765'),·datetime.datetime(2016,·3,·7,·16,·32,·19,·18572)]</span> |
| 218 | <span·class="go">['https://www.bolton-reid.com/category/blog/listregister.php',·datetime.datetime(2004,· | 218 | <span·class="go">['https://www.bolton-reid.com/category/blog/listregister.php',·datetime.datetime(2004,·1,·20,·5,·28,·52,·184384),·'aKMqqBTFitpKyPAVdgpN',·Decimal('-74655832342888117024.8091891634896769930024894517446660223450076279125609767017200992518'),·'james71@example.org',·'https://lloyd-stark.com/main/blog/tagsprivacy.html&[·...·truncated·by·diffoscope;·len:·55,·SHA:·5efc8903511c75e355a4cc8a551b0258ad77883d2dda35a4894f07f5ed382aab·...·])]</span> |
| 219 | <span·class="go">['OxNxPdcWzUXIDleQUOKv',·7424134494689.1,·'vfOMbxJbVYLedsbsaYQd',·'kkJWgatbFSjfrXgYsypW',·datetime.datetime(200 | 219 | <span·class="go">['OxNxPdcWzUXIDleQUOKv',·7424134494689.1,·'vfOMbxJbVYLedsbsaYQd',·'kkJWgatbFSjfrXgYsypW',·datetime.datetime(2005,·7,·6,·11,·58,·2,·533493),·'EeBqthglAmjtISFuKgpv',·'EpsmGHBtaYUwtXejffFi',·Decimal('-75235466116100008450701.3758257173407970341489')]</span> |
| 220 | </pre></div> | 220 | </pre></div> |
| 221 | </div> | 221 | </div> |
| 222 | </dd></dl> | 222 | </dd></dl> |
| 223 | <dl·class="py·method"> | 223 | <dl·class="py·method"> |
| 224 | <dt·class="sig·sig-object·py"·id="faker.providers.python.Provider.pyobject"> | 224 | <dt·class="sig·sig-object·py"·id="faker.providers.python.Provider.pyobject"> |
| 225 | <span·class="sig-name·descname"><span·class="pre">pyobject</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">object_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Type"·title="(in·Python·v3.13)"><span·class="pre">Type</span></a><span·class="p"><span·class="pre">[</span></span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#float"·title="(in·Python·v3.13)"><span·class="pre">float</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#tuple"·title="(in·Python·v3.13)"><span·class="pre">tuple</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#set"·title="(in·Python·v3.13)"><span·class="pre">set</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#list"·title="(in·Python·v3.13)"><span·class="pre">list</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Iterable"·title="(in·Python·v3.13)"><span·class="pre">Iterable</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#dict"·title="(in·Python·v3.13)"><span·class="pre">dict</span></a><span·class="p"><span·class="pre">]</span></span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#float"·title="(in·Python·v3.13)"><span·class="pre">float</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#tuple"·title="(in·Python·v3.13)"><span·class="pre">tuple</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#set"·title="(in·Python·v3.13)"><span·class="pre">set</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#list"·title="(in·Python·v3.13)"><span·class="pre">list</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Iterable"·title="(in·Python·v3.13)"><span·class="pre">Iterable</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#dict"·title="(in·Python·v3.13)"><span·class="pre">dict</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span></span><a·class="headerlink"·href="#faker.providers.python.Provider.pyobject"·title="Link·to·this·definition">¶</a></dt> | 225 | <span·class="sig-name·descname"><span·class="pre">pyobject</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">object_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Type"·title="(in·Python·v3.13)"><span·class="pre">Type</span></a><span·class="p"><span·class="pre">[</span></span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#float"·title="(in·Python·v3.13)"><span·class="pre">float</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#tuple"·title="(in·Python·v3.13)"><span·class="pre">tuple</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#set"·title="(in·Python·v3.13)"><span·class="pre">set</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#list"·title="(in·Python·v3.13)"><span·class="pre">list</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Iterable"·title="(in·Python·v3.13)"><span·class="pre">Iterable</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#dict"·title="(in·Python·v3.13)"><span·class="pre">dict</span></a><span·class="p"><span·class="pre">]</span></span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#float"·title="(in·Python·v3.13)"><span·class="pre">float</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#tuple"·title="(in·Python·v3.13)"><span·class="pre">tuple</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#set"·title="(in·Python·v3.13)"><span·class="pre">set</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#list"·title="(in·Python·v3.13)"><span·class="pre">list</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Iterable"·title="(in·Python·v3.13)"><span·class="pre">Iterable</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#dict"·title="(in·Python·v3.13)"><span·class="pre">dict</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span></span><a·class="headerlink"·href="#faker.providers.python.Provider.pyobject"·title="Link·to·this·definition">¶</a></dt> |
| Offset 258, 19 lines modified | Offset 258, 19 lines modified | ||
| 258 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 258 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 259 | <dd·class="field-odd"><p></p></dd> | 259 | <dd·class="field-odd"><p></p></dd> |
| 260 | </dl> | 260 | </dl> |
| 261 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 261 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 262 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 262 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 263 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">pyset</span><span·class="p">()</span> | 263 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">pyset</span><span·class="p">()</span> |
| 264 | <span·class="gp">...</span> | 264 | <span·class="gp">...</span> |
| 265 | <span·class="go">{'NGnVZQUqLUJyfwFVYySn',·-424604.985946604,·datetime.datetime(1977,·12,·6,·0,·32,·26,·42664),·datetime.datetime(2022,·2,·23,·23,·1,·55,·887859),·'ppgrVkPCoePqmjQbZndJ',·'TWRUWCuKoQSUEXExIZVP',·'LuQIazTmqTjDmYPxeqAW',·663,·-9787526.29318886,·'qfErjaoKtiwdOSlQGWFd'}</span> | ||
| 266 | <span·class="go">{'xeMChNzFJEUSgqMReEKi',·'HtTDvuKvIcxniBzDNTzq',·datetime.datetime(2022,·3,·27,·11,·54,·45,·215838),·'catherinejohnston@example.com',·'KunVyUDKkNPiiBgVIaJU',·'paul42@example.net',·'tYbbXjgkPWbwfnlHsjAc'}</span> | ||
| 267 | <span·class="go">{'johnsonrobin@example.org',·0.28952549189774,·-958272097856.158,·'angela59@example.org',·'https://taylor.com/tag/list/wp-contentcategory.htm',·6016,·datetime.datetime(2017,·1,·30,·3,·38,·44,·257442),·Decimal('-6549903182054842898289740559728455724548119.045229611133060168847793615349263511087317643039213765'),·'rGciZpuCpymcjBdurvfV',·'QTQjZGeLZuJqlLaQBfgH',·4725240091.51995}</span> | ||
| 268 | <span·class="go">{datetime.datetime(2004,·9,·18,·10,·0,·51,·554507),·'aKMqqBTFitpKyPAVdgpN',·datetime.datetime(2018,·12,·26,·14,·40,·7,·731433),·'https://lloyd-stark.com/main/blog/tagsprivacy.html',·'https://www.bolton-reid.com/category/blog/listregister.php',·Decimal('-74655832342888117024.8091891634896769930024894517446660223450076279125609767017200992518'),·'james71@example.org'}</span> | ||
| 269 | <span·class="go">{ | 265 | <span·class="go">{'NGnVZQUqLUJyfwFVYySn',·-424604.985946604,·datetime.datetime(2021,·2,·25,·3,·28,·22,·138024),·'LuQIazTmqTjDmYPxeqAW',·'qfErjaoKtiwdOSlQGWFd',·'ppgrVkPCoePqmjQbZndJ',·'TWRUWCuKoQSUEXExIZVP',·663,·-9787526.29318886,·da[·...·truncated·by·diffoscope;·len:·49,·SHA:·071e472b3562674df70f06a42e0e0993cb2de0bcce6ce97dd938e37ed8457a9b·...·]}</span> |
| 266 | <span·class="go">{'HtTDvuKvIcxniBzDNTzq',·'paul42@example.net',·'xeMChNzFJEUSgqMReEKi',·'tYbbXjgkPWbwfnlHsjAc',·'KunVyUDKkNPiiBgVIaJU',·'catherinejohnston@example.com',·datetime.datetime(2021,·3,·28,·1,·53,·45,·790524)}</span> | ||
| 267 | <span·class="go">{0.28952549189774,·-958272097856.158,·6016,·'johnsonrobin@example.org',·datetime.datetime(2016,·3,·7,·16,·32,·19,·18572),·'https://taylor.com/tag/list/wp-contentcategory.htm',·'rGciZpuCpymcjBdurvfV',·'QTQjZGeLZuJqlLaQBfgH',·Decimal('-6549903182054842898289740559728455724548119.045229611133060168847793615349263511087317643039213765'),·'angela59@example.org',·4725240091.51995}</span> | ||
| 268 | <span·class="go">{datetime.datetime(2004,·1,·20,·5,·28,·52,·184384),·datetime.datetime(2018,·1,·18,·20,·44,·50,·814037),·'https://www.bolton-reid.com/category/blog/listregister.php',·'aKMqqBTFitpKyPAVdgpN',·'james71@example.org',·Decimal('-74655832342888117024.8091891634896769930024894517446660223450076279125609767017200992518'),·'https://lloyd-stark.com/main/blog/tagsprivacy.html'}</span> | ||
| 269 | <span·class="go">{'OxNxPdcWzUXIDleQUOKv',·7424134494689.1,·'kkJWgatbFSjfrXgYsypW',·datetime.datetime(2005,·7,·6,·11,·58,·2,·533493),·'EeBqthglAmjtISFuKgpv',·Decimal('-75235466116100008450701.3758257173407970341489'),·'EpsmGHBtaYUwtXejffFi',·'vfOMbxJbVYLedsbsaYQd'}</span> | ||
| 270 | </pre></div> | 270 | </pre></div> |
| 271 | </div> | 271 | </div> |
| 272 | </dd></dl> | 272 | </dd></dl> |
| 273 | <dl·class="py·method"> | 273 | <dl·class="py·method"> |
| 274 | <dt·class="sig·sig-object·py"·id="faker.providers.python.Provider.pystr"> | 274 | <dt·class="sig·sig-object·py"·id="faker.providers.python.Provider.pystr"> |
| 275 | <span·class="sig-name·descname"><span·class="pre">pystr</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">min_chars</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">max_chars</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">20</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">prefix</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">''</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">suffix</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">''</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.python.Provider.pystr"·title="Link·to·this·definition">¶</a></dt> | 275 | <span·class="sig-name·descname"><span·class="pre">pystr</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">min_chars</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">max_chars</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">20</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">prefix</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">''</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">suffix</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">''</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.13)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.python.Provider.pystr"·title="Link·to·this·definition">¶</a></dt> |
| Offset 330, 19 lines modified | Offset 330, 19 lines modified | ||
| 330 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 330 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 331 | <dd·class="field-odd"><p></p></dd> | 331 | <dd·class="field-odd"><p></p></dd> |
| 332 | </dl> | 332 | </dl> |
| 333 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 333 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 334 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 334 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 335 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">pystruct</span><span·class="p">()</span> | 335 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">pystruct</span><span·class="p">()</span> |
| 336 | <span·class="gp">...</span> | 336 | <span·class="gp">...</span> |
| 337 | <span·class="go">([-424604.985946604,·1901,·4725240091.51995,·'TFitpKyPAVdgpNxSPTxt',·1376,·'TsMJmpeTNOTvcKIHCMwx',·'dprtyEhaAtHQTijZhkVz',·Decimal('-5.4870898407616570040494388564319539852250909255445769620290725074931'),·'NiIWDsXDvFPlaBWJGGzM',·'taylorsara@example.org'],·{'amount':·6890,·'benefit':·'catherinejohnston@example.com',·'TV':·'QTQjZGeLZuJqlLaQBfgH',·'network':·'fFzDHwBJURZHTCWaKMqq',·'others':·'xPdcWzUXIDleQUOKvpfw',·'property':·Decimal('-808895120938038855082489339263990492580885868654677610560250832118988916.728457637785707427093057608116050190443294316756256627285232756676337390603'),·'sister':·'aFLivlTZaBwcuoYDlLCo',·'expect':·5531,·'through':·2321,·'high':·8395},·{'capital':·{0:·-9787526.29318886,·1:·[datetime.datetime(1977,·1 | 337 | <span·class="go">([-424604.985946604,·1901,·4725240091.51995,·'TFitpKyPAVdgpNxSPTxt',·1376,·'TsMJmpeTNOTvcKIHCMwx',·'dprtyEhaAtHQTijZhkVz',·Decimal('-5.4870898407616570040494388564319539852250909255445769620290725074931'),·'NiIWDsXDvFPlaBWJGGzM',·'taylorsara@example.org'],·{'amount':·6890,·'benefit':·'catherinejohnston@example.com',·'TV':·'QTQjZGeLZuJqlLaQBfgH',·'network':·'fFzDHwBJURZHTCWaKMqq',·'others':·'xPdcWzUXIDleQUOKvpfw',·'property':·Decimal('-808895120938038855082489339263990492580885868654677610560250832118988916.728457637785707427093057608116050190443294316756256627285232756676337390603'),·'sister':·'aFLivlTZaBwcuoYDlLCo',·'expect':·5531,·'through':·2321,·'high':·8395},·{'capital':·{0:·-9787526.29318886,·1:·[datetime.datetime(1977,·10,·11,·16,·56,·16,·790350),·'NGnVZQUqLUJyfwFVYySn',·datetime.datetime(2021,·2,·25,·3,·28,·22,·138024)],·2:·{0:·'LuQIazTmqTjDmYPxeqAW',·1:·'ppgrVkPCoePqmjQbZndJ',·2:·['TWRUWCuKoQSUEXExIZVP',·'qfErjaoKtiwdOSlQGWFd']}},[·...·truncated·by·diffoscope;·len:·2193,·SHA:·d25018c05298673d1650b95574eb5f2c858cf6d2cd0eb968c4985bdec6c3798e·...·]3),·5607]}},·'government':·{8:·'DmjNvDmLSUQfjwdwuowN',·9:·[9989,·1484,·-28536838853283.6],·10:·{8:·7137,·9:·'cterry@example.net',·10:·[Decimal('-803358703760511880579625460078386755641445157885211429480481947118917938.820195501318705056246292648022270808625911824345448727820928'),·'UqXkPFQBKVhOceAaOfFD']}},·'thing':·{9:·'aUkvdqucNKsRecsUNIDP',·10:·[2960,·'xnXdfbbuJUqPMKySBuOW',·'HeQrXybVGobtiChjVHmT'],·11:·{9:·'https://www.allen.com/explore/tagscategory.html',·10:·'YsivsDuOiEJLihbqacWD',·11:·['OJtbwVrmhABdvIYwwylu',·'lsanders@example.org']}}})</span> |
| 338 | <span·class="go">([Decimal('75203566626017497199879123205931769.666'),·9100,·'ypxrmjXzftuAYYDGJAzq',·'CXOlmyhwszWhRJjWGgdr',·'http://hunt.info/wp-contentterms.htm',·'https://www.holland.biz/appcategory.html',·datetime.datetime(1972,·2,· | 338 | <span·class="go">([Decimal('75203566626017497199879123205931769.666'),·9100,·'ypxrmjXzftuAYYDGJAzq',·'CXOlmyhwszWhRJjWGgdr',·'http://hunt.info/wp-contentterms.htm',·'https://www.holland.biz/appcategory.html',·datetime.datetime(1972,·2,·6,·18,·38,·51,·635322),·'tXVeSLVxvUBNjdwrArSM',·'sheltonbianca@example.net',·'JsSvEZCxeXBKImHfcRFp'],·{'population':·'RqQuzssEOKNaBskVkjjI',·'while':·datetime.datetime(2008,·10,·26,·19,·52,·41,·814384),·'[·...·truncated·by·diffoscope;·len:·3358,·SHA:·7435d042ca1a7f2ae5aaa48128463beec87389da897ab8504d00295c905c0868·...·]),·10:·['aaron20@example.org',·5533,·Decimal('6836695520569284612670011363684.48276010153481841189403127227427908601141634637988526096934')],·11:·{9:·8406,·10:·7748,·11:·['tgilmore@example.com',·4469]}}})</span> |
| 339 | <span·class="go">([Decimal('-4.317218869431608750394678410156663476806472666994785469250677413536095227'),·'manuel19@example.net',·'OsAuBUfUAhWkbyDcGDDe',·3714,·2543,·datetime.datetime(1973,·1 | 339 | <span·class="go">([Decimal('-4.317218869431608750394678410156663476806472666994785469250677413536095227'),·'manuel19@example.net',·'OsAuBUfUAhWkbyDcGDDe',·3714,·2543,·datetime.datetime(1973,·10,·9,·17,·49,·39,·844963),·'tina09@example.org',·'https://peterson.com/search/postsfaq.htm',·'jensenmichael@example.com',·7694],·{'structure':·'jlyHtGWomZxAUkuKrgzU',·'check':·'ahMKHhgzzgYQTiIQqZeP',·[·...·truncated·by·diffoscope;·len:·2624,·SHA:·a1c50a3628db75b76a16098fd129352905a2bb8d676da695a44dccd6e8302c58·...·]7)],·8:·{6:·'MyFVzrGkGvArZVnOKdRP',·7:·'IwKZrxrqmsssXtaYEqPb',·8:·['qwegICYNsZelwHKodoWl',·Decimal('28495212173475883838.0150337449585798032331210981996776098583294846980799364841594847719451650')]}},·'admit':·{7:·7477,·8:·[-4.99867530923159,·'CxneWZCOsSstrYTcAqoG',·1230],·9:·{7:·324,·8:·Decimal('477406728948857499627079274850925836633217956.07235310676905007432716804120046894157954530837806508318308523'),·9:·['https://phillips.com/wp-content/searchindex.php',·'udTJfZFUicBiEehjutrD']}},·'military':·{8:·6626295.56182462,·9:·[1595,·2452,·5.52656646540623],·10:·{8:·4392,·9:·'lori63@example.org',·10:·['EZwPKNtbvVQecuGkaKlF',·Decimal('-3548170133182117559702741292304172278579945018719500824429909070904380917795.518972963240757583490')]}},·'easy':·{9:·'http://www.krueger-green.org/tags/tags/tagpost.html',·10:·['PyWkjNxMRvBJwqiNpikE',·'dgWDodDRfnLDGSXWQbLF',·9623],·11:·{9:·'gvIETTCUPhausbQAYRQu',·10:·'fCkHucUVHkvKgkeWNhmI',·11:·['lSwSaBvOXfNsTSZAzlcV',·'nHOfrGYfTpDfyVlmcDyC']}}})</span> |
| 340 | <span·class="go">(['http://hayes-david.info/explorepost.html',·datetime.datetime(202 | 340 | <span·class="go">(['http://hayes-david.info/explorepost.html',·datetime.datetime(2022,·5,·25,·8,·57,·10,·156636),·4561,·'ZBdvTqMeNFxkzPcnppIW',·4773,·100747154.732271,·'rPzGqsGUZRSoTGRUHZsx',·Decimal('9261180484357572076354885502404.39521633993627491143005174476438589156518297'),·'clZVPANXtkWjaKclsLBo',·[·...·truncated·by·diffoscope;·len:·3510,·SHA:·bbeb8a645c8427b0cb40c815c6b393fc1f41de6b06637c3f2baf857ca34a654b·...·]),·85.833701977546],·10:·{8:·'QAlxzQzSwjvPFVKKWLCT',·9:·'WlzHcvFRcqqiqZzdOZVF',·10:·[5035,·'http://www.torres.com/app/main/blogregister.htm']}},·'person':·{9:·3.49312048283484,·10:·[2796,·3116,·863],·11:·{9:·'nYFlpEauZmcjxERRLrIA',·10:·'AlnRDYPnKrQpTzKvYjZJ',·11:·['otXBHKVvOxrMFqEfVbdK',·'WvWAepzTdCCTtyIlHxmm']}}})</span> |
| 341 | <span·class="go">(['xXzqjAalBTtrqSAUJnue',·'ZpKPitsiINHMevzYxCBj',·'nicoledalton@example.org',·'UIRyeyLlgZxHZKvCzxDq',·'richardcampbell@example.org',·-3223.4498078758,·'OXXtemWVJOLAoRkQGPSm',·7985,·'https://www.barrett-doyle.com/explore/appprivacy.htm',·665],·{'economy':·'JouYrExvmtRxZXngKbkp',·'area':·'XIMWXYaEXHjirBvteHuA',·'teach':·'CyablnxUWoJCUpxEvvkM',·'life':·'rileyfrank@example.com',·'realize':·'KYYukvkNLyvsMLpTtWmk',·'never':·'oyHhsmVnjDwYUfHtqrsq',·'blue':·'WOFXuxIRpgblNdeqrKwf',·'relate':·'joRqISClAbtjudIJPEgh',·'plant':·'amUZkPtqbOFtxEvkDnHq',·'fact':·0.41512800576666},·{'soon':·{0:·'aWXgUaLEGoIizbIEqCmL',·1:·['david33@example.org',·'oyxkkyOilwolHygwxLUc',·'http://harper.com/list/category/tagssearch.html'],·2:·{0:·'oYKSfvrkVOiFQuQBMQfO',·1:·Decimal('53767584141777933.38569515701224423255833908387526773786431876945112378207287203239055'),·2:·[Decimal('-2647767173920883731580718896497100927607521435378364690463863040669261787626938777770177576429070699.10289530181466457034565011059204949385833297621465546530625123827490778286199376858300496233969'),·datetime.datetime(202 | 341 | <span·class="go">(['xXzqjAalBTtrqSAUJnue',·'ZpKPitsiINHMevzYxCBj',·'nicoledalton@example.org',·'UIRyeyLlgZxHZKvCzxDq',·'richardcampbell@example.org',·-3223.4498078758,·'OXXtemWVJOLAoRkQGPSm',·7985,·'https://www.barrett-doyle.com/explore/appprivacy.htm',·665],·{'economy':·'JouYrExvmtRxZXngKbkp',·'area':·'XIMWXYaEXHjirBvteHuA',·'teach':·'CyablnxUWoJCUpxEvvkM',·'life':·'rileyfrank@example.com',·'realize':·'KYYukvkNLyvsMLpTtWmk',·'never':·'oyHhsmVnjDwYUfHtqrsq',·'blue':·'WOFXuxIRpgblNdeqrKwf',·'relate':·'joRqISClAbtjudIJPEgh',·'plant':·'amUZkPtqbOFtxEvkDnHq',·'fact':·0.41512800576666},·{'soon':·{0:·'aWXgUaLEGoIizbIEqCmL',·1:·['david33@example.org',·'oyxkkyOilwolHygwxLUc',·'http://harper.com/list/category/tagssearch.html'],·2:·{0:·'oYKSfvrkVOiFQuQBMQfO',·1:·Decimal('53767584141777933.38569515701224423255833908387526773786431876945112378207287203239055'),·2:·[Decimal('-2647767173920883731580718896497100927607521435378364690463863040669261787626938777770177576429070699.10289530181466457034565011059204949385833297621465546530625123827490778286199376858300496233969'),·datetime.datetime(2023,·6,·23,·2,·21,·19,·513306)]}},·'compare':·{1:·'LXezkrcAngrgTKMZWpFz',·2:·[17206187561897.0,·'ngAWjppRUyYDvkRKtiOb',·6696],·3:·{1:·datetime.datetime(1988,·12,·11,·11,·33,·48,·270845),·2:·'pgrcIBfchSYpwjLAamaw',·3:·[66916.68[·...·truncated·by·diffoscope;·len:·2557,·SHA:·da5f4e4b91ed215b38439e395f88799aa1efc8b2aae0e5170f9c81cc52636b38·...·]),·9:·['YNTymfhoOgZcDDAiySnt',·-9.73497336349291,·'XypapRZDzursQrDhTpxn'],·10:·{8:·'sAyEZWjJvkaGsIqrHetW',·9:·'https://www.clark.net/bloghome.php',·10:·[2654,·318]}},·'training':·{9:·533,·10:·['http://www.horton-rodriguez.com/app/main/postsabout.php',·1372,·'harryhogan@example.net'],·11:·{9:·Decimal('5102061998714412761883075326857803913855650471876497297.8671906154800521358058393511015766'),·10:·Decimal('-739916688886034706607111444282744391770416237.85265076925'),·11:·[Decimal('-866625407727055421434296508883.8131926734991070020723620328'),·'kdiOkOXKPOMKayuONwLj']}}})</span> |
| 342 | </pre></div> | 342 | </pre></div> |
| 343 | </div> | 343 | </div> |
| 344 | </dd></dl> | 344 | </dd></dl> |
| 345 | <dl·class="py·method"> | 345 | <dl·class="py·method"> |
| 346 | <dt·class="sig·sig-object·py"·id="faker.providers.python.Provider.pytuple"> | 346 | <dt·class="sig·sig-object·py"·id="faker.providers.python.Provider.pytuple"> |
| 347 | <span·class="sig-name·descname"><span·class="pre">pytuple</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">nb_elements</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">10</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">variable_nb_elements</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">value_types</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.List"·title="(in·Python·v3.13)"><span·class="pre">List</span></a><span·class="p"><span·class="pre">[</span></span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Type"·title="(in·Python·v3.13)"><span·class="pre">Type</span></a><span·class="p"><span·class="pre">]</span></span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Tuple"·title="(in·Python·v3.13)"><span·class="pre">Tuple</span></a><span·class="p"><span·class="pre">[</span></span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Type"·title="(in·Python·v3.13)"><span·class="pre">Type</span></a><span·class="p"><span·class="pre">,</span></span><span·class="w">·</span><span·class="p"><span·class="pre">...</span></span><span·class="p"><span·class="pre">]</span></span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">allowed_types</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.List"·title="(in·Python·v3.13)"><span·class="pre">List</span></a><span·class="p"><span·class="pre">[</span></span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Type"·title="(in·Python·v3.13)"><span·class="pre">Type</span></a><span·class="p"><span·class="pre">]</span></span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Tuple"·title="(in·Python·v3.13)"><span·class="pre">Tuple</span></a><span·class="p"><span·class="pre">[</span></span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Type"·title="(in·Python·v3.13)"><span·class="pre">Type</span></a><span·class="p"><span·class="pre">,</span></span><span·class="w">·</span><span·class="p"><span·class="pre">...</span></span><span·class="p"><span·class="pre">]</span></span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Tuple"·title="(in·Python·v3.13)"><span·class="pre">Tuple</span></a><span·class="p"><span·class="pre">[</span></span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Any"·title="(in·Python·v3.13)"><span·class="pre">Any</span></a><span·class="p"><span·class="pre">,</span></span><span·class="w">·</span><span·class="p"><span·class="pre">...</span></span><span·class="p"><span·class="pre">]</span></span></span></span><a·class="headerlink"·href="#faker.providers.python.Provider.pytuple"·title="Link·to·this·definition">¶</a></dt> | 347 | <span·class="sig-name·descname"><span·class="pre">pytuple</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">nb_elements</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.13)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">10</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">variable_nb_elements</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.13)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">value_types</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.List"·title="(in·Python·v3.13)"><span·class="pre">List</span></a><span·class="p"><span·class="pre">[</span></span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Type"·title="(in·Python·v3.13)"><span·class="pre">Type</span></a><span·class="p"><span·class="pre">]</span></span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Tuple"·title="(in·Python·v3.13)"><span·class="pre">Tuple</span></a><span·class="p"><span·class="pre">[</span></span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Type"·title="(in·Python·v3.13)"><span·class="pre">Type</span></a><span·class="p"><span·class="pre">,</span></span><span·class="w">·</span><span·class="p"><span·class="pre">...</span></span><span·class="p"><span·class="pre">]</span></span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">allowed_types</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.List"·title="(in·Python·v3.13)"><span·class="pre">List</span></a><span·class="p"><span·class="pre">[</span></span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Type"·title="(in·Python·v3.13)"><span·class="pre">Type</span></a><span·class="p"><span·class="pre">]</span></span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Tuple"·title="(in·Python·v3.13)"><span·class="pre">Tuple</span></a><span·class="p"><span·class="pre">[</span></span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Type"·title="(in·Python·v3.13)"><span·class="pre">Type</span></a><span·class="p"><span·class="pre">,</span></span><span·class="w">·</span><span·class="p"><span·class="pre">...</span></span><span·class="p"><span·class="pre">]</span></span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.13)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Tuple"·title="(in·Python·v3.13)"><span·class="pre">Tuple</span></a><span·class="p"><span·class="pre">[</span></span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Any"·title="(in·Python·v3.13)"><span·class="pre">Any</span></a><span·class="p"><span·class="pre">,</span></span><span·class="w">·</span><span·class="p"><span·class="pre">...</span></span><span·class="p"><span·class="pre">]</span></span></span></span><a·class="headerlink"·href="#faker.providers.python.Provider.pytuple"·title="Link·to·this·definition">¶</a></dt> |
| Offset 350, 19 lines modified | Offset 350, 19 lines modified | ||
| 350 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 350 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
| 351 | <dd·class="field-odd"><p></p></dd> | 351 | <dd·class="field-odd"><p></p></dd> |
| 352 | </dl> | 352 | </dl> |
| 353 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 353 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
| 354 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 354 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
| 355 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">pytuple</span><span·class="p">()</span> | 355 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">pytuple</span><span·class="p">()</span> |
| 356 | <span·class="gp">...</span> | 356 | <span·class="gp">...</span> |
| 357 | <span·class="go">(663,·-424604.985946604,·-9787526.29318886,·datetime.datetime(1977,·1 | 357 | <span·class="go">(663,·-424604.985946604,·-9787526.29318886,·datetime.datetime(1977,·10,·11,·16,·56,·16,·790350),·'NGnVZQUqLUJyfwFVYySn',·datetime.datetime(2021,·2,·25,·3,·28,·22,·138024),·'LuQIazTmqTjDmYPxeqAW',·'ppgrVkPCoePqmjQbZndJ',·'TWRUWCuKoQSUEXExIZVP',·'qfErjaoKtiwdOSlQGWFd')</span> |
| 358 | <span·class="go">('catherinejohnston@example.com',·'tYbbXjgkPWbwfnlHsjAc',·'KunVyUDKkNPiiBgVIaJU',·datetime.datetime(202 | 358 | <span·class="go">('catherinejohnston@example.com',·'tYbbXjgkPWbwfnlHsjAc',·'KunVyUDKkNPiiBgVIaJU',·datetime.datetime(2021,·3,·28,·1,·53,·45,·790524),·'paul42@example.net',·'xeMChNzFJEUSgqMReEKi',·'HtTDvuKvIcxniBzDNTzq')</span> |
| 359 | <span·class="go">('QTQjZGeLZuJqlLaQBfgH',·4725240091.51995,·'johnsonrobin@example.org',·-958272097856.158,·0.28952549189774,·'angela59@example.org',·'https://taylor.com/tag/list/wp-contentcategory.htm',·6016,·'rGciZpuCpymcjBdurvfV',·Decimal('-6549903182054842898289740559728455724548119.045229611133060168847793615349263511087317643039213765'),·datetime.datetime(201 | 359 | <span·class="go">('QTQjZGeLZuJqlLaQBfgH',·4725240091.51995,·'johnsonrobin@example.org',·-958272097856.158,·0.28952549189774,·'angela59@example.org',·'https://taylor.com/tag/list/wp-contentcategory.htm',·6016,·'rGciZpuCpymcjBdurvfV',·Decimal('-6549903182054842898289740559728455724548119.045229611133060168847793615349263511087317643039213765'),·datetime.datetime(2016,·3,·7,·16,·32,·19,·18572))</span> |
| 360 | <span·class="go">('https://www.bolton-reid.com/category/blog/listregister.php',·datetime.datetime(2004,· | 360 | <span·class="go">('https://www.bolton-reid.com/category/blog/listregister.php',·datetime.datetime(2004,·1,·20,·5,·28,·52,·184384),·'aKMqqBTFitpKyPAVdgpN',·Decimal('-74655832342888117024.8091891634896769930024894517446660223450076279125609767017200992518'),·'james71@example.org',·'https://lloyd-stark.com/main/blog/tagsprivacy.html&[·...·truncated·by·diffoscope;·len:·55,·SHA:·5efc8903511c75e355a4cc8a551b0258ad77883d2dda35a4894f07f5ed382aab·...·]))</span> |
| 361 | <span·class="go">('OxNxPdcWzUXIDleQUOKv',·7424134494689.1,·'vfOMbxJbVYLedsbsaYQd',·'kkJWgatbFSjfrXgYsypW',·datetime.datetime(200 | 361 | <span·class="go">('OxNxPdcWzUXIDleQUOKv',·7424134494689.1,·'vfOMbxJbVYLedsbsaYQd',·'kkJWgatbFSjfrXgYsypW',·datetime.datetime(2005,·7,·6,·11,·58,·2,·533493),·'EeBqthglAmjtISFuKgpv',·'EpsmGHBtaYUwtXejffFi',·Decimal('-75235466116100008450701.3758257173407970341489'))</span> |
| 362 | </pre></div> | 362 | </pre></div> |
| 363 | </div> | 363 | </div> |
| 364 | </dd></dl> | 364 | </dd></dl> |
| 365 | </dd></dl> | 365 | </dd></dl> |
| 366 | </section> | 366 | </section> |
| Offset 62, 17 lines modified | Offset 62, 17 lines modified | ||
| 62 | ··············Value_types: | 62 | ··············Value_types: |
| 63 | ··················type·of·dictionary·values | 63 | ··················type·of·dictionary·values |
| 64 | ··············Examples: | 64 | ··············Examples: |
| 65 | ············>>>·Faker.seed(0) | 65 | ············>>>·Faker.seed(0) |
| 66 | ············>>>·for·_·in·range(5): | 66 | ············>>>·for·_·in·range(5): |
| 67 | ············...·····fake.pydict() | 67 | ············...·····fake.pydict() |
| 68 | ············... | 68 | ············... |
| 69 | ············{'son':·-9787526.29318886,·'voice':·datetime.datetime(1977,·1 | 69 | ············{'son':·-9787526.29318886,·'voice':·datetime.datetime(1977,·10,·11, |
| 70 | ············ | 70 | ············16,·56,·16,·790350),·'kitchen':·'NGnVZQUqLUJyfwFVYySn',·'amount': |
| 71 | ············datetime.datetime(202 | 71 | ············datetime.datetime(2021,·2,·25,·3,·28,·22,·138024),·'event': |
| 72 | ············'LuQIazTmqTjDmYPxeqAW',·'much':·'ppgrVkPCoePqmjQbZndJ',·'mention': | 72 | ············'LuQIazTmqTjDmYPxeqAW',·'much':·'ppgrVkPCoePqmjQbZndJ',·'mention': |
| 73 | ············'TWRUWCuKoQSUEXExIZVP',·'interview':·'qfErjaoKtiwdOSlQGWFd',·'why': | 73 | ············'TWRUWCuKoQSUEXExIZVP',·'interview':·'qfErjaoKtiwdOSlQGWFd',·'why': |
| 74 | ············'HFDutYbbXjgkPWbwfnlH',·'step':·7144} | 74 | ············'HFDutYbbXjgkPWbwfnlH',·'step':·7144} |
| 75 | ············{'ask':·'nVyUDKkNPiiBgVIaJUTV',·'most':·'paul42@example.net', | 75 | ············{'ask':·'nVyUDKkNPiiBgVIaJUTV',·'most':·'paul42@example.net', |
| 76 | ············'manage':·'xeMChNzFJEUSgqMReEKi',·'among':·'HtTDvuKvIcxniBzDNTzq', | 76 | ············'manage':·'xeMChNzFJEUSgqMReEKi',·'among':·'HtTDvuKvIcxniBzDNTzq', |
| 77 | ············'pick':·Decimal | 77 | ············'pick':·Decimal |
| 78 | ············('11411791321240764654788082438993844835687523124385969.650300891319344217610471428512400034855909776582369'), | 78 | ············('11411791321240764654788082438993844835687523124385969.650300891319344217610471428512400034855909776582369'), |
| Offset 86, 19 lines modified | Offset 86, 19 lines modified | ||
| 86 | ············('67972839855751940235263820229154889584951907196767287332264888028711981316080836396161.7017200992518536710979519426418306753751007408993'), | 86 | ············('67972839855751940235263820229154889584951907196767287332264888028711981316080836396161.7017200992518536710979519426418306753751007408993'), |
| 87 | ············'measure':·'eQUOKvpfwDVWvfOMbxJb',·'business':·4138,·'scene': | 87 | ············'measure':·'eQUOKvpfwDVWvfOMbxJb',·'business':·4138,·'scene': |
| 88 | ············'sgJrjRltFhaIMUMpJWmh',·'modern':·Decimal | 88 | ············'sgJrjRltFhaIMUMpJWmh',·'modern':·Decimal |
| 89 | ············('4805760532403649269240146150593215888587311532081726339112030.5291189426223583324560290611264862964513758066065735471214189276266237'), | 89 | ············('4805760532403649269240146150593215888587311532081726339112030.5291189426223583324560290611264862964513758066065735471214189276266237'), |
| 90 | ············'last':·8574,·'always':·'sGeNpRxylfYpFwNezXCv'} | 90 | ············'last':·8574,·'always':·'sGeNpRxylfYpFwNezXCv'} |
| 91 | ············{'age':·Decimal | 91 | ············{'age':·Decimal |
| 92 | ············('21382039273173884082527988465816382796350650960388704316804460314001343271628396494204470750330.1448'), | 92 | ············('21382039273173884082527988465816382796350650960388704316804460314001343271628396494204470750330.1448'), |
| 93 | ············'camera':·1936,·'expect':·datetime.datetime(201 | 93 | ············'camera':·1936,·'expect':·datetime.datetime(2017,·12,·29,·21,·32, |
| 94 | ············ | 94 | ············14,·820137),·'use':·'dSogBkfXCMVoxDhgguyD',·'relate':·- |
| 95 | ············797087381.435271,·'amount':·'yKqHdpMcGbyUaBdTJMIa',·'a': | 95 | ············797087381.435271,·'amount':·'yKqHdpMcGbyUaBdTJMIa',·'a': |
| 96 | ············'gaoHpUhDjwLtrHJhWhqk',·'establish':·'xPuPulkWEcumejcHjFFK', | 96 | ············'gaoHpUhDjwLtrHJhWhqk',·'establish':·'xPuPulkWEcumejcHjFFK', |
| 97 | ············'information':·datetime.datetime(201 | 97 | ············'information':·datetime.datetime(2011,·12,·19,·20,·39,·36,·644876), |
| 98 | ············'never':·6740,·'voice':·Decimal | 98 | ············'never':·6740,·'voice':·Decimal |
| 99 | ············('97183309942242775163299956300966980935197130931292396426904842486602508273832146.9774735400025040216396837359191558754080351385334448647'), | 99 | ············('97183309942242775163299956300966980935197130931292396426904842486602508273832146.9774735400025040216396837359191558754080351385334448647'), |
| 100 | ············'party':·3931,·'see':·'pCazwVvzwemQhTlFQDUu',·'individual': | 100 | ············'party':·3931,·'see':·'pCazwVvzwemQhTlFQDUu',·'individual': |
| 101 | ············'mlRosZfUFPKOAyGoaFLi'} | 101 | ············'mlRosZfUFPKOAyGoaFLi'} |
| 102 | ············{'energy':·'gHgMsJKIlRmAJmGoiQCr',·'discover':·'http:// | 102 | ············{'energy':·'gHgMsJKIlRmAJmGoiQCr',·'discover':·'http:// |
| 103 | ············www.harrington.org/main/wp-contenthome.html',·'feel': | 103 | ············www.harrington.org/main/wp-contenthome.html',·'feel': |
| 104 | ············'mgmtFgzVGbEzqXCiTQMC',·'until':·'nFKQOtdbLYrwLInIpsCM',·'simply': | 104 | ············'mgmtFgzVGbEzqXCiTQMC',·'until':·'nFKQOtdbLYrwLInIpsCM',·'simply': |
| Offset 135, 73 lines modified | Offset 135, 74 lines modified | ||
| 135 | ········types:·List[Type]·|·Tuple[Type,·...]·|·None·=·None)·→·Iterable[Any]¶ | 135 | ········types:·List[Type]·|·Tuple[Type,·...]·|·None·=·None)·→·Iterable[Any]¶ |
| 136 | ··············Examples: | 136 | ··············Examples: |
| 137 | ············>>>·Faker.seed(0) | 137 | ············>>>·Faker.seed(0) |
| 138 | ············>>>·for·_·in·range(5): | 138 | ············>>>·for·_·in·range(5): |
| 139 | ············...·····fake.pyiterable() | 139 | ············...·····fake.pyiterable() |
| 140 | ············... | 140 | ············... |
| 141 | ············('nAvOpyEVAoNGnVZQUqLU',·'thomas15@example.com',·3350, | 141 | ············('nAvOpyEVAoNGnVZQUqLU',·'thomas15@example.com',·3350, |
| 142 | ············datetime.datetime(1996,·8,·21,·8,·42,·31,·275684), | ||
| 143 | ············datetime.datetime(1984,·7,·19,·3,·35,·8,·608390),·datetime.datetime | ||
| 144 | ············(2021,·2,·25,·3,·28,·22,·138024),·'LuQIazTmqTjDmYPxeqAW', | ||
| 145 | ············'ppgrVkPCoePqmjQbZndJ',·'TWRUWCuKoQSUEXExIZVP', | ||
| 146 | ············'qfErjaoKtiwdOSlQGWFd',·'HFDutYbbXjgkPWbwfnlH') | ||
| 142 | ············datetime.datetime(1997,·2,·26,·19,·43,·19,·554572), | ||
| 143 | ············datetime.datetime(1984,·10,·30,·14,·41,·1,·458386), | ||
| 144 | ············datetime.datetime(2022,·2,·23,·23,·1,·55,·887859), | ||
| 145 | ············'LuQIazTmqTjDmYPxeqAW',·'ppgrVkPCoePqmjQbZndJ', | ||
| 146 | ············'TWRUWCuKoQSUEXExIZVP',·'qfErjaoKtiwdOSlQGWFd', | ||
| 147 | ············'HFDutYbbXjgkPWbwfnlH') | ||
| 148 | ············('dyFKunVyUDKkNPiiBgVI',·'yvDAqsRnDaMrcomXsosX', | 147 | ············('dyFKunVyUDKkNPiiBgVI',·'yvDAqsRnDaMrcomXsosX', |
| 149 | ············'jenniferhughes@example.com',·'smithjames@example.com', | 148 | ············'jenniferhughes@example.com',·'smithjames@example.com', |
| 150 | ············'mHtTDvuKvIcxniBzDNTz',·-0.58427929423069,·'CYYRgaXvaaNYJFjFkpJj', | 149 | ············'mHtTDvuKvIcxniBzDNTz',·-0.58427929423069,·'CYYRgaXvaaNYJFjFkpJj', |
| 151 | ············Decimal('- | 150 | ············Decimal('- |
| 152 | ············23587860434913790978655934625693951978093570729960966912834032313989657524780944.4000348559097765823'), | 151 | ············23587860434913790978655934625693951978093570729960966912834032313989657524780944.4000348559097765823'), |
| 153 | ············9619,·38191497835621.5,·6016) | 152 | ············9619,·38191497835621.5,·6016) |
| 153 | ············{584,·Decimal | ||
| 154 | ············{datetime.datetime(1998,·8,·9,·8,·59,·6,·179665),·584, | ||
| 155 | ············'ohEsZgfLWqSLpRpfDzrP',·'http://www.bruce-compton.org/tag/posts/ | ||
| 156 | ············searchfaq.php',·Decimal | ||
| 157 | ············('18000400001558710168379151556371850715591491746684745560870153172067760283158232944569591.3306016884'), | 154 | ············('18000400001558710168379151556371850715591491746684745560870153172067760283158232944569591.3306016884'), |
| 158 | ············2036,·Decimal('- | 155 | ············2036,·Decimal('- |
| 159 | ············5566738374584561609320871321036086986788440028749554064377698700636073309631096713016282417601397773.26351108731764303921376582197296687577389305550824926947118013204075227586') | 156 | ············5566738374584561609320871321036086986788440028749554064377698700636073309631096713016282417601397773.26351108731764303921376582197296687577389305550824926947118013204075227586'), |
| 160 | ············ | 157 | ············'http://www.bruce-compton.org/tag/posts/searchfaq.php', |
| 158 | ············datetime.datetime(1998,·1,·21,·19,·40,·15,·957575), | ||
| 159 | ············'ohEsZgfLWqSLpRpfDzrP'} | ||
| 160 | ············{'FgqKHkOOfdKFWHYLpSXu',·'hUvefdviXPwvzSqnsgJr', | ||
| 161 | ············'IajAndSXpvQdHgoRcbvz',·'aYQdUkkJWgatbFSjfrXg',·'http:// | ||
| 161 | ············www.garcia.com/category/tagscategory.jsp',· | 162 | ············www.garcia.com/category/tagscategory.jsp',·531.866983954573, |
| 162 | ············5,·20,·13,·44,·40,·534427),·'IajAndSXpvQdHgoRcbvz', | ||
| 163 | ············ | 163 | ············'butjsGXUcnbBDTlOUGAB',·datetime.datetime(1987,·1,·19,·7,·24,·52, |
| 164 | ············297969)} | ||
| 164 | ············[7755,·-9380404207.10591,·'BqthglAmjtISFuKgpvWE',·- | 165 | ············[7755,·-9380404207.10591,·'BqthglAmjtISFuKgpvWE',·- |
| 165 | ············1385.61194945311,·'dana80@example.com',·138,·5253,·Decimal | 166 | ············1385.61194945311,·'dana80@example.com',·138,·5253,·Decimal |
| 166 | ············('96801170218340119083001529540605235227463678180.14189276266237582571734'), | 167 | ············('96801170218340119083001529540605235227463678180.14189276266237582571734'), |
| 167 | ············'RxylfYpFwNezXCvGboIa',·8619] | 168 | ············'RxylfYpFwNezXCvGboIa',·8619] |
| 168 | ········pylist(nb_elements:·int·=·10,·variable_nb_elements:·bool·=·True,·value_ | 169 | ········pylist(nb_elements:·int·=·10,·variable_nb_elements:·bool·=·True,·value_ |
| 169 | ········types:·List[Type]·|·Tuple[Type,·...]·|·None·=·None,·allowed_types:·List | 170 | ········types:·List[Type]·|·Tuple[Type,·...]·|·None·=·None,·allowed_types:·List |
| 170 | ········[Type]·|·Tuple[Type,·...]·|·None·=·None)·→·List[Any]¶ | 171 | ········[Type]·|·Tuple[Type,·...]·|·None·=·None)·→·List[Any]¶ |
| 171 | ··············Examples: | 172 | ··············Examples: |
| 172 | ············>>>·Faker.seed(0) | 173 | ············>>>·Faker.seed(0) |
| 173 | ············>>>·for·_·in·range(5): | 174 | ············>>>·for·_·in·range(5): |
| 174 | ············...·····fake.pylist() | 175 | ············...·····fake.pylist() |
| 175 | ············... | 176 | ············... |
| 176 | ············[663,·-424604.985946604,·-9787526.29318886,·datetime.datetime(1977, | 177 | ············[663,·-424604.985946604,·-9787526.29318886,·datetime.datetime(1977, |
| 177 | ············12,·6,·0,·32,·26,·42664),·'NGnVZQUqLUJyfwFVYySn',·datetime.datetime | ||
| 178 | ············(2022,·2,·23,·23,·1,·55,·887859),·'LuQIazTmqTjDmYPxeqAW', | ||
| 179 | ············'ppgrVkPCoePqmjQbZndJ',·'TWRUWCuKoQSUEXExIZVP', | ||
| 180 | ············ | 178 | ············10,·11,·16,·56,·16,·790350),·'NGnVZQUqLUJyfwFVYySn', |
| 179 | ············datetime.datetime(2021,·2,·25,·3,·28,·22,·138024), | ||
| 180 | ············'LuQIazTmqTjDmYPxeqAW',·'ppgrVkPCoePqmjQbZndJ', | ||
| 181 | ············'TWRUWCuKoQSUEXExIZVP',·'qfErjaoKtiwdOSlQGWFd'] | ||
| 181 | ············['catherinejohnston@example.com',·'tYbbXjgkPWbwfnlHsjAc', | 182 | ············['catherinejohnston@example.com',·'tYbbXjgkPWbwfnlHsjAc', |
| 182 | ············'KunVyUDKkNPiiBgVIaJU',·datetime.datetime(202 | 183 | ············'KunVyUDKkNPiiBgVIaJU',·datetime.datetime(2021,·3,·28,·1,·53,·45, |
| 183 | ············ | 184 | ············790524),·'paul42@example.net',·'xeMChNzFJEUSgqMReEKi', |
| 184 | ············'HtTDvuKvIcxniBzDNTzq'] | 185 | ············'HtTDvuKvIcxniBzDNTzq'] |
| 185 | ············['QTQjZGeLZuJqlLaQBfgH',·4725240091.51995, | 186 | ············['QTQjZGeLZuJqlLaQBfgH',·4725240091.51995, |
| 186 | ············'johnsonrobin@example.org',·-958272097856.158,·0.28952549189774, | 187 | ············'johnsonrobin@example.org',·-958272097856.158,·0.28952549189774, |
| 187 | ············'angela59@example.org',·'https://taylor.com/tag/list/wp- | 188 | ············'angela59@example.org',·'https://taylor.com/tag/list/wp- |
| 188 | ············contentcategory.htm',·6016,·'rGciZpuCpymcjBdurvfV',·Decimal('- | 189 | ············contentcategory.htm',·6016,·'rGciZpuCpymcjBdurvfV',·Decimal('- |
| 189 | ············6549903182054842898289740559728455724548119.045229611133060168847793615349263511087317643039213765'), | 190 | ············6549903182054842898289740559728455724548119.045229611133060168847793615349263511087317643039213765'), |
| 190 | ············datetime.datetime(201 | 191 | ············datetime.datetime(2016,·3,·7,·16,·32,·19,·18572)] |
| 191 | ············['https://www.bolton-reid.com/category/blog/listregister.php', | 192 | ············['https://www.bolton-reid.com/category/blog/listregister.php', |
| 192 | ············datetime.datetime(2004,· | 193 | ············datetime.datetime(2004,·1,·20,·5,·28,·52,·184384), |
| 193 | ············'aKMqqBTFitpKyPAVdgpN',·Decimal('- | 194 | ············'aKMqqBTFitpKyPAVdgpN',·Decimal('- |
| 194 | ············74655832342888117024.8091891634896769930024894517446660223450076279125609767017200992518'), | 195 | ············74655832342888117024.8091891634896769930024894517446660223450076279125609767017200992518'), |
| 195 | ············'james71@example.org',·'https://lloyd-stark.com/main/blog/ | 196 | ············'james71@example.org',·'https://lloyd-stark.com/main/blog/ |
| 196 | ············tagsprivacy.html',·datetime.datetime(2018,·1 | 197 | ············tagsprivacy.html',·datetime.datetime(2018,·1,·18,·20,·44,·50, |
| 197 | ············ | 198 | ············814037)] |
| 198 | ············['OxNxPdcWzUXIDleQUOKv',·7424134494689.1,·'vfOMbxJbVYLedsbsaYQd', | 199 | ············['OxNxPdcWzUXIDleQUOKv',·7424134494689.1,·'vfOMbxJbVYLedsbsaYQd', |
| 199 | ············'kkJWgatbFSjfrXgYsypW',·datetime.datetime(200 | 200 | ············'kkJWgatbFSjfrXgYsypW',·datetime.datetime(2005,·7,·6,·11,·58,·2, |
| 200 | ············ | 201 | ············533493),·'EeBqthglAmjtISFuKgpv',·'EpsmGHBtaYUwtXejffFi',·Decimal('- |
| 201 | ············75235466116100008450701.3758257173407970341489')] | 202 | ············75235466116100008450701.3758257173407970341489')] |
| 202 | ········pyobject(object_type:·Type[bool·|·str·|·float·|·int·|·tuple·|·set·| | 203 | ········pyobject(object_type:·Type[bool·|·str·|·float·|·int·|·tuple·|·set·| |
| 203 | ········list·|·Iterable·|·dict]·|·None·=·None)·→·bool·|·str·|·float·|·int·| | 204 | ········list·|·Iterable·|·dict]·|·None·=·None)·→·bool·|·str·|·float·|·int·| |
| 204 | ········tuple·|·set·|·list·|·Iterable·|·dict·|·None¶ | 205 | ········tuple·|·set·|·list·|·Iterable·|·dict·|·None¶ |
| 205 | ············Generates·a·random·object·passing·the·type·desired. | 206 | ············Generates·a·random·object·passing·the·type·desired. |
| 206 | ··············Object_type: | 207 | ··············Object_type: |
| 207 | ··················the·type·of·the·object·to·generate. | 208 | ··················the·type·of·the·object·to·generate. |
| Offset 223, 41 lines modified | Offset 224, 40 lines modified | ||
| 223 | ········types:·List[Type]·|·Tuple[Type,·...]·|·None·=·None,·allowed_types:·List | 224 | ········types:·List[Type]·|·Tuple[Type,·...]·|·None·=·None,·allowed_types:·List |
| Max diff block lines reached; 32458/42136 bytes (77.03%) of diff not shown. | |||
| Offset 40074, 15 lines modified | Offset 40074, 15 lines modified | ||
| 40074 | ····"objtypes":·{ | 40074 | ····"objtypes":·{ |
| 40075 | ········"0":·"py:class", | 40075 | ········"0":·"py:class", |
| 40076 | ········"1":·"py:method" | 40076 | ········"1":·"py:method" |
| 40077 | ····}, | 40077 | ····}, |
| 40078 | ····"terms":·{ | 40078 | ····"terms":·{ |
| 40079 | ········"":·[0,·1,·2,·6,·9,·11,·12,·13,·14,·15,·17,·18,·20,·21,·22,·25,·29,·30,·31,·32,·35,·37,·38,·39,·40,·42,·44,·45,·47,·48,·49,·51,·52,·53,·56,·57,·58,·59,·60,·61,·62,·63,·64,·65,·66,·67,·68,·74,·75,·76,·78,·79,·80,·81,·82,·83,·84,·88,·90,·91,·92,·94,·95,·96,·98,·99,·102,·105,·106,·107,·111,·118,·119,·128,·129], | 40079 | ········"":·[0,·1,·2,·6,·9,·11,·12,·13,·14,·15,·17,·18,·20,·21,·22,·25,·29,·30,·31,·32,·35,·37,·38,·39,·40,·42,·44,·45,·47,·48,·49,·51,·52,·53,·56,·57,·58,·59,·60,·61,·62,·63,·64,·65,·66,·67,·68,·74,·75,·76,·78,·79,·80,·81,·82,·83,·84,·88,·90,·91,·92,·94,·95,·96,·98,·99,·102,·105,·106,·107,·111,·118,·119,·128,·129], |
| 40080 | ········"0":·[2,·4,·6,·7,·8,·9,·10,·11,·12,·13,·14,·15,·16,·17,·18,·20,·21,·22,·23,·24,·25,·27,·28,·29,·30,·31,·32,·33,·34,·35,·36,·37,·38,·39,·40,·41,·42,·43,·44,·45,·46,·47,·48,·49,·50,·51,·52,·53,·54,·55,·56,·57,·58,·59,·60,·61,·62,·63,·64,·65,·66,·67,·69,·70,·71,·72,·73,·74,·75,·76,·77,·78,·79,·80,·81,·82,·83,·84,·85,·86,·88,·90,·91,·92,·93,·94,·95,·96,·97,·98,·99,·100,·102,·103,·104,·105,·106,·107,·108,·109,·110,·111,·112,·113,·114,·115,·116,·117,·118,·119,·120,·121,·122,·123,·124,·125,·126,·127,·128,·129], | 40080 | ········"0":·[2,·4,·6,·7,·8,·9,·10,·11,·12,·13,·14,·15,·16,·17,·18,·20,·21,·22,·23,·24,·25,·27,·28,·29,·30,·31,·32,·33,·34,·35,·36,·37,·38,·39,·40,·41,·42,·43,·44,·45,·46,·47,·48,·49,·50,·51,·52,·53,·54,·55,·56,·57,·58,·59,·60,·61,·62,·63,·64,·65,·66,·67,·69,·70,·71,·72,·73,·74,·75,·76,·77,·78,·79,·80,·81,·82,·83,·84,·85,·86,·88,·90,·91,·92,·93,·94,·95,·96,·97,·98,·99,·100,·102,·103,·104,·105,·106,·107,·108,·109,·110,·111,·112,·113,·114,·115,·116,·117,·118,·119,·120,·121,·122,·123,·124,·125,·126,·127,·128,·129], |
| 40081 | ········"00":·[2,·9,·13,·25,·29,·38,·44,·51,·52,·65,·96,·98,·99,· | 40081 | ········"00":·[2,·6,·9,·13,·15,·17,·18,·20,·22,·25,·29,·35,·38,·40,·42,·44,·49,·51,·52,·53,·56,·58,·59,·60,·61,·62,·64,·65,·66,·67,·75,·76,·78,·79,·80,·81,·82,·83,·84,·88,·90,·91,·92,·94,·95,·96,·98,·99,·106,·111,·127], |
| 40082 | ········"000":·[38,·42,·47,·94], | 40082 | ········"000":·[38,·42,·47,·94], |
| 40083 | ········"0000":·[6,·9,·13,·15,·17,·18,·20,·22,·25,·35,·38,·39,·40,·42,·44,·49,·51,·53,·56,·58,·59,·60,·61,·62,·64,·65,·66,·67,·75,·76,·78,·79,·80,·81,·82,·83,·84,·88,·90,·91,·92,·95,·96,·98,·99,·111], | 40083 | ········"0000":·[6,·9,·13,·15,·17,·18,·20,·22,·25,·35,·38,·39,·40,·42,·44,·49,·51,·53,·56,·58,·59,·60,·61,·62,·64,·65,·66,·67,·75,·76,·78,·79,·80,·81,·82,·83,·84,·88,·90,·91,·92,·95,·96,·98,·99,·111], |
| 40084 | ········"00000":·[35,·38,·49,·91,·119], | 40084 | ········"00000":·[35,·38,·49,·91,·119], |
| 40085 | ········"000000":·[35,·38,·49,·91,·119], | 40085 | ········"000000":·[35,·38,·49,·91,·119], |
| 40086 | ········"0001":·79, | 40086 | ········"0001":·79, |
| 40087 | ········"00011":·[21,·52], | 40087 | ········"00011":·[21,·52], |
| 40088 | ········"0004876475931":·[29,·38,·44,·51,·65,·106], | 40088 | ········"0004876475931":·[29,·38,·44,·51,·65,·106], |
| Offset 40096, 45 lines modified | Offset 40096, 45 lines modified | ||
| 40096 | ········"002041424285777665":·45, | 40096 | ········"002041424285777665":·45, |
| 40097 | ········"002497663450887436":·45, | 40097 | ········"002497663450887436":·45, |
| 40098 | ········"002597357884672407":·45, | 40098 | ········"002597357884672407":·45, |
| 40099 | ········"002864631170560203":·45, | 40099 | ········"002864631170560203":·45, |
| 40100 | ········"002991780860070717":·45, | 40100 | ········"002991780860070717":·45, |
| 40101 | ········"00328":·[52,·53], | 40101 | ········"00328":·[52,·53], |
| 40102 | ········"003t824":·82, | 40102 | ········"003t824":·82, |
| 40103 | ········"004129":·35, | ||
| 40104 | ········"00420":·17, | 40103 | ········"00420":·17, |
| 40105 | ········"00421":·83, | 40104 | ········"00421":·83, |
| 40106 | ········"00438":·[20,·25,·38,·80,·114], | 40105 | ········"00438":·[20,·25,·38,·80,·114], |
| 40107 | ········"00452":·[52,·53], | 40106 | ········"00452":·[52,·53], |
| 40108 | ········"00489249":·[29,·38,·44,·51,·65,·106], | 40107 | ········"00489249":·[29,·38,·44,·51,·65,·106], |
| 40109 | ········"00494":·[52,·53], | 40108 | ········"00494":·[52,·53], |
| 40110 | ········"00560":·[52,·53], | 40109 | ········"00560":·[52,·53], |
| 40111 | ········"005634":·17, | ||
| 40112 | ········"0056341":·17, | ||
| 40113 | ········"0056593877840":·[29,·38,·44,·51,·65,·106], | 40110 | ········"0056593877840":·[29,·38,·44,·51,·65,·106], |
| 40114 | ········"006d048":·82, | 40111 | ········"006d048":·82, |
| 40115 | ········"006d475":·82, | 40112 | ········"006d475":·82, |
| 40116 | ········"00714":·[52,·53], | 40113 | ········"00714":·[52,·53], |
| 40117 | ········"00781565":·[29,·38,·44,·51,·65,·106], | 40114 | ········"00781565":·[29,·38,·44,·51,·65,·106], |
| 40115 | ········"0079076":·62, | ||
| 40116 | ········"007908":·62, | ||
| 40118 | ········"007d815":·82, | 40117 | ········"007d815":·82, |
| 40118 | ········"008078":·[80,·81], | ||
| 40119 | ········"0087115871480":·[29,·38,·44,·51,·65,·106], | 40119 | ········"0087115871480":·[29,·38,·44,·51,·65,·106], |
| 40120 | ········"00877848":·[29,·38,·44,·51,·65,·106], | 40120 | ········"00877848":·[29,·38,·44,·51,·65,·106], |
| 40121 | ········"008d924":·82, | 40121 | ········"008d924":·82, |
| 40122 | ········"00938242":·[29,·38,·44,·51,·65,·106], | 40122 | ········"00938242":·[29,·38,·44,·51,·65,·106], |
| 40123 | ········"00970":·11, | 40123 | ········"00970":·11, |
| 40124 | ········"0097042321948":·11, | 40124 | ········"0097042321948":·11, |
| 40125 | ········"00970591578156":·11, | 40125 | ········"00970591578156":·11, |
| 40126 | ········"00971":·7, | 40126 | ········"00971":·7, |
| 40127 | ········"00972":·11, | 40127 | ········"00972":·11, |
| 40128 | ········"0097535139":·22, | 40128 | ········"0097535139":·22, |
| 40129 | ········"00991":·[38,·119], | 40129 | ········"00991":·[38,·119], |
| 40130 | ········"01":·[6,·7,·9,·11,·13,·14,·15,·16,·17,·18,·20,·22,·25,·27,·30,·32,·34,·35,·38,·39,·40,·42,·43,·44,·47,·48,·49,·51,·52,·53,·56,·58,·59,·60,·61,·62,·64,·65,·66,·67,·75,·76,·78,·79,·80,·81,·82,·83,·84,·86,·88,·90,·91,·92,·94,·95,·96,·98,·99,·109,·111,·115,·119,·127], | 40130 | ········"01":·[6,·7,·9,·11,·13,·14,·15,·16,·17,·18,·20,·22,·25,·27,·30,·32,·34,·35,·38,·39,·40,·42,·43,·44,·47,·48,·49,·51,·52,·53,·56,·58,·59,·60,·61,·62,·64,·65,·66,·67,·75,·76,·78,·79,·80,·81,·82,·83,·84,·86,·88,·90,·91,·92,·94,·95,·96,·98,·99,·109,·111,·115,·119,·127], |
| 40131 | ········"01000":·94, | 40131 | ········"01000":·94, |
| 40132 | ········"0101586":·62, | ||
| 40133 | ········"010 | 40132 | ········"010729":·49, |
| 40133 | ········"0107293":·49, | ||
| 40134 | ········"011":·[47,·58,·88], | 40134 | ········"011":·[47,·58,·88], |
| 40135 | ········"0115":·[62,·92], | 40135 | ········"0115":·[62,·92], |
| 40136 | ········"01157815659":·32, | 40136 | ········"01157815659":·32, |
| 40137 | ········"0116":·34, | 40137 | ········"0116":·34, |
| 40138 | ········"012":·13, | 40138 | ········"012":·13, |
| 40139 | ········"012000000003":·[29,·38,·51], | 40139 | ········"012000000003":·[29,·38,·51], |
| 40140 | ········"01200003":·[29,·38,·51], | 40140 | ········"01200003":·[29,·38,·51], |
| Offset 40144, 36 lines modified | Offset 40144, 33 lines modified | ||
| 40144 | ········"0123":·[38,·119], | 40144 | ········"0123":·[38,·119], |
| 40145 | ········"012345000065":·[29,·38,·51], | 40145 | ········"012345000065":·[29,·38,·51], |
| 40146 | ········"01234565":·[29,·38,·51], | 40146 | ········"01234565":·[29,·38,·51], |
| 40147 | ········"0123456789":·[35,·38,·49,·91,·119], | 40147 | ········"0123456789":·[35,·38,·49,·91,·119], |
| 40148 | ········"013":·[38,·47,·119], | 40148 | ········"013":·[38,·47,·119], |
| 40149 | ········"013413":·25, | 40149 | ········"013413":·25, |
| 40150 | ········"0140":·[38,·119], | 40150 | ········"0140":·[38,·119], |
| 40151 | ········"014437":·64, | ||
| 40152 | ········"01444":·[35,·38,·49,·91,·119], | 40151 | ········"01444":·[35,·38,·49,·91,·119], |
| 40153 | ········"014904":·51, | ||
| 40154 | ········"0149043":·51, | ||
| 40155 | ········"015":·83, | 40152 | ········"015":·83, |
| 40156 | ········"0150337449585798032331210981996776098583294846980799364841594847719451650":·[38,·124], | 40153 | ········"0150337449585798032331210981996776098583294846980799364841594847719451650":·[38,·124], |
| 40157 | ········"01530":·[38,·119], | 40154 | ········"01530":·[38,·119], |
| 40155 | ········"0155796":·65, | ||
| 40156 | ········"015580":·65, | ||
| 40158 | ········"0156593877847":·[29,·38,·51], | 40157 | ········"0156593877847":·[29,·38,·51], |
| 40159 | ········"015781000057":·[29,·38,·51], | 40158 | ········"015781000057":·[29,·38,·51], |
| 40160 | ········"015913":·25, | 40159 | ········"015913":·25, |
| 40161 | ········"016":·[35,·38,·45,·49,·67,·91,·116], | 40160 | ········"016":·[35,·38,·45,·49,·67,·91,·116], |
| 40162 | ········"0160":·[38,·45,·47,·74,·75,·79], | 40161 | ········"0160":·[38,·45,·47,·74,·75,·79], |
| 40163 | ········"01609":·25, | 40162 | ········"01609":·25, |
| 40164 | ········"016097535134":·[29,·38,·51], | 40163 | ········"016097535134":·[29,·38,·51], |
| 40165 | ········"0163":·64, | 40164 | ········"0163":·64, |
| 40166 | ········"0168":·[38,·123], | 40165 | ········"0168":·[38,·123], |
| 40166 | ········"0172179":·[40,·42], | ||
| 40167 | ········"017218":·[40,·42], | ||
| 40167 | ········"018041":·96, | 40168 | ········"018041":·96, |
| 40169 | ········"02":·[6,·9,·11,·13,·15,·17,·18,·20,·22,·25,·35,·38,·39,·40,·42,·44,·49,·51,·52,·53,·56,·58,·59,·60,·61,·62,·64,·65,·66,·67,·75,·76,·78,·79,·80,·81,·82,·83,·84,·88,·90,·91,·92,·94,·95,·96,·98,·99,·102,·111,·119], | ||
| 40168 | ········"018592":·51, | ||
| 40169 | ········"0185924":·51, | ||
| 40170 | ········"019406":·18, | ||
| 40171 | ········"0194063":·18, | ||
| 40172 | ········"02":·[6,·9,·11,·13,·15,·17,·18,·20,·22,·25,·35,·38,·39,·40,·42,·44,·47,·49,·51,·52,·53,·56,·58,·59,·60,·61,·62,·64,·65,·66,·67,·75,·76,·78,·79,·80,·81,·82,·83,·84,·88,·90,·91,·92,·94,·95,·96,·98,·99,·102,·109,·111,·119], | ||
| 40173 | ········"020":·[30,·45], | 40170 | ········"020":·[30,·45], |
| 40174 | ········"0205938242":·93, | 40171 | ········"0205938242":·93, |
| 40175 | ········"020911":·96, | 40172 | ········"020911":·96, |
| 40176 | ········"021":·42, | 40173 | ········"021":·42, |
| 40177 | ········"02146":·33, | 40174 | ········"02146":·33, |
| 40178 | ········"02173":·83, | 40175 | ········"02173":·83, |
| 40179 | ········"02185":·[21,·52], | 40176 | ········"02185":·[21,·52], |
| Offset 40193, 69 lines modified | Offset 40190, 64 lines modified | ||
| 40193 | ········"0266":·81, | 40190 | ········"0266":·81, |
| 40194 | ········"0268":·81, | 40191 | ········"0268":·81, |
| 40195 | ········"027":·[38,·119], | 40192 | ········"027":·[38,·119], |
| 40196 | ········"028016097":·10, | 40193 | ········"028016097":·10, |
| 40197 | ········"0283877840":·93, | 40194 | ········"0283877840":·93, |
| 40198 | ········"0287115871484":·[29,·38,·51], | 40195 | ········"0287115871484":·[29,·38,·51], |
| 40199 | ········"029":·34, | 40196 | ········"029":·34, |
| 40200 | ········"03":·[4,·6,·9,·13,·15,·17,·18,·20,·22,·25,·34,·35,·38,·39,·40,·42,·44,·49,·51,·52,·53,·56,·58,·59,·60,·61,·62,·64,·65,·66,·67,·75,·76,·78,·79,·80,·81,·82,·83,·84,·88,·90,·91,·92,·9 | 40197 | ········"03":·[4,·6,·9,·13,·15,·17,·18,·20,·22,·25,·34,·35,·38,·39,·40,·42,·44,·49,·51,·52,·53,·56,·58,·59,·60,·61,·62,·64,·65,·66,·67,·75,·76,·78,·79,·80,·81,·82,·83,·84,·88,·90,·91,·92,·95,·96,·98,·99,·111,·119,·127], |
| 40201 | ········"031":·79, | 40198 | ········"031":·79, |
| 40202 | ········"03101":·42, | 40199 | ········"03101":·42, |
| 40203 | ········"0310876":·98, | ||
| 40204 | ········"031088":·98, | ||
| 40205 | ········"033":·67, | 40200 | ········"033":·67, |
| 40206 | ········"03311578169":·64, | 40201 | ········"03311578169":·64, |
| 40207 | ········"0332":·61, | 40202 | ········"0332":·61, |
| 40203 | ········"033245":·[18,·20], | ||
| 40204 | ········"0332453":·[18,·20], | ||
| 40208 | ········"034115783":·[13,·15,·17,·18,·20,·21,·22,·25,·30,·31,·32,·35,·40,·44,·45,·47,·48,·49,·52,·53,·63,·64,·74,·75,·76,·78,·80,·81,·82,·83,·90,·91,·92,·94,·98,·105], | 40205 | ········"034115783":·[13,·15,·17,·18,·20,·21,·22,·25,·30,·31,·32,·35,·40,·44,·45,·47,·48,·49,·52,·53,·63,·64,·74,·75,·76,·78,·80,·81,·82,·83,·90,·91,·92,·94,·98,·105], |
| 40209 | ········"034213":·91, | ||
| Max diff block lines reached; 437116/443383 bytes (98.59%) of diff not shown. | |||