Offset 1, 4 lines modified | Offset 1, 4 lines modified | ||
1 | · | 1 | ·98933ab86f0cb7dd5f1ff8eb0fd7ce1d·963020·doc·optional·faker-doc_28.1.0-2_all.deb |
2 | ·bbba38e6f2b3d1dbf54cd60d63d526ce·29428·python·optional·faker_28.1.0-2_all.deb | 2 | ·bbba38e6f2b3d1dbf54cd60d63d526ce·29428·python·optional·faker_28.1.0-2_all.deb |
3 | ·09adfa285f06548b5d38b61c082c0875·1256036·python·optional·python3-fake-factory_28.1.0-2_all.deb | 3 | ·09adfa285f06548b5d38b61c082c0875·1256036·python·optional·python3-fake-factory_28.1.0-2_all.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2024-09-03·08:31:40.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2024-09-03·08:31:40.000000·debian-binary |
2 | -rw-r--r--···0········0········0·····690 | 2 | -rw-r--r--···0········0········0·····6908·2024-09-03·08:31:40.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0···9 | 3 | -rw-r--r--···0········0········0···955920·2024-09-03·08:31:40.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:·28.1.0-2 | 3 | Version:·28.1.0-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:·3294 | 6 | Installed-Size:·32945 |
7 | Depends:·libjs-sphinxdoc·(>=·7.4) | 7 | Depends:·libjs-sphinxdoc·(>=·7.4) |
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 152, 140 lines modified | Offset 152, 140 lines modified | ||
152 | -rw-r--r--···0·root·········(0)·root·········(0)·····9444·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/communityproviders.html | 152 | -rw-r--r--···0·root·········(0)·root·········(0)·····9444·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/communityproviders.html |
153 | -rw-r--r--···0·root·········(0)·root·········(0)····37252·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/fakerclass.html | 153 | -rw-r--r--···0·root·········(0)·root·········(0)····37252·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/fakerclass.html |
154 | -rw-r--r--···0·root·········(0)·root·········(0)··1334041·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/genindex.html | 154 | -rw-r--r--···0·root·········(0)·root·········(0)··1334041·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/genindex.html |
155 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/includes/ | 155 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/includes/ |
156 | -rw-r--r--···0·root·········(0)·root·········(0)·····3126·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/includes/substitutions.html | 156 | -rw-r--r--···0·root·········(0)·root·········(0)·····3126·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/includes/substitutions.html |
157 | -rw-r--r--···0·root·········(0)·root·········(0)····60207·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/index.html | 157 | -rw-r--r--···0·root·········(0)·root·········(0)····60207·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/index.html |
158 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ | 158 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ |
159 | -rw-r--r--···0·root·········(0)·root·········(0)···4118 | 159 | -rw-r--r--···0·root·········(0)·root·········(0)···411866·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ar_AA.html |
160 | -rw-r--r--···0·root·········(0)·root·········(0)····25930·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ar_AE.html | 160 | -rw-r--r--···0·root·········(0)·root·········(0)····25930·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ar_AE.html |
161 | -rw-r--r--···0·root·········(0)·root·········(0)····10614·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ar_BH.html | 161 | -rw-r--r--···0·root·········(0)·root·········(0)····10614·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ar_BH.html |
162 | -rw-r--r--···0·root·········(0)·root·········(0)···1611 | 162 | -rw-r--r--···0·root·········(0)·root·········(0)···161148·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ar_EG.html |
163 | -rw-r--r--···0·root·········(0)·root·········(0)····29957·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ar_JO.html | 163 | -rw-r--r--···0·root·········(0)·root·········(0)····29957·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ar_JO.html |
164 | -rw-r--r--···0·root·········(0)·root·········(0)···123196·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ar_PS.html | 164 | -rw-r--r--···0·root·········(0)·root·········(0)···123196·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ar_PS.html |
165 | -rw-r--r--···0·root·········(0)·root·········(0)····58584·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ar_SA.html | 165 | -rw-r--r--···0·root·········(0)·root·········(0)····58584·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ar_SA.html |
166 | -rw-r--r--···0·root·········(0)·root·········(0)···5944 | 166 | -rw-r--r--···0·root·········(0)·root·········(0)···594423·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/az_AZ.html |
167 | -rw-r--r--···0·root·········(0)·root·········(0)···222415·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/bg_BG.html | 167 | -rw-r--r--···0·root·········(0)·root·········(0)···222415·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/bg_BG.html |
168 | -rw-r--r--···0·root·········(0)·root·········(0)···6410 | 168 | -rw-r--r--···0·root·········(0)·root·········(0)···641065·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/bn_BD.html |
169 | -rw-r--r--···0·root·········(0)·root·········(0)···118935·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/bs_BA.html | 169 | -rw-r--r--···0·root·········(0)·root·········(0)···118935·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/bs_BA.html |
170 | -rw-r--r--···0·root·········(0)·root·········(0)···5860 | 170 | -rw-r--r--···0·root·········(0)·root·········(0)···586086·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/cs_CZ.html |
171 | -rw-r--r--···0·root·········(0)·root·········(0)···4559 | 171 | -rw-r--r--···0·root·········(0)·root·········(0)···455927·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/da_DK.html |
172 | -rw-r--r--···0·root·········(0)·root·········(0)····18290·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/de.html | 172 | -rw-r--r--···0·root·········(0)·root·········(0)····18290·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/de.html |
173 | -rw-r--r--···0·root·········(0)·root·········(0)···5146 | 173 | -rw-r--r--···0·root·········(0)·root·········(0)···514686·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/de_AT.html |
174 | -rw-r--r--···0·root·········(0)·root·········(0)···126541·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/de_CH.html | 174 | -rw-r--r--···0·root·········(0)·root·········(0)···126541·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/de_CH.html |
175 | -rw-r--r--···0·root·········(0)·root·········(0)···519 | 175 | -rw-r--r--···0·root·········(0)·root·········(0)···519212·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/de_DE.html |
176 | -rw-r--r--···0·root·········(0)·root·········(0)····10104·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/dk_DK.html | 176 | -rw-r--r--···0·root·········(0)·root·········(0)····10104·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/dk_DK.html |
177 | -rw-r--r--···0·root·········(0)·root·········(0)····10116·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/el_CY.html | 177 | -rw-r--r--···0·root·········(0)·root·········(0)····10116·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/el_CY.html |
178 | -rw-r--r--···0·root·········(0)·root·········(0)···6106 | 178 | -rw-r--r--···0·root·········(0)·root·········(0)···610627·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/el_GR.html |
179 | -rw-r--r--···0·root·········(0)·root·········(0)····38278·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en.html | 179 | -rw-r--r--···0·root·········(0)·root·········(0)····38278·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en.html |
180 | -rw-r--r--···0·root·········(0)·root·········(0)···172138·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_AU.html | 180 | -rw-r--r--···0·root·········(0)·root·········(0)···172138·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_AU.html |
181 | -rw-r--r--···0·root·········(0)·root·········(0)····43355·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_BD.html | 181 | -rw-r--r--···0·root·········(0)·root·········(0)····43355·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_BD.html |
182 | -rw-r--r--···0·root·········(0)·root·········(0)···156607·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_CA.html | 182 | -rw-r--r--···0·root·········(0)·root·········(0)···156607·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_CA.html |
183 | -rw-r--r--···0·root·········(0)·root·········(0)···236286·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_GB.html | 183 | -rw-r--r--···0·root·········(0)·root·········(0)···236286·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_GB.html |
184 | -rw-r--r--···0·root·········(0)·root·········(0)···132613·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_IE.html | 184 | -rw-r--r--···0·root·········(0)·root·········(0)···132613·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_IE.html |
185 | -rw-r--r--···0·root·········(0)·root·········(0)···125448·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_IN.html | 185 | -rw-r--r--···0·root·········(0)·root·········(0)···125448·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_IN.html |
186 | -rw-r--r--···0·root·········(0)·root·········(0)····46631·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_MS.html | 186 | -rw-r--r--···0·root·········(0)·root·········(0)····46631·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_MS.html |
187 | -rw-r--r--···0·root·········(0)·root·········(0)···202823·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_NZ.html | 187 | -rw-r--r--···0·root·········(0)·root·········(0)···202823·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_NZ.html |
188 | -rw-r--r--···0·root·········(0)·root·········(0)··11230 | 188 | -rw-r--r--···0·root·········(0)·root·········(0)··1123033·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_PH.html |
189 | -rw-r--r--···0·root·········(0)·root·········(0)····46144·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_PK.html | 189 | -rw-r--r--···0·root·········(0)·root·········(0)····46144·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_PK.html |
190 | -rw-r--r--···0·root·········(0)·root·········(0)····46748·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_TH.html | 190 | -rw-r--r--···0·root·········(0)·root·········(0)····46748·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_TH.html |
191 | -rw-r--r--···0·root·········(0)·root·········(0)··140 | 191 | -rw-r--r--···0·root·········(0)·root·········(0)··1407468·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_US.html |
192 | -rw-r--r--···0·root·········(0)·root·········(0)···199705·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/es.html | 192 | -rw-r--r--···0·root·········(0)·root·········(0)···199705·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/es.html |
193 | -rw-r--r--···0·root·········(0)·root·········(0)···424 | 193 | -rw-r--r--···0·root·········(0)·root·········(0)···424910·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/es_AR.html |
194 | -rw-r--r--···0·root·········(0)·root·········(0)····63608·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/es_CA.html | 194 | -rw-r--r--···0·root·········(0)·root·········(0)····63608·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/es_CA.html |
195 | -rw-r--r--···0·root·········(0)·root·········(0)···4923 | 195 | -rw-r--r--···0·root·········(0)·root·········(0)···492368·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/es_CL.html |
196 | -rw-r--r--···0·root·········(0)·root·········(0)···118781·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/es_CO.html | 196 | -rw-r--r--···0·root·········(0)·root·········(0)···118781·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/es_CO.html |
197 | -rw-r--r--···0·root·········(0)·root·········(0)···5403 | 197 | -rw-r--r--···0·root·········(0)·root·········(0)···540358·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/es_ES.html |
198 | -rw-r--r--···0·root·········(0)·root·········(0)···161771·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/es_MX.html | 198 | -rw-r--r--···0·root·········(0)·root·········(0)···161771·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/es_MX.html |
199 | -rw-r--r--···0·root·········(0)·root·········(0)····75386·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/et_EE.html | 199 | -rw-r--r--···0·root·········(0)·root·········(0)····75386·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/et_EE.html |
200 | -rw-r--r--···0·root·········(0)·root·········(0)···429733·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/fa_IR.html | 200 | -rw-r--r--···0·root·········(0)·root·········(0)···429733·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/fa_IR.html |
201 | -rw-r--r--···0·root·········(0)·root·········(0)···254583·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/fi_FI.html | 201 | -rw-r--r--···0·root·········(0)·root·········(0)···254583·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/fi_FI.html |
202 | -rw-r--r--···0·root·········(0)·root·········(0)··107 | 202 | -rw-r--r--···0·root·········(0)·root·········(0)··1079654·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/fil_PH.html |
203 | -rw-r--r--···0·root·········(0)·root·········(0)····46528·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/fr_BE.html | 203 | -rw-r--r--···0·root·········(0)·root·········(0)····46528·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/fr_BE.html |
204 | -rw-r--r--···0·root·········(0)·root·········(0)···340 | 204 | -rw-r--r--···0·root·········(0)·root·········(0)···340504·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/fr_CA.html |
205 | -rw-r--r--···0·root·········(0)·root·········(0)···264488·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/fr_CH.html | 205 | -rw-r--r--···0·root·········(0)·root·········(0)···264488·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/fr_CH.html |
206 | -rw-r--r--···0·root·········(0)·root·········(0)···58789 | 206 | -rw-r--r--···0·root·········(0)·root·········(0)···587895·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/fr_FR.html |
207 | -rw-r--r--···0·root·········(0)·root·········(0)····46895·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/fr_QC.html | 207 | -rw-r--r--···0·root·········(0)·root·········(0)····46895·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/fr_QC.html |
208 | -rw-r--r--···0·root·········(0)·root·········(0)····46929·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ga_IE.html | 208 | -rw-r--r--···0·root·········(0)·root·········(0)····46929·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ga_IE.html |
209 | -rw-r--r--···0·root·········(0)·root·········(0)···242970·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/he_IL.html | 209 | -rw-r--r--···0·root·········(0)·root·········(0)···242970·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/he_IL.html |
210 | -rw-r--r--···0·root·········(0)·root·········(0)···2444 | 210 | -rw-r--r--···0·root·········(0)·root·········(0)···244476·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/hi_IN.html |
211 | -rw-r--r--···0·root·········(0)·root·········(0)···4139 | 211 | -rw-r--r--···0·root·········(0)·root·········(0)···413986·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/hr_HR.html |
212 | -rw-r--r--···0·root·········(0)·root·········(0)···434 | 212 | -rw-r--r--···0·root·········(0)·root·········(0)···434707·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/hu_HU.html |
213 | -rw-r--r--···0·root·········(0)·root·········(0)···421 | 213 | -rw-r--r--···0·root·········(0)·root·········(0)···421720·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/hy_AM.html |
214 | -rw-r--r--···0·root·········(0)·root·········(0)···4200 | 214 | -rw-r--r--···0·root·········(0)·root·········(0)···420024·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/id_ID.html |
215 | -rw-r--r--···0·root·········(0)·root·········(0)····36069·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/it_CH.html | 215 | -rw-r--r--···0·root·········(0)·root·········(0)····36069·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/it_CH.html |
216 | -rw-r--r--···0·root·········(0)·root·········(0)···4290 | 216 | -rw-r--r--···0·root·········(0)·root·········(0)···429057·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/it_IT.html |
217 | -rw-r--r--···0·root·········(0)·root·········(0)···5701 | 217 | -rw-r--r--···0·root·········(0)·root·········(0)···570196·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ja_JP.html |
218 | -rw-r--r--···0·root·········(0)·root·········(0)····78316·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ka_GE.html | 218 | -rw-r--r--···0·root·········(0)·root·········(0)····78316·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ka_GE.html |
219 | -rw-r--r--···0·root·········(0)·root·········(0)···3984 | 219 | -rw-r--r--···0·root·········(0)·root·········(0)···398472·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ko_KR.html |
220 | -rw-r--r--···0·root·········(0)·root·········(0)····46660·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/la.html | 220 | -rw-r--r--···0·root·········(0)·root·········(0)····46660·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/la.html |
221 | -rw-r--r--···0·root·········(0)·root·········(0)····10244·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/lb_LU.html | 221 | -rw-r--r--···0·root·········(0)·root·········(0)····10244·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/lb_LU.html |
222 | -rw-r--r--···0·root·········(0)·root·········(0)····66079·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/lt_LT.html | 222 | -rw-r--r--···0·root·········(0)·root·········(0)····66079·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/lt_LT.html |
223 | -rw-r--r--···0·root·········(0)·root·········(0)····61267·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/lv_LV.html | 223 | -rw-r--r--···0·root·········(0)·root·········(0)····61267·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/lv_LV.html |
224 | -rw-r--r--···0·root·········(0)·root·········(0)····10256·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/mt_MT.html | 224 | -rw-r--r--···0·root·········(0)·root·········(0)····10256·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/mt_MT.html |
225 | -rw-r--r--···0·root·········(0)·root·········(0)····90966·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ne_NP.html | 225 | -rw-r--r--···0·root·········(0)·root·········(0)····90966·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ne_NP.html |
226 | -rw-r--r--···0·root·········(0)·root·········(0)···231627·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/nl_BE.html | 226 | -rw-r--r--···0·root·········(0)·root·········(0)···231627·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/nl_BE.html |
227 | -rw-r--r--···0·root·········(0)·root·········(0)···4135 | 227 | -rw-r--r--···0·root·········(0)·root·········(0)···413586·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/nl_NL.html |
228 | -rw-r--r--···0·root·········(0)·root·········(0)···3942 | 228 | -rw-r--r--···0·root·········(0)·root·········(0)···394243·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/no_NO.html |
229 | -rw-r--r--···0·root·········(0)·root·········(0)····51989·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/or_IN.html | 229 | -rw-r--r--···0·root·········(0)·root·········(0)····51989·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/or_IN.html |
230 | -rw-r--r--···0·root·········(0)·root·········(0)···5718 | 230 | -rw-r--r--···0·root·········(0)·root·········(0)···571854·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/pl_PL.html |
231 | -rw-r--r--···0·root·········(0)·root·········(0)···4674 | 231 | -rw-r--r--···0·root·········(0)·root·········(0)···467475·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/pt_BR.html |
232 | -rw-r--r--···0·root·········(0)·root·········(0)···4520 | 232 | -rw-r--r--···0·root·········(0)·root·········(0)···452085·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/pt_PT.html |
233 | -rw-r--r--···0·root·········(0)·root·········(0)···429 | 233 | -rw-r--r--···0·root·········(0)·root·········(0)···429706·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ro_RO.html |
234 | -rw-r--r--···0·root·········(0)·root·········(0)···6422 | 234 | -rw-r--r--···0·root·········(0)·root·········(0)···642231·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ru_RU.html |
235 | -rw-r--r--···0·root·········(0)·root·········(0)···49709 | 235 | -rw-r--r--···0·root·········(0)·root·········(0)···497098·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/sk_SK.html |
236 | -rw-r--r--···0·root·········(0)·root·········(0)···3613 | 236 | -rw-r--r--···0·root·········(0)·root·········(0)···361374·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/sl_SI.html |
237 | -rw-r--r--···0·root·········(0)·root·········(0)····10624·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/sq_AL.html | 237 | -rw-r--r--···0·root·········(0)·root·········(0)····10624·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/sq_AL.html |
238 | -rw-r--r--···0·root·········(0)·root·········(0)···241194·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/sv_SE.html | 238 | -rw-r--r--···0·root·········(0)·root·········(0)···241194·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/sv_SE.html |
239 | -rw-r--r--···0·root·········(0)·root·········(0)····24566·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/sw.html | 239 | -rw-r--r--···0·root·········(0)·root·········(0)····24566·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/sw.html |
240 | -rw-r--r--···0·root·········(0)·root·········(0)···2448 | 240 | -rw-r--r--···0·root·········(0)·root·········(0)···244845·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ta_IN.html |
241 | -rw-r--r--···0·root·········(0)·root·········(0)····18290·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/th.html | 241 | -rw-r--r--···0·root·········(0)·root·········(0)····18290·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/th.html |
242 | -rw-r--r--···0·root·········(0)·root·········(0)···6039 | 242 | -rw-r--r--···0·root·········(0)·root·········(0)···603963·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/th_TH.html |
243 | -rw-r--r--···0·root·········(0)·root·········(0)··107 | 243 | -rw-r--r--···0·root·········(0)·root·········(0)··1078460·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/tl_PH.html |
244 | -rw-r--r--···0·root·········(0)·root·········(0)···4085 | 244 | -rw-r--r--···0·root·········(0)·root·········(0)···408577·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/tr_TR.html |
245 | -rw-r--r--···0·root·········(0)·root·········(0)····54262·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/tw_GH.html | 245 | -rw-r--r--···0·root·········(0)·root·········(0)····54262·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/tw_GH.html |
246 | -rw-r--r--···0·root·········(0)·root·········(0)···456 | 246 | -rw-r--r--···0·root·········(0)·root·········(0)···456196·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/uk_UA.html |
247 | -rw-r--r--···0·root·········(0)·root·········(0)···4341 | 247 | -rw-r--r--···0·root·········(0)·root·········(0)···434130·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/vi_VN.html |
248 | -rw-r--r--···0·root·········(0)·root·········(0)····46734·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/yo_NG.html | 248 | -rw-r--r--···0·root·········(0)·root·········(0)····46734·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/yo_NG.html |
249 | -rw-r--r--···0·root·········(0)·root·········(0)···5202 | 249 | -rw-r--r--···0·root·········(0)·root·········(0)···520294·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/zh_CN.html |
250 | -rw-r--r--···0·root·········(0)·root·········(0)···4856 | 250 | -rw-r--r--···0·root·········(0)·root·········(0)···485651·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/zh_TW.html |
251 | -rw-r--r--···0·root·········(0)·root·········(0)····46708·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/zu_ZA.html | 251 | -rw-r--r--···0·root·········(0)·root·········(0)····46708·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/zu_ZA.html |
252 | -rw-r--r--···0·root·········(0)·root·········(0)···141121·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales.html | 252 | -rw-r--r--···0·root·········(0)·root·········(0)···141121·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales.html |
253 | -rw-r--r--···0·root·········(0)·root·········(0)····37931·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/objects.inv | 253 | -rw-r--r--···0·root·········(0)·root·········(0)····37931·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/objects.inv |
254 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/ | 254 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/ |
255 | -rw-r--r--···0·root·········(0)·root·········(0)···125671·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/baseprovider.html | 255 | -rw-r--r--···0·root·········(0)·root·········(0)···125671·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/baseprovider.html |
256 | -rw-r--r--···0·root·········(0)·root·········(0)····30898·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.address.html | 256 | -rw-r--r--···0·root·········(0)·root·········(0)····30898·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.address.html |
257 | -rw-r--r--···0·root·········(0)·root·········(0)····10547·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.automotive.html | 257 | -rw-r--r--···0·root·········(0)·root·········(0)····10547·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.automotive.html |
258 | -rw-r--r--···0·root·········(0)·root·········(0)····36775·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.bank.html | 258 | -rw-r--r--···0·root·········(0)·root·········(0)····36775·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.bank.html |
259 | -rw-r--r--···0·root·········(0)·root·········(0)····39778·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.barcode.html | 259 | -rw-r--r--···0·root·········(0)·root·········(0)····39778·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.barcode.html |
260 | -rw-r--r--···0·root·········(0)·root·········(0)····53124·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.color.html | 260 | -rw-r--r--···0·root·········(0)·root·········(0)····53124·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.color.html |
261 | -rw-r--r--···0·root·········(0)·root·········(0)····14854·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.company.html | 261 | -rw-r--r--···0·root·········(0)·root·········(0)····14854·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.company.html |
262 | -rw-r--r--···0·root·········(0)·root·········(0)····26039·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.credit_card.html | 262 | -rw-r--r--···0·root·········(0)·root·········(0)····26039·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.credit_card.html |
263 | -rw-r--r--···0·root·········(0)·root·········(0)····23944·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.currency.html | 263 | -rw-r--r--···0·root·········(0)·root·········(0)····23944·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.currency.html |
264 | -rw-r--r--···0·root·········(0)·root·········(0)···16085 | 264 | -rw-r--r--···0·root·········(0)·root·········(0)···160858·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.date_time.html |
265 | -rw-r--r--···0·root·········(0)·root·········(0)·····8562·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.emoji.html | 265 | -rw-r--r--···0·root·········(0)·root·········(0)·····8562·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.emoji.html |
266 | -rw-r--r--···0·root·········(0)·root·········(0)····46591·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.file.html | 266 | -rw-r--r--···0·root·········(0)·root·········(0)····46591·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.file.html |
267 | -rw-r--r--···0·root·········(0)·root·········(0)····24657·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.geo.html | 267 | -rw-r--r--···0·root·········(0)·root·········(0)····24657·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.geo.html |
268 | -rw-r--r--···0·root·········(0)·root·········(0)···106972·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.internet.html | 268 | -rw-r--r--···0·root·········(0)·root·········(0)···106972·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.internet.html |
269 | -rw-r--r--···0·root·········(0)·root·········(0)····12105·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.isbn.html | 269 | -rw-r--r--···0·root·········(0)·root·········(0)····12105·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.isbn.html |
270 | -rw-r--r--···0·root·········(0)·root·········(0)·····8400·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.job.html | 270 | -rw-r--r--···0·root·········(0)·root·········(0)·····8400·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.job.html |
271 | -rw-r--r--···0·root·········(0)·root·········(0)····96356·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.lorem.html | 271 | -rw-r--r--···0·root·········(0)·root·········(0)····96356·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.lorem.html |
272 | -rw-r--r--···0·root·········(0)·root·········(0)··· | 272 | -rw-r--r--···0·root·········(0)·root·········(0)···498919·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.misc.html |
273 | -rw-r--r--···0·root·········(0)·root·········(0)····138 | 273 | -rw-r--r--···0·root·········(0)·root·········(0)····13890·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.passport.html |
274 | -rw-r--r--···0·root·········(0)·root·········(0)····46457·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.person.html | 274 | -rw-r--r--···0·root·········(0)·root·········(0)····46457·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.person.html |
275 | -rw-r--r--···0·root·········(0)·root·········(0)····12569·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.phone_number.html | 275 | -rw-r--r--···0·root·········(0)·root·········(0)····12569·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.phone_number.html |
276 | -rw-r--r--···0·root·········(0)·root·········(0)····21957·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.profile.html | 276 | -rw-r--r--···0·root·········(0)·root·········(0)····21957·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.profile.html |
277 | -rw-r--r--···0·root·········(0)·root·········(0)···11326 | 277 | -rw-r--r--···0·root·········(0)·root·········(0)···113262·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.python.html |
278 | -rw-r--r--···0·root·········(0)·root·········(0)·····9202·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.sbn.html | 278 | -rw-r--r--···0·root·········(0)·root·········(0)·····9202·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.sbn.html |
Max diff block lines reached; 1962/26141 bytes (7.51%) of diff not shown. |
Offset 58, 17 lines modified | Offset 58, 17 lines modified | ||
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> | 63 | <span·class="go">'ص'</span> |
64 | <span·class="go">'ص'</span> | 64 | <span·class="go">'ص'</span> |
65 | <span·class="go">'م'</span> | ||
66 | <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.12)"><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.12)"><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, 17 lines modified | Offset 109, 17 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">'2016-04-2 | 116 | <span·class="go">'2016-04-27'</span> |
117 | <span·class="go">'2011-07-3 | 117 | <span·class="go">'2011-07-31'</span> |
118 | <span·class="go">'1993-01-2 | 118 | <span·class="go">'1993-01-26'</span> |
119 | <span·class="go">'1984-03-15'</span> | 119 | <span·class="go">'1984-03-15'</span> |
120 | <span·class="go">'1998-01-17'</span> | 120 | <span·class="go">'1998-01-17'</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"> |
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(2020,·3,· | 150 | <span·class="go">datetime.date(2020,·3,·9)</span> |
151 | <span·class="go">datetime.date(2017,·8,· | 151 | <span·class="go">datetime.date(2017,·8,·4)</span> |
152 | <span·class="go">datetime.date(2007,·6,·2 | 152 | <span·class="go">datetime.date(2007,·6,·21)</span> |
153 | <span·class="go">datetime.date(2002,·8,·1 | 153 | <span·class="go">datetime.date(2002,·8,·15)</span> |
154 | <span·class="go">datetime.date(2010,·3,·1 | 154 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 181 | <span·class="go">datetime.date(2024,·11,·8)</span> |
182 | <span·class="go">datetime.date(2024,·11,· | 182 | <span·class="go">datetime.date(2024,·11,·8)</span> |
183 | <span·class="go">datetime.date(2024,·11,· | 183 | <span·class="go">datetime.date(2024,·11,·8)</span> |
184 | <span·class="go">datetime.date(2024,·11,· | 184 | <span·class="go">datetime.date(2024,·11,·8)</span> |
185 | <span·class="go">datetime.date(2024,·11,· | 185 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 198, 17 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(2016,·4,·2 | 205 | <span·class="go">datetime.date(2016,·4,·27)</span> |
206 | <span·class="go">datetime.date(2011,·7,·3 | 206 | <span·class="go">datetime.date(2011,·7,·31)</span> |
207 | <span·class="go">datetime.date(1993,·1,·2 | 207 | <span·class="go">datetime.date(1993,·1,·26)</span> |
208 | <span·class="go">datetime.date(1984,·3,·15)</span> | 208 | <span·class="go">datetime.date(1984,·3,·15)</span> |
209 | <span·class="go">datetime.date(1998,·1,·17)</span> | 209 | <span·class="go">datetime.date(1998,·1,·17)</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"> |
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(2006,·10,·2 | 241 | <span·class="go">datetime.date(2006,·10,·22)</span> |
242 | <span·class="go">datetime.date(1996,·10,· | 242 | <span·class="go">datetime.date(1996,·10,·10)</span> |
243 | <span·class="go">datetime.date(1957,·8,·2 | 243 | <span·class="go">datetime.date(1957,·8,·22)</span> |
244 | <span·class="go">datetime.date(1938,·11,·2 | 244 | <span·class="go">datetime.date(1938,·11,·21)</span> |
245 | <span·class="go">datetime.date(1968,·2,·2 | 245 | <span·class="go">datetime.date(1968,·2,·29)</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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> |
268 | <dd·class="field-even"><p></p></dd> | 268 | <dd·class="field-even"><p></p></dd> |
269 | </dl> | 269 | </dl> |
270 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 270 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
271 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 271 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
272 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> | 272 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
273 | <span·class="gp">...</span> | 273 | <span·class="gp">...</span> |
274 | <span·class="go">datetime.date(2020,·12,·2 | 274 | <span·class="go">datetime.date(2020,·12,·26)</span> |
275 | <span·class="go">datetime.date(2018,·11,· | 275 | <span·class="go">datetime.date(2018,·11,·2)</span> |
276 | <span·class="go">datetime.date(2010,·6,·14)</span> | 276 | <span·class="go">datetime.date(2010,·6,·14)</span> |
277 | <span·class="go">datetime.date(2006,·6,·8)</span> | 277 | <span·class="go">datetime.date(2006,·6,·8)</span> |
Max diff block lines reached; 83945/100846 bytes (83.24%) of diff not shown. |
Offset 13, 17 lines modified | Offset 13, 17 lines modified | ||
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 | ············'ص' | 18 | ············'ص' |
19 | ············'ص' | 19 | ············'ص' |
20 | ············'م' | ||
21 | ············'ص' | ||
22 | ············'ص' | 20 | ············'ص' |
21 | ············'م' | ||
22 | ············'م' | ||
23 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 23 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
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, 17 lines modified | Offset 43, 17 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 | ············'2016-04-2 | 50 | ············'2016-04-27' |
51 | ············'2011-07-3 | 51 | ············'2011-07-31' |
52 | ············'1993-01-2 | 52 | ············'1993-01-26' |
53 | ············'1984-03-15' | 53 | ············'1984-03-15' |
54 | ············'1998-01-17' | 54 | ············'1998-01-17' |
55 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 55 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
56 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 56 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
57 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 57 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(). |
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(2020,·3,· | 72 | ············datetime.date(2020,·3,·9) |
73 | ············datetime.date(2017,·8,· | 73 | ············datetime.date(2017,·8,·4) |
74 | ············datetime.date(2007,·6,·2 | 74 | ············datetime.date(2007,·6,·21) |
75 | ············datetime.date(2002,·8,·1 | 75 | ············datetime.date(2002,·8,·15) |
76 | ············datetime.date(2010,·3,·1 | 76 | ············datetime.date(2010,·3,·11) |
77 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 77 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
78 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 78 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
79 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 79 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 83 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 85, 31 lines modified | Offset 85, 31 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(2024,·11,· | 92 | ············datetime.date(2024,·11,·8) |
93 | ············datetime.date(2024,·11,· | 93 | ············datetime.date(2024,·11,·8) |
94 | ············datetime.date(2024,·11,· | 94 | ············datetime.date(2024,·11,·8) |
95 | ············datetime.date(2024,·11,· | 95 | ············datetime.date(2024,·11,·8) |
96 | ············datetime.date(2024,·11,· | 96 | ············datetime.date(2024,·11,·8) |
97 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 97 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(2016,·4,·2 | 106 | ············datetime.date(2016,·4,·27) |
107 | ············datetime.date(2011,·7,·3 | 107 | ············datetime.date(2011,·7,·31) |
108 | ············datetime.date(1993,·1,·2 | 108 | ············datetime.date(1993,·1,·26) |
109 | ············datetime.date(1984,·3,·15) | 109 | ············datetime.date(1984,·3,·15) |
110 | ············datetime.date(1998,·1,·17) | 110 | ············datetime.date(1998,·1,·17) |
111 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 111 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
112 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 112 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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: |
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(2006,·10,·2 | 128 | ············datetime.date(2006,·10,·22) |
129 | ············datetime.date(1996,·10,· | 129 | ············datetime.date(1996,·10,·10) |
130 | ············datetime.date(1957,·8,·2 | 130 | ············datetime.date(1957,·8,·22) |
131 | ············datetime.date(1938,·11,·2 | 131 | ············datetime.date(1938,·11,·21) |
132 | ············datetime.date(1968,·2,·2 | 132 | ············datetime.date(1968,·2,·29) |
133 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 133 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
134 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 134 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
135 | ············Gets·a·Date·object·for·the·current·century. | 135 | ············Gets·a·Date·object·for·the·current·century. |
136 | ··············Parameters: | 136 | ··············Parameters: |
137 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 137 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
138 | ························today | 138 | ························today |
139 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 139 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·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 | ············... |
150 | ············datetime.date(2020,·12,·2 | 150 | ············datetime.date(2020,·12,·26) |
151 | ············datetime.date(2018,·11,· | 151 | ············datetime.date(2018,·11,·2) |
152 | ············datetime.date(2010,·6,·14) | 152 | ············datetime.date(2010,·6,·14) |
153 | ············datetime.date(2006,·6,·8) | 153 | ············datetime.date(2006,·6,·8) |
154 | ············datetime.date(2012,·9,·1 | 154 | ············datetime.date(2012,·9,·15) |
155 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 155 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
156 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 156 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
157 | ············Gets·a·Date·object·for·the·decade·year. | 157 | ············Gets·a·Date·object·for·the·decade·year. |
158 | ··············Parameters: | 158 | ··············Parameters: |
159 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 159 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
Max diff block lines reached; 27202/34086 bytes (79.80%) of diff not shown. |
Offset 58, 17 lines modified | Offset 58, 17 lines modified | ||
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> | 63 | <span·class="go">'ص'</span> |
64 | <span·class="go">'ص'</span> | 64 | <span·class="go">'ص'</span> |
65 | <span·class="go">'م'</span> | ||
66 | <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.12)"><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.12)"><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, 17 lines modified | Offset 109, 17 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">'2016-04-2 | 116 | <span·class="go">'2016-04-27'</span> |
117 | <span·class="go">'2011-07-3 | 117 | <span·class="go">'2011-07-31'</span> |
118 | <span·class="go">'1993-01-2 | 118 | <span·class="go">'1993-01-26'</span> |
119 | <span·class="go">'1984-03-15'</span> | 119 | <span·class="go">'1984-03-15'</span> |
120 | <span·class="go">'1998-01-17'</span> | 120 | <span·class="go">'1998-01-17'</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"> |
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(2020,·3,· | 150 | <span·class="go">datetime.date(2020,·3,·9)</span> |
151 | <span·class="go">datetime.date(2017,·8,· | 151 | <span·class="go">datetime.date(2017,·8,·4)</span> |
152 | <span·class="go">datetime.date(2007,·6,·2 | 152 | <span·class="go">datetime.date(2007,·6,·21)</span> |
153 | <span·class="go">datetime.date(2002,·8,·1 | 153 | <span·class="go">datetime.date(2002,·8,·15)</span> |
154 | <span·class="go">datetime.date(2010,·3,·1 | 154 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 181 | <span·class="go">datetime.date(2024,·11,·8)</span> |
182 | <span·class="go">datetime.date(2024,·11,· | 182 | <span·class="go">datetime.date(2024,·11,·8)</span> |
183 | <span·class="go">datetime.date(2024,·11,· | 183 | <span·class="go">datetime.date(2024,·11,·8)</span> |
184 | <span·class="go">datetime.date(2024,·11,· | 184 | <span·class="go">datetime.date(2024,·11,·8)</span> |
185 | <span·class="go">datetime.date(2024,·11,· | 185 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 198, 17 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(2016,·4,·2 | 205 | <span·class="go">datetime.date(2016,·4,·27)</span> |
206 | <span·class="go">datetime.date(2011,·7,·3 | 206 | <span·class="go">datetime.date(2011,·7,·31)</span> |
207 | <span·class="go">datetime.date(1993,·1,·2 | 207 | <span·class="go">datetime.date(1993,·1,·26)</span> |
208 | <span·class="go">datetime.date(1984,·3,·15)</span> | 208 | <span·class="go">datetime.date(1984,·3,·15)</span> |
209 | <span·class="go">datetime.date(1998,·1,·17)</span> | 209 | <span·class="go">datetime.date(1998,·1,·17)</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"> |
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(2006,·10,·2 | 241 | <span·class="go">datetime.date(2006,·10,·22)</span> |
242 | <span·class="go">datetime.date(1996,·10,· | 242 | <span·class="go">datetime.date(1996,·10,·10)</span> |
243 | <span·class="go">datetime.date(1957,·8,·2 | 243 | <span·class="go">datetime.date(1957,·8,·22)</span> |
244 | <span·class="go">datetime.date(1938,·11,·2 | 244 | <span·class="go">datetime.date(1938,·11,·21)</span> |
245 | <span·class="go">datetime.date(1968,·2,·2 | 245 | <span·class="go">datetime.date(1968,·2,·29)</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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> |
268 | <dd·class="field-even"><p></p></dd> | 268 | <dd·class="field-even"><p></p></dd> |
269 | </dl> | 269 | </dl> |
270 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 270 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
271 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 271 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
272 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> | 272 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
273 | <span·class="gp">...</span> | 273 | <span·class="gp">...</span> |
274 | <span·class="go">datetime.date(2020,·12,·2 | 274 | <span·class="go">datetime.date(2020,·12,·26)</span> |
275 | <span·class="go">datetime.date(2018,·11,· | 275 | <span·class="go">datetime.date(2018,·11,·2)</span> |
276 | <span·class="go">datetime.date(2010,·6,·14)</span> | 276 | <span·class="go">datetime.date(2010,·6,·14)</span> |
277 | <span·class="go">datetime.date(2006,·6,·8)</span> | 277 | <span·class="go">datetime.date(2006,·6,·8)</span> |
Max diff block lines reached; 83940/100841 bytes (83.24%) of diff not shown. |
Offset 13, 17 lines modified | Offset 13, 17 lines modified | ||
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 | ············'ص' | 18 | ············'ص' |
19 | ············'ص' | 19 | ············'ص' |
20 | ············'م' | ||
21 | ············'ص' | ||
22 | ············'ص' | 20 | ············'ص' |
21 | ············'م' | ||
22 | ············'م' | ||
23 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 23 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
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, 17 lines modified | Offset 43, 17 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 | ············'2016-04-2 | 50 | ············'2016-04-27' |
51 | ············'2011-07-3 | 51 | ············'2011-07-31' |
52 | ············'1993-01-2 | 52 | ············'1993-01-26' |
53 | ············'1984-03-15' | 53 | ············'1984-03-15' |
54 | ············'1998-01-17' | 54 | ············'1998-01-17' |
55 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 55 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
56 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 56 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
57 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 57 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(). |
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(2020,·3,· | 72 | ············datetime.date(2020,·3,·9) |
73 | ············datetime.date(2017,·8,· | 73 | ············datetime.date(2017,·8,·4) |
74 | ············datetime.date(2007,·6,·2 | 74 | ············datetime.date(2007,·6,·21) |
75 | ············datetime.date(2002,·8,·1 | 75 | ············datetime.date(2002,·8,·15) |
76 | ············datetime.date(2010,·3,·1 | 76 | ············datetime.date(2010,·3,·11) |
77 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 77 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
78 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 78 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
79 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 79 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 83 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 85, 31 lines modified | Offset 85, 31 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(2024,·11,· | 92 | ············datetime.date(2024,·11,·8) |
93 | ············datetime.date(2024,·11,· | 93 | ············datetime.date(2024,·11,·8) |
94 | ············datetime.date(2024,·11,· | 94 | ············datetime.date(2024,·11,·8) |
95 | ············datetime.date(2024,·11,· | 95 | ············datetime.date(2024,·11,·8) |
96 | ············datetime.date(2024,·11,· | 96 | ············datetime.date(2024,·11,·8) |
97 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 97 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(2016,·4,·2 | 106 | ············datetime.date(2016,·4,·27) |
107 | ············datetime.date(2011,·7,·3 | 107 | ············datetime.date(2011,·7,·31) |
108 | ············datetime.date(1993,·1,·2 | 108 | ············datetime.date(1993,·1,·26) |
109 | ············datetime.date(1984,·3,·15) | 109 | ············datetime.date(1984,·3,·15) |
110 | ············datetime.date(1998,·1,·17) | 110 | ············datetime.date(1998,·1,·17) |
111 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 111 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
112 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 112 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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: |
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(2006,·10,·2 | 128 | ············datetime.date(2006,·10,·22) |
129 | ············datetime.date(1996,·10,· | 129 | ············datetime.date(1996,·10,·10) |
130 | ············datetime.date(1957,·8,·2 | 130 | ············datetime.date(1957,·8,·22) |
131 | ············datetime.date(1938,·11,·2 | 131 | ············datetime.date(1938,·11,·21) |
132 | ············datetime.date(1968,·2,·2 | 132 | ············datetime.date(1968,·2,·29) |
133 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 133 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
134 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 134 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
135 | ············Gets·a·Date·object·for·the·current·century. | 135 | ············Gets·a·Date·object·for·the·current·century. |
136 | ··············Parameters: | 136 | ··············Parameters: |
137 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 137 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
138 | ························today | 138 | ························today |
139 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 139 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·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 | ············... |
150 | ············datetime.date(2020,·12,·2 | 150 | ············datetime.date(2020,·12,·26) |
151 | ············datetime.date(2018,·11,· | 151 | ············datetime.date(2018,·11,·2) |
152 | ············datetime.date(2010,·6,·14) | 152 | ············datetime.date(2010,·6,·14) |
153 | ············datetime.date(2006,·6,·8) | 153 | ············datetime.date(2006,·6,·8) |
154 | ············datetime.date(2012,·9,·1 | 154 | ············datetime.date(2012,·9,·15) |
155 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 155 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
156 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 156 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
157 | ············Gets·a·Date·object·for·the·decade·year. | 157 | ············Gets·a·Date·object·for·the·decade·year. |
158 | ··············Parameters: | 158 | ··············Parameters: |
159 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 159 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
Max diff block lines reached; 27197/34081 bytes (79.80%) of diff not shown. |
Offset 1517, 17 lines modified | Offset 1517, 17 lines modified | ||
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">'AM'</span> | 1522 | <span·class="go">'AM'</span> |
1523 | <span·class="go">'AM'</span> | 1523 | <span·class="go">'AM'</span> |
1524 | <span·class="go">'PM'</span> | ||
1525 | <span·class="go">'AM'</span> | ||
1526 | <span·class="go">'AM'</span> | 1524 | <span·class="go">'AM'</span> |
1525 | <span·class="go">'PM'</span> | ||
1526 | <span·class="go">'PM'</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.12)"><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.12)"><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, 17 lines modified | Offset 1568, 17 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">'2016-04-2 | 1575 | <span·class="go">'2016-04-27'</span> |
1576 | <span·class="go">'2011-07-3 | 1576 | <span·class="go">'2011-07-31'</span> |
1577 | <span·class="go">'1993-01-2 | 1577 | <span·class="go">'1993-01-26'</span> |
1578 | <span·class="go">'1984-03-15'</span> | 1578 | <span·class="go">'1984-03-15'</span> |
1579 | <span·class="go">'1998-01-17'</span> | 1579 | <span·class="go">'1998-01-17'</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"> |
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(2020,·3,· | 1609 | <span·class="go">datetime.date(2020,·3,·9)</span> |
1610 | <span·class="go">datetime.date(2017,·8,· | 1610 | <span·class="go">datetime.date(2017,·8,·4)</span> |
1611 | <span·class="go">datetime.date(2007,·6,·2 | 1611 | <span·class="go">datetime.date(2007,·6,·21)</span> |
1612 | <span·class="go">datetime.date(2002,·8,·1 | 1612 | <span·class="go">datetime.date(2002,·8,·15)</span> |
1613 | <span·class="go">datetime.date(2010,·3,·1 | 1613 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 1640 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1641 | <span·class="go">datetime.date(2024,·11,· | 1641 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1642 | <span·class="go">datetime.date(2024,·11,· | 1642 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1643 | <span·class="go">datetime.date(2024,·11,· | 1643 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1644 | <span·class="go">datetime.date(2024,·11,· | 1644 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 1657, 17 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(2016,·4,·2 | 1664 | <span·class="go">datetime.date(2016,·4,·27)</span> |
1665 | <span·class="go">datetime.date(2011,·7,·3 | 1665 | <span·class="go">datetime.date(2011,·7,·31)</span> |
1666 | <span·class="go">datetime.date(1993,·1,·2 | 1666 | <span·class="go">datetime.date(1993,·1,·26)</span> |
1667 | <span·class="go">datetime.date(1984,·3,·15)</span> | 1667 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1668 | <span·class="go">datetime.date(1998,·1,·17)</span> | 1668 | <span·class="go">datetime.date(1998,·1,·17)</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"> |
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(2006,·10,·2 | 1700 | <span·class="go">datetime.date(2006,·10,·22)</span> |
1701 | <span·class="go">datetime.date(1996,·10,· | 1701 | <span·class="go">datetime.date(1996,·10,·10)</span> |
1702 | <span·class="go">datetime.date(1957,·8,·2 | 1702 | <span·class="go">datetime.date(1957,·8,·22)</span> |
1703 | <span·class="go">datetime.date(1938,·11,·2 | 1703 | <span·class="go">datetime.date(1938,·11,·21)</span> |
1704 | <span·class="go">datetime.date(1968,·2,·2 | 1704 | <span·class="go">datetime.date(1968,·2,·29)</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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> |
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_this_century</span><span·class="p">()</span> | 1731 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
1732 | <span·class="gp">...</span> | 1732 | <span·class="gp">...</span> |
1733 | <span·class="go">datetime.date(2020,·12,·2 | 1733 | <span·class="go">datetime.date(2020,·12,·26)</span> |
1734 | <span·class="go">datetime.date(2018,·11,· | 1734 | <span·class="go">datetime.date(2018,·11,·2)</span> |
1735 | <span·class="go">datetime.date(2010,·6,·14)</span> | 1735 | <span·class="go">datetime.date(2010,·6,·14)</span> |
1736 | <span·class="go">datetime.date(2006,·6,·8)</span> | 1736 | <span·class="go">datetime.date(2006,·6,·8)</span> |
Max diff block lines reached; 88469/105393 bytes (83.94%) of diff not shown. |
Offset 888, 17 lines modified | Offset 888, 17 lines modified | ||
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 | ············'AM' | 893 | ············'AM' |
894 | ············'AM' | 894 | ············'AM' |
895 | ············'PM' | ||
896 | ············'AM' | ||
897 | ············'AM' | 895 | ············'AM' |
896 | ············'PM' | ||
897 | ············'PM' | ||
898 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 898 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
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, 17 lines modified | Offset 918, 17 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 | ············'2016-04-2 | 925 | ············'2016-04-27' |
926 | ············'2011-07-3 | 926 | ············'2011-07-31' |
927 | ············'1993-01-2 | 927 | ············'1993-01-26' |
928 | ············'1984-03-15' | 928 | ············'1984-03-15' |
929 | ············'1998-01-17' | 929 | ············'1998-01-17' |
930 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 930 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
931 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 931 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
932 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 932 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(). |
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(2020,·3,· | 947 | ············datetime.date(2020,·3,·9) |
948 | ············datetime.date(2017,·8,· | 948 | ············datetime.date(2017,·8,·4) |
949 | ············datetime.date(2007,·6,·2 | 949 | ············datetime.date(2007,·6,·21) |
950 | ············datetime.date(2002,·8,·1 | 950 | ············datetime.date(2002,·8,·15) |
951 | ············datetime.date(2010,·3,·1 | 951 | ············datetime.date(2010,·3,·11) |
952 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 952 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
953 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 953 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
954 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 954 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 958 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 960, 31 lines modified | Offset 960, 31 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(2024,·11,· | 967 | ············datetime.date(2024,·11,·8) |
968 | ············datetime.date(2024,·11,· | 968 | ············datetime.date(2024,·11,·8) |
969 | ············datetime.date(2024,·11,· | 969 | ············datetime.date(2024,·11,·8) |
970 | ············datetime.date(2024,·11,· | 970 | ············datetime.date(2024,·11,·8) |
971 | ············datetime.date(2024,·11,· | 971 | ············datetime.date(2024,·11,·8) |
972 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 972 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(2016,·4,·2 | 981 | ············datetime.date(2016,·4,·27) |
982 | ············datetime.date(2011,·7,·3 | 982 | ············datetime.date(2011,·7,·31) |
983 | ············datetime.date(1993,·1,·2 | 983 | ············datetime.date(1993,·1,·26) |
984 | ············datetime.date(1984,·3,·15) | 984 | ············datetime.date(1984,·3,·15) |
985 | ············datetime.date(1998,·1,·17) | 985 | ············datetime.date(1998,·1,·17) |
986 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 986 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
987 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 987 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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: |
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(2006,·10,·2 | 1003 | ············datetime.date(2006,·10,·22) |
1004 | ············datetime.date(1996,·10,· | 1004 | ············datetime.date(1996,·10,·10) |
1005 | ············datetime.date(1957,·8,·2 | 1005 | ············datetime.date(1957,·8,·22) |
1006 | ············datetime.date(1938,·11,·2 | 1006 | ············datetime.date(1938,·11,·21) |
1007 | ············datetime.date(1968,·2,·2 | 1007 | ············datetime.date(1968,·2,·29) |
1008 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 1008 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
1009 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1009 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
1010 | ············Gets·a·Date·object·for·the·current·century. | 1010 | ············Gets·a·Date·object·for·the·current·century. |
1011 | ··············Parameters: | 1011 | ··············Parameters: |
1012 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 1012 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
1013 | ························today | 1013 | ························today |
1014 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 1014 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·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 | ············... |
1025 | ············datetime.date(2020,·12,·2 | 1025 | ············datetime.date(2020,·12,·26) |
1026 | ············datetime.date(2018,·11,· | 1026 | ············datetime.date(2018,·11,·2) |
1027 | ············datetime.date(2010,·6,·14) | 1027 | ············datetime.date(2010,·6,·14) |
1028 | ············datetime.date(2006,·6,·8) | 1028 | ············datetime.date(2006,·6,·8) |
1029 | ············datetime.date(2012,·9,·1 | 1029 | ············datetime.date(2012,·9,·15) |
1030 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 1030 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
1031 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1031 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
1032 | ············Gets·a·Date·object·for·the·decade·year. | 1032 | ············Gets·a·Date·object·for·the·decade·year. |
1033 | ··············Parameters: | 1033 | ··············Parameters: |
1034 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 1034 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
Max diff block lines reached; 29580/36481 bytes (81.08%) of diff not shown. |
Offset 1482, 17 lines modified | Offset 1482, 17 lines modified | ||
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">'AM'</span> | 1487 | <span·class="go">'AM'</span> |
1488 | <span·class="go">'AM'</span> | 1488 | <span·class="go">'AM'</span> |
1489 | <span·class="go">'PM'</span> | ||
1490 | <span·class="go">'AM'</span> | ||
1491 | <span·class="go">'AM'</span> | 1489 | <span·class="go">'AM'</span> |
1490 | <span·class="go">'PM'</span> | ||
1491 | <span·class="go">'PM'</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.12)"><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.12)"><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, 17 lines modified | Offset 1533, 17 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">'2016-04-2 | 1540 | <span·class="go">'2016-04-27'</span> |
1541 | <span·class="go">'2011-07-3 | 1541 | <span·class="go">'2011-07-31'</span> |
1542 | <span·class="go">'1993-01-2 | 1542 | <span·class="go">'1993-01-26'</span> |
1543 | <span·class="go">'1984-03-15'</span> | 1543 | <span·class="go">'1984-03-15'</span> |
1544 | <span·class="go">'1998-01-17'</span> | 1544 | <span·class="go">'1998-01-17'</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"> |
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(2020,·3,· | 1574 | <span·class="go">datetime.date(2020,·3,·9)</span> |
1575 | <span·class="go">datetime.date(2017,·8,· | 1575 | <span·class="go">datetime.date(2017,·8,·4)</span> |
1576 | <span·class="go">datetime.date(2007,·6,·2 | 1576 | <span·class="go">datetime.date(2007,·6,·21)</span> |
1577 | <span·class="go">datetime.date(2002,·8,·1 | 1577 | <span·class="go">datetime.date(2002,·8,·15)</span> |
1578 | <span·class="go">datetime.date(2010,·3,·1 | 1578 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 1605 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1606 | <span·class="go">datetime.date(2024,·11,· | 1606 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1607 | <span·class="go">datetime.date(2024,·11,· | 1607 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1608 | <span·class="go">datetime.date(2024,·11,· | 1608 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1609 | <span·class="go">datetime.date(2024,·11,· | 1609 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 1622, 17 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(2016,·4,·2 | 1629 | <span·class="go">datetime.date(2016,·4,·27)</span> |
1630 | <span·class="go">datetime.date(2011,·7,·3 | 1630 | <span·class="go">datetime.date(2011,·7,·31)</span> |
1631 | <span·class="go">datetime.date(1993,·1,·2 | 1631 | <span·class="go">datetime.date(1993,·1,·26)</span> |
1632 | <span·class="go">datetime.date(1984,·3,·15)</span> | 1632 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1633 | <span·class="go">datetime.date(1998,·1,·17)</span> | 1633 | <span·class="go">datetime.date(1998,·1,·17)</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"> |
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(2006,·10,·2 | 1665 | <span·class="go">datetime.date(2006,·10,·22)</span> |
1666 | <span·class="go">datetime.date(1996,·10,· | 1666 | <span·class="go">datetime.date(1996,·10,·10)</span> |
1667 | <span·class="go">datetime.date(1957,·8,·2 | 1667 | <span·class="go">datetime.date(1957,·8,·22)</span> |
1668 | <span·class="go">datetime.date(1938,·11,·2 | 1668 | <span·class="go">datetime.date(1938,·11,·21)</span> |
1669 | <span·class="go">datetime.date(1968,·2,·2 | 1669 | <span·class="go">datetime.date(1968,·2,·29)</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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> |
1692 | <dd·class="field-even"><p></p></dd> | 1692 | <dd·class="field-even"><p></p></dd> |
1693 | </dl> | 1693 | </dl> |
1694 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1694 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">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 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1695 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</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="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> | 1696 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
1697 | <span·class="gp">...</span> | 1697 | <span·class="gp">...</span> |
1698 | <span·class="go">datetime.date(2020,·12,·2 | 1698 | <span·class="go">datetime.date(2020,·12,·26)</span> |
1699 | <span·class="go">datetime.date(2018,·11,· | 1699 | <span·class="go">datetime.date(2018,·11,·2)</span> |
1700 | <span·class="go">datetime.date(2010,·6,·14)</span> | 1700 | <span·class="go">datetime.date(2010,·6,·14)</span> |
1701 | <span·class="go">datetime.date(2006,·6,·8)</span> | 1701 | <span·class="go">datetime.date(2006,·6,·8)</span> |
Max diff block lines reached; 83982/100906 bytes (83.23%) of diff not shown. |
Offset 869, 17 lines modified | Offset 869, 17 lines modified | ||
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 | ············'AM' | 874 | ············'AM' |
875 | ············'AM' | 875 | ············'AM' |
876 | ············'PM' | ||
877 | ············'AM' | ||
878 | ············'AM' | 876 | ············'AM' |
877 | ············'PM' | ||
878 | ············'PM' | ||
879 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 879 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
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, 17 lines modified | Offset 899, 17 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 | ············'2016-04-2 | 906 | ············'2016-04-27' |
907 | ············'2011-07-3 | 907 | ············'2011-07-31' |
908 | ············'1993-01-2 | 908 | ············'1993-01-26' |
909 | ············'1984-03-15' | 909 | ············'1984-03-15' |
910 | ············'1998-01-17' | 910 | ············'1998-01-17' |
911 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 911 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
912 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 912 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
913 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 913 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(). |
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(2020,·3,· | 928 | ············datetime.date(2020,·3,·9) |
929 | ············datetime.date(2017,·8,· | 929 | ············datetime.date(2017,·8,·4) |
930 | ············datetime.date(2007,·6,·2 | 930 | ············datetime.date(2007,·6,·21) |
931 | ············datetime.date(2002,·8,·1 | 931 | ············datetime.date(2002,·8,·15) |
932 | ············datetime.date(2010,·3,·1 | 932 | ············datetime.date(2010,·3,·11) |
933 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 933 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
934 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 934 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
935 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 935 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 939 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 941, 31 lines modified | Offset 941, 31 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(2024,·11,· | 948 | ············datetime.date(2024,·11,·8) |
949 | ············datetime.date(2024,·11,· | 949 | ············datetime.date(2024,·11,·8) |
950 | ············datetime.date(2024,·11,· | 950 | ············datetime.date(2024,·11,·8) |
951 | ············datetime.date(2024,·11,· | 951 | ············datetime.date(2024,·11,·8) |
952 | ············datetime.date(2024,·11,· | 952 | ············datetime.date(2024,·11,·8) |
953 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 953 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(2016,·4,·2 | 962 | ············datetime.date(2016,·4,·27) |
963 | ············datetime.date(2011,·7,·3 | 963 | ············datetime.date(2011,·7,·31) |
964 | ············datetime.date(1993,·1,·2 | 964 | ············datetime.date(1993,·1,·26) |
965 | ············datetime.date(1984,·3,·15) | 965 | ············datetime.date(1984,·3,·15) |
966 | ············datetime.date(1998,·1,·17) | 966 | ············datetime.date(1998,·1,·17) |
967 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 967 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
968 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 968 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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: |
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(2006,·10,·2 | 984 | ············datetime.date(2006,·10,·22) |
985 | ············datetime.date(1996,·10,· | 985 | ············datetime.date(1996,·10,·10) |
986 | ············datetime.date(1957,·8,·2 | 986 | ············datetime.date(1957,·8,·22) |
987 | ············datetime.date(1938,·11,·2 | 987 | ············datetime.date(1938,·11,·21) |
988 | ············datetime.date(1968,·2,·2 | 988 | ············datetime.date(1968,·2,·29) |
989 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 989 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
990 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 990 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
991 | ············Gets·a·Date·object·for·the·current·century. | 991 | ············Gets·a·Date·object·for·the·current·century. |
992 | ··············Parameters: | 992 | ··············Parameters: |
993 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 993 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
994 | ························today | 994 | ························today |
995 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 995 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·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 | ············... |
1006 | ············datetime.date(2020,·12,·2 | 1006 | ············datetime.date(2020,·12,·26) |
1007 | ············datetime.date(2018,·11,· | 1007 | ············datetime.date(2018,·11,·2) |
1008 | ············datetime.date(2010,·6,·14) | 1008 | ············datetime.date(2010,·6,·14) |
1009 | ············datetime.date(2006,·6,·8) | 1009 | ············datetime.date(2006,·6,·8) |
1010 | ············datetime.date(2012,·9,·1 | 1010 | ············datetime.date(2012,·9,·15) |
1011 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 1011 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
1012 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1012 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
1013 | ············Gets·a·Date·object·for·the·decade·year. | 1013 | ············Gets·a·Date·object·for·the·decade·year. |
1014 | ··············Parameters: | 1014 | ··············Parameters: |
1015 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 1015 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
Max diff block lines reached; 27234/34133 bytes (79.79%) of diff not shown. |
Offset 1315, 17 lines modified | Offset 1315, 17 lines modified | ||
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">'AM'</span> | 1320 | <span·class="go">'AM'</span> |
1321 | <span·class="go">'AM'</span> | 1321 | <span·class="go">'AM'</span> |
1322 | <span·class="go">'PM'</span> | ||
1323 | <span·class="go">'AM'</span> | ||
1324 | <span·class="go">'AM'</span> | 1322 | <span·class="go">'AM'</span> |
1323 | <span·class="go">'PM'</span> | ||
1324 | <span·class="go">'PM'</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.12)"><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.12)"><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, 17 lines modified | Offset 1366, 17 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">'2016-04-2 | 1373 | <span·class="go">'2016-04-27'</span> |
1374 | <span·class="go">'2011-07-3 | 1374 | <span·class="go">'2011-07-31'</span> |
1375 | <span·class="go">'1993-01-2 | 1375 | <span·class="go">'1993-01-26'</span> |
1376 | <span·class="go">'1984-03-15'</span> | 1376 | <span·class="go">'1984-03-15'</span> |
1377 | <span·class="go">'1998-01-17'</span> | 1377 | <span·class="go">'1998-01-17'</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"> |
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(2020,·3,· | 1407 | <span·class="go">datetime.date(2020,·3,·9)</span> |
1408 | <span·class="go">datetime.date(2017,·8,· | 1408 | <span·class="go">datetime.date(2017,·8,·4)</span> |
1409 | <span·class="go">datetime.date(2007,·6,·2 | 1409 | <span·class="go">datetime.date(2007,·6,·21)</span> |
1410 | <span·class="go">datetime.date(2002,·8,·1 | 1410 | <span·class="go">datetime.date(2002,·8,·15)</span> |
1411 | <span·class="go">datetime.date(2010,·3,·1 | 1411 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 1438 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1439 | <span·class="go">datetime.date(2024,·11,· | 1439 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1440 | <span·class="go">datetime.date(2024,·11,· | 1440 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1441 | <span·class="go">datetime.date(2024,·11,· | 1441 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1442 | <span·class="go">datetime.date(2024,·11,· | 1442 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 1455, 17 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(2016,·4,·2 | 1462 | <span·class="go">datetime.date(2016,·4,·27)</span> |
1463 | <span·class="go">datetime.date(2011,·7,·3 | 1463 | <span·class="go">datetime.date(2011,·7,·31)</span> |
1464 | <span·class="go">datetime.date(1993,·1,·2 | 1464 | <span·class="go">datetime.date(1993,·1,·26)</span> |
1465 | <span·class="go">datetime.date(1984,·3,·15)</span> | 1465 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1466 | <span·class="go">datetime.date(1998,·1,·17)</span> | 1466 | <span·class="go">datetime.date(1998,·1,·17)</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"> |
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(2006,·10,·2 | 1498 | <span·class="go">datetime.date(2006,·10,·22)</span> |
1499 | <span·class="go">datetime.date(1996,·10,· | 1499 | <span·class="go">datetime.date(1996,·10,·10)</span> |
1500 | <span·class="go">datetime.date(1957,·8,·2 | 1500 | <span·class="go">datetime.date(1957,·8,·22)</span> |
1501 | <span·class="go">datetime.date(1938,·11,·2 | 1501 | <span·class="go">datetime.date(1938,·11,·21)</span> |
1502 | <span·class="go">datetime.date(1968,·2,·2 | 1502 | <span·class="go">datetime.date(1968,·2,·29)</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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> |
1525 | <dd·class="field-even"><p></p></dd> | 1525 | <dd·class="field-even"><p></p></dd> |
1526 | </dl> | 1526 | </dl> |
1527 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1527 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1528 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1528 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1529 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> | 1529 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
1530 | <span·class="gp">...</span> | 1530 | <span·class="gp">...</span> |
1531 | <span·class="go">datetime.date(2020,·12,·2 | 1531 | <span·class="go">datetime.date(2020,·12,·26)</span> |
1532 | <span·class="go">datetime.date(2018,·11,· | 1532 | <span·class="go">datetime.date(2018,·11,·2)</span> |
1533 | <span·class="go">datetime.date(2010,·6,·14)</span> | 1533 | <span·class="go">datetime.date(2010,·6,·14)</span> |
1534 | <span·class="go">datetime.date(2006,·6,·8)</span> | 1534 | <span·class="go">datetime.date(2006,·6,·8)</span> |
Max diff block lines reached; 85899/102823 bytes (83.54%) of diff not shown. |
Offset 774, 17 lines modified | Offset 774, 17 lines modified | ||
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 | ············'AM' | 779 | ············'AM' |
780 | ············'AM' | 780 | ············'AM' |
781 | ············'PM' | ||
782 | ············'AM' | ||
783 | ············'AM' | 781 | ············'AM' |
782 | ············'PM' | ||
783 | ············'PM' | ||
784 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 784 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
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, 17 lines modified | Offset 804, 17 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 | ············'2016-04-2 | 811 | ············'2016-04-27' |
812 | ············'2011-07-3 | 812 | ············'2011-07-31' |
813 | ············'1993-01-2 | 813 | ············'1993-01-26' |
814 | ············'1984-03-15' | 814 | ············'1984-03-15' |
815 | ············'1998-01-17' | 815 | ············'1998-01-17' |
816 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 816 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
817 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 817 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
818 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 818 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(). |
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(2020,·3,· | 833 | ············datetime.date(2020,·3,·9) |
834 | ············datetime.date(2017,·8,· | 834 | ············datetime.date(2017,·8,·4) |
835 | ············datetime.date(2007,·6,·2 | 835 | ············datetime.date(2007,·6,·21) |
836 | ············datetime.date(2002,·8,·1 | 836 | ············datetime.date(2002,·8,·15) |
837 | ············datetime.date(2010,·3,·1 | 837 | ············datetime.date(2010,·3,·11) |
838 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 838 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
839 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 839 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
840 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 840 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 844 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 846, 31 lines modified | Offset 846, 31 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(2024,·11,· | 853 | ············datetime.date(2024,·11,·8) |
854 | ············datetime.date(2024,·11,· | 854 | ············datetime.date(2024,·11,·8) |
855 | ············datetime.date(2024,·11,· | 855 | ············datetime.date(2024,·11,·8) |
856 | ············datetime.date(2024,·11,· | 856 | ············datetime.date(2024,·11,·8) |
857 | ············datetime.date(2024,·11,· | 857 | ············datetime.date(2024,·11,·8) |
858 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 858 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(2016,·4,·2 | 867 | ············datetime.date(2016,·4,·27) |
868 | ············datetime.date(2011,·7,·3 | 868 | ············datetime.date(2011,·7,·31) |
869 | ············datetime.date(1993,·1,·2 | 869 | ············datetime.date(1993,·1,·26) |
870 | ············datetime.date(1984,·3,·15) | 870 | ············datetime.date(1984,·3,·15) |
871 | ············datetime.date(1998,·1,·17) | 871 | ············datetime.date(1998,·1,·17) |
872 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 872 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
873 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 873 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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: |
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(2006,·10,·2 | 889 | ············datetime.date(2006,·10,·22) |
890 | ············datetime.date(1996,·10,· | 890 | ············datetime.date(1996,·10,·10) |
891 | ············datetime.date(1957,·8,·2 | 891 | ············datetime.date(1957,·8,·22) |
892 | ············datetime.date(1938,·11,·2 | 892 | ············datetime.date(1938,·11,·21) |
893 | ············datetime.date(1968,·2,·2 | 893 | ············datetime.date(1968,·2,·29) |
894 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 894 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
895 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 895 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
896 | ············Gets·a·Date·object·for·the·current·century. | 896 | ············Gets·a·Date·object·for·the·current·century. |
897 | ··············Parameters: | 897 | ··············Parameters: |
898 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 898 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
899 | ························today | 899 | ························today |
900 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 900 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·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 | ············... |
911 | ············datetime.date(2020,·12,·2 | 911 | ············datetime.date(2020,·12,·26) |
912 | ············datetime.date(2018,·11,· | 912 | ············datetime.date(2018,·11,·2) |
913 | ············datetime.date(2010,·6,·14) | 913 | ············datetime.date(2010,·6,·14) |
914 | ············datetime.date(2006,·6,·8) | 914 | ············datetime.date(2006,·6,·8) |
915 | ············datetime.date(2012,·9,·1 | 915 | ············datetime.date(2012,·9,·15) |
916 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 916 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
917 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 917 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
918 | ············Gets·a·Date·object·for·the·decade·year. | 918 | ············Gets·a·Date·object·for·the·decade·year. |
919 | ··············Parameters: | 919 | ··············Parameters: |
920 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 920 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
Max diff block lines reached; 28107/35006 bytes (80.29%) of diff not shown. |
Offset 1328, 17 lines modified | Offset 1328, 17 lines modified | ||
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">'AM'</span> | 1333 | <span·class="go">'AM'</span> |
1334 | <span·class="go">'AM'</span> | 1334 | <span·class="go">'AM'</span> |
1335 | <span·class="go">'PM'</span> | ||
1336 | <span·class="go">'AM'</span> | ||
1337 | <span·class="go">'AM'</span> | 1335 | <span·class="go">'AM'</span> |
1336 | <span·class="go">'PM'</span> | ||
1337 | <span·class="go">'PM'</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.12)"><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.12)"><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, 17 lines modified | Offset 1379, 17 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">'2016-04-2 | 1386 | <span·class="go">'2016-04-27'</span> |
1387 | <span·class="go">'2011-07-3 | 1387 | <span·class="go">'2011-07-31'</span> |
1388 | <span·class="go">'1993-01-2 | 1388 | <span·class="go">'1993-01-26'</span> |
1389 | <span·class="go">'1984-03-15'</span> | 1389 | <span·class="go">'1984-03-15'</span> |
1390 | <span·class="go">'1998-01-17'</span> | 1390 | <span·class="go">'1998-01-17'</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"> |
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(2020,·3,· | 1420 | <span·class="go">datetime.date(2020,·3,·9)</span> |
1421 | <span·class="go">datetime.date(2017,·8,· | 1421 | <span·class="go">datetime.date(2017,·8,·4)</span> |
1422 | <span·class="go">datetime.date(2007,·6,·2 | 1422 | <span·class="go">datetime.date(2007,·6,·21)</span> |
1423 | <span·class="go">datetime.date(2002,·8,·1 | 1423 | <span·class="go">datetime.date(2002,·8,·15)</span> |
1424 | <span·class="go">datetime.date(2010,·3,·1 | 1424 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 1451 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1452 | <span·class="go">datetime.date(2024,·11,· | 1452 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1453 | <span·class="go">datetime.date(2024,·11,· | 1453 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1454 | <span·class="go">datetime.date(2024,·11,· | 1454 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1455 | <span·class="go">datetime.date(2024,·11,· | 1455 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 1468, 17 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(2016,·4,·2 | 1475 | <span·class="go">datetime.date(2016,·4,·27)</span> |
1476 | <span·class="go">datetime.date(2011,·7,·3 | 1476 | <span·class="go">datetime.date(2011,·7,·31)</span> |
1477 | <span·class="go">datetime.date(1993,·1,·2 | 1477 | <span·class="go">datetime.date(1993,·1,·26)</span> |
1478 | <span·class="go">datetime.date(1984,·3,·15)</span> | 1478 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1479 | <span·class="go">datetime.date(1998,·1,·17)</span> | 1479 | <span·class="go">datetime.date(1998,·1,·17)</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"> |
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(2006,·10,·2 | 1511 | <span·class="go">datetime.date(2006,·10,·22)</span> |
1512 | <span·class="go">datetime.date(1996,·10,· | 1512 | <span·class="go">datetime.date(1996,·10,·10)</span> |
1513 | <span·class="go">datetime.date(1957,·8,·2 | 1513 | <span·class="go">datetime.date(1957,·8,·22)</span> |
1514 | <span·class="go">datetime.date(1938,·11,·2 | 1514 | <span·class="go">datetime.date(1938,·11,·21)</span> |
1515 | <span·class="go">datetime.date(1968,·2,·2 | 1515 | <span·class="go">datetime.date(1968,·2,·29)</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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> |
1538 | <dd·class="field-even"><p></p></dd> | 1538 | <dd·class="field-even"><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">date_this_century</span><span·class="p">()</span> | 1542 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
1543 | <span·class="gp">...</span> | 1543 | <span·class="gp">...</span> |
1544 | <span·class="go">datetime.date(2020,·12,·2 | 1544 | <span·class="go">datetime.date(2020,·12,·26)</span> |
1545 | <span·class="go">datetime.date(2018,·11,· | 1545 | <span·class="go">datetime.date(2018,·11,·2)</span> |
1546 | <span·class="go">datetime.date(2010,·6,·14)</span> | 1546 | <span·class="go">datetime.date(2010,·6,·14)</span> |
1547 | <span·class="go">datetime.date(2006,·6,·8)</span> | 1547 | <span·class="go">datetime.date(2006,·6,·8)</span> |
Max diff block lines reached; 83985/100909 bytes (83.23%) of diff not shown. |
Offset 782, 17 lines modified | Offset 782, 17 lines modified | ||
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 | ············'AM' | 787 | ············'AM' |
788 | ············'AM' | 788 | ············'AM' |
789 | ············'PM' | ||
790 | ············'AM' | ||
791 | ············'AM' | 789 | ············'AM' |
790 | ············'PM' | ||
791 | ············'PM' | ||
792 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 792 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
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, 17 lines modified | Offset 812, 17 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 | ············'2016-04-2 | 819 | ············'2016-04-27' |
820 | ············'2011-07-3 | 820 | ············'2011-07-31' |
821 | ············'1993-01-2 | 821 | ············'1993-01-26' |
822 | ············'1984-03-15' | 822 | ············'1984-03-15' |
823 | ············'1998-01-17' | 823 | ············'1998-01-17' |
824 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 824 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
825 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 825 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
826 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 826 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(). |
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(2020,·3,· | 841 | ············datetime.date(2020,·3,·9) |
842 | ············datetime.date(2017,·8,· | 842 | ············datetime.date(2017,·8,·4) |
843 | ············datetime.date(2007,·6,·2 | 843 | ············datetime.date(2007,·6,·21) |
844 | ············datetime.date(2002,·8,·1 | 844 | ············datetime.date(2002,·8,·15) |
845 | ············datetime.date(2010,·3,·1 | 845 | ············datetime.date(2010,·3,·11) |
846 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 846 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
847 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 847 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
848 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 848 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 852 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 854, 31 lines modified | Offset 854, 31 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(2024,·11,· | 861 | ············datetime.date(2024,·11,·8) |
862 | ············datetime.date(2024,·11,· | 862 | ············datetime.date(2024,·11,·8) |
863 | ············datetime.date(2024,·11,· | 863 | ············datetime.date(2024,·11,·8) |
864 | ············datetime.date(2024,·11,· | 864 | ············datetime.date(2024,·11,·8) |
865 | ············datetime.date(2024,·11,· | 865 | ············datetime.date(2024,·11,·8) |
866 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 866 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(2016,·4,·2 | 875 | ············datetime.date(2016,·4,·27) |
876 | ············datetime.date(2011,·7,·3 | 876 | ············datetime.date(2011,·7,·31) |
877 | ············datetime.date(1993,·1,·2 | 877 | ············datetime.date(1993,·1,·26) |
878 | ············datetime.date(1984,·3,·15) | 878 | ············datetime.date(1984,·3,·15) |
879 | ············datetime.date(1998,·1,·17) | 879 | ············datetime.date(1998,·1,·17) |
880 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 880 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
881 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 881 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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: |
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(2006,·10,·2 | 897 | ············datetime.date(2006,·10,·22) |
898 | ············datetime.date(1996,·10,· | 898 | ············datetime.date(1996,·10,·10) |
899 | ············datetime.date(1957,·8,·2 | 899 | ············datetime.date(1957,·8,·22) |
900 | ············datetime.date(1938,·11,·2 | 900 | ············datetime.date(1938,·11,·21) |
901 | ············datetime.date(1968,·2,·2 | 901 | ············datetime.date(1968,·2,·29) |
902 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 902 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
903 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 903 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
904 | ············Gets·a·Date·object·for·the·current·century. | 904 | ············Gets·a·Date·object·for·the·current·century. |
905 | ··············Parameters: | 905 | ··············Parameters: |
906 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 906 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
907 | ························today | 907 | ························today |
908 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 908 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·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 | ············... |
919 | ············datetime.date(2020,·12,·2 | 919 | ············datetime.date(2020,·12,·26) |
920 | ············datetime.date(2018,·11,· | 920 | ············datetime.date(2018,·11,·2) |
921 | ············datetime.date(2010,·6,·14) | 921 | ············datetime.date(2010,·6,·14) |
922 | ············datetime.date(2006,·6,·8) | 922 | ············datetime.date(2006,·6,·8) |
923 | ············datetime.date(2012,·9,·1 | 923 | ············datetime.date(2012,·9,·15) |
924 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 924 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
925 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 925 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
926 | ············Gets·a·Date·object·for·the·decade·year. | 926 | ············Gets·a·Date·object·for·the·decade·year. |
927 | ··············Parameters: | 927 | ··············Parameters: |
928 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 928 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
Max diff block lines reached; 27216/34115 bytes (79.78%) of diff not shown. |
Offset 894, 17 lines modified | Offset 894, 17 lines modified | ||
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">'AM'</span> | 899 | <span·class="go">'AM'</span> |
900 | <span·class="go">'AM'</span> | 900 | <span·class="go">'AM'</span> |
901 | <span·class="go">'PM'</span> | ||
902 | <span·class="go">'AM'</span> | ||
903 | <span·class="go">'AM'</span> | 901 | <span·class="go">'AM'</span> |
902 | <span·class="go">'PM'</span> | ||
903 | <span·class="go">'PM'</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.12)"><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.12)"><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, 17 lines modified | Offset 945, 17 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">'2016-04-2 | 952 | <span·class="go">'2016-04-27'</span> |
953 | <span·class="go">'2011-07-3 | 953 | <span·class="go">'2011-07-31'</span> |
954 | <span·class="go">'1993-01-2 | 954 | <span·class="go">'1993-01-26'</span> |
955 | <span·class="go">'1984-03-15'</span> | 955 | <span·class="go">'1984-03-15'</span> |
956 | <span·class="go">'1998-01-17'</span> | 956 | <span·class="go">'1998-01-17'</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"> |
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(2020,·3,· | 986 | <span·class="go">datetime.date(2020,·3,·9)</span> |
987 | <span·class="go">datetime.date(2017,·8,· | 987 | <span·class="go">datetime.date(2017,·8,·4)</span> |
988 | <span·class="go">datetime.date(2007,·6,·2 | 988 | <span·class="go">datetime.date(2007,·6,·21)</span> |
989 | <span·class="go">datetime.date(2002,·8,·1 | 989 | <span·class="go">datetime.date(2002,·8,·15)</span> |
990 | <span·class="go">datetime.date(2010,·3,·1 | 990 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 1017 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1018 | <span·class="go">datetime.date(2024,·11,· | 1018 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1019 | <span·class="go">datetime.date(2024,·11,· | 1019 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1020 | <span·class="go">datetime.date(2024,·11,· | 1020 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1021 | <span·class="go">datetime.date(2024,·11,· | 1021 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 1034, 17 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(2016,·4,·2 | 1041 | <span·class="go">datetime.date(2016,·4,·27)</span> |
1042 | <span·class="go">datetime.date(2011,·7,·3 | 1042 | <span·class="go">datetime.date(2011,·7,·31)</span> |
1043 | <span·class="go">datetime.date(1993,·1,·2 | 1043 | <span·class="go">datetime.date(1993,·1,·26)</span> |
1044 | <span·class="go">datetime.date(1984,·3,·15)</span> | 1044 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1045 | <span·class="go">datetime.date(1998,·1,·17)</span> | 1045 | <span·class="go">datetime.date(1998,·1,·17)</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"> |
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(2006,·10,·2 | 1077 | <span·class="go">datetime.date(2006,·10,·22)</span> |
1078 | <span·class="go">datetime.date(1996,·10,· | 1078 | <span·class="go">datetime.date(1996,·10,·10)</span> |
1079 | <span·class="go">datetime.date(1957,·8,·2 | 1079 | <span·class="go">datetime.date(1957,·8,·22)</span> |
1080 | <span·class="go">datetime.date(1938,·11,·2 | 1080 | <span·class="go">datetime.date(1938,·11,·21)</span> |
1081 | <span·class="go">datetime.date(1968,·2,·2 | 1081 | <span·class="go">datetime.date(1968,·2,·29)</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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> |
1104 | <dd·class="field-even"><p></p></dd> | 1104 | <dd·class="field-even"><p></p></dd> |
1105 | </dl> | 1105 | </dl> |
1106 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1106 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1107 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1107 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1108 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> | 1108 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
1109 | <span·class="gp">...</span> | 1109 | <span·class="gp">...</span> |
1110 | <span·class="go">datetime.date(2020,·12,·2 | 1110 | <span·class="go">datetime.date(2020,·12,·26)</span> |
1111 | <span·class="go">datetime.date(2018,·11,· | 1111 | <span·class="go">datetime.date(2018,·11,·2)</span> |
1112 | <span·class="go">datetime.date(2010,·6,·14)</span> | 1112 | <span·class="go">datetime.date(2010,·6,·14)</span> |
1113 | <span·class="go">datetime.date(2006,·6,·8)</span> | 1113 | <span·class="go">datetime.date(2006,·6,·8)</span> |
Max diff block lines reached; 83998/100916 bytes (83.24%) of diff not shown. |
Offset 510, 17 lines modified | Offset 510, 17 lines modified | ||
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 | ············'AM' | 515 | ············'AM' |
516 | ············'AM' | 516 | ············'AM' |
517 | ············'PM' | ||
518 | ············'AM' | ||
519 | ············'AM' | 517 | ············'AM' |
518 | ············'PM' | ||
519 | ············'PM' | ||
520 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 520 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
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, 17 lines modified | Offset 540, 17 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 | ············'2016-04-2 | 547 | ············'2016-04-27' |
548 | ············'2011-07-3 | 548 | ············'2011-07-31' |
549 | ············'1993-01-2 | 549 | ············'1993-01-26' |
550 | ············'1984-03-15' | 550 | ············'1984-03-15' |
551 | ············'1998-01-17' | 551 | ············'1998-01-17' |
552 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 552 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
553 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 553 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
554 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 554 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(). |
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(2020,·3,· | 569 | ············datetime.date(2020,·3,·9) |
570 | ············datetime.date(2017,·8,· | 570 | ············datetime.date(2017,·8,·4) |
571 | ············datetime.date(2007,·6,·2 | 571 | ············datetime.date(2007,·6,·21) |
572 | ············datetime.date(2002,·8,·1 | 572 | ············datetime.date(2002,·8,·15) |
573 | ············datetime.date(2010,·3,·1 | 573 | ············datetime.date(2010,·3,·11) |
574 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 574 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
575 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 575 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
576 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 576 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 580 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 582, 31 lines modified | Offset 582, 31 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(2024,·11,· | 589 | ············datetime.date(2024,·11,·8) |
590 | ············datetime.date(2024,·11,· | 590 | ············datetime.date(2024,·11,·8) |
591 | ············datetime.date(2024,·11,· | 591 | ············datetime.date(2024,·11,·8) |
592 | ············datetime.date(2024,·11,· | 592 | ············datetime.date(2024,·11,·8) |
593 | ············datetime.date(2024,·11,· | 593 | ············datetime.date(2024,·11,·8) |
594 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 594 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(2016,·4,·2 | 603 | ············datetime.date(2016,·4,·27) |
604 | ············datetime.date(2011,·7,·3 | 604 | ············datetime.date(2011,·7,·31) |
605 | ············datetime.date(1993,·1,·2 | 605 | ············datetime.date(1993,·1,·26) |
606 | ············datetime.date(1984,·3,·15) | 606 | ············datetime.date(1984,·3,·15) |
607 | ············datetime.date(1998,·1,·17) | 607 | ············datetime.date(1998,·1,·17) |
608 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 608 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
609 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 609 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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: |
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(2006,·10,·2 | 625 | ············datetime.date(2006,·10,·22) |
626 | ············datetime.date(1996,·10,· | 626 | ············datetime.date(1996,·10,·10) |
627 | ············datetime.date(1957,·8,·2 | 627 | ············datetime.date(1957,·8,·22) |
628 | ············datetime.date(1938,·11,·2 | 628 | ············datetime.date(1938,·11,·21) |
629 | ············datetime.date(1968,·2,·2 | 629 | ············datetime.date(1968,·2,·29) |
630 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 630 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
631 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 631 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
632 | ············Gets·a·Date·object·for·the·current·century. | 632 | ············Gets·a·Date·object·for·the·current·century. |
633 | ··············Parameters: | 633 | ··············Parameters: |
634 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 634 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
635 | ························today | 635 | ························today |
636 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 636 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·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 | ············... |
647 | ············datetime.date(2020,·12,·2 | 647 | ············datetime.date(2020,·12,·26) |
648 | ············datetime.date(2018,·11,· | 648 | ············datetime.date(2018,·11,·2) |
649 | ············datetime.date(2010,·6,·14) | 649 | ············datetime.date(2010,·6,·14) |
650 | ············datetime.date(2006,·6,·8) | 650 | ············datetime.date(2006,·6,·8) |
651 | ············datetime.date(2012,·9,·1 | 651 | ············datetime.date(2012,·9,·15) |
652 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 652 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
653 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 653 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
654 | ············Gets·a·Date·object·for·the·decade·year. | 654 | ············Gets·a·Date·object·for·the·decade·year. |
655 | ··············Parameters: | 655 | ··············Parameters: |
656 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 656 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
Max diff block lines reached; 27209/34108 bytes (79.77%) of diff not shown. |
Offset 1055, 17 lines modified | Offset 1055, 17 lines modified | ||
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">'AM'</span> | 1060 | <span·class="go">'AM'</span> |
1061 | <span·class="go">'AM'</span> | 1061 | <span·class="go">'AM'</span> |
1062 | <span·class="go">'PM'</span> | ||
1063 | <span·class="go">'AM'</span> | ||
1064 | <span·class="go">'AM'</span> | 1062 | <span·class="go">'AM'</span> |
1063 | <span·class="go">'PM'</span> | ||
1064 | <span·class="go">'PM'</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.12)"><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.12)"><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, 17 lines modified | Offset 1106, 17 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">'2016-04-2 | 1113 | <span·class="go">'2016-04-27'</span> |
1114 | <span·class="go">'2011-07-3 | 1114 | <span·class="go">'2011-07-31'</span> |
1115 | <span·class="go">'1993-01-2 | 1115 | <span·class="go">'1993-01-26'</span> |
1116 | <span·class="go">'1984-03-15'</span> | 1116 | <span·class="go">'1984-03-15'</span> |
1117 | <span·class="go">'1998-01-17'</span> | 1117 | <span·class="go">'1998-01-17'</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"> |
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(2020,·3,· | 1147 | <span·class="go">datetime.date(2020,·3,·9)</span> |
1148 | <span·class="go">datetime.date(2017,·8,· | 1148 | <span·class="go">datetime.date(2017,·8,·4)</span> |
1149 | <span·class="go">datetime.date(2007,·6,·2 | 1149 | <span·class="go">datetime.date(2007,·6,·21)</span> |
1150 | <span·class="go">datetime.date(2002,·8,·1 | 1150 | <span·class="go">datetime.date(2002,·8,·15)</span> |
1151 | <span·class="go">datetime.date(2010,·3,·1 | 1151 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 1178 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1179 | <span·class="go">datetime.date(2024,·11,· | 1179 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1180 | <span·class="go">datetime.date(2024,·11,· | 1180 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1181 | <span·class="go">datetime.date(2024,·11,· | 1181 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1182 | <span·class="go">datetime.date(2024,·11,· | 1182 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 1195, 17 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(2016,·4,·2 | 1202 | <span·class="go">datetime.date(2016,·4,·27)</span> |
1203 | <span·class="go">datetime.date(2011,·7,·3 | 1203 | <span·class="go">datetime.date(2011,·7,·31)</span> |
1204 | <span·class="go">datetime.date(1993,·1,·2 | 1204 | <span·class="go">datetime.date(1993,·1,·26)</span> |
1205 | <span·class="go">datetime.date(1984,·3,·15)</span> | 1205 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1206 | <span·class="go">datetime.date(1998,·1,·17)</span> | 1206 | <span·class="go">datetime.date(1998,·1,·17)</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"> |
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(2006,·10,·2 | 1238 | <span·class="go">datetime.date(2006,·10,·22)</span> |
1239 | <span·class="go">datetime.date(1996,·10,· | 1239 | <span·class="go">datetime.date(1996,·10,·10)</span> |
1240 | <span·class="go">datetime.date(1957,·8,·2 | 1240 | <span·class="go">datetime.date(1957,·8,·22)</span> |
1241 | <span·class="go">datetime.date(1938,·11,·2 | 1241 | <span·class="go">datetime.date(1938,·11,·21)</span> |
1242 | <span·class="go">datetime.date(1968,·2,·2 | 1242 | <span·class="go">datetime.date(1968,·2,·29)</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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> |
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_this_century</span><span·class="p">()</span> | 1269 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
1270 | <span·class="gp">...</span> | 1270 | <span·class="gp">...</span> |
1271 | <span·class="go">datetime.date(2020,·12,·2 | 1271 | <span·class="go">datetime.date(2020,·12,·26)</span> |
1272 | <span·class="go">datetime.date(2018,·11,· | 1272 | <span·class="go">datetime.date(2018,·11,·2)</span> |
1273 | <span·class="go">datetime.date(2010,·6,·14)</span> | 1273 | <span·class="go">datetime.date(2010,·6,·14)</span> |
1274 | <span·class="go">datetime.date(2006,·6,·8)</span> | 1274 | <span·class="go">datetime.date(2006,·6,·8)</span> |
Max diff block lines reached; 83989/100913 bytes (83.23%) of diff not shown. |
Offset 597, 17 lines modified | Offset 597, 17 lines modified | ||
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 | ············'AM' | 602 | ············'AM' |
603 | ············'AM' | 603 | ············'AM' |
604 | ············'PM' | ||
605 | ············'AM' | ||
606 | ············'AM' | 604 | ············'AM' |
605 | ············'PM' | ||
606 | ············'PM' | ||
607 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 607 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
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, 17 lines modified | Offset 627, 17 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 | ············'2016-04-2 | 634 | ············'2016-04-27' |
635 | ············'2011-07-3 | 635 | ············'2011-07-31' |
636 | ············'1993-01-2 | 636 | ············'1993-01-26' |
637 | ············'1984-03-15' | 637 | ············'1984-03-15' |
638 | ············'1998-01-17' | 638 | ············'1998-01-17' |
639 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 639 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
640 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 640 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
641 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 641 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(). |
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(2020,·3,· | 656 | ············datetime.date(2020,·3,·9) |
657 | ············datetime.date(2017,·8,· | 657 | ············datetime.date(2017,·8,·4) |
658 | ············datetime.date(2007,·6,·2 | 658 | ············datetime.date(2007,·6,·21) |
659 | ············datetime.date(2002,·8,·1 | 659 | ············datetime.date(2002,·8,·15) |
660 | ············datetime.date(2010,·3,·1 | 660 | ············datetime.date(2010,·3,·11) |
661 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 661 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
662 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 662 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
663 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 663 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 667 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 669, 31 lines modified | Offset 669, 31 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(2024,·11,· | 676 | ············datetime.date(2024,·11,·8) |
677 | ············datetime.date(2024,·11,· | 677 | ············datetime.date(2024,·11,·8) |
678 | ············datetime.date(2024,·11,· | 678 | ············datetime.date(2024,·11,·8) |
679 | ············datetime.date(2024,·11,· | 679 | ············datetime.date(2024,·11,·8) |
680 | ············datetime.date(2024,·11,· | 680 | ············datetime.date(2024,·11,·8) |
681 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 681 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(2016,·4,·2 | 690 | ············datetime.date(2016,·4,·27) |
691 | ············datetime.date(2011,·7,·3 | 691 | ············datetime.date(2011,·7,·31) |
692 | ············datetime.date(1993,·1,·2 | 692 | ············datetime.date(1993,·1,·26) |
693 | ············datetime.date(1984,·3,·15) | 693 | ············datetime.date(1984,·3,·15) |
694 | ············datetime.date(1998,·1,·17) | 694 | ············datetime.date(1998,·1,·17) |
695 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 695 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
696 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 696 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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: |
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(2006,·10,·2 | 712 | ············datetime.date(2006,·10,·22) |
713 | ············datetime.date(1996,·10,· | 713 | ············datetime.date(1996,·10,·10) |
714 | ············datetime.date(1957,·8,·2 | 714 | ············datetime.date(1957,·8,·22) |
715 | ············datetime.date(1938,·11,·2 | 715 | ············datetime.date(1938,·11,·21) |
716 | ············datetime.date(1968,·2,·2 | 716 | ············datetime.date(1968,·2,·29) |
717 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 717 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
718 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 718 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
719 | ············Gets·a·Date·object·for·the·current·century. | 719 | ············Gets·a·Date·object·for·the·current·century. |
720 | ··············Parameters: | 720 | ··············Parameters: |
721 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 721 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
722 | ························today | 722 | ························today |
723 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 723 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·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 | ············... |
734 | ············datetime.date(2020,·12,·2 | 734 | ············datetime.date(2020,·12,·26) |
735 | ············datetime.date(2018,·11,· | 735 | ············datetime.date(2018,·11,·2) |
736 | ············datetime.date(2010,·6,·14) | 736 | ············datetime.date(2010,·6,·14) |
737 | ············datetime.date(2006,·6,·8) | 737 | ············datetime.date(2006,·6,·8) |
738 | ············datetime.date(2012,·9,·1 | 738 | ············datetime.date(2012,·9,·15) |
739 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 739 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
740 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 740 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
741 | ············Gets·a·Date·object·for·the·decade·year. | 741 | ············Gets·a·Date·object·for·the·decade·year. |
742 | ··············Parameters: | 742 | ··············Parameters: |
743 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 743 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
Max diff block lines reached; 27206/34105 bytes (79.77%) of diff not shown. |
Offset 1387, 17 lines modified | Offset 1387, 17 lines modified | ||
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">'AM'</span> | 1392 | <span·class="go">'AM'</span> |
1393 | <span·class="go">'AM'</span> | 1393 | <span·class="go">'AM'</span> |
1394 | <span·class="go">'PM'</span> | ||
1395 | <span·class="go">'AM'</span> | ||
1396 | <span·class="go">'AM'</span> | 1394 | <span·class="go">'AM'</span> |
1395 | <span·class="go">'PM'</span> | ||
1396 | <span·class="go">'PM'</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.12)"><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.12)"><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, 17 lines modified | Offset 1438, 17 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">'2016-04-2 | 1445 | <span·class="go">'2016-04-27'</span> |
1446 | <span·class="go">'2011-07-3 | 1446 | <span·class="go">'2011-07-31'</span> |
1447 | <span·class="go">'1993-01-2 | 1447 | <span·class="go">'1993-01-26'</span> |
1448 | <span·class="go">'1984-03-15'</span> | 1448 | <span·class="go">'1984-03-15'</span> |
1449 | <span·class="go">'1998-01-17'</span> | 1449 | <span·class="go">'1998-01-17'</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"> |
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(2020,·3,· | 1479 | <span·class="go">datetime.date(2020,·3,·9)</span> |
1480 | <span·class="go">datetime.date(2017,·8,· | 1480 | <span·class="go">datetime.date(2017,·8,·4)</span> |
1481 | <span·class="go">datetime.date(2007,·6,·2 | 1481 | <span·class="go">datetime.date(2007,·6,·21)</span> |
1482 | <span·class="go">datetime.date(2002,·8,·1 | 1482 | <span·class="go">datetime.date(2002,·8,·15)</span> |
1483 | <span·class="go">datetime.date(2010,·3,·1 | 1483 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 1510 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1511 | <span·class="go">datetime.date(2024,·11,· | 1511 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1512 | <span·class="go">datetime.date(2024,·11,· | 1512 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1513 | <span·class="go">datetime.date(2024,·11,· | 1513 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1514 | <span·class="go">datetime.date(2024,·11,· | 1514 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 1527, 17 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(2016,·4,·2 | 1534 | <span·class="go">datetime.date(2016,·4,·27)</span> |
1535 | <span·class="go">datetime.date(2011,·7,·3 | 1535 | <span·class="go">datetime.date(2011,·7,·31)</span> |
1536 | <span·class="go">datetime.date(1993,·1,·2 | 1536 | <span·class="go">datetime.date(1993,·1,·26)</span> |
1537 | <span·class="go">datetime.date(1984,·3,·15)</span> | 1537 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1538 | <span·class="go">datetime.date(1998,·1,·17)</span> | 1538 | <span·class="go">datetime.date(1998,·1,·17)</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"> |
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(2006,·10,·2 | 1570 | <span·class="go">datetime.date(2006,·10,·22)</span> |
1571 | <span·class="go">datetime.date(1996,·10,· | 1571 | <span·class="go">datetime.date(1996,·10,·10)</span> |
1572 | <span·class="go">datetime.date(1957,·8,·2 | 1572 | <span·class="go">datetime.date(1957,·8,·22)</span> |
1573 | <span·class="go">datetime.date(1938,·11,·2 | 1573 | <span·class="go">datetime.date(1938,·11,·21)</span> |
1574 | <span·class="go">datetime.date(1968,·2,·2 | 1574 | <span·class="go">datetime.date(1968,·2,·29)</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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> |
1597 | <dd·class="field-even"><p></p></dd> | 1597 | <dd·class="field-even"><p></p></dd> |
1598 | </dl> | 1598 | </dl> |
1599 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1599 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1600 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1600 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1601 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> | 1601 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
1602 | <span·class="gp">...</span> | 1602 | <span·class="gp">...</span> |
1603 | <span·class="go">datetime.date(2020,·12,·2 | 1603 | <span·class="go">datetime.date(2020,·12,·26)</span> |
1604 | <span·class="go">datetime.date(2018,·11,· | 1604 | <span·class="go">datetime.date(2018,·11,·2)</span> |
1605 | <span·class="go">datetime.date(2010,·6,·14)</span> | 1605 | <span·class="go">datetime.date(2010,·6,·14)</span> |
1606 | <span·class="go">datetime.date(2006,·6,·8)</span> | 1606 | <span·class="go">datetime.date(2006,·6,·8)</span> |
Max diff block lines reached; 89412/106336 bytes (84.08%) of diff not shown. |
Offset 813, 17 lines modified | Offset 813, 17 lines modified | ||
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 | ············'AM' | 818 | ············'AM' |
819 | ············'AM' | 819 | ············'AM' |
820 | ············'PM' | ||
821 | ············'AM' | ||
822 | ············'AM' | 820 | ············'AM' |
821 | ············'PM' | ||
822 | ············'PM' | ||
823 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 823 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
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, 17 lines modified | Offset 843, 17 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 | ············'2016-04-2 | 850 | ············'2016-04-27' |
851 | ············'2011-07-3 | 851 | ············'2011-07-31' |
852 | ············'1993-01-2 | 852 | ············'1993-01-26' |
853 | ············'1984-03-15' | 853 | ············'1984-03-15' |
854 | ············'1998-01-17' | 854 | ············'1998-01-17' |
855 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 855 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
856 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 856 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
857 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 857 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(). |
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(2020,·3,· | 872 | ············datetime.date(2020,·3,·9) |
873 | ············datetime.date(2017,·8,· | 873 | ············datetime.date(2017,·8,·4) |
874 | ············datetime.date(2007,·6,·2 | 874 | ············datetime.date(2007,·6,·21) |
875 | ············datetime.date(2002,·8,·1 | 875 | ············datetime.date(2002,·8,·15) |
876 | ············datetime.date(2010,·3,·1 | 876 | ············datetime.date(2010,·3,·11) |
877 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 877 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
878 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 878 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
879 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 879 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 883 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 885, 31 lines modified | Offset 885, 31 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(2024,·11,· | 892 | ············datetime.date(2024,·11,·8) |
893 | ············datetime.date(2024,·11,· | 893 | ············datetime.date(2024,·11,·8) |
894 | ············datetime.date(2024,·11,· | 894 | ············datetime.date(2024,·11,·8) |
895 | ············datetime.date(2024,·11,· | 895 | ············datetime.date(2024,·11,·8) |
896 | ············datetime.date(2024,·11,· | 896 | ············datetime.date(2024,·11,·8) |
897 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 897 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(2016,·4,·2 | 906 | ············datetime.date(2016,·4,·27) |
907 | ············datetime.date(2011,·7,·3 | 907 | ············datetime.date(2011,·7,·31) |
908 | ············datetime.date(1993,·1,·2 | 908 | ············datetime.date(1993,·1,·26) |
909 | ············datetime.date(1984,·3,·15) | 909 | ············datetime.date(1984,·3,·15) |
910 | ············datetime.date(1998,·1,·17) | 910 | ············datetime.date(1998,·1,·17) |
911 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 911 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
912 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 912 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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: |
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(2006,·10,·2 | 928 | ············datetime.date(2006,·10,·22) |
929 | ············datetime.date(1996,·10,· | 929 | ············datetime.date(1996,·10,·10) |
930 | ············datetime.date(1957,·8,·2 | 930 | ············datetime.date(1957,·8,·22) |
931 | ············datetime.date(1938,·11,·2 | 931 | ············datetime.date(1938,·11,·21) |
932 | ············datetime.date(1968,·2,·2 | 932 | ············datetime.date(1968,·2,·29) |
933 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 933 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
934 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 934 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
935 | ············Gets·a·Date·object·for·the·current·century. | 935 | ············Gets·a·Date·object·for·the·current·century. |
936 | ··············Parameters: | 936 | ··············Parameters: |
937 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 937 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
938 | ························today | 938 | ························today |
939 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 939 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·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 | ············... |
950 | ············datetime.date(2020,·12,·2 | 950 | ············datetime.date(2020,·12,·26) |
951 | ············datetime.date(2018,·11,· | 951 | ············datetime.date(2018,·11,·2) |
952 | ············datetime.date(2010,·6,·14) | 952 | ············datetime.date(2010,·6,·14) |
953 | ············datetime.date(2006,·6,·8) | 953 | ············datetime.date(2006,·6,·8) |
954 | ············datetime.date(2012,·9,·1 | 954 | ············datetime.date(2012,·9,·15) |
955 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 955 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
956 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 956 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
957 | ············Gets·a·Date·object·for·the·decade·year. | 957 | ············Gets·a·Date·object·for·the·decade·year. |
958 | ··············Parameters: | 958 | ··············Parameters: |
959 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 959 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
Max diff block lines reached; 29426/36325 bytes (81.01%) of diff not shown. |
Offset 1596, 17 lines modified | Offset 1596, 17 lines modified | ||
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">'AM'</span> | 1601 | <span·class="go">'AM'</span> |
1602 | <span·class="go">'AM'</span> | 1602 | <span·class="go">'AM'</span> |
1603 | <span·class="go">'PM'</span> | ||
1604 | <span·class="go">'AM'</span> | ||
1605 | <span·class="go">'AM'</span> | 1603 | <span·class="go">'AM'</span> |
1604 | <span·class="go">'PM'</span> | ||
1605 | <span·class="go">'PM'</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.12)"><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.12)"><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, 17 lines modified | Offset 1647, 17 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">'2016-04-2 | 1654 | <span·class="go">'2016-04-27'</span> |
1655 | <span·class="go">'2011-07-3 | 1655 | <span·class="go">'2011-07-31'</span> |
1656 | <span·class="go">'1993-01-2 | 1656 | <span·class="go">'1993-01-26'</span> |
1657 | <span·class="go">'1984-03-15'</span> | 1657 | <span·class="go">'1984-03-15'</span> |
1658 | <span·class="go">'1998-01-17'</span> | 1658 | <span·class="go">'1998-01-17'</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"> |
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(2020,·3,· | 1688 | <span·class="go">datetime.date(2020,·3,·9)</span> |
1689 | <span·class="go">datetime.date(2017,·8,· | 1689 | <span·class="go">datetime.date(2017,·8,·4)</span> |
1690 | <span·class="go">datetime.date(2007,·6,·2 | 1690 | <span·class="go">datetime.date(2007,·6,·21)</span> |
1691 | <span·class="go">datetime.date(2002,·8,·1 | 1691 | <span·class="go">datetime.date(2002,·8,·15)</span> |
1692 | <span·class="go">datetime.date(2010,·3,·1 | 1692 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 1719 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1720 | <span·class="go">datetime.date(2024,·11,· | 1720 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1721 | <span·class="go">datetime.date(2024,·11,· | 1721 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1722 | <span·class="go">datetime.date(2024,·11,· | 1722 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1723 | <span·class="go">datetime.date(2024,·11,· | 1723 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 1736, 17 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(2016,·4,·2 | 1743 | <span·class="go">datetime.date(2016,·4,·27)</span> |
1744 | <span·class="go">datetime.date(2011,·7,·3 | 1744 | <span·class="go">datetime.date(2011,·7,·31)</span> |
1745 | <span·class="go">datetime.date(1993,·1,·2 | 1745 | <span·class="go">datetime.date(1993,·1,·26)</span> |
1746 | <span·class="go">datetime.date(1984,·3,·15)</span> | 1746 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1747 | <span·class="go">datetime.date(1998,·1,·17)</span> | 1747 | <span·class="go">datetime.date(1998,·1,·17)</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"> |
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(2006,·10,·2 | 1779 | <span·class="go">datetime.date(2006,·10,·22)</span> |
1780 | <span·class="go">datetime.date(1996,·10,· | 1780 | <span·class="go">datetime.date(1996,·10,·10)</span> |
1781 | <span·class="go">datetime.date(1957,·8,·2 | 1781 | <span·class="go">datetime.date(1957,·8,·22)</span> |
1782 | <span·class="go">datetime.date(1938,·11,·2 | 1782 | <span·class="go">datetime.date(1938,·11,·21)</span> |
1783 | <span·class="go">datetime.date(1968,·2,·2 | 1783 | <span·class="go">datetime.date(1968,·2,·29)</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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> |
1806 | <dd·class="field-even"><p></p></dd> | 1806 | <dd·class="field-even"><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">date_this_century</span><span·class="p">()</span> | 1810 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
1811 | <span·class="gp">...</span> | 1811 | <span·class="gp">...</span> |
1812 | <span·class="go">datetime.date(2020,·12,·2 | 1812 | <span·class="go">datetime.date(2020,·12,·26)</span> |
1813 | <span·class="go">datetime.date(2018,·11,· | 1813 | <span·class="go">datetime.date(2018,·11,·2)</span> |
1814 | <span·class="go">datetime.date(2010,·6,·14)</span> | 1814 | <span·class="go">datetime.date(2010,·6,·14)</span> |
1815 | <span·class="go">datetime.date(2006,·6,·8)</span> | 1815 | <span·class="go">datetime.date(2006,·6,·8)</span> |
Max diff block lines reached; 285813/302737 bytes (94.41%) of diff not shown. |
Offset 961, 17 lines modified | Offset 961, 17 lines modified | ||
961 | ··············Examples: | 961 | ··············Examples: |
962 | ············>>>·Faker.seed(0) | 962 | ············>>>·Faker.seed(0) |
963 | ············>>>·for·_·in·range(5): | 963 | ············>>>·for·_·in·range(5): |
964 | ············...·····fake.am_pm() | 964 | ············...·····fake.am_pm() |
965 | ············... | 965 | ············... |
966 | ············'AM' | 966 | ············'AM' |
967 | ············'AM' | 967 | ············'AM' |
968 | ············'PM' | ||
969 | ············'AM' | ||
970 | ············'AM' | 968 | ············'AM' |
969 | ············'PM' | ||
970 | ············'PM' | ||
971 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 971 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
972 | ··············Example: | 972 | ··············Example: |
973 | ··················‘XVII’ | 973 | ··················‘XVII’ |
974 | ··············Examples: | 974 | ··············Examples: |
975 | ············>>>·Faker.seed(0) | 975 | ············>>>·Faker.seed(0) |
976 | ············>>>·for·_·in·range(5): | 976 | ············>>>·for·_·in·range(5): |
977 | ············...·····fake.century() | 977 | ············...·····fake.century() |
Offset 991, 17 lines modified | Offset 991, 17 lines modified | ||
991 | ··············Returns: | 991 | ··············Returns: |
992 | ··················Date | 992 | ··················Date |
993 | ··············Examples: | 993 | ··············Examples: |
994 | ············>>>·Faker.seed(0) | 994 | ············>>>·Faker.seed(0) |
995 | ············>>>·for·_·in·range(5): | 995 | ············>>>·for·_·in·range(5): |
996 | ············...·····fake.date() | 996 | ············...·····fake.date() |
997 | ············... | 997 | ············... |
998 | ············'2016-04-2 | 998 | ············'2016-04-27' |
999 | ············'2011-07-3 | 999 | ············'2011-07-31' |
1000 | ············'1993-01-2 | 1000 | ············'1993-01-26' |
1001 | ············'1984-03-15' | 1001 | ············'1984-03-15' |
1002 | ············'1998-01-17' | 1002 | ············'1998-01-17' |
1003 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 1003 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
1004 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 1004 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
1005 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1005 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
1006 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 1006 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
1007 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 1007 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
Offset 1013, 19 lines modified | Offset 1013, 19 lines modified | ||
1013 | ··············Returns: | 1013 | ··············Returns: |
1014 | ··················Date | 1014 | ··················Date |
1015 | ··············Examples: | 1015 | ··············Examples: |
1016 | ············>>>·Faker.seed(0) | 1016 | ············>>>·Faker.seed(0) |
1017 | ············>>>·for·_·in·range(5): | 1017 | ············>>>·for·_·in·range(5): |
1018 | ············...·····fake.date_between() | 1018 | ············...·····fake.date_between() |
1019 | ············... | 1019 | ············... |
1020 | ············datetime.date(2020,·3,· | 1020 | ············datetime.date(2020,·3,·9) |
1021 | ············datetime.date(2017,·8,· | 1021 | ············datetime.date(2017,·8,·4) |
1022 | ············datetime.date(2007,·6,·2 | 1022 | ············datetime.date(2007,·6,·21) |
1023 | ············datetime.date(2002,·8,·1 | 1023 | ············datetime.date(2002,·8,·15) |
1024 | ············datetime.date(2010,·3,·1 | 1024 | ············datetime.date(2010,·3,·11) |
1025 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 1025 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
1026 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 1026 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
1027 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1027 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
1028 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 1028 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
1029 | ············given·dates.·Accepts·Date·or·datetime·objects | 1029 | ············given·dates.·Accepts·Date·or·datetime·objects |
1030 | ··············Parameters: | 1030 | ··············Parameters: |
1031 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 1031 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 1033, 31 lines modified | Offset 1033, 31 lines modified | ||
1033 | ··············Returns: | 1033 | ··············Returns: |
1034 | ··················Date | 1034 | ··················Date |
1035 | ··············Examples: | 1035 | ··············Examples: |
1036 | ············>>>·Faker.seed(0) | 1036 | ············>>>·Faker.seed(0) |
1037 | ············>>>·for·_·in·range(5): | 1037 | ············>>>·for·_·in·range(5): |
1038 | ············...·····fake.date_between_dates() | 1038 | ············...·····fake.date_between_dates() |
1039 | ············... | 1039 | ············... |
1040 | ············datetime.date(2024,·11,· | 1040 | ············datetime.date(2024,·11,·8) |
1041 | ············datetime.date(2024,·11,· | 1041 | ············datetime.date(2024,·11,·8) |
1042 | ············datetime.date(2024,·11,· | 1042 | ············datetime.date(2024,·11,·8) |
1043 | ············datetime.date(2024,·11,· | 1043 | ············datetime.date(2024,·11,·8) |
1044 | ············datetime.date(2024,·11,· | 1044 | ············datetime.date(2024,·11,·8) |
1045 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1045 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
1046 | ············Get·a·date·object·between·January·1,·1970·and·now | 1046 | ············Get·a·date·object·between·January·1,·1970·and·now |
1047 | ··············Example: | 1047 | ··············Example: |
1048 | ··················datetime.date(2016,·9,·20) | 1048 | ··················datetime.date(2016,·9,·20) |
1049 | ··············Examples: | 1049 | ··············Examples: |
1050 | ············>>>·Faker.seed(0) | 1050 | ············>>>·Faker.seed(0) |
1051 | ············>>>·for·_·in·range(5): | 1051 | ············>>>·for·_·in·range(5): |
1052 | ············...·····fake.date_object() | 1052 | ············...·····fake.date_object() |
1053 | ············... | 1053 | ············... |
1054 | ············datetime.date(2016,·4,·2 | 1054 | ············datetime.date(2016,·4,·27) |
1055 | ············datetime.date(2011,·7,·3 | 1055 | ············datetime.date(2011,·7,·31) |
1056 | ············datetime.date(1993,·1,·2 | 1056 | ············datetime.date(1993,·1,·26) |
1057 | ············datetime.date(1984,·3,·15) | 1057 | ············datetime.date(1984,·3,·15) |
1058 | ············datetime.date(1998,·1,·17) | 1058 | ············datetime.date(1998,·1,·17) |
1059 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 1059 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
1060 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1060 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
1061 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 1061 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
1062 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 1062 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
1063 | ··············Parameters: | 1063 | ··············Parameters: |
Offset 1069, 19 lines modified | Offset 1069, 19 lines modified | ||
1069 | ··············Returns: | 1069 | ··············Returns: |
1070 | ··················Date | 1070 | ··················Date |
1071 | ··············Examples: | 1071 | ··············Examples: |
1072 | ············>>>·Faker.seed(0) | 1072 | ············>>>·Faker.seed(0) |
1073 | ············>>>·for·_·in·range(5): | 1073 | ············>>>·for·_·in·range(5): |
1074 | ············...·····fake.date_of_birth() | 1074 | ············...·····fake.date_of_birth() |
1075 | ············... | 1075 | ············... |
1076 | ············datetime.date(2006,·10,·2 | 1076 | ············datetime.date(2006,·10,·22) |
1077 | ············datetime.date(1996,·10,· | 1077 | ············datetime.date(1996,·10,·10) |
1078 | ············datetime.date(1957,·8,·2 | 1078 | ············datetime.date(1957,·8,·22) |
1079 | ············datetime.date(1938,·11,·2 | 1079 | ············datetime.date(1938,·11,·21) |
1080 | ············datetime.date(1968,·2,·2 | 1080 | ············datetime.date(1968,·2,·29) |
1081 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 1081 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
1082 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1082 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
1083 | ············Gets·a·Date·object·for·the·current·century. | 1083 | ············Gets·a·Date·object·for·the·current·century. |
1084 | ··············Parameters: | 1084 | ··············Parameters: |
1085 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 1085 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
1086 | ························today | 1086 | ························today |
1087 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 1087 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 1091, 19 lines modified | Offset 1091, 19 lines modified | ||
1091 | ··············Returns: | 1091 | ··············Returns: |
1092 | ··················Date | 1092 | ··················Date |
1093 | ··············Examples: | 1093 | ··············Examples: |
1094 | ············>>>·Faker.seed(0) | 1094 | ············>>>·Faker.seed(0) |
1095 | ············>>>·for·_·in·range(5): | 1095 | ············>>>·for·_·in·range(5): |
1096 | ············...·····fake.date_this_century() | 1096 | ············...·····fake.date_this_century() |
1097 | ············... | 1097 | ············... |
1098 | ············datetime.date(2020,·12,·2 | 1098 | ············datetime.date(2020,·12,·26) |
1099 | ············datetime.date(2018,·11,· | 1099 | ············datetime.date(2018,·11,·2) |
1100 | ············datetime.date(2010,·6,·14) | 1100 | ············datetime.date(2010,·6,·14) |
1101 | ············datetime.date(2006,·6,·8) | 1101 | ············datetime.date(2006,·6,·8) |
1102 | ············datetime.date(2012,·9,·1 | 1102 | ············datetime.date(2012,·9,·15) |
1103 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 1103 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
1104 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1104 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
1105 | ············Gets·a·Date·object·for·the·decade·year. | 1105 | ············Gets·a·Date·object·for·the·decade·year. |
1106 | ··············Parameters: | 1106 | ··············Parameters: |
1107 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 1107 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
Max diff block lines reached; 193588/200495 bytes (96.56%) of diff not shown. |
Offset 1994, 17 lines modified | Offset 1994, 17 lines modified | ||
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">'AM'</span> | 1999 | <span·class="go">'AM'</span> |
2000 | <span·class="go">'AM'</span> | 2000 | <span·class="go">'AM'</span> |
2001 | <span·class="go">'PM'</span> | ||
2002 | <span·class="go">'AM'</span> | ||
2003 | <span·class="go">'AM'</span> | 2001 | <span·class="go">'AM'</span> |
2002 | <span·class="go">'PM'</span> | ||
2003 | <span·class="go">'PM'</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.12)"><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.12)"><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, 17 lines modified | Offset 2045, 17 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">'2016-04-2 | 2052 | <span·class="go">'2016-04-27'</span> |
2053 | <span·class="go">'2011-07-3 | 2053 | <span·class="go">'2011-07-31'</span> |
2054 | <span·class="go">'1993-01-2 | 2054 | <span·class="go">'1993-01-26'</span> |
2055 | <span·class="go">'1984-03-15'</span> | 2055 | <span·class="go">'1984-03-15'</span> |
2056 | <span·class="go">'1998-01-17'</span> | 2056 | <span·class="go">'1998-01-17'</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"> |
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(2020,·3,· | 2086 | <span·class="go">datetime.date(2020,·3,·9)</span> |
2087 | <span·class="go">datetime.date(2017,·8,· | 2087 | <span·class="go">datetime.date(2017,·8,·4)</span> |
2088 | <span·class="go">datetime.date(2007,·6,·2 | 2088 | <span·class="go">datetime.date(2007,·6,·21)</span> |
2089 | <span·class="go">datetime.date(2002,·8,·1 | 2089 | <span·class="go">datetime.date(2002,·8,·15)</span> |
2090 | <span·class="go">datetime.date(2010,·3,·1 | 2090 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 2117 | <span·class="go">datetime.date(2024,·11,·8)</span> |
2118 | <span·class="go">datetime.date(2024,·11,· | 2118 | <span·class="go">datetime.date(2024,·11,·8)</span> |
2119 | <span·class="go">datetime.date(2024,·11,· | 2119 | <span·class="go">datetime.date(2024,·11,·8)</span> |
2120 | <span·class="go">datetime.date(2024,·11,· | 2120 | <span·class="go">datetime.date(2024,·11,·8)</span> |
2121 | <span·class="go">datetime.date(2024,·11,· | 2121 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 2134, 17 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> |
2136 | </dl> | 2136 | </dl> |
2137 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 2137 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
2138 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 2138 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
2139 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 2139 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
2140 | <span·class="gp">...</span> | 2140 | <span·class="gp">...</span> |
2141 | <span·class="go">datetime.date(2016,·4,·2 | 2141 | <span·class="go">datetime.date(2016,·4,·27)</span> |
2142 | <span·class="go">datetime.date(2011,·7,·3 | 2142 | <span·class="go">datetime.date(2011,·7,·31)</span> |
2143 | <span·class="go">datetime.date(1993,·1,·2 | 2143 | <span·class="go">datetime.date(1993,·1,·26)</span> |
2144 | <span·class="go">datetime.date(1984,·3,·15)</span> | 2144 | <span·class="go">datetime.date(1984,·3,·15)</span> |
2145 | <span·class="go">datetime.date(1998,·1,·17)</span> | 2145 | <span·class="go">datetime.date(1998,·1,·17)</span> |
2146 | </pre></div> | 2146 | </pre></div> |
2147 | </div> | 2147 | </div> |
2148 | </dd></dl> | 2148 | </dd></dl> |
2149 | <dl·class="py·method"> | 2149 | <dl·class="py·method"> |
Offset 2170, 19 lines modified | Offset 2170, 19 lines modified | ||
2170 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 2170 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
2171 | <dd·class="field-even"><p></p></dd> | 2171 | <dd·class="field-even"><p></p></dd> |
2172 | </dl> | 2172 | </dl> |
2173 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 2173 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
2174 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 2174 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
2175 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 2175 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
2176 | <span·class="gp">...</span> | 2176 | <span·class="gp">...</span> |
2177 | <span·class="go">datetime.date(2006,·10,·2 | 2177 | <span·class="go">datetime.date(2006,·10,·22)</span> |
2178 | <span·class="go">datetime.date(1996,·10,· | 2178 | <span·class="go">datetime.date(1996,·10,·10)</span> |
2179 | <span·class="go">datetime.date(1957,·8,·2 | 2179 | <span·class="go">datetime.date(1957,·8,·22)</span> |
2180 | <span·class="go">datetime.date(1938,·11,·2 | 2180 | <span·class="go">datetime.date(1938,·11,·21)</span> |
2181 | <span·class="go">datetime.date(1968,·2,·2 | 2181 | <span·class="go">datetime.date(1968,·2,·29)</span> |
2182 | </pre></div> | 2182 | </pre></div> |
2183 | </div> | 2183 | </div> |
2184 | </dd></dl> | 2184 | </dd></dl> |
2185 | <dl·class="py·method"> | 2185 | <dl·class="py·method"> |
2186 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.en_US.Provider.date_this_century"> | 2186 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.en_US.Provider.date_this_century"> |
2187 | <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.12)"><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.12)"><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.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.en_US.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 2187 | <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.12)"><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.12)"><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.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.en_US.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
Offset 2203, 19 lines modified | Offset 2203, 19 lines modified | ||
2203 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 2203 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
2204 | <dd·class="field-even"><p></p></dd> | 2204 | <dd·class="field-even"><p></p></dd> |
2205 | </dl> | 2205 | </dl> |
2206 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 2206 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
2207 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 2207 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
2208 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> | 2208 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
2209 | <span·class="gp">...</span> | 2209 | <span·class="gp">...</span> |
2210 | <span·class="go">datetime.date(2020,·12,·2 | 2210 | <span·class="go">datetime.date(2020,·12,·26)</span> |
2211 | <span·class="go">datetime.date(2018,·11,· | 2211 | <span·class="go">datetime.date(2018,·11,·2)</span> |
2212 | <span·class="go">datetime.date(2010,·6,·14)</span> | 2212 | <span·class="go">datetime.date(2010,·6,·14)</span> |
2213 | <span·class="go">datetime.date(2006,·6,·8)</span> | 2213 | <span·class="go">datetime.date(2006,·6,·8)</span> |
Max diff block lines reached; 399006/415930 bytes (95.93%) of diff not shown. |
Offset 1242, 17 lines modified | Offset 1242, 17 lines modified | ||
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 | ············'AM' | 1247 | ············'AM' |
1248 | ············'AM' | 1248 | ············'AM' |
1249 | ············'PM' | ||
1250 | ············'AM' | ||
1251 | ············'AM' | 1249 | ············'AM' |
1250 | ············'PM' | ||
1251 | ············'PM' | ||
1252 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 1252 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
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, 17 lines modified | Offset 1272, 17 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 | ············'2016-04-2 | 1279 | ············'2016-04-27' |
1280 | ············'2011-07-3 | 1280 | ············'2011-07-31' |
1281 | ············'1993-01-2 | 1281 | ············'1993-01-26' |
1282 | ············'1984-03-15' | 1282 | ············'1984-03-15' |
1283 | ············'1998-01-17' | 1283 | ············'1998-01-17' |
1284 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 1284 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
1285 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 1285 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
1286 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1286 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(). |
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(2020,·3,· | 1301 | ············datetime.date(2020,·3,·9) |
1302 | ············datetime.date(2017,·8,· | 1302 | ············datetime.date(2017,·8,·4) |
1303 | ············datetime.date(2007,·6,·2 | 1303 | ············datetime.date(2007,·6,·21) |
1304 | ············datetime.date(2002,·8,·1 | 1304 | ············datetime.date(2002,·8,·15) |
1305 | ············datetime.date(2010,·3,·1 | 1305 | ············datetime.date(2010,·3,·11) |
1306 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 1306 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
1307 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 1307 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
1308 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1308 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 1312 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 1314, 31 lines modified | Offset 1314, 31 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(2024,·11,· | 1321 | ············datetime.date(2024,·11,·8) |
1322 | ············datetime.date(2024,·11,· | 1322 | ············datetime.date(2024,·11,·8) |
1323 | ············datetime.date(2024,·11,· | 1323 | ············datetime.date(2024,·11,·8) |
1324 | ············datetime.date(2024,·11,· | 1324 | ············datetime.date(2024,·11,·8) |
1325 | ············datetime.date(2024,·11,· | 1325 | ············datetime.date(2024,·11,·8) |
1326 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1326 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(2016,·4,·2 | 1335 | ············datetime.date(2016,·4,·27) |
1336 | ············datetime.date(2011,·7,·3 | 1336 | ············datetime.date(2011,·7,·31) |
1337 | ············datetime.date(1993,·1,·2 | 1337 | ············datetime.date(1993,·1,·26) |
1338 | ············datetime.date(1984,·3,·15) | 1338 | ············datetime.date(1984,·3,·15) |
1339 | ············datetime.date(1998,·1,·17) | 1339 | ············datetime.date(1998,·1,·17) |
1340 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 1340 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
1341 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1341 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
1342 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 1342 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
1343 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 1343 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
1344 | ··············Parameters: | 1344 | ··············Parameters: |
Offset 1350, 19 lines modified | Offset 1350, 19 lines modified | ||
1350 | ··············Returns: | 1350 | ··············Returns: |
1351 | ··················Date | 1351 | ··················Date |
1352 | ··············Examples: | 1352 | ··············Examples: |
1353 | ············>>>·Faker.seed(0) | 1353 | ············>>>·Faker.seed(0) |
1354 | ············>>>·for·_·in·range(5): | 1354 | ············>>>·for·_·in·range(5): |
1355 | ············...·····fake.date_of_birth() | 1355 | ············...·····fake.date_of_birth() |
1356 | ············... | 1356 | ············... |
1357 | ············datetime.date(2006,·10,·2 | 1357 | ············datetime.date(2006,·10,·22) |
1358 | ············datetime.date(1996,·10,· | 1358 | ············datetime.date(1996,·10,·10) |
1359 | ············datetime.date(1957,·8,·2 | 1359 | ············datetime.date(1957,·8,·22) |
1360 | ············datetime.date(1938,·11,·2 | 1360 | ············datetime.date(1938,·11,·21) |
1361 | ············datetime.date(1968,·2,·2 | 1361 | ············datetime.date(1968,·2,·29) |
1362 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 1362 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
1363 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1363 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
1364 | ············Gets·a·Date·object·for·the·current·century. | 1364 | ············Gets·a·Date·object·for·the·current·century. |
1365 | ··············Parameters: | 1365 | ··············Parameters: |
1366 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 1366 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
1367 | ························today | 1367 | ························today |
1368 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 1368 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 1372, 19 lines modified | Offset 1372, 19 lines modified | ||
1372 | ··············Returns: | 1372 | ··············Returns: |
1373 | ··················Date | 1373 | ··················Date |
1374 | ··············Examples: | 1374 | ··············Examples: |
1375 | ············>>>·Faker.seed(0) | 1375 | ············>>>·Faker.seed(0) |
1376 | ············>>>·for·_·in·range(5): | 1376 | ············>>>·for·_·in·range(5): |
1377 | ············...·····fake.date_this_century() | 1377 | ············...·····fake.date_this_century() |
1378 | ············... | 1378 | ············... |
1379 | ············datetime.date(2020,·12,·2 | 1379 | ············datetime.date(2020,·12,·26) |
1380 | ············datetime.date(2018,·11,· | 1380 | ············datetime.date(2018,·11,·2) |
1381 | ············datetime.date(2010,·6,·14) | 1381 | ············datetime.date(2010,·6,·14) |
1382 | ············datetime.date(2006,·6,·8) | 1382 | ············datetime.date(2006,·6,·8) |
1383 | ············datetime.date(2012,·9,·1 | 1383 | ············datetime.date(2012,·9,·15) |
1384 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 1384 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
1385 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1385 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
1386 | ············Gets·a·Date·object·for·the·decade·year. | 1386 | ············Gets·a·Date·object·for·the·decade·year. |
1387 | ··············Parameters: | 1387 | ··············Parameters: |
1388 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 1388 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
Max diff block lines reached; 245594/252505 bytes (97.26%) of diff not shown. |
Offset 1124, 17 lines modified | Offset 1124, 17 lines modified | ||
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">'AM'</span> | 1129 | <span·class="go">'AM'</span> |
1130 | <span·class="go">'AM'</span> | 1130 | <span·class="go">'AM'</span> |
1131 | <span·class="go">'PM'</span> | ||
1132 | <span·class="go">'AM'</span> | ||
1133 | <span·class="go">'AM'</span> | 1131 | <span·class="go">'AM'</span> |
1132 | <span·class="go">'PM'</span> | ||
1133 | <span·class="go">'PM'</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.12)"><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.12)"><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, 17 lines modified | Offset 1175, 17 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">'2016-04-2 | 1182 | <span·class="go">'2016-04-27'</span> |
1183 | <span·class="go">'2011-07-3 | 1183 | <span·class="go">'2011-07-31'</span> |
1184 | <span·class="go">'1993-01-2 | 1184 | <span·class="go">'1993-01-26'</span> |
1185 | <span·class="go">'1984-03-15'</span> | 1185 | <span·class="go">'1984-03-15'</span> |
1186 | <span·class="go">'1998-01-17'</span> | 1186 | <span·class="go">'1998-01-17'</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"> |
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(2020,·3,· | 1216 | <span·class="go">datetime.date(2020,·3,·9)</span> |
1217 | <span·class="go">datetime.date(2017,·8,· | 1217 | <span·class="go">datetime.date(2017,·8,·4)</span> |
1218 | <span·class="go">datetime.date(2007,·6,·2 | 1218 | <span·class="go">datetime.date(2007,·6,·21)</span> |
1219 | <span·class="go">datetime.date(2002,·8,·1 | 1219 | <span·class="go">datetime.date(2002,·8,·15)</span> |
1220 | <span·class="go">datetime.date(2010,·3,·1 | 1220 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 1247 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1248 | <span·class="go">datetime.date(2024,·11,· | 1248 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1249 | <span·class="go">datetime.date(2024,·11,· | 1249 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1250 | <span·class="go">datetime.date(2024,·11,· | 1250 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1251 | <span·class="go">datetime.date(2024,·11,· | 1251 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 1264, 17 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(2016,·4,·2 | 1271 | <span·class="go">datetime.date(2016,·4,·27)</span> |
1272 | <span·class="go">datetime.date(2011,·7,·3 | 1272 | <span·class="go">datetime.date(2011,·7,·31)</span> |
1273 | <span·class="go">datetime.date(1993,·1,·2 | 1273 | <span·class="go">datetime.date(1993,·1,·26)</span> |
1274 | <span·class="go">datetime.date(1984,·3,·15)</span> | 1274 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1275 | <span·class="go">datetime.date(1998,·1,·17)</span> | 1275 | <span·class="go">datetime.date(1998,·1,·17)</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"> |
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(2006,·10,·2 | 1307 | <span·class="go">datetime.date(2006,·10,·22)</span> |
1308 | <span·class="go">datetime.date(1996,·10,· | 1308 | <span·class="go">datetime.date(1996,·10,·10)</span> |
1309 | <span·class="go">datetime.date(1957,·8,·2 | 1309 | <span·class="go">datetime.date(1957,·8,·22)</span> |
1310 | <span·class="go">datetime.date(1938,·11,·2 | 1310 | <span·class="go">datetime.date(1938,·11,·21)</span> |
1311 | <span·class="go">datetime.date(1968,·2,·2 | 1311 | <span·class="go">datetime.date(1968,·2,·29)</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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> |
1334 | <dd·class="field-even"><p></p></dd> | 1334 | <dd·class="field-even"><p></p></dd> |
1335 | </dl> | 1335 | </dl> |
1336 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1336 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1337 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1337 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1338 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> | 1338 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
1339 | <span·class="gp">...</span> | 1339 | <span·class="gp">...</span> |
1340 | <span·class="go">datetime.date(2020,·12,·2 | 1340 | <span·class="go">datetime.date(2020,·12,·26)</span> |
1341 | <span·class="go">datetime.date(2018,·11,· | 1341 | <span·class="go">datetime.date(2018,·11,·2)</span> |
1342 | <span·class="go">datetime.date(2010,·6,·14)</span> | 1342 | <span·class="go">datetime.date(2010,·6,·14)</span> |
1343 | <span·class="go">datetime.date(2006,·6,·8)</span> | 1343 | <span·class="go">datetime.date(2006,·6,·8)</span> |
Max diff block lines reached; 83983/100907 bytes (83.23%) of diff not shown. |
Offset 645, 17 lines modified | Offset 645, 17 lines modified | ||
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 | ············'AM' | 650 | ············'AM' |
651 | ············'AM' | 651 | ············'AM' |
652 | ············'PM' | ||
653 | ············'AM' | ||
654 | ············'AM' | 652 | ············'AM' |
653 | ············'PM' | ||
654 | ············'PM' | ||
655 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 655 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
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, 17 lines modified | Offset 675, 17 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 | ············'2016-04-2 | 682 | ············'2016-04-27' |
683 | ············'2011-07-3 | 683 | ············'2011-07-31' |
684 | ············'1993-01-2 | 684 | ············'1993-01-26' |
685 | ············'1984-03-15' | 685 | ············'1984-03-15' |
686 | ············'1998-01-17' | 686 | ············'1998-01-17' |
687 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 687 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
688 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 688 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
689 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 689 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(). |
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(2020,·3,· | 704 | ············datetime.date(2020,·3,·9) |
705 | ············datetime.date(2017,·8,· | 705 | ············datetime.date(2017,·8,·4) |
706 | ············datetime.date(2007,·6,·2 | 706 | ············datetime.date(2007,·6,·21) |
707 | ············datetime.date(2002,·8,·1 | 707 | ············datetime.date(2002,·8,·15) |
708 | ············datetime.date(2010,·3,·1 | 708 | ············datetime.date(2010,·3,·11) |
709 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 709 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
710 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 710 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
711 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 711 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 715 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 717, 31 lines modified | Offset 717, 31 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(2024,·11,· | 724 | ············datetime.date(2024,·11,·8) |
725 | ············datetime.date(2024,·11,· | 725 | ············datetime.date(2024,·11,·8) |
726 | ············datetime.date(2024,·11,· | 726 | ············datetime.date(2024,·11,·8) |
727 | ············datetime.date(2024,·11,· | 727 | ············datetime.date(2024,·11,·8) |
728 | ············datetime.date(2024,·11,· | 728 | ············datetime.date(2024,·11,·8) |
729 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 729 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(2016,·4,·2 | 738 | ············datetime.date(2016,·4,·27) |
739 | ············datetime.date(2011,·7,·3 | 739 | ············datetime.date(2011,·7,·31) |
740 | ············datetime.date(1993,·1,·2 | 740 | ············datetime.date(1993,·1,·26) |
741 | ············datetime.date(1984,·3,·15) | 741 | ············datetime.date(1984,·3,·15) |
742 | ············datetime.date(1998,·1,·17) | 742 | ············datetime.date(1998,·1,·17) |
743 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 743 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
744 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 744 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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: |
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(2006,·10,·2 | 760 | ············datetime.date(2006,·10,·22) |
761 | ············datetime.date(1996,·10,· | 761 | ············datetime.date(1996,·10,·10) |
762 | ············datetime.date(1957,·8,·2 | 762 | ············datetime.date(1957,·8,·22) |
763 | ············datetime.date(1938,·11,·2 | 763 | ············datetime.date(1938,·11,·21) |
764 | ············datetime.date(1968,·2,·2 | 764 | ············datetime.date(1968,·2,·29) |
765 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 765 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
766 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 766 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
767 | ············Gets·a·Date·object·for·the·current·century. | 767 | ············Gets·a·Date·object·for·the·current·century. |
768 | ··············Parameters: | 768 | ··············Parameters: |
769 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 769 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
770 | ························today | 770 | ························today |
771 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 771 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·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 | ············... |
782 | ············datetime.date(2020,·12,·2 | 782 | ············datetime.date(2020,·12,·26) |
783 | ············datetime.date(2018,·11,· | 783 | ············datetime.date(2018,·11,·2) |
784 | ············datetime.date(2010,·6,·14) | 784 | ············datetime.date(2010,·6,·14) |
785 | ············datetime.date(2006,·6,·8) | 785 | ············datetime.date(2006,·6,·8) |
786 | ············datetime.date(2012,·9,·1 | 786 | ············datetime.date(2012,·9,·15) |
787 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 787 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
788 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 788 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
789 | ············Gets·a·Date·object·for·the·decade·year. | 789 | ············Gets·a·Date·object·for·the·decade·year. |
790 | ··············Parameters: | 790 | ··············Parameters: |
791 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 791 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
Max diff block lines reached; 27202/34101 bytes (79.77%) 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">'S1855436J'</span> |
503 | <span·class="go">'J6982121C'</span> | ||
504 | <span·class="go">'J5936402F'</span> | ||
503 | <span·class="go">'V | 505 | <span·class="go">'V2774092G'</span> |
504 | <span·class="go">'W4580780G'</span> | ||
505 | <span·class="go">'R2589576D'</span> | ||
506 | <span·class="go">' | 506 | <span·class="go">'W7329828C'</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.12)"><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.12)"><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">' | 524 | <span·class="go">'04914141F'</span> |
525 | <span·class="go">'64986720J'</span> | ||
525 | <span·class="go">' | 526 | <span·class="go">'X5273184C'</span> |
526 | <span·class="go">' | 527 | <span·class="go">'B08778722'</span> |
527 | <span·class="go">'Z3025581M'</span> | ||
528 | <span·class="go">' | 528 | <span·class="go">'R6698476F'</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.12)"><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.12)"><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">'Z5367134C'</span> | ||
547 | <span·class="go">' | 546 | <span·class="go">'Y5112663F'</span> |
547 | <span·class="go">'Z7222157R'</span> | ||
548 | <span·class="go">' | 548 | <span·class="go">'Z2398801K'</span> |
549 | <span·class="go">'Y | 549 | <span·class="go">'Y1579381P'</span> |
550 | <span·class="go">'X | 550 | <span·class="go">'X4772978H'</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.12)"><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.12)"><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">'32974367A'</span> |
569 | <span·class="go">'414 | 569 | <span·class="go">'48144542E'</span> |
570 | <span·class="go">'11212634L'</span> | ||
571 | <span·class="go">' | 570 | <span·class="go">'53603000M'</span> |
571 | <span·class="go">'77827785V'</span> | ||
572 | <span·class="go">' | 572 | <span·class="go">'39281752Y'</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.12)"><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.12)"><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.12)"><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.12)"><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">'292297629624'</span> | ||
595 | <span·class="go">' | 594 | <span·class="go">'419026310266'</span> |
596 | <span·class="go">'115058285791'</span> | ||
597 | <span·class="go">'440321108973'</span> | ||
598 | <span·class="go">' | 595 | <span·class="go">'169675242504'</span> |
596 | <span·class="go">'358861247385'</span> | ||
597 | <span·class="go">'403735252595'</span> | ||
598 | <span·class="go">'303423734233'</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.12)"><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.12)"><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 255, 76 lines modified | Offset 255, 76 lines modified | ||
255 | ············_\x8C_\x8%_\x8C_\x83_\x8%_\x8B_\x83_\x8d_\x8i_\x8g_\x8o_\x8__\x8d_\x8e_\x8__\x8i_\x8d_\x8e_\x8n_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8c_\x8i_\x8%_\x8C_\x83_\x8%_\x8B_\x83_\x8n_\x8__\x8f_\x8i_\x8s_\x8c_\x8a_\x8l·:return:·a·random·Spanish | 255 | ············_\x8C_\x8%_\x8C_\x83_\x8%_\x8B_\x83_\x8d_\x8i_\x8g_\x8o_\x8__\x8d_\x8e_\x8__\x8i_\x8d_\x8e_\x8n_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8c_\x8i_\x8%_\x8C_\x83_\x8%_\x8B_\x83_\x8n_\x8__\x8f_\x8i_\x8s_\x8c_\x8a_\x8l·:return:·a·random·Spanish |
256 | ············CIF | 256 | ············CIF |
257 | ··············Examples: | 257 | ··············Examples: |
258 | ············>>>·Faker.seed(0) | 258 | ············>>>·Faker.seed(0) |
259 | ············>>>·for·_·in·range(5): | 259 | ············>>>·for·_·in·range(5): |
260 | ············...·····fake.cif() | 260 | ············...·····fake.cif() |
261 | ············... | 261 | ············... |
262 | ············' | 262 | ············'S1855436J' |
263 | ············'J6982121C' | ||
264 | ············'J5936402F' | ||
263 | ············'V | 265 | ············'V2774092G' |
264 | ············'W4580780G' | ||
265 | ············'R2589576D' | ||
266 | ············' | 266 | ············'W7329828C' |
267 | ········doi()·→·_\x8s_\x8t_\x8r_\x8¶ | 267 | ········doi()·→·_\x8s_\x8t_\x8r_\x8¶ |
268 | ············_\x8h_\x8t_\x8t_\x8p_\x8s_\x8:_\x8/_\x8/_\x8e_\x8s_\x8._\x8w_\x8i_\x8k_\x8i_\x8p_\x8e_\x8d_\x8i_\x8a_\x8._\x8o_\x8r_\x8g_\x8/_\x8w_\x8i_\x8k_\x8i_\x8/_\x8I_\x8d_\x8e_\x8n_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8d_\x8o_\x8r_\x8__\x8d_\x8e_\x8__\x8o_\x8b_\x8j_\x8e_\x8t_\x8o_\x8__\x8d_\x8i_\x8g_\x8i_\x8t_\x8a_\x8l·: | 268 | ············_\x8h_\x8t_\x8t_\x8p_\x8s_\x8:_\x8/_\x8/_\x8e_\x8s_\x8._\x8w_\x8i_\x8k_\x8i_\x8p_\x8e_\x8d_\x8i_\x8a_\x8._\x8o_\x8r_\x8g_\x8/_\x8w_\x8i_\x8k_\x8i_\x8/_\x8I_\x8d_\x8e_\x8n_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8d_\x8o_\x8r_\x8__\x8d_\x8e_\x8__\x8o_\x8b_\x8j_\x8e_\x8t_\x8o_\x8__\x8d_\x8i_\x8g_\x8i_\x8t_\x8a_\x8l·: |
269 | ············return:·a·random·Spanish·CIF·or·NIE·or·NIF | 269 | ············return:·a·random·Spanish·CIF·or·NIE·or·NIF |
270 | ··············Examples: | 270 | ··············Examples: |
271 | ············>>>·Faker.seed(0) | 271 | ············>>>·Faker.seed(0) |
272 | ············>>>·for·_·in·range(5): | 272 | ············>>>·for·_·in·range(5): |
273 | ············...·····fake.doi() | 273 | ············...·····fake.doi() |
274 | ············... | 274 | ············... |
275 | ············'42957634M' | ||
276 | ············'59173359V' | ||
277 | ············'07510826S' | ||
278 | ············'Z3025581M' | ||
279 | ············' | 275 | ············'04914141F' |
276 | ············'64986720J' | ||
277 | ············'X5273184C' | ||
278 | ············'B08778722' | ||
279 | ············'R6698476F' | ||
280 | ········nie()·→·_\x8s_\x8t_\x8r_\x8¶ | 280 | ········nie()·→·_\x8s_\x8t_\x8r_\x8¶ |
281 | ············_\x8h_\x8t_\x8t_\x8p_\x8s_\x8:_\x8/_\x8/_\x8e_\x8s_\x8._\x8w_\x8i_\x8k_\x8i_\x8p_\x8e_\x8d_\x8i_\x8a_\x8._\x8o_\x8r_\x8g_\x8/_\x8w_\x8i_\x8k_\x8i_\x8/ | 281 | ············_\x8h_\x8t_\x8t_\x8p_\x8s_\x8:_\x8/_\x8/_\x8e_\x8s_\x8._\x8w_\x8i_\x8k_\x8i_\x8p_\x8e_\x8d_\x8i_\x8a_\x8._\x8o_\x8r_\x8g_\x8/_\x8w_\x8i_\x8k_\x8i_\x8/ |
282 | ············_\x8N_\x8%_\x8C_\x83_\x8%_\x8B_\x8A_\x8m_\x8e_\x8r_\x8o_\x8__\x8d_\x8e_\x8__\x8i_\x8d_\x8e_\x8n_\x8t_\x8i_\x8d_\x8a_\x8d_\x8__\x8d_\x8e_\x8__\x8e_\x8x_\x8t_\x8r_\x8a_\x8n_\x8j_\x8e_\x8r_\x8o·:return:·a·random·Spanish | 282 | ············_\x8N_\x8%_\x8C_\x83_\x8%_\x8B_\x8A_\x8m_\x8e_\x8r_\x8o_\x8__\x8d_\x8e_\x8__\x8i_\x8d_\x8e_\x8n_\x8t_\x8i_\x8d_\x8a_\x8d_\x8__\x8d_\x8e_\x8__\x8e_\x8x_\x8t_\x8r_\x8a_\x8n_\x8j_\x8e_\x8r_\x8o·:return:·a·random·Spanish |
283 | ············NIE | 283 | ············NIE |
284 | ··············Examples: | 284 | ··············Examples: |
285 | ············>>>·Faker.seed(0) | 285 | ············>>>·Faker.seed(0) |
286 | ············>>>·for·_·in·range(5): | 286 | ············>>>·for·_·in·range(5): |
287 | ············...·····fake.nie() | 287 | ············...·····fake.nie() |
288 | ············... | 288 | ············... |
289 | ············'Z5367134C' | ||
290 | ············' | 289 | ············'Y5112663F' |
290 | ············'Z7222157R' | ||
291 | ············' | 291 | ············'Z2398801K' |
292 | ············'Y9483970A' | ||
293 | ············' | 292 | ············'Y1579381P' |
293 | ············'X4772978H' | ||
294 | ········nif()·→·_\x8s_\x8t_\x8r_\x8¶ | 294 | ········nif()·→·_\x8s_\x8t_\x8r_\x8¶ |
295 | ············_\x8h_\x8t_\x8t_\x8p_\x8s_\x8:_\x8/_\x8/_\x8e_\x8s_\x8._\x8w_\x8i_\x8k_\x8i_\x8p_\x8e_\x8d_\x8i_\x8a_\x8._\x8o_\x8r_\x8g_\x8/_\x8w_\x8i_\x8k_\x8i_\x8/ | 295 | ············_\x8h_\x8t_\x8t_\x8p_\x8s_\x8:_\x8/_\x8/_\x8e_\x8s_\x8._\x8w_\x8i_\x8k_\x8i_\x8p_\x8e_\x8d_\x8i_\x8a_\x8._\x8o_\x8r_\x8g_\x8/_\x8w_\x8i_\x8k_\x8i_\x8/ |
296 | ············_\x8N_\x8%_\x8C_\x83_\x8%_\x8B_\x8A_\x8m_\x8e_\x8r_\x8o_\x8__\x8d_\x8e_\x8__\x8i_\x8d_\x8e_\x8n_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8c_\x8i_\x8%_\x8C_\x83_\x8%_\x8B_\x83_\x8n_\x8__\x8f_\x8i_\x8s_\x8c_\x8a_\x8l·:return:·NIF | 296 | ············_\x8N_\x8%_\x8C_\x83_\x8%_\x8B_\x8A_\x8m_\x8e_\x8r_\x8o_\x8__\x8d_\x8e_\x8__\x8i_\x8d_\x8e_\x8n_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8c_\x8i_\x8%_\x8C_\x83_\x8%_\x8B_\x83_\x8n_\x8__\x8f_\x8i_\x8s_\x8c_\x8a_\x8l·:return:·NIF |
297 | ··············Examples: | 297 | ··············Examples: |
298 | ············>>>·Faker.seed(0) | 298 | ············>>>·Faker.seed(0) |
299 | ············>>>·for·_·in·range(5): | 299 | ············>>>·for·_·in·range(5): |
300 | ············...·····fake.nif() | 300 | ············...·····fake.nif() |
301 | ············... | 301 | ············... |
302 | ············' | 302 | ············'32974367A' |
303 | ············'414 | 303 | ············'48144542E' |
304 | ············'11212634L' | ||
305 | ············' | 304 | ············'53603000M' |
306 | ············' | 305 | ············'77827785V' |
306 | ············'39281752Y' | ||
307 | ········nuss(c\x8co\x8om\x8mp\x8pa\x8an\x8ny\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ | 307 | ········nuss(c\x8co\x8om\x8mp\x8pa\x8an\x8ny\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ |
308 | ··············Parameters: | 308 | ··············Parameters: |
309 | ··················c\x8co\x8om\x8mp\x8pa\x8an\x8ny\x8y·–·flag·to·indicate·if·we·should·generate·a·company | 309 | ··················c\x8co\x8om\x8mp\x8pa\x8an\x8ny\x8y·–·flag·to·indicate·if·we·should·generate·a·company |
310 | ··················NUSS | 310 | ··················NUSS |
311 | ··············Returns: | 311 | ··············Returns: |
312 | ··················a·random·Spanish·Social·Security·Number·(Número·de·la | 312 | ··················a·random·Spanish·Social·Security·Number·(Número·de·la |
313 | ··················Seguridad·Social) | 313 | ··················Seguridad·Social) |
314 | ··············Examples: | 314 | ··············Examples: |
315 | ············>>>·Faker.seed(0) | 315 | ············>>>·Faker.seed(0) |
316 | ············>>>·for·_·in·range(5): | 316 | ············>>>·for·_·in·range(5): |
317 | ············...·····fake.nuss() | 317 | ············...·····fake.nuss() |
318 | ············... | 318 | ············... |
319 | ············'292297629624' | ||
320 | ············' | 319 | ············'419026310266' |
321 | ············'115058285791' | ||
322 | ············'440321108973' | ||
323 | ············' | 320 | ············'169675242504' |
321 | ············'358861247385' | ||
322 | ············'403735252595' | ||
323 | ············'303423734233' | ||
324 | ········ssn()·→·_\x8s_\x8t_\x8r_\x8¶ | 324 | ········ssn()·→·_\x8s_\x8t_\x8r_\x8¶ |
325 | ··············Examples: | 325 | ··············Examples: |
326 | ············>>>·Faker.seed(0) | 326 | ············>>>·Faker.seed(0) |
327 | ············>>>·for·_·in·range(5): | 327 | ············>>>·for·_·in·range(5): |
328 | ············...·····fake.ssn() | 328 | ············...·····fake.ssn() |
329 | ············... | 329 | ············... |
330 | ············'604-87-6475' | 330 | ············'604-87-6475' |
Offset 1402, 17 lines modified | Offset 1402, 17 lines modified | ||
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">'AM'</span> | 1407 | <span·class="go">'AM'</span> |
1408 | <span·class="go">'AM'</span> | 1408 | <span·class="go">'AM'</span> |
1409 | <span·class="go">'PM'</span> | ||
1410 | <span·class="go">'AM'</span> | ||
1411 | <span·class="go">'AM'</span> | 1409 | <span·class="go">'AM'</span> |
1410 | <span·class="go">'PM'</span> | ||
1411 | <span·class="go">'PM'</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.12)"><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.12)"><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, 17 lines modified | Offset 1453, 17 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">'2016-04-2 | 1460 | <span·class="go">'2016-04-27'</span> |
1461 | <span·class="go">'2011-07-3 | 1461 | <span·class="go">'2011-07-31'</span> |
1462 | <span·class="go">'1993-01-2 | 1462 | <span·class="go">'1993-01-26'</span> |
1463 | <span·class="go">'1984-03-15'</span> | 1463 | <span·class="go">'1984-03-15'</span> |
1464 | <span·class="go">'1998-01-17'</span> | 1464 | <span·class="go">'1998-01-17'</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"> |
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(2020,·3,· | 1494 | <span·class="go">datetime.date(2020,·3,·9)</span> |
1495 | <span·class="go">datetime.date(2017,·8,· | 1495 | <span·class="go">datetime.date(2017,·8,·4)</span> |
1496 | <span·class="go">datetime.date(2007,·6,·2 | 1496 | <span·class="go">datetime.date(2007,·6,·21)</span> |
1497 | <span·class="go">datetime.date(2002,·8,·1 | 1497 | <span·class="go">datetime.date(2002,·8,·15)</span> |
1498 | <span·class="go">datetime.date(2010,·3,·1 | 1498 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 1525 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1526 | <span·class="go">datetime.date(2024,·11,· | 1526 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1527 | <span·class="go">datetime.date(2024,·11,· | 1527 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1528 | <span·class="go">datetime.date(2024,·11,· | 1528 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1529 | <span·class="go">datetime.date(2024,·11,· | 1529 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 1542, 17 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(2016,·4,·2 | 1549 | <span·class="go">datetime.date(2016,·4,·27)</span> |
1550 | <span·class="go">datetime.date(2011,·7,·3 | 1550 | <span·class="go">datetime.date(2011,·7,·31)</span> |
1551 | <span·class="go">datetime.date(1993,·1,·2 | 1551 | <span·class="go">datetime.date(1993,·1,·26)</span> |
1552 | <span·class="go">datetime.date(1984,·3,·15)</span> | 1552 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1553 | <span·class="go">datetime.date(1998,·1,·17)</span> | 1553 | <span·class="go">datetime.date(1998,·1,·17)</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"> |
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(2006,·10,·2 | 1585 | <span·class="go">datetime.date(2006,·10,·22)</span> |
1586 | <span·class="go">datetime.date(1996,·10,· | 1586 | <span·class="go">datetime.date(1996,·10,·10)</span> |
1587 | <span·class="go">datetime.date(1957,·8,·2 | 1587 | <span·class="go">datetime.date(1957,·8,·22)</span> |
1588 | <span·class="go">datetime.date(1938,·11,·2 | 1588 | <span·class="go">datetime.date(1938,·11,·21)</span> |
1589 | <span·class="go">datetime.date(1968,·2,·2 | 1589 | <span·class="go">datetime.date(1968,·2,·29)</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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> |
1612 | <dd·class="field-even"><p></p></dd> | 1612 | <dd·class="field-even"><p></p></dd> |
1613 | </dl> | 1613 | </dl> |
1614 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1614 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1615 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1615 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1616 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> | 1616 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
1617 | <span·class="gp">...</span> | 1617 | <span·class="gp">...</span> |
1618 | <span·class="go">datetime.date(2020,·12,·2 | 1618 | <span·class="go">datetime.date(2020,·12,·26)</span> |
1619 | <span·class="go">datetime.date(2018,·11,· | 1619 | <span·class="go">datetime.date(2018,·11,·2)</span> |
1620 | <span·class="go">datetime.date(2010,·6,·14)</span> | 1620 | <span·class="go">datetime.date(2010,·6,·14)</span> |
1621 | <span·class="go">datetime.date(2006,·6,·8)</span> | 1621 | <span·class="go">datetime.date(2006,·6,·8)</span> |
Max diff block lines reached; 83986/100910 bytes (83.23%) of diff not shown. |
Offset 786, 17 lines modified | Offset 786, 17 lines modified | ||
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 | ············'AM' | 791 | ············'AM' |
792 | ············'AM' | 792 | ············'AM' |
793 | ············'PM' | ||
794 | ············'AM' | ||
795 | ············'AM' | 793 | ············'AM' |
794 | ············'PM' | ||
795 | ············'PM' | ||
796 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 796 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
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, 17 lines modified | Offset 816, 17 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 | ············'2016-04-2 | 823 | ············'2016-04-27' |
824 | ············'2011-07-3 | 824 | ············'2011-07-31' |
825 | ············'1993-01-2 | 825 | ············'1993-01-26' |
826 | ············'1984-03-15' | 826 | ············'1984-03-15' |
827 | ············'1998-01-17' | 827 | ············'1998-01-17' |
828 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 828 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
829 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 829 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
830 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 830 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(). |
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(2020,·3,· | 845 | ············datetime.date(2020,·3,·9) |
846 | ············datetime.date(2017,·8,· | 846 | ············datetime.date(2017,·8,·4) |
847 | ············datetime.date(2007,·6,·2 | 847 | ············datetime.date(2007,·6,·21) |
848 | ············datetime.date(2002,·8,·1 | 848 | ············datetime.date(2002,·8,·15) |
849 | ············datetime.date(2010,·3,·1 | 849 | ············datetime.date(2010,·3,·11) |
850 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 850 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
851 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 851 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
852 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 852 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 856 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 858, 31 lines modified | Offset 858, 31 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(2024,·11,· | 865 | ············datetime.date(2024,·11,·8) |
866 | ············datetime.date(2024,·11,· | 866 | ············datetime.date(2024,·11,·8) |
867 | ············datetime.date(2024,·11,· | 867 | ············datetime.date(2024,·11,·8) |
868 | ············datetime.date(2024,·11,· | 868 | ············datetime.date(2024,·11,·8) |
869 | ············datetime.date(2024,·11,· | 869 | ············datetime.date(2024,·11,·8) |
870 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 870 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(2016,·4,·2 | 879 | ············datetime.date(2016,·4,·27) |
880 | ············datetime.date(2011,·7,·3 | 880 | ············datetime.date(2011,·7,·31) |
881 | ············datetime.date(1993,·1,·2 | 881 | ············datetime.date(1993,·1,·26) |
882 | ············datetime.date(1984,·3,·15) | 882 | ············datetime.date(1984,·3,·15) |
883 | ············datetime.date(1998,·1,·17) | 883 | ············datetime.date(1998,·1,·17) |
884 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 884 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
885 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 885 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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: |
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(2006,·10,·2 | 901 | ············datetime.date(2006,·10,·22) |
902 | ············datetime.date(1996,·10,· | 902 | ············datetime.date(1996,·10,·10) |
903 | ············datetime.date(1957,·8,·2 | 903 | ············datetime.date(1957,·8,·22) |
904 | ············datetime.date(1938,·11,·2 | 904 | ············datetime.date(1938,·11,·21) |
905 | ············datetime.date(1968,·2,·2 | 905 | ············datetime.date(1968,·2,·29) |
906 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 906 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
907 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 907 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
908 | ············Gets·a·Date·object·for·the·current·century. | 908 | ············Gets·a·Date·object·for·the·current·century. |
909 | ··············Parameters: | 909 | ··············Parameters: |
910 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 910 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
911 | ························today | 911 | ························today |
912 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 912 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·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 | ············... |
923 | ············datetime.date(2020,·12,·2 | 923 | ············datetime.date(2020,·12,·26) |
924 | ············datetime.date(2018,·11,· | 924 | ············datetime.date(2018,·11,·2) |
925 | ············datetime.date(2010,·6,·14) | 925 | ············datetime.date(2010,·6,·14) |
926 | ············datetime.date(2006,·6,·8) | 926 | ············datetime.date(2006,·6,·8) |
927 | ············datetime.date(2012,·9,·1 | 927 | ············datetime.date(2012,·9,·15) |
928 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 928 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
929 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 929 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
930 | ············Gets·a·Date·object·for·the·decade·year. | 930 | ············Gets·a·Date·object·for·the·decade·year. |
931 | ··············Parameters: | 931 | ··············Parameters: |
932 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 932 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
Max diff block lines reached; 27217/34116 bytes (79.78%) of diff not shown. |
Offset 1807, 17 lines modified | Offset 1807, 17 lines modified | ||
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">'AM'</span> | 1812 | <span·class="go">'AM'</span> |
1813 | <span·class="go">'AM'</span> | 1813 | <span·class="go">'AM'</span> |
1814 | <span·class="go">'PM'</span> | ||
1815 | <span·class="go">'AM'</span> | ||
1816 | <span·class="go">'AM'</span> | 1814 | <span·class="go">'AM'</span> |
1815 | <span·class="go">'PM'</span> | ||
1816 | <span·class="go">'PM'</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.12)"><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.12)"><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, 17 lines modified | Offset 1858, 17 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">'2016-04-2 | 1865 | <span·class="go">'2016-04-27'</span> |
1866 | <span·class="go">'2011-07-3 | 1866 | <span·class="go">'2011-07-31'</span> |
1867 | <span·class="go">'1993-01-2 | 1867 | <span·class="go">'1993-01-26'</span> |
1868 | <span·class="go">'1984-03-15'</span> | 1868 | <span·class="go">'1984-03-15'</span> |
1869 | <span·class="go">'1998-01-17'</span> | 1869 | <span·class="go">'1998-01-17'</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"> |
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(2020,·3,· | 1899 | <span·class="go">datetime.date(2020,·3,·9)</span> |
1900 | <span·class="go">datetime.date(2017,·8,· | 1900 | <span·class="go">datetime.date(2017,·8,·4)</span> |
1901 | <span·class="go">datetime.date(2007,·6,·2 | 1901 | <span·class="go">datetime.date(2007,·6,·21)</span> |
1902 | <span·class="go">datetime.date(2002,·8,·1 | 1902 | <span·class="go">datetime.date(2002,·8,·15)</span> |
1903 | <span·class="go">datetime.date(2010,·3,·1 | 1903 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 1930 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1931 | <span·class="go">datetime.date(2024,·11,· | 1931 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1932 | <span·class="go">datetime.date(2024,·11,· | 1932 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1933 | <span·class="go">datetime.date(2024,·11,· | 1933 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1934 | <span·class="go">datetime.date(2024,·11,· | 1934 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 1947, 17 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(2016,·4,·2 | 1954 | <span·class="go">datetime.date(2016,·4,·27)</span> |
1955 | <span·class="go">datetime.date(2011,·7,·3 | 1955 | <span·class="go">datetime.date(2011,·7,·31)</span> |
1956 | <span·class="go">datetime.date(1993,·1,·2 | 1956 | <span·class="go">datetime.date(1993,·1,·26)</span> |
1957 | <span·class="go">datetime.date(1984,·3,·15)</span> | 1957 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1958 | <span·class="go">datetime.date(1998,·1,·17)</span> | 1958 | <span·class="go">datetime.date(1998,·1,·17)</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"> |
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(2006,·10,·2 | 1990 | <span·class="go">datetime.date(2006,·10,·22)</span> |
1991 | <span·class="go">datetime.date(1996,·10,· | 1991 | <span·class="go">datetime.date(1996,·10,·10)</span> |
1992 | <span·class="go">datetime.date(1957,·8,·2 | 1992 | <span·class="go">datetime.date(1957,·8,·22)</span> |
1993 | <span·class="go">datetime.date(1938,·11,·2 | 1993 | <span·class="go">datetime.date(1938,·11,·21)</span> |
1994 | <span·class="go">datetime.date(1968,·2,·2 | 1994 | <span·class="go">datetime.date(1968,·2,·29)</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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> |
2017 | <dd·class="field-even"><p></p></dd> | 2017 | <dd·class="field-even"><p></p></dd> |
2018 | </dl> | 2018 | </dl> |
2019 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 2019 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
2020 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 2020 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
2021 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> | 2021 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
2022 | <span·class="gp">...</span> | 2022 | <span·class="gp">...</span> |
2023 | <span·class="go">datetime.date(2020,·12,·2 | 2023 | <span·class="go">datetime.date(2020,·12,·26)</span> |
2024 | <span·class="go">datetime.date(2018,·11,· | 2024 | <span·class="go">datetime.date(2018,·11,·2)</span> |
2025 | <span·class="go">datetime.date(2010,·6,·14)</span> | 2025 | <span·class="go">datetime.date(2010,·6,·14)</span> |
2026 | <span·class="go">datetime.date(2006,·6,·8)</span> | 2026 | <span·class="go">datetime.date(2006,·6,·8)</span> |
Max diff block lines reached; 94037/110961 bytes (84.75%) of diff not shown. |
Offset 1090, 17 lines modified | Offset 1090, 17 lines modified | ||
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 | ············'AM' | 1095 | ············'AM' |
1096 | ············'AM' | 1096 | ············'AM' |
1097 | ············'PM' | ||
1098 | ············'AM' | ||
1099 | ············'AM' | 1097 | ············'AM' |
1098 | ············'PM' | ||
1099 | ············'PM' | ||
1100 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 1100 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
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, 17 lines modified | Offset 1120, 17 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 | ············'2016-04-2 | 1127 | ············'2016-04-27' |
1128 | ············'2011-07-3 | 1128 | ············'2011-07-31' |
1129 | ············'1993-01-2 | 1129 | ············'1993-01-26' |
1130 | ············'1984-03-15' | 1130 | ············'1984-03-15' |
1131 | ············'1998-01-17' | 1131 | ············'1998-01-17' |
1132 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 1132 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
1133 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 1133 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
1134 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1134 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(). |
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(2020,·3,· | 1149 | ············datetime.date(2020,·3,·9) |
1150 | ············datetime.date(2017,·8,· | 1150 | ············datetime.date(2017,·8,·4) |
1151 | ············datetime.date(2007,·6,·2 | 1151 | ············datetime.date(2007,·6,·21) |
1152 | ············datetime.date(2002,·8,·1 | 1152 | ············datetime.date(2002,·8,·15) |
1153 | ············datetime.date(2010,·3,·1 | 1153 | ············datetime.date(2010,·3,·11) |
1154 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 1154 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
1155 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 1155 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
1156 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1156 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 1160 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 1162, 31 lines modified | Offset 1162, 31 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(2024,·11,· | 1169 | ············datetime.date(2024,·11,·8) |
1170 | ············datetime.date(2024,·11,· | 1170 | ············datetime.date(2024,·11,·8) |
1171 | ············datetime.date(2024,·11,· | 1171 | ············datetime.date(2024,·11,·8) |
1172 | ············datetime.date(2024,·11,· | 1172 | ············datetime.date(2024,·11,·8) |
1173 | ············datetime.date(2024,·11,· | 1173 | ············datetime.date(2024,·11,·8) |
1174 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1174 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(2016,·4,·2 | 1183 | ············datetime.date(2016,·4,·27) |
1184 | ············datetime.date(2011,·7,·3 | 1184 | ············datetime.date(2011,·7,·31) |
1185 | ············datetime.date(1993,·1,·2 | 1185 | ············datetime.date(1993,·1,·26) |
1186 | ············datetime.date(1984,·3,·15) | 1186 | ············datetime.date(1984,·3,·15) |
1187 | ············datetime.date(1998,·1,·17) | 1187 | ············datetime.date(1998,·1,·17) |
1188 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 1188 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
1189 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1189 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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: |
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(2006,·10,·2 | 1205 | ············datetime.date(2006,·10,·22) |
1206 | ············datetime.date(1996,·10,· | 1206 | ············datetime.date(1996,·10,·10) |
1207 | ············datetime.date(1957,·8,·2 | 1207 | ············datetime.date(1957,·8,·22) |
1208 | ············datetime.date(1938,·11,·2 | 1208 | ············datetime.date(1938,·11,·21) |
1209 | ············datetime.date(1968,·2,·2 | 1209 | ············datetime.date(1968,·2,·29) |
1210 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 1210 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
1211 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1211 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
1212 | ············Gets·a·Date·object·for·the·current·century. | 1212 | ············Gets·a·Date·object·for·the·current·century. |
1213 | ··············Parameters: | 1213 | ··············Parameters: |
1214 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 1214 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
1215 | ························today | 1215 | ························today |
1216 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 1216 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·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 | ············... |
1227 | ············datetime.date(2020,·12,·2 | 1227 | ············datetime.date(2020,·12,·26) |
1228 | ············datetime.date(2018,·11,· | 1228 | ············datetime.date(2018,·11,·2) |
1229 | ············datetime.date(2010,·6,·14) | 1229 | ············datetime.date(2010,·6,·14) |
1230 | ············datetime.date(2006,·6,·8) | 1230 | ············datetime.date(2006,·6,·8) |
1231 | ············datetime.date(2012,·9,·1 | 1231 | ············datetime.date(2012,·9,·15) |
1232 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 1232 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
1233 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1233 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
1234 | ············Gets·a·Date·object·for·the·decade·year. | 1234 | ············Gets·a·Date·object·for·the·decade·year. |
1235 | ··············Parameters: | 1235 | ··············Parameters: |
1236 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 1236 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
Max diff block lines reached; 30861/37772 bytes (81.70%) of diff not shown. |
Offset 1469, 19 lines modified | Offset 1469, 19 lines modified | ||
1469 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1469 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1470 | <dd·class="field-even"><p></p></dd> | 1470 | <dd·class="field-even"><p></p></dd> |
1471 | </dl> | 1471 | </dl> |
1472 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">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 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1473 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</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="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1474 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">curp</span><span·class="p">()</span> | 1474 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">curp</span><span·class="p">()</span> |
1475 | <span·class="gp">...</span> | 1475 | <span·class="gp">...</span> |
1476 | <span·class="go">' | 1476 | <span·class="go">'FUEF061022MQRMQYA0'</span> |
1477 | <span·class="go">' | 1477 | <span·class="go">'DODR961010HSPTNA00'</span> |
1478 | <span·class="go">' | 1478 | <span·class="go">'FONT570822HCHRGC08'</span> |
1479 | <span·class="go">'GIED381121HOCFCY08'</span> | ||
1479 | <span·class="go">' | 1480 | <span·class="go">'VEIY680229MGTXZZ02'</span> |
1480 | <span·class="go">'HIVE680228HPLHKW06'</span> | ||
1481 | </pre></div> | 1481 | </pre></div> |
1482 | </div> | 1482 | </div> |
1483 | </dd></dl> | 1483 | </dd></dl> |
1484 | <dl·class="py·method"> | 1484 | <dl·class="py·method"> |
1485 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.es_MX.Provider.elector_code"> | 1485 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.es_MX.Provider.elector_code"> |
1486 | <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.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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> | 1486 | <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.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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 1497, 30 lines modified | Offset 1497, 30 lines modified | ||
1497 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1497 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1498 | <dd·class="field-odd"><p></p></dd> | 1498 | <dd·class="field-odd"><p></p></dd> |
1499 | </dl> | 1499 | </dl> |
1500 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1500 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1501 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1501 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1502 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">elector_code</span><span·class="p">()</span> | 1502 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">elector_code</span><span·class="p">()</span> |
1503 | <span·class="gp">...</span> | 1503 | <span·class="gp">...</span> |
1504 | <span·class="go">' | 1504 | <span·class="go">'GKHSSR06102213M312'</span> |
1505 | <span·class="go">' | 1505 | <span·class="go">'CKSDHK96101005H998'</span> |
1506 | <span·class="go">'KCCTWR57082103H988'</span> | ||
1507 | <span·class="go">' | 1506 | <span·class="go">'MLTKLP57082233M301'</span> |
1507 | <span·class="go">'TRBNMY38112115H709'</span> | ||
1508 | <span·class="go">' | 1508 | <span·class="go">'KSNRDL68022933M291'</span> |
1509 | </pre></div> | 1509 | </pre></div> |
1510 | </div> | 1510 | </div> |
1511 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1511 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">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 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1512 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</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="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> | 1513 | <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> |
1514 | <span·class="gp">...</span> | 1514 | <span·class="gp">...</span> |
1515 | <span·class="go">'ZDKCWN06102110M210'</span> | ||
1516 | <span·class="go">' | 1515 | <span·class="go">'XXRPZQ06102232M591'</span> |
1516 | <span·class="go">'PNHBSZ96101021M783'</span> | ||
1517 | <span·class="go">' | 1517 | <span·class="go">'PFTWKD57082225M348'</span> |
1518 | <span·class="go">' | 1518 | <span·class="go">'FTHBRL38112101M311'</span> |
1519 | <span·class="go">' | 1519 | <span·class="go">'WLZJKC68022928M332'</span> |
1520 | </pre></div> | 1520 | </pre></div> |
1521 | </div> | 1521 | </div> |
1522 | </dd></dl> | 1522 | </dd></dl> |
1523 | <dl·class="py·method"> | 1523 | <dl·class="py·method"> |
1524 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.es_MX.Provider.rfc"> | 1524 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.es_MX.Provider.rfc"> |
1525 | <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.12)"><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.12)"><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> | 1525 | <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.12)"><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.12)"><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 1536, 19 lines modified | Offset 1536, 19 lines modified | ||
1536 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1536 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1537 | <dd·class="field-odd"><p></p></dd> | 1537 | <dd·class="field-odd"><p></p></dd> |
1538 | </dl> | 1538 | </dl> |
1539 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1539 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">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 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1540 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</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="n">fake</span><span·class="o">.</span><span·class="n">rfc</span><span·class="p">()</span> | 1541 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">rfc</span><span·class="p">()</span> |
1542 | <span·class="gp">...</span> | 1542 | <span·class="gp">...</span> |
1543 | <span·class="go">' | 1543 | <span·class="go">'CABQ061022VNY'</span> |
1544 | <span·class="go">' | 1544 | <span·class="go">'ZEIV961010MTS'</span> |
1545 | <span·class="go">' | 1545 | <span·class="go">'TINW570822EZT'</span> |
1546 | <span·class="go">' | 1546 | <span·class="go">'LAVZ381121PE7'</span> |
1547 | <span·class="go">' | 1547 | <span·class="go">'OILJ6802292E3'</span> |
1548 | </pre></div> | 1548 | </pre></div> |
1549 | </div> | 1549 | </div> |
1550 | </dd></dl> | 1550 | </dd></dl> |
1551 | <dl·class="py·method"> | 1551 | <dl·class="py·method"> |
1552 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.es_MX.Provider.ssn"> | 1552 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.es_MX.Provider.ssn"> |
1553 | <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.12)"><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> | 1553 | <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.12)"><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 836, 64 lines modified | Offset 836, 64 lines modified | ||
836 | ··············Returns: | 836 | ··············Returns: |
837 | ··················a·random·Mexican·CURP·(Unique·Population·Registry·Code) | 837 | ··················a·random·Mexican·CURP·(Unique·Population·Registry·Code) |
838 | ··············Examples: | 838 | ··············Examples: |
839 | ············>>>·Faker.seed(0) | 839 | ············>>>·Faker.seed(0) |
840 | ············>>>·for·_·in·range(5): | 840 | ············>>>·for·_·in·range(5): |
841 | ············...·····fake.curp() | 841 | ············...·····fake.curp() |
842 | ············... | 842 | ············... |
843 | ············'WAKX061021HTLJFMA4' | ||
844 | ············'REDA961009MCSZFQ08' | ||
845 | ············'UUTQ570821MBCYPP00' | ||
846 | ············'LUDY381120MGTXPI07' | ||
847 | ············' | 843 | ············'FUEF061022MQRMQYA0' |
844 | ············'DODR961010HSPTNA00' | ||
845 | ············'FONT570822HCHRGC08' | ||
846 | ············'GIED381121HOCFCY08' | ||
847 | ············'VEIY680229MGTXZZ02' | ||
848 | ········elector_code(g\x8ge\x8en\x8nd\x8de\x8er\x8r:\x8:·_\x8L\x8L_\x8i\x8i_\x8t\x8t_\x8e\x8e_\x8r\x8r_\x8a\x8a_\x8l\x8l[\x8['\x8'H\x8H'\x8',\x8,·'\x8'M\x8M'\x8']\x8]·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ | 848 | ········elector_code(g\x8ge\x8en\x8nd\x8de\x8er\x8r:\x8:·_\x8L\x8L_\x8i\x8i_\x8t\x8t_\x8e\x8e_\x8r\x8r_\x8a\x8a_\x8l\x8l[\x8['\x8'H\x8H'\x8',\x8,·'\x8'M\x8M'\x8']\x8]·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ |
849 | ············Unique·elector·code·issued·by·INE·(Instituto·Nacional·Electoral)·in | 849 | ············Unique·elector·code·issued·by·INE·(Instituto·Nacional·Electoral)·in |
850 | ············Mexico. | 850 | ············Mexico. |
851 | ··············Parameters: | 851 | ··············Parameters: |
852 | ··················g\x8ge\x8en\x8nd\x8de\x8er\x8r·(_\x8s\x8s_\x8t\x8t_\x8r\x8r)·–·Gender·for·which·to·generate·the·code.·Will·be | 852 | ··················g\x8ge\x8en\x8nd\x8de\x8er\x8r·(_\x8s\x8s_\x8t\x8t_\x8r\x8r)·–·Gender·for·which·to·generate·the·code.·Will·be |
853 | ··················randomly·selected·if·not·provided. | 853 | ··················randomly·selected·if·not·provided. |
854 | ··············Returns: | 854 | ··············Returns: |
855 | ··················a·random·INE·elector·code | 855 | ··················a·random·INE·elector·code |
856 | ··············Examples: | 856 | ··············Examples: |
857 | ············>>>·Faker.seed(0) | 857 | ············>>>·Faker.seed(0) |
858 | ············>>>·for·_·in·range(5): | 858 | ············>>>·for·_·in·range(5): |
859 | ············...·····fake.elector_code() | 859 | ············...·····fake.elector_code() |
860 | ············... | 860 | ············... |
861 | ············'CZXXRS06102114M285' | ||
862 | ············'MCLWSN96100918H388' | ||
863 | ············'KCCTWR57082103H988' | ||
864 | ············' | 861 | ············'GKHSSR06102213M312' |
862 | ············'CKSDHK96101005H998' | ||
863 | ············'MLTKLP57082233M301' | ||
864 | ············'TRBNMY38112115H709' | ||
865 | ············' | 865 | ············'KSNRDL68022933M291' |
866 | ············>>>·Faker.seed(0) | 866 | ············>>>·Faker.seed(0) |
867 | ············>>>·for·_·in·range(5): | 867 | ············>>>·for·_·in·range(5): |
868 | ············...·····fake.elector_code(gender='M') | 868 | ············...·····fake.elector_code(gender='M') |
869 | ············... | 869 | ············... |
870 | ············'ZDKCWN06102110M210' | ||
871 | ············'RXYVJF96100923M117' | ||
872 | ············'MWFGKX57082119M403' | ||
873 | ············'LFFSGF38112023M510' | ||
874 | ············' | 870 | ············'XXRPZQ06102232M591' |
871 | ············'PNHBSZ96101021M783' | ||
872 | ············'PFTWKD57082225M348' | ||
873 | ············'FTHBRL38112101M311' | ||
874 | ············'WLZJKC68022928M332' | ||
875 | ········rfc(n\x8na\x8at\x8tu\x8ur\x8ra\x8al\x8l:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ | 875 | ········rfc(n\x8na\x8at\x8tu\x8ur\x8ra\x8al\x8l:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ |
876 | ············See·_\x8h_\x8t_\x8t_\x8p_\x8s_\x8:_\x8/_\x8/_\x8e_\x8s_\x8._\x8w_\x8i_\x8k_\x8i_\x8p_\x8e_\x8d_\x8i_\x8a_\x8._\x8o_\x8r_\x8g_\x8/_\x8w_\x8i_\x8k_\x8i_\x8/ | 876 | ············See·_\x8h_\x8t_\x8t_\x8p_\x8s_\x8:_\x8/_\x8/_\x8e_\x8s_\x8._\x8w_\x8i_\x8k_\x8i_\x8p_\x8e_\x8d_\x8i_\x8a_\x8._\x8o_\x8r_\x8g_\x8/_\x8w_\x8i_\x8k_\x8i_\x8/ |
877 | ············_\x8R_\x8e_\x8g_\x8i_\x8s_\x8t_\x8r_\x8o_\x8__\x8F_\x8e_\x8d_\x8e_\x8r_\x8a_\x8l_\x8__\x8d_\x8e_\x8__\x8C_\x8o_\x8n_\x8t_\x8r_\x8i_\x8b_\x8u_\x8y_\x8e_\x8n_\x8t_\x8e_\x8s | 877 | ············_\x8R_\x8e_\x8g_\x8i_\x8s_\x8t_\x8r_\x8o_\x8__\x8F_\x8e_\x8d_\x8e_\x8r_\x8a_\x8l_\x8__\x8d_\x8e_\x8__\x8C_\x8o_\x8n_\x8t_\x8r_\x8i_\x8b_\x8u_\x8y_\x8e_\x8n_\x8t_\x8e_\x8s |
878 | ··············Parameters: | 878 | ··············Parameters: |
879 | ··················n\x8na\x8at\x8tu\x8ur\x8ra\x8al\x8l·(_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l)·–·Whether·to·return·the·RFC·of·a·natural | 879 | ··················n\x8na\x8at\x8tu\x8ur\x8ra\x8al\x8l·(_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l)·–·Whether·to·return·the·RFC·of·a·natural |
880 | ··················person.·Otherwise·return·the·RFC·of·a·legal·person. | 880 | ··················person.·Otherwise·return·the·RFC·of·a·legal·person. |
881 | ··············Returns: | 881 | ··············Returns: |
882 | ··················a·random·Mexican·RFC | 882 | ··················a·random·Mexican·RFC |
883 | ··············Examples: | 883 | ··············Examples: |
884 | ············>>>·Faker.seed(0) | 884 | ············>>>·Faker.seed(0) |
885 | ············>>>·for·_·in·range(5): | 885 | ············>>>·for·_·in·range(5): |
886 | ············...·····fake.rfc() | 886 | ············...·····fake.rfc() |
887 | ············... | 887 | ············... |
888 | ············'AUER0610211RF' | ||
889 | ············'WERP961009L5V' | ||
890 | ············'SUIC5708217P0' | ||
891 | ············'XINS381120GWM' | ||
892 | ············' | 888 | ············'CABQ061022VNY' |
889 | ············'ZEIV961010MTS' | ||
890 | ············'TINW570822EZT' | ||
891 | ············'LAVZ381121PE7' | ||
892 | ············'OILJ6802292E3' | ||
893 | ········ssn()·→·_\x8s_\x8t_\x8r_\x8¶ | 893 | ········ssn()·→·_\x8s_\x8t_\x8r_\x8¶ |
894 | ············Mexican·Social·Security·Number,·as·given·by·IMSS. | 894 | ············Mexican·Social·Security·Number,·as·given·by·IMSS. |
895 | ··············Returns: | 895 | ··············Returns: |
896 | ··················a·random·Mexican·SSN | 896 | ··················a·random·Mexican·SSN |
897 | ··············Examples: | 897 | ··············Examples: |
898 | ············>>>·Faker.seed(0) | 898 | ············>>>·Faker.seed(0) |
899 | ············>>>·for·_·in·range(5): | 899 | ············>>>·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">'474042 | 722 | <span·class="go">'47404220413'</span> |
723 | <span·class="go">'485082 | 723 | <span·class="go">'48508214147'</span> |
724 | <span·class="go">'43807 | 724 | <span·class="go">'43807209914'</span> |
725 | <span·class="go">'466020 | 725 | <span·class="go">'46602095974'</span> |
726 | <span·class="go">'389040 | 726 | <span·class="go">'38904092885'</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.12)"><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.12)"><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 | ············_\x8h_\x8t_\x8t_\x8p_\x8s_\x8:_\x8/_\x8/_\x8e_\x8n_\x8._\x8w_\x8i_\x8k_\x8i_\x8p_\x8e_\x8d_\x8i_\x8a_\x8._\x8o_\x8r_\x8g_\x8/_\x8w_\x8i_\x8k_\x8i_\x8/ | 379 | ············_\x8h_\x8t_\x8t_\x8p_\x8s_\x8:_\x8/_\x8/_\x8e_\x8n_\x8._\x8w_\x8i_\x8k_\x8i_\x8p_\x8e_\x8d_\x8i_\x8a_\x8._\x8o_\x8r_\x8g_\x8/_\x8w_\x8i_\x8k_\x8i_\x8/ |
380 | ············_\x8N_\x8a_\x8t_\x8i_\x8o_\x8n_\x8a_\x8l_\x8__\x8i_\x8d_\x8e_\x8n_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8n_\x8u_\x8m_\x8b_\x8e_\x8r_\x8#_\x8E_\x8s_\x8t_\x8o_\x8n_\x8i_\x8a | 380 | ············_\x8N_\x8a_\x8t_\x8i_\x8o_\x8n_\x8a_\x8l_\x8__\x8i_\x8d_\x8e_\x8n_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8n_\x8u_\x8m_\x8b_\x8e_\x8r_\x8#_\x8E_\x8s_\x8t_\x8o_\x8n_\x8i_\x8a |
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 | ············'474042 | 386 | ············'47404220413' |
387 | ············'485082 | 387 | ············'48508214147' |
388 | ············'43807 | 388 | ············'43807209914' |
389 | ············'466020 | 389 | ············'46602095974' |
390 | ············'389040 | 390 | ············'38904092885' |
391 | ········vat_id()·→·_\x8s_\x8t_\x8r_\x8¶ | 391 | ········vat_id()·→·_\x8s_\x8t_\x8r_\x8¶ |
392 | ············_\x8h_\x8t_\x8t_\x8p_\x8:_\x8/_\x8/_\x8e_\x8c_\x8._\x8e_\x8u_\x8r_\x8o_\x8p_\x8a_\x8._\x8e_\x8u_\x8/_\x8t_\x8a_\x8x_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8c_\x8u_\x8s_\x8t_\x8o_\x8m_\x8s_\x8/_\x8v_\x8i_\x8e_\x8s_\x8/_\x8f_\x8a_\x8q_\x8._\x8h_\x8t_\x8m_\x8l_\x8#_\x8i_\x8t_\x8e_\x8m_\x8__\x81_\x81·:return: | 392 | ············_\x8h_\x8t_\x8t_\x8p_\x8:_\x8/_\x8/_\x8e_\x8c_\x8._\x8e_\x8u_\x8r_\x8o_\x8p_\x8a_\x8._\x8e_\x8u_\x8/_\x8t_\x8a_\x8x_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8c_\x8u_\x8s_\x8t_\x8o_\x8m_\x8s_\x8/_\x8v_\x8i_\x8e_\x8s_\x8/_\x8f_\x8a_\x8q_\x8._\x8h_\x8t_\x8m_\x8l_\x8#_\x8i_\x8t_\x8e_\x8m_\x8__\x81_\x81·: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 2308, 19 lines modified | Offset 2308, 19 lines modified | ||
2308 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 2308 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
2309 | <dd·class="field-odd"><p></p></dd> | 2309 | <dd·class="field-odd"><p></p></dd> |
2310 | </dl> | 2310 | </dl> |
2311 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 2311 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
2312 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 2312 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
2313 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">ssn</span><span·class="p">()</span> | 2313 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">ssn</span><span·class="p">()</span> |
2314 | <span·class="gp">...</span> | 2314 | <span·class="gp">...</span> |
2315 | <span·class="go">'2 | 2315 | <span·class="go">'250955-778N'</span> |
2316 | <span·class="go">'2 | 2316 | <span·class="go">'240549-043J'</span> |
2317 | <span·class="go">'2 | 2317 | <span·class="go">'260578-525V'</span> |
2318 | <span·class="go">' | 2318 | <span·class="go">'010937-416V'</span> |
2319 | <span·class="go">'0 | 2319 | <span·class="go">'080670-490V'</span> |
2320 | </pre></div> | 2320 | </pre></div> |
2321 | </div> | 2321 | </div> |
2322 | </dd></dl> | 2322 | </dd></dl> |
2323 | <dl·class="py·method"> | 2323 | <dl·class="py·method"> |
2324 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.fi_FI.Provider.vat_id"> | 2324 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.fi_FI.Provider.vat_id"> |
2325 | <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.12)"><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> | 2325 | <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.12)"><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 1326, 19 lines modified | Offset 1326, 19 lines modified | ||
1326 | ············_\x8h_\x8t_\x8t_\x8p_\x8s_\x8:_\x8/_\x8/_\x8e_\x8n_\x8._\x8w_\x8i_\x8k_\x8i_\x8p_\x8e_\x8d_\x8i_\x8a_\x8._\x8o_\x8r_\x8g_\x8/_\x8w_\x8i_\x8k_\x8i_\x8/ | 1326 | ············_\x8h_\x8t_\x8t_\x8p_\x8s_\x8:_\x8/_\x8/_\x8e_\x8n_\x8._\x8w_\x8i_\x8k_\x8i_\x8p_\x8e_\x8d_\x8i_\x8a_\x8._\x8o_\x8r_\x8g_\x8/_\x8w_\x8i_\x8k_\x8i_\x8/ |
1327 | ············_\x8N_\x8a_\x8t_\x8i_\x8o_\x8n_\x8a_\x8l_\x8__\x8i_\x8d_\x8e_\x8n_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8n_\x8u_\x8m_\x8b_\x8e_\x8r_\x8#_\x8F_\x8i_\x8n_\x8l_\x8a_\x8n_\x8d | 1327 | ············_\x8N_\x8a_\x8t_\x8i_\x8o_\x8n_\x8a_\x8l_\x8__\x8i_\x8d_\x8e_\x8n_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8n_\x8u_\x8m_\x8b_\x8e_\x8r_\x8#_\x8F_\x8i_\x8n_\x8l_\x8a_\x8n_\x8d |
1328 | ··············Examples: | 1328 | ··············Examples: |
1329 | ············>>>·Faker.seed(0) | 1329 | ············>>>·Faker.seed(0) |
1330 | ············>>>·for·_·in·range(5): | 1330 | ············>>>·for·_·in·range(5): |
1331 | ············...·····fake.ssn() | 1331 | ············...·····fake.ssn() |
1332 | ············... | 1332 | ············... |
1333 | ············'2 | 1333 | ············'250955-778N' |
1334 | ············'2 | 1334 | ············'240549-043J' |
1335 | ············'2 | 1335 | ············'260578-525V' |
1336 | ············' | 1336 | ············'010937-416V' |
1337 | ············'0 | 1337 | ············'080670-490V' |
1338 | ········vat_id()·→·_\x8s_\x8t_\x8r_\x8¶ | 1338 | ········vat_id()·→·_\x8s_\x8t_\x8r_\x8¶ |
1339 | ············_\x8h_\x8t_\x8t_\x8p_\x8:_\x8/_\x8/_\x8e_\x8c_\x8._\x8e_\x8u_\x8r_\x8o_\x8p_\x8a_\x8._\x8e_\x8u_\x8/_\x8t_\x8a_\x8x_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8c_\x8u_\x8s_\x8t_\x8o_\x8m_\x8s_\x8/_\x8v_\x8i_\x8e_\x8s_\x8/_\x8f_\x8a_\x8q_\x8._\x8h_\x8t_\x8m_\x8l_\x8#_\x8i_\x8t_\x8e_\x8m_\x8__\x81_\x81·:return: | 1339 | ············_\x8h_\x8t_\x8t_\x8p_\x8:_\x8/_\x8/_\x8e_\x8c_\x8._\x8e_\x8u_\x8r_\x8o_\x8p_\x8a_\x8._\x8e_\x8u_\x8/_\x8t_\x8a_\x8x_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8c_\x8u_\x8s_\x8t_\x8o_\x8m_\x8s_\x8/_\x8v_\x8i_\x8e_\x8s_\x8/_\x8f_\x8a_\x8q_\x8._\x8h_\x8t_\x8m_\x8l_\x8#_\x8i_\x8t_\x8e_\x8m_\x8__\x81_\x81·:return: |
1340 | ············A·random·Finnish·VAT·ID | 1340 | ············A·random·Finnish·VAT·ID |
1341 | ··············Examples: | 1341 | ··············Examples: |
1342 | ············>>>·Faker.seed(0) | 1342 | ············>>>·Faker.seed(0) |
1343 | ············>>>·for·_·in·range(5): | 1343 | ············>>>·for·_·in·range(5): |
1344 | ············...·····fake.vat_id() | 1344 | ············...·····fake.vat_id() |
Offset 1646, 17 lines modified | Offset 1646, 17 lines modified | ||
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">'AM'</span> | 1651 | <span·class="go">'AM'</span> |
1652 | <span·class="go">'AM'</span> | 1652 | <span·class="go">'AM'</span> |
1653 | <span·class="go">'PM'</span> | ||
1654 | <span·class="go">'AM'</span> | ||
1655 | <span·class="go">'AM'</span> | 1653 | <span·class="go">'AM'</span> |
1654 | <span·class="go">'PM'</span> | ||
1655 | <span·class="go">'PM'</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.12)"><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.12)"><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, 17 lines modified | Offset 1697, 17 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">'2016-04-2 | 1704 | <span·class="go">'2016-04-27'</span> |
1705 | <span·class="go">'2011-07-3 | 1705 | <span·class="go">'2011-07-31'</span> |
1706 | <span·class="go">'1993-01-2 | 1706 | <span·class="go">'1993-01-26'</span> |
1707 | <span·class="go">'1984-03-15'</span> | 1707 | <span·class="go">'1984-03-15'</span> |
1708 | <span·class="go">'1998-01-17'</span> | 1708 | <span·class="go">'1998-01-17'</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"> |
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(2020,·3,· | 1738 | <span·class="go">datetime.date(2020,·3,·9)</span> |
1739 | <span·class="go">datetime.date(2017,·8,· | 1739 | <span·class="go">datetime.date(2017,·8,·4)</span> |
1740 | <span·class="go">datetime.date(2007,·6,·2 | 1740 | <span·class="go">datetime.date(2007,·6,·21)</span> |
1741 | <span·class="go">datetime.date(2002,·8,·1 | 1741 | <span·class="go">datetime.date(2002,·8,·15)</span> |
1742 | <span·class="go">datetime.date(2010,·3,·1 | 1742 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 1769 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1770 | <span·class="go">datetime.date(2024,·11,· | 1770 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1771 | <span·class="go">datetime.date(2024,·11,· | 1771 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1772 | <span·class="go">datetime.date(2024,·11,· | 1772 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1773 | <span·class="go">datetime.date(2024,·11,· | 1773 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 1786, 17 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(2016,·4,·2 | 1793 | <span·class="go">datetime.date(2016,·4,·27)</span> |
1794 | <span·class="go">datetime.date(2011,·7,·3 | 1794 | <span·class="go">datetime.date(2011,·7,·31)</span> |
1795 | <span·class="go">datetime.date(1993,·1,·2 | 1795 | <span·class="go">datetime.date(1993,·1,·26)</span> |
1796 | <span·class="go">datetime.date(1984,·3,·15)</span> | 1796 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1797 | <span·class="go">datetime.date(1998,·1,·17)</span> | 1797 | <span·class="go">datetime.date(1998,·1,·17)</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"> |
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(2006,·10,·2 | 1829 | <span·class="go">datetime.date(2006,·10,·22)</span> |
1830 | <span·class="go">datetime.date(1996,·10,· | 1830 | <span·class="go">datetime.date(1996,·10,·10)</span> |
1831 | <span·class="go">datetime.date(1957,·8,·2 | 1831 | <span·class="go">datetime.date(1957,·8,·22)</span> |
1832 | <span·class="go">datetime.date(1938,·11,·2 | 1832 | <span·class="go">datetime.date(1938,·11,·21)</span> |
1833 | <span·class="go">datetime.date(1968,·2,·2 | 1833 | <span·class="go">datetime.date(1968,·2,·29)</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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> |
1856 | <dd·class="field-even"><p></p></dd> | 1856 | <dd·class="field-even"><p></p></dd> |
1857 | </dl> | 1857 | </dl> |
1858 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">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 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1859 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</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="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1860 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> | 1860 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
1861 | <span·class="gp">...</span> | 1861 | <span·class="gp">...</span> |
1862 | <span·class="go">datetime.date(2020,·12,·2 | 1862 | <span·class="go">datetime.date(2020,·12,·26)</span> |
1863 | <span·class="go">datetime.date(2018,·11,· | 1863 | <span·class="go">datetime.date(2018,·11,·2)</span> |
1864 | <span·class="go">datetime.date(2010,·6,·14)</span> | 1864 | <span·class="go">datetime.date(2010,·6,·14)</span> |
1865 | <span·class="go">datetime.date(2006,·6,·8)</span> | 1865 | <span·class="go">datetime.date(2006,·6,·8)</span> |
Max diff block lines reached; 284175/301107 bytes (94.38%) of diff not shown. |
Offset 952, 17 lines modified | Offset 952, 17 lines modified | ||
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 | ············'AM' | 957 | ············'AM' |
958 | ············'AM' | 958 | ············'AM' |
959 | ············'PM' | ||
960 | ············'AM' | ||
961 | ············'AM' | 959 | ············'AM' |
960 | ············'PM' | ||
961 | ············'PM' | ||
962 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 962 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
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, 17 lines modified | Offset 982, 17 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 | ············'2016-04-2 | 989 | ············'2016-04-27' |
990 | ············'2011-07-3 | 990 | ············'2011-07-31' |
991 | ············'1993-01-2 | 991 | ············'1993-01-26' |
992 | ············'1984-03-15' | 992 | ············'1984-03-15' |
993 | ············'1998-01-17' | 993 | ············'1998-01-17' |
994 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 994 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
995 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 995 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
996 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 996 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(). |
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(2020,·3,· | 1011 | ············datetime.date(2020,·3,·9) |
1012 | ············datetime.date(2017,·8,· | 1012 | ············datetime.date(2017,·8,·4) |
1013 | ············datetime.date(2007,·6,·2 | 1013 | ············datetime.date(2007,·6,·21) |
1014 | ············datetime.date(2002,·8,·1 | 1014 | ············datetime.date(2002,·8,·15) |
1015 | ············datetime.date(2010,·3,·1 | 1015 | ············datetime.date(2010,·3,·11) |
1016 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 1016 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
1017 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 1017 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
1018 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1018 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 1022 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 1024, 31 lines modified | Offset 1024, 31 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(2024,·11,· | 1031 | ············datetime.date(2024,·11,·8) |
1032 | ············datetime.date(2024,·11,· | 1032 | ············datetime.date(2024,·11,·8) |
1033 | ············datetime.date(2024,·11,· | 1033 | ············datetime.date(2024,·11,·8) |
1034 | ············datetime.date(2024,·11,· | 1034 | ············datetime.date(2024,·11,·8) |
1035 | ············datetime.date(2024,·11,· | 1035 | ············datetime.date(2024,·11,·8) |
1036 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1036 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(2016,·4,·2 | 1045 | ············datetime.date(2016,·4,·27) |
1046 | ············datetime.date(2011,·7,·3 | 1046 | ············datetime.date(2011,·7,·31) |
1047 | ············datetime.date(1993,·1,·2 | 1047 | ············datetime.date(1993,·1,·26) |
1048 | ············datetime.date(1984,·3,·15) | 1048 | ············datetime.date(1984,·3,·15) |
1049 | ············datetime.date(1998,·1,·17) | 1049 | ············datetime.date(1998,·1,·17) |
1050 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 1050 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
1051 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1051 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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: |
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(2006,·10,·2 | 1067 | ············datetime.date(2006,·10,·22) |
1068 | ············datetime.date(1996,·10,· | 1068 | ············datetime.date(1996,·10,·10) |
1069 | ············datetime.date(1957,·8,·2 | 1069 | ············datetime.date(1957,·8,·22) |
1070 | ············datetime.date(1938,·11,·2 | 1070 | ············datetime.date(1938,·11,·21) |
1071 | ············datetime.date(1968,·2,·2 | 1071 | ············datetime.date(1968,·2,·29) |
1072 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 1072 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
1073 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1073 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
1074 | ············Gets·a·Date·object·for·the·current·century. | 1074 | ············Gets·a·Date·object·for·the·current·century. |
1075 | ··············Parameters: | 1075 | ··············Parameters: |
1076 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 1076 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
1077 | ························today | 1077 | ························today |
1078 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 1078 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·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 | ············... |
1089 | ············datetime.date(2020,·12,·2 | 1089 | ············datetime.date(2020,·12,·26) |
1090 | ············datetime.date(2018,·11,· | 1090 | ············datetime.date(2018,·11,·2) |
1091 | ············datetime.date(2010,·6,·14) | 1091 | ············datetime.date(2010,·6,·14) |
1092 | ············datetime.date(2006,·6,·8) | 1092 | ············datetime.date(2006,·6,·8) |
1093 | ············datetime.date(2012,·9,·1 | 1093 | ············datetime.date(2012,·9,·15) |
1094 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 1094 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
1095 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1095 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
1096 | ············Gets·a·Date·object·for·the·decade·year. | 1096 | ············Gets·a·Date·object·for·the·decade·year. |
1097 | ··············Parameters: | 1097 | ··············Parameters: |
1098 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 1098 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
Max diff block lines reached; 192103/199010 bytes (96.53%) of diff not shown. |
Offset 1246, 17 lines modified | Offset 1246, 17 lines modified | ||
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">'AM'</span> | 1251 | <span·class="go">'AM'</span> |
1252 | <span·class="go">'AM'</span> | 1252 | <span·class="go">'AM'</span> |
1253 | <span·class="go">'PM'</span> | ||
1254 | <span·class="go">'AM'</span> | ||
1255 | <span·class="go">'AM'</span> | 1253 | <span·class="go">'AM'</span> |
1254 | <span·class="go">'PM'</span> | ||
1255 | <span·class="go">'PM'</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.12)"><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.12)"><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, 17 lines modified | Offset 1297, 17 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">'2016-04-2 | 1304 | <span·class="go">'2016-04-27'</span> |
1305 | <span·class="go">'2011-07-3 | 1305 | <span·class="go">'2011-07-31'</span> |
1306 | <span·class="go">'1993-01-2 | 1306 | <span·class="go">'1993-01-26'</span> |
1307 | <span·class="go">'1984-03-15'</span> | 1307 | <span·class="go">'1984-03-15'</span> |
1308 | <span·class="go">'1998-01-17'</span> | 1308 | <span·class="go">'1998-01-17'</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"> |
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(2020,·3,· | 1338 | <span·class="go">datetime.date(2020,·3,·9)</span> |
1339 | <span·class="go">datetime.date(2017,·8,· | 1339 | <span·class="go">datetime.date(2017,·8,·4)</span> |
1340 | <span·class="go">datetime.date(2007,·6,·2 | 1340 | <span·class="go">datetime.date(2007,·6,·21)</span> |
1341 | <span·class="go">datetime.date(2002,·8,·1 | 1341 | <span·class="go">datetime.date(2002,·8,·15)</span> |
1342 | <span·class="go">datetime.date(2010,·3,·1 | 1342 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 1369 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1370 | <span·class="go">datetime.date(2024,·11,· | 1370 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1371 | <span·class="go">datetime.date(2024,·11,· | 1371 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1372 | <span·class="go">datetime.date(2024,·11,· | 1372 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1373 | <span·class="go">datetime.date(2024,·11,· | 1373 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 1386, 17 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(2016,·4,·2 | 1393 | <span·class="go">datetime.date(2016,·4,·27)</span> |
1394 | <span·class="go">datetime.date(2011,·7,·3 | 1394 | <span·class="go">datetime.date(2011,·7,·31)</span> |
1395 | <span·class="go">datetime.date(1993,·1,·2 | 1395 | <span·class="go">datetime.date(1993,·1,·26)</span> |
1396 | <span·class="go">datetime.date(1984,·3,·15)</span> | 1396 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1397 | <span·class="go">datetime.date(1998,·1,·17)</span> | 1397 | <span·class="go">datetime.date(1998,·1,·17)</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"> |
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(2006,·10,·2 | 1429 | <span·class="go">datetime.date(2006,·10,·22)</span> |
1430 | <span·class="go">datetime.date(1996,·10,· | 1430 | <span·class="go">datetime.date(1996,·10,·10)</span> |
1431 | <span·class="go">datetime.date(1957,·8,·2 | 1431 | <span·class="go">datetime.date(1957,·8,·22)</span> |
1432 | <span·class="go">datetime.date(1938,·11,·2 | 1432 | <span·class="go">datetime.date(1938,·11,·21)</span> |
1433 | <span·class="go">datetime.date(1968,·2,·2 | 1433 | <span·class="go">datetime.date(1968,·2,·29)</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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> |
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_this_century</span><span·class="p">()</span> | 1460 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
1461 | <span·class="gp">...</span> | 1461 | <span·class="gp">...</span> |
1462 | <span·class="go">datetime.date(2020,·12,·2 | 1462 | <span·class="go">datetime.date(2020,·12,·26)</span> |
1463 | <span·class="go">datetime.date(2018,·11,· | 1463 | <span·class="go">datetime.date(2018,·11,·2)</span> |
1464 | <span·class="go">datetime.date(2010,·6,·14)</span> | 1464 | <span·class="go">datetime.date(2010,·6,·14)</span> |
1465 | <span·class="go">datetime.date(2006,·6,·8)</span> | 1465 | <span·class="go">datetime.date(2006,·6,·8)</span> |
Max diff block lines reached; 83985/100909 bytes (83.23%) of diff not shown. |
Offset 789, 17 lines modified | Offset 789, 17 lines modified | ||
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 | ············'AM' | 794 | ············'AM' |
795 | ············'AM' | 795 | ············'AM' |
796 | ············'PM' | ||
797 | ············'AM' | ||
798 | ············'AM' | 796 | ············'AM' |
797 | ············'PM' | ||
798 | ············'PM' | ||
799 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 799 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
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, 17 lines modified | Offset 819, 17 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 | ············'2016-04-2 | 826 | ············'2016-04-27' |
827 | ············'2011-07-3 | 827 | ············'2011-07-31' |
828 | ············'1993-01-2 | 828 | ············'1993-01-26' |
829 | ············'1984-03-15' | 829 | ············'1984-03-15' |
830 | ············'1998-01-17' | 830 | ············'1998-01-17' |
831 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 831 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
832 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 832 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
833 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 833 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(). |
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(2020,·3,· | 848 | ············datetime.date(2020,·3,·9) |
849 | ············datetime.date(2017,·8,· | 849 | ············datetime.date(2017,·8,·4) |
850 | ············datetime.date(2007,·6,·2 | 850 | ············datetime.date(2007,·6,·21) |
851 | ············datetime.date(2002,·8,·1 | 851 | ············datetime.date(2002,·8,·15) |
852 | ············datetime.date(2010,·3,·1 | 852 | ············datetime.date(2010,·3,·11) |
853 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 853 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
854 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 854 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
855 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 855 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 859 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 861, 31 lines modified | Offset 861, 31 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(2024,·11,· | 868 | ············datetime.date(2024,·11,·8) |
869 | ············datetime.date(2024,·11,· | 869 | ············datetime.date(2024,·11,·8) |
870 | ············datetime.date(2024,·11,· | 870 | ············datetime.date(2024,·11,·8) |
871 | ············datetime.date(2024,·11,· | 871 | ············datetime.date(2024,·11,·8) |
872 | ············datetime.date(2024,·11,· | 872 | ············datetime.date(2024,·11,·8) |
873 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 873 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(2016,·4,·2 | 882 | ············datetime.date(2016,·4,·27) |
883 | ············datetime.date(2011,·7,·3 | 883 | ············datetime.date(2011,·7,·31) |
884 | ············datetime.date(1993,·1,·2 | 884 | ············datetime.date(1993,·1,·26) |
885 | ············datetime.date(1984,·3,·15) | 885 | ············datetime.date(1984,·3,·15) |
886 | ············datetime.date(1998,·1,·17) | 886 | ············datetime.date(1998,·1,·17) |
887 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 887 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
888 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 888 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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: |
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(2006,·10,·2 | 904 | ············datetime.date(2006,·10,·22) |
905 | ············datetime.date(1996,·10,· | 905 | ············datetime.date(1996,·10,·10) |
906 | ············datetime.date(1957,·8,·2 | 906 | ············datetime.date(1957,·8,·22) |
907 | ············datetime.date(1938,·11,·2 | 907 | ············datetime.date(1938,·11,·21) |
908 | ············datetime.date(1968,·2,·2 | 908 | ············datetime.date(1968,·2,·29) |
909 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 909 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
910 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 910 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
911 | ············Gets·a·Date·object·for·the·current·century. | 911 | ············Gets·a·Date·object·for·the·current·century. |
912 | ··············Parameters: | 912 | ··············Parameters: |
913 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 913 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
914 | ························today | 914 | ························today |
915 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 915 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·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 | ············... |
926 | ············datetime.date(2020,·12,·2 | 926 | ············datetime.date(2020,·12,·26) |
927 | ············datetime.date(2018,·11,· | 927 | ············datetime.date(2018,·11,·2) |
928 | ············datetime.date(2010,·6,·14) | 928 | ············datetime.date(2010,·6,·14) |
929 | ············datetime.date(2006,·6,·8) | 929 | ············datetime.date(2006,·6,·8) |
930 | ············datetime.date(2012,·9,·1 | 930 | ············datetime.date(2012,·9,·15) |
931 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 931 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
932 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 932 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
933 | ············Gets·a·Date·object·for·the·decade·year. | 933 | ············Gets·a·Date·object·for·the·decade·year. |
934 | ··············Parameters: | 934 | ··············Parameters: |
935 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 935 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
Max diff block lines reached; 27230/34129 bytes (79.79%) of diff not shown. |
Offset 1519, 17 lines modified | Offset 1519, 17 lines modified | ||
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">'AM'</span> | 1524 | <span·class="go">'AM'</span> |
1525 | <span·class="go">'AM'</span> | 1525 | <span·class="go">'AM'</span> |
1526 | <span·class="go">'PM'</span> | ||
1527 | <span·class="go">'AM'</span> | ||
1528 | <span·class="go">'AM'</span> | 1526 | <span·class="go">'AM'</span> |
1527 | <span·class="go">'PM'</span> | ||
1528 | <span·class="go">'PM'</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.12)"><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.12)"><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, 17 lines modified | Offset 1570, 17 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">'2016-04-2 | 1577 | <span·class="go">'2016-04-27'</span> |
1578 | <span·class="go">'2011-07-3 | 1578 | <span·class="go">'2011-07-31'</span> |
1579 | <span·class="go">'1993-01-2 | 1579 | <span·class="go">'1993-01-26'</span> |
1580 | <span·class="go">'1984-03-15'</span> | 1580 | <span·class="go">'1984-03-15'</span> |
1581 | <span·class="go">'1998-01-17'</span> | 1581 | <span·class="go">'1998-01-17'</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"> |
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(2020,·3,· | 1611 | <span·class="go">datetime.date(2020,·3,·9)</span> |
1612 | <span·class="go">datetime.date(2017,·8,· | 1612 | <span·class="go">datetime.date(2017,·8,·4)</span> |
1613 | <span·class="go">datetime.date(2007,·6,·2 | 1613 | <span·class="go">datetime.date(2007,·6,·21)</span> |
1614 | <span·class="go">datetime.date(2002,·8,·1 | 1614 | <span·class="go">datetime.date(2002,·8,·15)</span> |
1615 | <span·class="go">datetime.date(2010,·3,·1 | 1615 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 1642 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1643 | <span·class="go">datetime.date(2024,·11,· | 1643 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1644 | <span·class="go">datetime.date(2024,·11,· | 1644 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1645 | <span·class="go">datetime.date(2024,·11,· | 1645 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1646 | <span·class="go">datetime.date(2024,·11,· | 1646 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 1659, 17 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(2016,·4,·2 | 1666 | <span·class="go">datetime.date(2016,·4,·27)</span> |
1667 | <span·class="go">datetime.date(2011,·7,·3 | 1667 | <span·class="go">datetime.date(2011,·7,·31)</span> |
1668 | <span·class="go">datetime.date(1993,·1,·2 | 1668 | <span·class="go">datetime.date(1993,·1,·26)</span> |
1669 | <span·class="go">datetime.date(1984,·3,·15)</span> | 1669 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1670 | <span·class="go">datetime.date(1998,·1,·17)</span> | 1670 | <span·class="go">datetime.date(1998,·1,·17)</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"> |
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(2006,·10,·2 | 1702 | <span·class="go">datetime.date(2006,·10,·22)</span> |
1703 | <span·class="go">datetime.date(1996,·10,· | 1703 | <span·class="go">datetime.date(1996,·10,·10)</span> |
1704 | <span·class="go">datetime.date(1957,·8,·2 | 1704 | <span·class="go">datetime.date(1957,·8,·22)</span> |
1705 | <span·class="go">datetime.date(1938,·11,·2 | 1705 | <span·class="go">datetime.date(1938,·11,·21)</span> |
1706 | <span·class="go">datetime.date(1968,·2,·2 | 1706 | <span·class="go">datetime.date(1968,·2,·29)</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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> |
1729 | <dd·class="field-even"><p></p></dd> | 1729 | <dd·class="field-even"><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">date_this_century</span><span·class="p">()</span> | 1733 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
1734 | <span·class="gp">...</span> | 1734 | <span·class="gp">...</span> |
1735 | <span·class="go">datetime.date(2020,·12,·2 | 1735 | <span·class="go">datetime.date(2020,·12,·26)</span> |
1736 | <span·class="go">datetime.date(2018,·11,· | 1736 | <span·class="go">datetime.date(2018,·11,·2)</span> |
1737 | <span·class="go">datetime.date(2010,·6,·14)</span> | 1737 | <span·class="go">datetime.date(2010,·6,·14)</span> |
1738 | <span·class="go">datetime.date(2006,·6,·8)</span> | 1738 | <span·class="go">datetime.date(2006,·6,·8)</span> |
Max diff block lines reached; 83947/100871 bytes (83.22%) of diff not shown. |
Offset 894, 17 lines modified | Offset 894, 17 lines modified | ||
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 | ············'AM' | 899 | ············'AM' |
900 | ············'AM' | 900 | ············'AM' |
901 | ············'PM' | ||
902 | ············'AM' | ||
903 | ············'AM' | 901 | ············'AM' |
902 | ············'PM' | ||
903 | ············'PM' | ||
904 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 904 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
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, 17 lines modified | Offset 924, 17 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 | ············'2016-04-2 | 931 | ············'2016-04-27' |
932 | ············'2011-07-3 | 932 | ············'2011-07-31' |
933 | ············'1993-01-2 | 933 | ············'1993-01-26' |
934 | ············'1984-03-15' | 934 | ············'1984-03-15' |
935 | ············'1998-01-17' | 935 | ············'1998-01-17' |
936 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 936 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
937 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 937 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
938 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 938 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(). |
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(2020,·3,· | 953 | ············datetime.date(2020,·3,·9) |
954 | ············datetime.date(2017,·8,· | 954 | ············datetime.date(2017,·8,·4) |
955 | ············datetime.date(2007,·6,·2 | 955 | ············datetime.date(2007,·6,·21) |
956 | ············datetime.date(2002,·8,·1 | 956 | ············datetime.date(2002,·8,·15) |
957 | ············datetime.date(2010,·3,·1 | 957 | ············datetime.date(2010,·3,·11) |
958 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 958 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
959 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 959 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
960 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 960 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 964 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 966, 31 lines modified | Offset 966, 31 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(2024,·11,· | 973 | ············datetime.date(2024,·11,·8) |
974 | ············datetime.date(2024,·11,· | 974 | ············datetime.date(2024,·11,·8) |
975 | ············datetime.date(2024,·11,· | 975 | ············datetime.date(2024,·11,·8) |
976 | ············datetime.date(2024,·11,· | 976 | ············datetime.date(2024,·11,·8) |
977 | ············datetime.date(2024,·11,· | 977 | ············datetime.date(2024,·11,·8) |
978 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 978 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(2016,·4,·2 | 987 | ············datetime.date(2016,·4,·27) |
988 | ············datetime.date(2011,·7,·3 | 988 | ············datetime.date(2011,·7,·31) |
989 | ············datetime.date(1993,·1,·2 | 989 | ············datetime.date(1993,·1,·26) |
990 | ············datetime.date(1984,·3,·15) | 990 | ············datetime.date(1984,·3,·15) |
991 | ············datetime.date(1998,·1,·17) | 991 | ············datetime.date(1998,·1,·17) |
992 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 992 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
993 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 993 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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: |
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(2006,·10,·2 | 1009 | ············datetime.date(2006,·10,·22) |
1010 | ············datetime.date(1996,·10,· | 1010 | ············datetime.date(1996,·10,·10) |
1011 | ············datetime.date(1957,·8,·2 | 1011 | ············datetime.date(1957,·8,·22) |
1012 | ············datetime.date(1938,·11,·2 | 1012 | ············datetime.date(1938,·11,·21) |
1013 | ············datetime.date(1968,·2,·2 | 1013 | ············datetime.date(1968,·2,·29) |
1014 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 1014 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
1015 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1015 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
1016 | ············Gets·a·Date·object·for·the·current·century. | 1016 | ············Gets·a·Date·object·for·the·current·century. |
1017 | ··············Parameters: | 1017 | ··············Parameters: |
1018 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 1018 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
1019 | ························today | 1019 | ························today |
1020 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 1020 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·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 | ············... |
1031 | ············datetime.date(2020,·12,·2 | 1031 | ············datetime.date(2020,·12,·26) |
1032 | ············datetime.date(2018,·11,· | 1032 | ············datetime.date(2018,·11,·2) |
1033 | ············datetime.date(2010,·6,·14) | 1033 | ············datetime.date(2010,·6,·14) |
1034 | ············datetime.date(2006,·6,·8) | 1034 | ············datetime.date(2006,·6,·8) |
1035 | ············datetime.date(2012,·9,·1 | 1035 | ············datetime.date(2012,·9,·15) |
1036 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 1036 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
1037 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1037 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
1038 | ············Gets·a·Date·object·for·the·decade·year. | 1038 | ············Gets·a·Date·object·for·the·decade·year. |
1039 | ··············Parameters: | 1039 | ··············Parameters: |
1040 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 1040 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
Max diff block lines reached; 27198/34101 bytes (79.76%) of diff not shown. |
Offset 391, 17 lines modified | Offset 391, 17 lines modified | ||
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">'AM'</span> | 396 | <span·class="go">'AM'</span> |
397 | <span·class="go">'AM'</span> | 397 | <span·class="go">'AM'</span> |
398 | <span·class="go">'PM'</span> | ||
399 | <span·class="go">'AM'</span> | ||
400 | <span·class="go">'AM'</span> | 398 | <span·class="go">'AM'</span> |
399 | <span·class="go">'PM'</span> | ||
400 | <span·class="go">'PM'</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.12)"><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.12)"><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, 17 lines modified | Offset 442, 17 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">'2016-04-2 | 449 | <span·class="go">'2016-04-27'</span> |
450 | <span·class="go">'2011-07-3 | 450 | <span·class="go">'2011-07-31'</span> |
451 | <span·class="go">'1993-01-2 | 451 | <span·class="go">'1993-01-26'</span> |
452 | <span·class="go">'1984-03-15'</span> | 452 | <span·class="go">'1984-03-15'</span> |
453 | <span·class="go">'1998-01-17'</span> | 453 | <span·class="go">'1998-01-17'</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"> |
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(2020,·3,· | 483 | <span·class="go">datetime.date(2020,·3,·9)</span> |
484 | <span·class="go">datetime.date(2017,·8,· | 484 | <span·class="go">datetime.date(2017,·8,·4)</span> |
485 | <span·class="go">datetime.date(2007,·6,·2 | 485 | <span·class="go">datetime.date(2007,·6,·21)</span> |
486 | <span·class="go">datetime.date(2002,·8,·1 | 486 | <span·class="go">datetime.date(2002,·8,·15)</span> |
487 | <span·class="go">datetime.date(2010,·3,·1 | 487 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 514 | <span·class="go">datetime.date(2024,·11,·8)</span> |
515 | <span·class="go">datetime.date(2024,·11,· | 515 | <span·class="go">datetime.date(2024,·11,·8)</span> |
516 | <span·class="go">datetime.date(2024,·11,· | 516 | <span·class="go">datetime.date(2024,·11,·8)</span> |
517 | <span·class="go">datetime.date(2024,·11,· | 517 | <span·class="go">datetime.date(2024,·11,·8)</span> |
518 | <span·class="go">datetime.date(2024,·11,· | 518 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 531, 17 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(2016,·4,·2 | 538 | <span·class="go">datetime.date(2016,·4,·27)</span> |
539 | <span·class="go">datetime.date(2011,·7,·3 | 539 | <span·class="go">datetime.date(2011,·7,·31)</span> |
540 | <span·class="go">datetime.date(1993,·1,·2 | 540 | <span·class="go">datetime.date(1993,·1,·26)</span> |
541 | <span·class="go">datetime.date(1984,·3,·15)</span> | 541 | <span·class="go">datetime.date(1984,·3,·15)</span> |
542 | <span·class="go">datetime.date(1998,·1,·17)</span> | 542 | <span·class="go">datetime.date(1998,·1,·17)</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"> |
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(2006,·10,·2 | 574 | <span·class="go">datetime.date(2006,·10,·22)</span> |
575 | <span·class="go">datetime.date(1996,·10,· | 575 | <span·class="go">datetime.date(1996,·10,·10)</span> |
576 | <span·class="go">datetime.date(1957,·8,·2 | 576 | <span·class="go">datetime.date(1957,·8,·22)</span> |
577 | <span·class="go">datetime.date(1938,·11,·2 | 577 | <span·class="go">datetime.date(1938,·11,·21)</span> |
578 | <span·class="go">datetime.date(1968,·2,·2 | 578 | <span·class="go">datetime.date(1968,·2,·29)</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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> |
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_this_century</span><span·class="p">()</span> | 605 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
606 | <span·class="gp">...</span> | 606 | <span·class="gp">...</span> |
607 | <span·class="go">datetime.date(2020,·12,·2 | 607 | <span·class="go">datetime.date(2020,·12,·26)</span> |
608 | <span·class="go">datetime.date(2018,·11,· | 608 | <span·class="go">datetime.date(2018,·11,·2)</span> |
609 | <span·class="go">datetime.date(2010,·6,·14)</span> | 609 | <span·class="go">datetime.date(2010,·6,·14)</span> |
610 | <span·class="go">datetime.date(2006,·6,·8)</span> | 610 | <span·class="go">datetime.date(2006,·6,·8)</span> |
Max diff block lines reached; 83948/100858 bytes (83.23%) of diff not shown. |
Offset 197, 17 lines modified | Offset 197, 17 lines modified | ||
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 | ············'AM' | 202 | ············'AM' |
203 | ············'AM' | 203 | ············'AM' |
204 | ············'PM' | ||
205 | ············'AM' | ||
206 | ············'AM' | 204 | ············'AM' |
205 | ············'PM' | ||
206 | ············'PM' | ||
207 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 207 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
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, 17 lines modified | Offset 227, 17 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 | ············'2016-04-2 | 234 | ············'2016-04-27' |
235 | ············'2011-07-3 | 235 | ············'2011-07-31' |
236 | ············'1993-01-2 | 236 | ············'1993-01-26' |
237 | ············'1984-03-15' | 237 | ············'1984-03-15' |
238 | ············'1998-01-17' | 238 | ············'1998-01-17' |
239 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 239 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
240 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 240 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
241 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 241 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(). |
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(2020,·3,· | 256 | ············datetime.date(2020,·3,·9) |
257 | ············datetime.date(2017,·8,· | 257 | ············datetime.date(2017,·8,·4) |
258 | ············datetime.date(2007,·6,·2 | 258 | ············datetime.date(2007,·6,·21) |
259 | ············datetime.date(2002,·8,·1 | 259 | ············datetime.date(2002,·8,·15) |
260 | ············datetime.date(2010,·3,·1 | 260 | ············datetime.date(2010,·3,·11) |
261 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 261 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
262 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 262 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
263 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 263 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 267 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 269, 31 lines modified | Offset 269, 31 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(2024,·11,· | 276 | ············datetime.date(2024,·11,·8) |
277 | ············datetime.date(2024,·11,· | 277 | ············datetime.date(2024,·11,·8) |
278 | ············datetime.date(2024,·11,· | 278 | ············datetime.date(2024,·11,·8) |
279 | ············datetime.date(2024,·11,· | 279 | ············datetime.date(2024,·11,·8) |
280 | ············datetime.date(2024,·11,· | 280 | ············datetime.date(2024,·11,·8) |
281 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 281 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(2016,·4,·2 | 290 | ············datetime.date(2016,·4,·27) |
291 | ············datetime.date(2011,·7,·3 | 291 | ············datetime.date(2011,·7,·31) |
292 | ············datetime.date(1993,·1,·2 | 292 | ············datetime.date(1993,·1,·26) |
293 | ············datetime.date(1984,·3,·15) | 293 | ············datetime.date(1984,·3,·15) |
294 | ············datetime.date(1998,·1,·17) | 294 | ············datetime.date(1998,·1,·17) |
295 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 295 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
296 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 296 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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: |
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(2006,·10,·2 | 312 | ············datetime.date(2006,·10,·22) |
313 | ············datetime.date(1996,·10,· | 313 | ············datetime.date(1996,·10,·10) |
314 | ············datetime.date(1957,·8,·2 | 314 | ············datetime.date(1957,·8,·22) |
315 | ············datetime.date(1938,·11,·2 | 315 | ············datetime.date(1938,·11,·21) |
316 | ············datetime.date(1968,·2,·2 | 316 | ············datetime.date(1968,·2,·29) |
317 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 317 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
318 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 318 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
319 | ············Gets·a·Date·object·for·the·current·century. | 319 | ············Gets·a·Date·object·for·the·current·century. |
320 | ··············Parameters: | 320 | ··············Parameters: |
321 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 321 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
322 | ························today | 322 | ························today |
323 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 323 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·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 | ············... |
334 | ············datetime.date(2020,·12,·2 | 334 | ············datetime.date(2020,·12,·26) |
335 | ············datetime.date(2018,·11,· | 335 | ············datetime.date(2018,·11,·2) |
336 | ············datetime.date(2010,·6,·14) | 336 | ············datetime.date(2010,·6,·14) |
337 | ············datetime.date(2006,·6,·8) | 337 | ············datetime.date(2006,·6,·8) |
338 | ············datetime.date(2012,·9,·1 | 338 | ············datetime.date(2012,·9,·15) |
339 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 339 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
340 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 340 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
341 | ············Gets·a·Date·object·for·the·decade·year. | 341 | ············Gets·a·Date·object·for·the·decade·year. |
342 | ··············Parameters: | 342 | ··············Parameters: |
343 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 343 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
Max diff block lines reached; 27185/34084 bytes (79.76%) of diff not shown. |
Offset 811, 17 lines modified | Offset 811, 17 lines modified | ||
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">'AM'</span> | 816 | <span·class="go">'AM'</span> |
817 | <span·class="go">'AM'</span> | 817 | <span·class="go">'AM'</span> |
818 | <span·class="go">'PM'</span> | ||
819 | <span·class="go">'AM'</span> | ||
820 | <span·class="go">'AM'</span> | 818 | <span·class="go">'AM'</span> |
819 | <span·class="go">'PM'</span> | ||
820 | <span·class="go">'PM'</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.12)"><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.12)"><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, 17 lines modified | Offset 862, 17 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">'2016-04-2 | 869 | <span·class="go">'2016-04-27'</span> |
870 | <span·class="go">'2011-07-3 | 870 | <span·class="go">'2011-07-31'</span> |
871 | <span·class="go">'1993-01-2 | 871 | <span·class="go">'1993-01-26'</span> |
872 | <span·class="go">'1984-03-15'</span> | 872 | <span·class="go">'1984-03-15'</span> |
873 | <span·class="go">'1998-01-17'</span> | 873 | <span·class="go">'1998-01-17'</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"> |
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(2020,·3,· | 903 | <span·class="go">datetime.date(2020,·3,·9)</span> |
904 | <span·class="go">datetime.date(2017,·8,· | 904 | <span·class="go">datetime.date(2017,·8,·4)</span> |
905 | <span·class="go">datetime.date(2007,·6,·2 | 905 | <span·class="go">datetime.date(2007,·6,·21)</span> |
906 | <span·class="go">datetime.date(2002,·8,·1 | 906 | <span·class="go">datetime.date(2002,·8,·15)</span> |
907 | <span·class="go">datetime.date(2010,·3,·1 | 907 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 934 | <span·class="go">datetime.date(2024,·11,·8)</span> |
935 | <span·class="go">datetime.date(2024,·11,· | 935 | <span·class="go">datetime.date(2024,·11,·8)</span> |
936 | <span·class="go">datetime.date(2024,·11,· | 936 | <span·class="go">datetime.date(2024,·11,·8)</span> |
937 | <span·class="go">datetime.date(2024,·11,· | 937 | <span·class="go">datetime.date(2024,·11,·8)</span> |
938 | <span·class="go">datetime.date(2024,·11,· | 938 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 951, 17 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(2016,·4,·2 | 958 | <span·class="go">datetime.date(2016,·4,·27)</span> |
959 | <span·class="go">datetime.date(2011,·7,·3 | 959 | <span·class="go">datetime.date(2011,·7,·31)</span> |
960 | <span·class="go">datetime.date(1993,·1,·2 | 960 | <span·class="go">datetime.date(1993,·1,·26)</span> |
961 | <span·class="go">datetime.date(1984,·3,·15)</span> | 961 | <span·class="go">datetime.date(1984,·3,·15)</span> |
962 | <span·class="go">datetime.date(1998,·1,·17)</span> | 962 | <span·class="go">datetime.date(1998,·1,·17)</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"> |
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(2006,·10,·2 | 994 | <span·class="go">datetime.date(2006,·10,·22)</span> |
995 | <span·class="go">datetime.date(1996,·10,· | 995 | <span·class="go">datetime.date(1996,·10,·10)</span> |
996 | <span·class="go">datetime.date(1957,·8,·2 | 996 | <span·class="go">datetime.date(1957,·8,·22)</span> |
997 | <span·class="go">datetime.date(1938,·11,·2 | 997 | <span·class="go">datetime.date(1938,·11,·21)</span> |
998 | <span·class="go">datetime.date(1968,·2,·2 | 998 | <span·class="go">datetime.date(1968,·2,·29)</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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> |
1021 | <dd·class="field-even"><p></p></dd> | 1021 | <dd·class="field-even"><p></p></dd> |
1022 | </dl> | 1022 | </dl> |
1023 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1023 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1024 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1024 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1025 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> | 1025 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
1026 | <span·class="gp">...</span> | 1026 | <span·class="gp">...</span> |
1027 | <span·class="go">datetime.date(2020,·12,·2 | 1027 | <span·class="go">datetime.date(2020,·12,·26)</span> |
1028 | <span·class="go">datetime.date(2018,·11,· | 1028 | <span·class="go">datetime.date(2018,·11,·2)</span> |
1029 | <span·class="go">datetime.date(2010,·6,·14)</span> | 1029 | <span·class="go">datetime.date(2010,·6,·14)</span> |
1030 | <span·class="go">datetime.date(2006,·6,·8)</span> | 1030 | <span·class="go">datetime.date(2006,·6,·8)</span> |
Max diff block lines reached; 83998/100910 bytes (83.24%) of diff not shown. |
Offset 460, 17 lines modified | Offset 460, 17 lines modified | ||
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 | ············'AM' | 465 | ············'AM' |
466 | ············'AM' | 466 | ············'AM' |
467 | ············'PM' | ||
468 | ············'AM' | ||
469 | ············'AM' | 467 | ············'AM' |
468 | ············'PM' | ||
469 | ············'PM' | ||
470 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 470 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
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, 17 lines modified | Offset 490, 17 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 | ············'2016-04-2 | 497 | ············'2016-04-27' |
498 | ············'2011-07-3 | 498 | ············'2011-07-31' |
499 | ············'1993-01-2 | 499 | ············'1993-01-26' |
500 | ············'1984-03-15' | 500 | ············'1984-03-15' |
501 | ············'1998-01-17' | 501 | ············'1998-01-17' |
502 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 502 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
503 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 503 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
504 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 504 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(). |
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(2020,·3,· | 519 | ············datetime.date(2020,·3,·9) |
520 | ············datetime.date(2017,·8,· | 520 | ············datetime.date(2017,·8,·4) |
521 | ············datetime.date(2007,·6,·2 | 521 | ············datetime.date(2007,·6,·21) |
522 | ············datetime.date(2002,·8,·1 | 522 | ············datetime.date(2002,·8,·15) |
523 | ············datetime.date(2010,·3,·1 | 523 | ············datetime.date(2010,·3,·11) |
524 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 524 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
525 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 525 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
526 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 526 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 530 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 532, 31 lines modified | Offset 532, 31 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(2024,·11,· | 539 | ············datetime.date(2024,·11,·8) |
540 | ············datetime.date(2024,·11,· | 540 | ············datetime.date(2024,·11,·8) |
541 | ············datetime.date(2024,·11,· | 541 | ············datetime.date(2024,·11,·8) |
542 | ············datetime.date(2024,·11,· | 542 | ············datetime.date(2024,·11,·8) |
543 | ············datetime.date(2024,·11,· | 543 | ············datetime.date(2024,·11,·8) |
544 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 544 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(2016,·4,·2 | 553 | ············datetime.date(2016,·4,·27) |
554 | ············datetime.date(2011,·7,·3 | 554 | ············datetime.date(2011,·7,·31) |
555 | ············datetime.date(1993,·1,·2 | 555 | ············datetime.date(1993,·1,·26) |
556 | ············datetime.date(1984,·3,·15) | 556 | ············datetime.date(1984,·3,·15) |
557 | ············datetime.date(1998,·1,·17) | 557 | ············datetime.date(1998,·1,·17) |
558 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 558 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
559 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 559 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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: |
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(2006,·10,·2 | 575 | ············datetime.date(2006,·10,·22) |
576 | ············datetime.date(1996,·10,· | 576 | ············datetime.date(1996,·10,·10) |
577 | ············datetime.date(1957,·8,·2 | 577 | ············datetime.date(1957,·8,·22) |
578 | ············datetime.date(1938,·11,·2 | 578 | ············datetime.date(1938,·11,·21) |
579 | ············datetime.date(1968,·2,·2 | 579 | ············datetime.date(1968,·2,·29) |
580 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 580 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
581 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 581 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
582 | ············Gets·a·Date·object·for·the·current·century. | 582 | ············Gets·a·Date·object·for·the·current·century. |
583 | ··············Parameters: | 583 | ··············Parameters: |
584 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 584 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
585 | ························today | 585 | ························today |
586 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 586 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·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 | ············... |
597 | ············datetime.date(2020,·12,·2 | 597 | ············datetime.date(2020,·12,·26) |
598 | ············datetime.date(2018,·11,· | 598 | ············datetime.date(2018,·11,·2) |
599 | ············datetime.date(2010,·6,·14) | 599 | ············datetime.date(2010,·6,·14) |
600 | ············datetime.date(2006,·6,·8) | 600 | ············datetime.date(2006,·6,·8) |
601 | ············datetime.date(2012,·9,·1 | 601 | ············datetime.date(2012,·9,·15) |
602 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 602 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
603 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 603 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
604 | ············Gets·a·Date·object·for·the·decade·year. | 604 | ············Gets·a·Date·object·for·the·decade·year. |
605 | ··············Parameters: | 605 | ··············Parameters: |
606 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 606 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
Max diff block lines reached; 27217/34116 bytes (79.78%) of diff not shown. |
Offset 947, 17 lines modified | Offset 947, 17 lines modified | ||
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">'AM'</span> | 952 | <span·class="go">'AM'</span> |
953 | <span·class="go">'AM'</span> | 953 | <span·class="go">'AM'</span> |
954 | <span·class="go">'PM'</span> | ||
955 | <span·class="go">'AM'</span> | ||
956 | <span·class="go">'AM'</span> | 954 | <span·class="go">'AM'</span> |
955 | <span·class="go">'PM'</span> | ||
956 | <span·class="go">'PM'</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.12)"><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.12)"><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, 17 lines modified | Offset 998, 17 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">'2016-04-2 | 1005 | <span·class="go">'2016-04-27'</span> |
1006 | <span·class="go">'2011-07-3 | 1006 | <span·class="go">'2011-07-31'</span> |
1007 | <span·class="go">'1993-01-2 | 1007 | <span·class="go">'1993-01-26'</span> |
1008 | <span·class="go">'1984-03-15'</span> | 1008 | <span·class="go">'1984-03-15'</span> |
1009 | <span·class="go">'1998-01-17'</span> | 1009 | <span·class="go">'1998-01-17'</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"> |
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(2020,·3,· | 1039 | <span·class="go">datetime.date(2020,·3,·9)</span> |
1040 | <span·class="go">datetime.date(2017,·8,· | 1040 | <span·class="go">datetime.date(2017,·8,·4)</span> |
1041 | <span·class="go">datetime.date(2007,·6,·2 | 1041 | <span·class="go">datetime.date(2007,·6,·21)</span> |
1042 | <span·class="go">datetime.date(2002,·8,·1 | 1042 | <span·class="go">datetime.date(2002,·8,·15)</span> |
1043 | <span·class="go">datetime.date(2010,·3,·1 | 1043 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 1070 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1071 | <span·class="go">datetime.date(2024,·11,· | 1071 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1072 | <span·class="go">datetime.date(2024,·11,· | 1072 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1073 | <span·class="go">datetime.date(2024,·11,· | 1073 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1074 | <span·class="go">datetime.date(2024,·11,· | 1074 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 1087, 17 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(2016,·4,·2 | 1094 | <span·class="go">datetime.date(2016,·4,·27)</span> |
1095 | <span·class="go">datetime.date(2011,·7,·3 | 1095 | <span·class="go">datetime.date(2011,·7,·31)</span> |
1096 | <span·class="go">datetime.date(1993,·1,·2 | 1096 | <span·class="go">datetime.date(1993,·1,·26)</span> |
1097 | <span·class="go">datetime.date(1984,·3,·15)</span> | 1097 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1098 | <span·class="go">datetime.date(1998,·1,·17)</span> | 1098 | <span·class="go">datetime.date(1998,·1,·17)</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"> |
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(2006,·10,·2 | 1130 | <span·class="go">datetime.date(2006,·10,·22)</span> |
1131 | <span·class="go">datetime.date(1996,·10,· | 1131 | <span·class="go">datetime.date(1996,·10,·10)</span> |
1132 | <span·class="go">datetime.date(1957,·8,·2 | 1132 | <span·class="go">datetime.date(1957,·8,·22)</span> |
1133 | <span·class="go">datetime.date(1938,·11,·2 | 1133 | <span·class="go">datetime.date(1938,·11,·21)</span> |
1134 | <span·class="go">datetime.date(1968,·2,·2 | 1134 | <span·class="go">datetime.date(1968,·2,·29)</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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> |
1157 | <dd·class="field-even"><p></p></dd> | 1157 | <dd·class="field-even"><p></p></dd> |
1158 | </dl> | 1158 | </dl> |
1159 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1159 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">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 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1160 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</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="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> | 1161 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
1162 | <span·class="gp">...</span> | 1162 | <span·class="gp">...</span> |
1163 | <span·class="go">datetime.date(2020,·12,·2 | 1163 | <span·class="go">datetime.date(2020,·12,·26)</span> |
1164 | <span·class="go">datetime.date(2018,·11,· | 1164 | <span·class="go">datetime.date(2018,·11,·2)</span> |
1165 | <span·class="go">datetime.date(2010,·6,·14)</span> | 1165 | <span·class="go">datetime.date(2010,·6,·14)</span> |
1166 | <span·class="go">datetime.date(2006,·6,·8)</span> | 1166 | <span·class="go">datetime.date(2006,·6,·8)</span> |
Max diff block lines reached; 83983/100903 bytes (83.23%) of diff not shown. |
Offset 536, 17 lines modified | Offset 536, 17 lines modified | ||
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 | ············'AM' | 541 | ············'AM' |
542 | ············'AM' | 542 | ············'AM' |
543 | ············'PM' | ||
544 | ············'AM' | ||
545 | ············'AM' | 543 | ············'AM' |
544 | ············'PM' | ||
545 | ············'PM' | ||
546 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 546 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
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, 17 lines modified | Offset 566, 17 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 | ············'2016-04-2 | 573 | ············'2016-04-27' |
574 | ············'2011-07-3 | 574 | ············'2011-07-31' |
575 | ············'1993-01-2 | 575 | ············'1993-01-26' |
576 | ············'1984-03-15' | 576 | ············'1984-03-15' |
577 | ············'1998-01-17' | 577 | ············'1998-01-17' |
578 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 578 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
579 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 579 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
580 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 580 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(). |
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(2020,·3,· | 595 | ············datetime.date(2020,·3,·9) |
596 | ············datetime.date(2017,·8,· | 596 | ············datetime.date(2017,·8,·4) |
597 | ············datetime.date(2007,·6,·2 | 597 | ············datetime.date(2007,·6,·21) |
598 | ············datetime.date(2002,·8,·1 | 598 | ············datetime.date(2002,·8,·15) |
599 | ············datetime.date(2010,·3,·1 | 599 | ············datetime.date(2010,·3,·11) |
600 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 600 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
601 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 601 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
602 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 602 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 606 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 608, 31 lines modified | Offset 608, 31 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(2024,·11,· | 615 | ············datetime.date(2024,·11,·8) |
616 | ············datetime.date(2024,·11,· | 616 | ············datetime.date(2024,·11,·8) |
617 | ············datetime.date(2024,·11,· | 617 | ············datetime.date(2024,·11,·8) |
618 | ············datetime.date(2024,·11,· | 618 | ············datetime.date(2024,·11,·8) |
619 | ············datetime.date(2024,·11,· | 619 | ············datetime.date(2024,·11,·8) |
620 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 620 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(2016,·4,·2 | 629 | ············datetime.date(2016,·4,·27) |
630 | ············datetime.date(2011,·7,·3 | 630 | ············datetime.date(2011,·7,·31) |
631 | ············datetime.date(1993,·1,·2 | 631 | ············datetime.date(1993,·1,·26) |
632 | ············datetime.date(1984,·3,·15) | 632 | ············datetime.date(1984,·3,·15) |
633 | ············datetime.date(1998,·1,·17) | 633 | ············datetime.date(1998,·1,·17) |
634 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 634 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
635 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 635 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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: |
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(2006,·10,·2 | 651 | ············datetime.date(2006,·10,·22) |
652 | ············datetime.date(1996,·10,· | 652 | ············datetime.date(1996,·10,·10) |
653 | ············datetime.date(1957,·8,·2 | 653 | ············datetime.date(1957,·8,·22) |
654 | ············datetime.date(1938,·11,·2 | 654 | ············datetime.date(1938,·11,·21) |
655 | ············datetime.date(1968,·2,·2 | 655 | ············datetime.date(1968,·2,·29) |
656 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 656 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
657 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 657 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
658 | ············Gets·a·Date·object·for·the·current·century. | 658 | ············Gets·a·Date·object·for·the·current·century. |
659 | ··············Parameters: | 659 | ··············Parameters: |
660 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 660 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
661 | ························today | 661 | ························today |
662 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 662 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·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 | ············... |
673 | ············datetime.date(2020,·12,·2 | 673 | ············datetime.date(2020,·12,·26) |
674 | ············datetime.date(2018,·11,· | 674 | ············datetime.date(2018,·11,·2) |
675 | ············datetime.date(2010,·6,·14) | 675 | ············datetime.date(2010,·6,·14) |
676 | ············datetime.date(2006,·6,·8) | 676 | ············datetime.date(2006,·6,·8) |
677 | ············datetime.date(2012,·9,·1 | 677 | ············datetime.date(2012,·9,·15) |
678 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 678 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
679 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 679 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
680 | ············Gets·a·Date·object·for·the·decade·year. | 680 | ············Gets·a·Date·object·for·the·decade·year. |
681 | ··············Parameters: | 681 | ··············Parameters: |
682 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 682 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
Max diff block lines reached; 27206/34105 bytes (79.77%) of diff not shown. |
Offset 981, 17 lines modified | Offset 981, 17 lines modified | ||
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">'AM'</span> | 986 | <span·class="go">'AM'</span> |
987 | <span·class="go">'AM'</span> | 987 | <span·class="go">'AM'</span> |
988 | <span·class="go">'PM'</span> | ||
989 | <span·class="go">'AM'</span> | ||
990 | <span·class="go">'AM'</span> | 988 | <span·class="go">'AM'</span> |
989 | <span·class="go">'PM'</span> | ||
990 | <span·class="go">'PM'</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.12)"><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.12)"><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, 17 lines modified | Offset 1032, 17 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">'2016-04-2 | 1039 | <span·class="go">'2016-04-27'</span> |
1040 | <span·class="go">'2011-07-3 | 1040 | <span·class="go">'2011-07-31'</span> |
1041 | <span·class="go">'1993-01-2 | 1041 | <span·class="go">'1993-01-26'</span> |
1042 | <span·class="go">'1984-03-15'</span> | 1042 | <span·class="go">'1984-03-15'</span> |
1043 | <span·class="go">'1998-01-17'</span> | 1043 | <span·class="go">'1998-01-17'</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"> |
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(2020,·3,· | 1073 | <span·class="go">datetime.date(2020,·3,·9)</span> |
1074 | <span·class="go">datetime.date(2017,·8,· | 1074 | <span·class="go">datetime.date(2017,·8,·4)</span> |
1075 | <span·class="go">datetime.date(2007,·6,·2 | 1075 | <span·class="go">datetime.date(2007,·6,·21)</span> |
1076 | <span·class="go">datetime.date(2002,·8,·1 | 1076 | <span·class="go">datetime.date(2002,·8,·15)</span> |
1077 | <span·class="go">datetime.date(2010,·3,·1 | 1077 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 1104 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1105 | <span·class="go">datetime.date(2024,·11,· | 1105 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1106 | <span·class="go">datetime.date(2024,·11,· | 1106 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1107 | <span·class="go">datetime.date(2024,·11,· | 1107 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1108 | <span·class="go">datetime.date(2024,·11,· | 1108 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 1121, 17 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(2016,·4,·2 | 1128 | <span·class="go">datetime.date(2016,·4,·27)</span> |
1129 | <span·class="go">datetime.date(2011,·7,·3 | 1129 | <span·class="go">datetime.date(2011,·7,·31)</span> |
1130 | <span·class="go">datetime.date(1993,·1,·2 | 1130 | <span·class="go">datetime.date(1993,·1,·26)</span> |
1131 | <span·class="go">datetime.date(1984,·3,·15)</span> | 1131 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1132 | <span·class="go">datetime.date(1998,·1,·17)</span> | 1132 | <span·class="go">datetime.date(1998,·1,·17)</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"> |
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(2006,·10,·2 | 1164 | <span·class="go">datetime.date(2006,·10,·22)</span> |
1165 | <span·class="go">datetime.date(1996,·10,· | 1165 | <span·class="go">datetime.date(1996,·10,·10)</span> |
1166 | <span·class="go">datetime.date(1957,·8,·2 | 1166 | <span·class="go">datetime.date(1957,·8,·22)</span> |
1167 | <span·class="go">datetime.date(1938,·11,·2 | 1167 | <span·class="go">datetime.date(1938,·11,·21)</span> |
1168 | <span·class="go">datetime.date(1968,·2,·2 | 1168 | <span·class="go">datetime.date(1968,·2,·29)</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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> |
1191 | <dd·class="field-even"><p></p></dd> | 1191 | <dd·class="field-even"><p></p></dd> |
1192 | </dl> | 1192 | </dl> |
1193 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1193 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1194 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1194 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1195 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> | 1195 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
1196 | <span·class="gp">...</span> | 1196 | <span·class="gp">...</span> |
1197 | <span·class="go">datetime.date(2020,·12,·2 | 1197 | <span·class="go">datetime.date(2020,·12,·26)</span> |
1198 | <span·class="go">datetime.date(2018,·11,· | 1198 | <span·class="go">datetime.date(2018,·11,·2)</span> |
1199 | <span·class="go">datetime.date(2010,·6,·14)</span> | 1199 | <span·class="go">datetime.date(2010,·6,·14)</span> |
1200 | <span·class="go">datetime.date(2006,·6,·8)</span> | 1200 | <span·class="go">datetime.date(2006,·6,·8)</span> |
Max diff block lines reached; 83988/100910 bytes (83.23%) of diff not shown. |
Offset 557, 17 lines modified | Offset 557, 17 lines modified | ||
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 | ············'AM' | 562 | ············'AM' |
563 | ············'AM' | 563 | ············'AM' |
564 | ············'PM' | ||
565 | ············'AM' | ||
566 | ············'AM' | 564 | ············'AM' |
565 | ············'PM' | ||
566 | ············'PM' | ||
567 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 567 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
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, 17 lines modified | Offset 587, 17 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 | ············'2016-04-2 | 594 | ············'2016-04-27' |
595 | ············'2011-07-3 | 595 | ············'2011-07-31' |
596 | ············'1993-01-2 | 596 | ············'1993-01-26' |
597 | ············'1984-03-15' | 597 | ············'1984-03-15' |
598 | ············'1998-01-17' | 598 | ············'1998-01-17' |
599 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 599 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
600 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 600 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
601 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 601 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(). |
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(2020,·3,· | 616 | ············datetime.date(2020,·3,·9) |
617 | ············datetime.date(2017,·8,· | 617 | ············datetime.date(2017,·8,·4) |
618 | ············datetime.date(2007,·6,·2 | 618 | ············datetime.date(2007,·6,·21) |
619 | ············datetime.date(2002,·8,·1 | 619 | ············datetime.date(2002,·8,·15) |
620 | ············datetime.date(2010,·3,·1 | 620 | ············datetime.date(2010,·3,·11) |
621 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 621 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
622 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 622 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
623 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 623 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 627 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 629, 31 lines modified | Offset 629, 31 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(2024,·11,· | 636 | ············datetime.date(2024,·11,·8) |
637 | ············datetime.date(2024,·11,· | 637 | ············datetime.date(2024,·11,·8) |
638 | ············datetime.date(2024,·11,· | 638 | ············datetime.date(2024,·11,·8) |
639 | ············datetime.date(2024,·11,· | 639 | ············datetime.date(2024,·11,·8) |
640 | ············datetime.date(2024,·11,· | 640 | ············datetime.date(2024,·11,·8) |
641 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 641 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(2016,·4,·2 | 650 | ············datetime.date(2016,·4,·27) |
651 | ············datetime.date(2011,·7,·3 | 651 | ············datetime.date(2011,·7,·31) |
652 | ············datetime.date(1993,·1,·2 | 652 | ············datetime.date(1993,·1,·26) |
653 | ············datetime.date(1984,·3,·15) | 653 | ············datetime.date(1984,·3,·15) |
654 | ············datetime.date(1998,·1,·17) | 654 | ············datetime.date(1998,·1,·17) |
655 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 655 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
656 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 656 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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: |
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(2006,·10,·2 | 672 | ············datetime.date(2006,·10,·22) |
673 | ············datetime.date(1996,·10,· | 673 | ············datetime.date(1996,·10,·10) |
674 | ············datetime.date(1957,·8,·2 | 674 | ············datetime.date(1957,·8,·22) |
675 | ············datetime.date(1938,·11,·2 | 675 | ············datetime.date(1938,·11,·21) |
676 | ············datetime.date(1968,·2,·2 | 676 | ············datetime.date(1968,·2,·29) |
677 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 677 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
678 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 678 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
679 | ············Gets·a·Date·object·for·the·current·century. | 679 | ············Gets·a·Date·object·for·the·current·century. |
680 | ··············Parameters: | 680 | ··············Parameters: |
681 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 681 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
682 | ························today | 682 | ························today |
683 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 683 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·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 | ············... |
694 | ············datetime.date(2020,·12,·2 | 694 | ············datetime.date(2020,·12,·26) |
695 | ············datetime.date(2018,·11,· | 695 | ············datetime.date(2018,·11,·2) |
696 | ············datetime.date(2010,·6,·14) | 696 | ············datetime.date(2010,·6,·14) |
697 | ············datetime.date(2006,·6,·8) | 697 | ············datetime.date(2006,·6,·8) |
698 | ············datetime.date(2012,·9,·1 | 698 | ············datetime.date(2012,·9,·15) |
699 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 699 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
700 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 700 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
701 | ············Gets·a·Date·object·for·the·decade·year. | 701 | ············Gets·a·Date·object·for·the·decade·year. |
702 | ··············Parameters: | 702 | ··············Parameters: |
703 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 703 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
Max diff block lines reached; 27201/34100 bytes (79.77%) of diff not shown. |
Offset 965, 17 lines modified | Offset 965, 17 lines modified | ||
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">'AM'</span> | 970 | <span·class="go">'AM'</span> |
971 | <span·class="go">'AM'</span> | 971 | <span·class="go">'AM'</span> |
972 | <span·class="go">'PM'</span> | ||
973 | <span·class="go">'AM'</span> | ||
974 | <span·class="go">'AM'</span> | 972 | <span·class="go">'AM'</span> |
973 | <span·class="go">'PM'</span> | ||
974 | <span·class="go">'PM'</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.12)"><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.12)"><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, 17 lines modified | Offset 1016, 17 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">'2016-04-2 | 1023 | <span·class="go">'2016-04-27'</span> |
1024 | <span·class="go">'2011-07-3 | 1024 | <span·class="go">'2011-07-31'</span> |
1025 | <span·class="go">'1993-01-2 | 1025 | <span·class="go">'1993-01-26'</span> |
1026 | <span·class="go">'1984-03-15'</span> | 1026 | <span·class="go">'1984-03-15'</span> |
1027 | <span·class="go">'1998-01-17'</span> | 1027 | <span·class="go">'1998-01-17'</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"> |
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(2020,·3,· | 1057 | <span·class="go">datetime.date(2020,·3,·9)</span> |
1058 | <span·class="go">datetime.date(2017,·8,· | 1058 | <span·class="go">datetime.date(2017,·8,·4)</span> |
1059 | <span·class="go">datetime.date(2007,·6,·2 | 1059 | <span·class="go">datetime.date(2007,·6,·21)</span> |
1060 | <span·class="go">datetime.date(2002,·8,·1 | 1060 | <span·class="go">datetime.date(2002,·8,·15)</span> |
1061 | <span·class="go">datetime.date(2010,·3,·1 | 1061 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 1088 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1089 | <span·class="go">datetime.date(2024,·11,· | 1089 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1090 | <span·class="go">datetime.date(2024,·11,· | 1090 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1091 | <span·class="go">datetime.date(2024,·11,· | 1091 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1092 | <span·class="go">datetime.date(2024,·11,· | 1092 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 1105, 17 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(2016,·4,·2 | 1112 | <span·class="go">datetime.date(2016,·4,·27)</span> |
1113 | <span·class="go">datetime.date(2011,·7,·3 | 1113 | <span·class="go">datetime.date(2011,·7,·31)</span> |
1114 | <span·class="go">datetime.date(1993,·1,·2 | 1114 | <span·class="go">datetime.date(1993,·1,·26)</span> |
1115 | <span·class="go">datetime.date(1984,·3,·15)</span> | 1115 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1116 | <span·class="go">datetime.date(1998,·1,·17)</span> | 1116 | <span·class="go">datetime.date(1998,·1,·17)</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"> |
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(2006,·10,·2 | 1148 | <span·class="go">datetime.date(2006,·10,·22)</span> |
1149 | <span·class="go">datetime.date(1996,·10,· | 1149 | <span·class="go">datetime.date(1996,·10,·10)</span> |
1150 | <span·class="go">datetime.date(1957,·8,·2 | 1150 | <span·class="go">datetime.date(1957,·8,·22)</span> |
1151 | <span·class="go">datetime.date(1938,·11,·2 | 1151 | <span·class="go">datetime.date(1938,·11,·21)</span> |
1152 | <span·class="go">datetime.date(1968,·2,·2 | 1152 | <span·class="go">datetime.date(1968,·2,·29)</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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> |
1175 | <dd·class="field-even"><p></p></dd> | 1175 | <dd·class="field-even"><p></p></dd> |
1176 | </dl> | 1176 | </dl> |
1177 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1177 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">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 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1178 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</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="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> | 1179 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
1180 | <span·class="gp">...</span> | 1180 | <span·class="gp">...</span> |
1181 | <span·class="go">datetime.date(2020,·12,·2 | 1181 | <span·class="go">datetime.date(2020,·12,·26)</span> |
1182 | <span·class="go">datetime.date(2018,·11,· | 1182 | <span·class="go">datetime.date(2018,·11,·2)</span> |
1183 | <span·class="go">datetime.date(2010,·6,·14)</span> | 1183 | <span·class="go">datetime.date(2010,·6,·14)</span> |
1184 | <span·class="go">datetime.date(2006,·6,·8)</span> | 1184 | <span·class="go">datetime.date(2006,·6,·8)</span> |
Max diff block lines reached; 83976/100898 bytes (83.23%) of diff not shown. |
Offset 544, 17 lines modified | Offset 544, 17 lines modified | ||
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 | ············'AM' | 549 | ············'AM' |
550 | ············'AM' | 550 | ············'AM' |
551 | ············'PM' | ||
552 | ············'AM' | ||
553 | ············'AM' | 551 | ············'AM' |
552 | ············'PM' | ||
553 | ············'PM' | ||
554 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 554 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
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, 17 lines modified | Offset 574, 17 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 | ············'2016-04-2 | 581 | ············'2016-04-27' |
582 | ············'2011-07-3 | 582 | ············'2011-07-31' |
583 | ············'1993-01-2 | 583 | ············'1993-01-26' |
584 | ············'1984-03-15' | 584 | ············'1984-03-15' |
585 | ············'1998-01-17' | 585 | ············'1998-01-17' |
586 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 586 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
587 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 587 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
588 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 588 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(). |
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(2020,·3,· | 603 | ············datetime.date(2020,·3,·9) |
604 | ············datetime.date(2017,·8,· | 604 | ············datetime.date(2017,·8,·4) |
605 | ············datetime.date(2007,·6,·2 | 605 | ············datetime.date(2007,·6,·21) |
606 | ············datetime.date(2002,·8,·1 | 606 | ············datetime.date(2002,·8,·15) |
607 | ············datetime.date(2010,·3,·1 | 607 | ············datetime.date(2010,·3,·11) |
608 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 608 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
609 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 609 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
610 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 610 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 614 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 616, 31 lines modified | Offset 616, 31 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(2024,·11,· | 623 | ············datetime.date(2024,·11,·8) |
624 | ············datetime.date(2024,·11,· | 624 | ············datetime.date(2024,·11,·8) |
625 | ············datetime.date(2024,·11,· | 625 | ············datetime.date(2024,·11,·8) |
626 | ············datetime.date(2024,·11,· | 626 | ············datetime.date(2024,·11,·8) |
627 | ············datetime.date(2024,·11,· | 627 | ············datetime.date(2024,·11,·8) |
628 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 628 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(2016,·4,·2 | 637 | ············datetime.date(2016,·4,·27) |
638 | ············datetime.date(2011,·7,·3 | 638 | ············datetime.date(2011,·7,·31) |
639 | ············datetime.date(1993,·1,·2 | 639 | ············datetime.date(1993,·1,·26) |
640 | ············datetime.date(1984,·3,·15) | 640 | ············datetime.date(1984,·3,·15) |
641 | ············datetime.date(1998,·1,·17) | 641 | ············datetime.date(1998,·1,·17) |
642 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 642 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
643 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 643 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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: |
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(2006,·10,·2 | 659 | ············datetime.date(2006,·10,·22) |
660 | ············datetime.date(1996,·10,· | 660 | ············datetime.date(1996,·10,·10) |
661 | ············datetime.date(1957,·8,·2 | 661 | ············datetime.date(1957,·8,·22) |
662 | ············datetime.date(1938,·11,·2 | 662 | ············datetime.date(1938,·11,·21) |
663 | ············datetime.date(1968,·2,·2 | 663 | ············datetime.date(1968,·2,·29) |
664 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 664 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
665 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 665 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
666 | ············Gets·a·Date·object·for·the·current·century. | 666 | ············Gets·a·Date·object·for·the·current·century. |
667 | ··············Parameters: | 667 | ··············Parameters: |
668 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 668 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
669 | ························today | 669 | ························today |
670 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 670 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·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 | ············... |
681 | ············datetime.date(2020,·12,·2 | 681 | ············datetime.date(2020,·12,·26) |
682 | ············datetime.date(2018,·11,· | 682 | ············datetime.date(2018,·11,·2) |
683 | ············datetime.date(2010,·6,·14) | 683 | ············datetime.date(2010,·6,·14) |
684 | ············datetime.date(2006,·6,·8) | 684 | ············datetime.date(2006,·6,·8) |
685 | ············datetime.date(2012,·9,·1 | 685 | ············datetime.date(2012,·9,·15) |
686 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 686 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
687 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 687 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
688 | ············Gets·a·Date·object·for·the·decade·year. | 688 | ············Gets·a·Date·object·for·the·decade·year. |
689 | ··············Parameters: | 689 | ··············Parameters: |
690 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 690 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
Max diff block lines reached; 27199/34098 bytes (79.77%) 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">'Selvena'</span> | ||
133 | <span·class="go">'Malisana'</span> | ||
134 | <span·class="go">'Zevio'</span> | ||
132 | <span·class="go">' | 135 | <span·class="go">'Mutigliano'</span> |
133 | <span·class="go">'Longa'</span> | ||
134 | <span·class="go">"Sant'Andrea·Apostolo·Dello·Ionio"</span> | ||
135 | <span·class="go">' | 136 | <span·class="go">'Terranova·Sappo·Minulio'</span> |
136 | <span·class="go">'Gadana'</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.12)"><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.12)"><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 1072, 17 lines modified | Offset 1072, 17 lines modified | ||
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">'AM'</span> | 1077 | <span·class="go">'AM'</span> |
1078 | <span·class="go">'AM'</span> | 1078 | <span·class="go">'AM'</span> |
1079 | <span·class="go">'PM'</span> | ||
1080 | <span·class="go">'AM'</span> | ||
1081 | <span·class="go">'AM'</span> | 1079 | <span·class="go">'AM'</span> |
1080 | <span·class="go">'PM'</span> | ||
1081 | <span·class="go">'PM'</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.12)"><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.12)"><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, 17 lines modified | Offset 1123, 17 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">'2016-04-2 | 1130 | <span·class="go">'2016-04-27'</span> |
1131 | <span·class="go">'2011-07-3 | 1131 | <span·class="go">'2011-07-31'</span> |
1132 | <span·class="go">'1993-01-2 | 1132 | <span·class="go">'1993-01-26'</span> |
1133 | <span·class="go">'1984-03-15'</span> | 1133 | <span·class="go">'1984-03-15'</span> |
1134 | <span·class="go">'1998-01-17'</span> | 1134 | <span·class="go">'1998-01-17'</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"> |
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(2020,·3,· | 1164 | <span·class="go">datetime.date(2020,·3,·9)</span> |
1165 | <span·class="go">datetime.date(2017,·8,· | 1165 | <span·class="go">datetime.date(2017,·8,·4)</span> |
1166 | <span·class="go">datetime.date(2007,·6,·2 | 1166 | <span·class="go">datetime.date(2007,·6,·21)</span> |
1167 | <span·class="go">datetime.date(2002,·8,·1 | 1167 | <span·class="go">datetime.date(2002,·8,·15)</span> |
1168 | <span·class="go">datetime.date(2010,·3,·1 | 1168 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 1195 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1196 | <span·class="go">datetime.date(2024,·11,· | 1196 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1197 | <span·class="go">datetime.date(2024,·11,· | 1197 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1198 | <span·class="go">datetime.date(2024,·11,· | 1198 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1199 | <span·class="go">datetime.date(2024,·11,· | 1199 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 1212, 17 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(2016,·4,·2 | 1219 | <span·class="go">datetime.date(2016,·4,·27)</span> |
1220 | <span·class="go">datetime.date(2011,·7,·3 | 1220 | <span·class="go">datetime.date(2011,·7,·31)</span> |
1221 | <span·class="go">datetime.date(1993,·1,·2 | 1221 | <span·class="go">datetime.date(1993,·1,·26)</span> |
1222 | <span·class="go">datetime.date(1984,·3,·15)</span> | 1222 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1223 | <span·class="go">datetime.date(1998,·1,·17)</span> | 1223 | <span·class="go">datetime.date(1998,·1,·17)</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"> |
Offset 1248, 19 lines modified | Offset 1248, 19 lines modified | ||
1248 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1248 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1249 | <dd·class="field-even"><p></p></dd> | 1249 | <dd·class="field-even"><p></p></dd> |
1250 | </dl> | 1250 | </dl> |
1251 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1251 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1252 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1252 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1253 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1253 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
1254 | <span·class="gp">...</span> | 1254 | <span·class="gp">...</span> |
1255 | <span·class="go">datetime.date(2006,·10,·2 | 1255 | <span·class="go">datetime.date(2006,·10,·22)</span> |
Max diff block lines reached; 86928/102860 bytes (84.51%) 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 | ············'Selvena' | ||
59 | ············'Malisana' | ||
60 | ············'Zevio' | ||
58 | ············' | 61 | ············'Mutigliano' |
62 | ············'Terranova·Sappo·Minulio' | ||
59 | ············'Longa' | ||
60 | ············"Sant'Andrea·Apostolo·Dello·Ionio" | ||
61 | ············'Lipomo' | ||
62 | ············'Gadana' | ||
63 | ········city_prefix()·→·_\x8s_\x8t_\x8r_\x8¶ | 63 | ········city_prefix()·→·_\x8s_\x8t_\x8r_\x8¶ |
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 608, 17 lines modified | Offset 608, 17 lines modified | ||
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 | ············'AM' | 613 | ············'AM' |
614 | ············'AM' | 614 | ············'AM' |
615 | ············'PM' | ||
616 | ············'AM' | ||
617 | ············'AM' | 615 | ············'AM' |
616 | ············'PM' | ||
617 | ············'PM' | ||
618 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 618 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
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, 17 lines modified | Offset 638, 17 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 | ············'2016-04-2 | 645 | ············'2016-04-27' |
646 | ············'2011-07-3 | 646 | ············'2011-07-31' |
647 | ············'1993-01-2 | 647 | ············'1993-01-26' |
648 | ············'1984-03-15' | 648 | ············'1984-03-15' |
649 | ············'1998-01-17' | 649 | ············'1998-01-17' |
650 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 650 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
651 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 651 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
652 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 652 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(). |
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(2020,·3,· | 667 | ············datetime.date(2020,·3,·9) |
668 | ············datetime.date(2017,·8,· | 668 | ············datetime.date(2017,·8,·4) |
669 | ············datetime.date(2007,·6,·2 | 669 | ············datetime.date(2007,·6,·21) |
670 | ············datetime.date(2002,·8,·1 | 670 | ············datetime.date(2002,·8,·15) |
671 | ············datetime.date(2010,·3,·1 | 671 | ············datetime.date(2010,·3,·11) |
672 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 672 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
673 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 673 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
674 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 674 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 678 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 680, 31 lines modified | Offset 680, 31 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(2024,·11,· | 687 | ············datetime.date(2024,·11,·8) |
688 | ············datetime.date(2024,·11,· | 688 | ············datetime.date(2024,·11,·8) |
689 | ············datetime.date(2024,·11,· | 689 | ············datetime.date(2024,·11,·8) |
690 | ············datetime.date(2024,·11,· | 690 | ············datetime.date(2024,·11,·8) |
691 | ············datetime.date(2024,·11,· | 691 | ············datetime.date(2024,·11,·8) |
692 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 692 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(2016,·4,·2 | 701 | ············datetime.date(2016,·4,·27) |
702 | ············datetime.date(2011,·7,·3 | 702 | ············datetime.date(2011,·7,·31) |
703 | ············datetime.date(1993,·1,·2 | 703 | ············datetime.date(1993,·1,·26) |
704 | ············datetime.date(1984,·3,·15) | 704 | ············datetime.date(1984,·3,·15) |
705 | ············datetime.date(1998,·1,·17) | 705 | ············datetime.date(1998,·1,·17) |
706 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 706 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
707 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 707 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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: |
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): |
721 | ············...·····fake.date_of_birth() | 721 | ············...·····fake.date_of_birth() |
722 | ············... | 722 | ············... |
723 | ············datetime.date(2006,·10,·2 | 723 | ············datetime.date(2006,·10,·22) |
724 | ············datetime.date(1996,·10,· | 724 | ············datetime.date(1996,·10,·10) |
725 | ············datetime.date(1957,·8,·2 | 725 | ············datetime.date(1957,·8,·22) |
726 | ············datetime.date(1938,·11,·2 | 726 | ············datetime.date(1938,·11,·21) |
727 | ············datetime.date(1968,·2,·2 | 727 | ············datetime.date(1968,·2,·29) |
728 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 728 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
Max diff block lines reached; 28478/34785 bytes (81.87%) of diff not shown. |
Offset 1009, 17 lines modified | Offset 1009, 17 lines modified | ||
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">'AM'</span> | 1014 | <span·class="go">'AM'</span> |
1015 | <span·class="go">'AM'</span> | 1015 | <span·class="go">'AM'</span> |
1016 | <span·class="go">'PM'</span> | ||
1017 | <span·class="go">'AM'</span> | ||
1018 | <span·class="go">'AM'</span> | 1016 | <span·class="go">'AM'</span> |
1017 | <span·class="go">'PM'</span> | ||
1018 | <span·class="go">'PM'</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.12)"><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.12)"><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, 17 lines modified | Offset 1060, 17 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">'2016-04-2 | 1067 | <span·class="go">'2016-04-27'</span> |
1068 | <span·class="go">'2011-07-3 | 1068 | <span·class="go">'2011-07-31'</span> |
1069 | <span·class="go">'1993-01-2 | 1069 | <span·class="go">'1993-01-26'</span> |
1070 | <span·class="go">'1984-03-15'</span> | 1070 | <span·class="go">'1984-03-15'</span> |
1071 | <span·class="go">'1998-01-17'</span> | 1071 | <span·class="go">'1998-01-17'</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"> |
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(2020,·3,· | 1101 | <span·class="go">datetime.date(2020,·3,·9)</span> |
1102 | <span·class="go">datetime.date(2017,·8,· | 1102 | <span·class="go">datetime.date(2017,·8,·4)</span> |
1103 | <span·class="go">datetime.date(2007,·6,·2 | 1103 | <span·class="go">datetime.date(2007,·6,·21)</span> |
1104 | <span·class="go">datetime.date(2002,·8,·1 | 1104 | <span·class="go">datetime.date(2002,·8,·15)</span> |
1105 | <span·class="go">datetime.date(2010,·3,·1 | 1105 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 1132 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1133 | <span·class="go">datetime.date(2024,·11,· | 1133 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1134 | <span·class="go">datetime.date(2024,·11,· | 1134 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1135 | <span·class="go">datetime.date(2024,·11,· | 1135 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1136 | <span·class="go">datetime.date(2024,·11,· | 1136 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 1149, 17 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(2016,·4,·2 | 1156 | <span·class="go">datetime.date(2016,·4,·27)</span> |
1157 | <span·class="go">datetime.date(2011,·7,·3 | 1157 | <span·class="go">datetime.date(2011,·7,·31)</span> |
1158 | <span·class="go">datetime.date(1993,·1,·2 | 1158 | <span·class="go">datetime.date(1993,·1,·26)</span> |
1159 | <span·class="go">datetime.date(1984,·3,·15)</span> | 1159 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1160 | <span·class="go">datetime.date(1998,·1,·17)</span> | 1160 | <span·class="go">datetime.date(1998,·1,·17)</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"> |
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(2006,·10,·2 | 1192 | <span·class="go">datetime.date(2006,·10,·22)</span> |
1193 | <span·class="go">datetime.date(1996,·10,· | 1193 | <span·class="go">datetime.date(1996,·10,·10)</span> |
1194 | <span·class="go">datetime.date(1957,·8,·2 | 1194 | <span·class="go">datetime.date(1957,·8,·22)</span> |
1195 | <span·class="go">datetime.date(1938,·11,·2 | 1195 | <span·class="go">datetime.date(1938,·11,·21)</span> |
1196 | <span·class="go">datetime.date(1968,·2,·2 | 1196 | <span·class="go">datetime.date(1968,·2,·29)</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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> |
1219 | <dd·class="field-even"><p></p></dd> | 1219 | <dd·class="field-even"><p></p></dd> |
1220 | </dl> | 1220 | </dl> |
1221 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1221 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1222 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1222 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1223 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> | 1223 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
1224 | <span·class="gp">...</span> | 1224 | <span·class="gp">...</span> |
1225 | <span·class="go">datetime.date(2020,·12,·2 | 1225 | <span·class="go">datetime.date(2020,·12,·26)</span> |
1226 | <span·class="go">datetime.date(2018,·11,· | 1226 | <span·class="go">datetime.date(2018,·11,·2)</span> |
1227 | <span·class="go">datetime.date(2010,·6,·14)</span> | 1227 | <span·class="go">datetime.date(2010,·6,·14)</span> |
1228 | <span·class="go">datetime.date(2006,·6,·8)</span> | 1228 | <span·class="go">datetime.date(2006,·6,·8)</span> |
Max diff block lines reached; 83951/100875 bytes (83.22%) of diff not shown. |
Offset 589, 17 lines modified | Offset 589, 17 lines modified | ||
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 | ············'AM' | 594 | ············'AM' |
595 | ············'AM' | 595 | ············'AM' |
596 | ············'PM' | ||
597 | ············'AM' | ||
598 | ············'AM' | 596 | ············'AM' |
597 | ············'PM' | ||
598 | ············'PM' | ||
599 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 599 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
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, 17 lines modified | Offset 619, 17 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 | ············'2016-04-2 | 626 | ············'2016-04-27' |
627 | ············'2011-07-3 | 627 | ············'2011-07-31' |
628 | ············'1993-01-2 | 628 | ············'1993-01-26' |
629 | ············'1984-03-15' | 629 | ············'1984-03-15' |
630 | ············'1998-01-17' | 630 | ············'1998-01-17' |
631 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 631 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
632 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 632 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
633 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 633 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(). |
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(2020,·3,· | 648 | ············datetime.date(2020,·3,·9) |
649 | ············datetime.date(2017,·8,· | 649 | ············datetime.date(2017,·8,·4) |
650 | ············datetime.date(2007,·6,·2 | 650 | ············datetime.date(2007,·6,·21) |
651 | ············datetime.date(2002,·8,·1 | 651 | ············datetime.date(2002,·8,·15) |
652 | ············datetime.date(2010,·3,·1 | 652 | ············datetime.date(2010,·3,·11) |
653 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 653 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
654 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 654 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
655 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 655 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 659 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 661, 31 lines modified | Offset 661, 31 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(2024,·11,· | 668 | ············datetime.date(2024,·11,·8) |
669 | ············datetime.date(2024,·11,· | 669 | ············datetime.date(2024,·11,·8) |
670 | ············datetime.date(2024,·11,· | 670 | ············datetime.date(2024,·11,·8) |
671 | ············datetime.date(2024,·11,· | 671 | ············datetime.date(2024,·11,·8) |
672 | ············datetime.date(2024,·11,· | 672 | ············datetime.date(2024,·11,·8) |
673 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 673 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(2016,·4,·2 | 682 | ············datetime.date(2016,·4,·27) |
683 | ············datetime.date(2011,·7,·3 | 683 | ············datetime.date(2011,·7,·31) |
684 | ············datetime.date(1993,·1,·2 | 684 | ············datetime.date(1993,·1,·26) |
685 | ············datetime.date(1984,·3,·15) | 685 | ············datetime.date(1984,·3,·15) |
686 | ············datetime.date(1998,·1,·17) | 686 | ············datetime.date(1998,·1,·17) |
687 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 687 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
688 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 688 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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: |
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(2006,·10,·2 | 704 | ············datetime.date(2006,·10,·22) |
705 | ············datetime.date(1996,·10,· | 705 | ············datetime.date(1996,·10,·10) |
706 | ············datetime.date(1957,·8,·2 | 706 | ············datetime.date(1957,·8,·22) |
707 | ············datetime.date(1938,·11,·2 | 707 | ············datetime.date(1938,·11,·21) |
708 | ············datetime.date(1968,·2,·2 | 708 | ············datetime.date(1968,·2,·29) |
709 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 709 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
710 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 710 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
711 | ············Gets·a·Date·object·for·the·current·century. | 711 | ············Gets·a·Date·object·for·the·current·century. |
712 | ··············Parameters: | 712 | ··············Parameters: |
713 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 713 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
714 | ························today | 714 | ························today |
715 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 715 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·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 | ············... |
726 | ············datetime.date(2020,·12,·2 | 726 | ············datetime.date(2020,·12,·26) |
727 | ············datetime.date(2018,·11,· | 727 | ············datetime.date(2018,·11,·2) |
728 | ············datetime.date(2010,·6,·14) | 728 | ············datetime.date(2010,·6,·14) |
729 | ············datetime.date(2006,·6,·8) | 729 | ············datetime.date(2006,·6,·8) |
730 | ············datetime.date(2012,·9,·1 | 730 | ············datetime.date(2012,·9,·15) |
731 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 731 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
732 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 732 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
733 | ············Gets·a·Date·object·for·the·decade·year. | 733 | ············Gets·a·Date·object·for·the·decade·year. |
734 | ··············Parameters: | 734 | ··············Parameters: |
735 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 735 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
Max diff block lines reached; 27178/34077 bytes (79.75%) of diff not shown. |
Offset 900, 17 lines modified | Offset 900, 17 lines modified | ||
900 | </dl> | 900 | </dl> |
901 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 901 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">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 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 902 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</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="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 903 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
904 | <span·class="gp">...</span> | 904 | <span·class="gp">...</span> |
905 | <span·class="go">'AM'</span> | 905 | <span·class="go">'AM'</span> |
906 | <span·class="go">'AM'</span> | 906 | <span·class="go">'AM'</span> |
907 | <span·class="go">'PM'</span> | ||
908 | <span·class="go">'AM'</span> | ||
909 | <span·class="go">'AM'</span> | 907 | <span·class="go">'AM'</span> |
908 | <span·class="go">'PM'</span> | ||
909 | <span·class="go">'PM'</span> | ||
910 | </pre></div> | 910 | </pre></div> |
911 | </div> | 911 | </div> |
912 | </dd></dl> | 912 | </dd></dl> |
913 | <dl·class="py·method"> | 913 | <dl·class="py·method"> |
914 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ko_KR.Provider.century"> | 914 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ko_KR.Provider.century"> |
915 | <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.12)"><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> | 915 | <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.12)"><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 951, 17 lines modified | Offset 951, 17 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</span><span·class="p">()</span> | 956 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
957 | <span·class="gp">...</span> | 957 | <span·class="gp">...</span> |
958 | <span·class="go">'2016-04-2 | 958 | <span·class="go">'2016-04-27'</span> |
959 | <span·class="go">'2011-07-3 | 959 | <span·class="go">'2011-07-31'</span> |
960 | <span·class="go">'1993-01-2 | 960 | <span·class="go">'1993-01-26'</span> |
961 | <span·class="go">'1984-03-15'</span> | 961 | <span·class="go">'1984-03-15'</span> |
962 | <span·class="go">'1998-01-17'</span> | 962 | <span·class="go">'1998-01-17'</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"> |
Offset 985, 19 lines modified | Offset 985, 19 lines modified | ||
985 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 985 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
986 | <dd·class="field-even"><p></p></dd> | 986 | <dd·class="field-even"><p></p></dd> |
987 | </dl> | 987 | </dl> |
988 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 988 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
989 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 989 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
990 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 990 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
991 | <span·class="gp">...</span> | 991 | <span·class="gp">...</span> |
992 | <span·class="go">datetime.date(2020,·3,· | 992 | <span·class="go">datetime.date(2020,·3,·9)</span> |
993 | <span·class="go">datetime.date(2017,·8,· | 993 | <span·class="go">datetime.date(2017,·8,·4)</span> |
994 | <span·class="go">datetime.date(2007,·6,·2 | 994 | <span·class="go">datetime.date(2007,·6,·21)</span> |
995 | <span·class="go">datetime.date(2002,·8,·1 | 995 | <span·class="go">datetime.date(2002,·8,·15)</span> |
996 | <span·class="go">datetime.date(2010,·3,·1 | 996 | <span·class="go">datetime.date(2010,·3,·11)</span> |
997 | </pre></div> | 997 | </pre></div> |
998 | </div> | 998 | </div> |
999 | </dd></dl> | 999 | </dd></dl> |
1000 | <dl·class="py·method"> | 1000 | <dl·class="py·method"> |
1001 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ko_KR.Provider.date_between_dates"> | 1001 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ko_KR.Provider.date_between_dates"> |
1002 | <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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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> | 1002 | <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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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 1016, 19 lines modified | Offset 1016, 19 lines modified | ||
1016 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1016 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1017 | <dd·class="field-odd"><p></p></dd> | 1017 | <dd·class="field-odd"><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_between_dates</span><span·class="p">()</span> | 1021 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
1022 | <span·class="gp">...</span> | 1022 | <span·class="gp">...</span> |
1023 | <span·class="go">datetime.date(2024,·11,· | 1023 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1024 | <span·class="go">datetime.date(2024,·11,· | 1024 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1025 | <span·class="go">datetime.date(2024,·11,· | 1025 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1026 | <span·class="go">datetime.date(2024,·11,· | 1026 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1027 | <span·class="go">datetime.date(2024,·11,· | 1027 | <span·class="go">datetime.date(2024,·11,·8)</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.ko_KR.Provider.date_object"> | 1032 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ko_KR.Provider.date_object"> |
1033 | <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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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> | 1033 | <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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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 1040, 17 lines modified | Offset 1040, 17 lines modified | ||
1040 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1040 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1041 | <dd·class="field-even"><p></p></dd> | 1041 | <dd·class="field-even"><p></p></dd> |
1042 | </dl> | 1042 | </dl> |
1043 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1043 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1044 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1044 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1045 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1045 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
1046 | <span·class="gp">...</span> | 1046 | <span·class="gp">...</span> |
1047 | <span·class="go">datetime.date(2016,·4,·2 | 1047 | <span·class="go">datetime.date(2016,·4,·27)</span> |
1048 | <span·class="go">datetime.date(2011,·7,·3 | 1048 | <span·class="go">datetime.date(2011,·7,·31)</span> |
1049 | <span·class="go">datetime.date(1993,·1,·2 | 1049 | <span·class="go">datetime.date(1993,·1,·26)</span> |
1050 | <span·class="go">datetime.date(1984,·3,·15)</span> | 1050 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1051 | <span·class="go">datetime.date(1998,·1,·17)</span> | 1051 | <span·class="go">datetime.date(1998,·1,·17)</span> |
1052 | </pre></div> | 1052 | </pre></div> |
1053 | </div> | 1053 | </div> |
1054 | </dd></dl> | 1054 | </dd></dl> |
1055 | <dl·class="py·method"> | 1055 | <dl·class="py·method"> |
Offset 1076, 19 lines modified | Offset 1076, 19 lines modified | ||
1076 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1076 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1077 | <dd·class="field-even"><p></p></dd> | 1077 | <dd·class="field-even"><p></p></dd> |
1078 | </dl> | 1078 | </dl> |
1079 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1079 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1080 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1080 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1081 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1081 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
1082 | <span·class="gp">...</span> | 1082 | <span·class="gp">...</span> |
1083 | <span·class="go">datetime.date(2006,·10,·2 | 1083 | <span·class="go">datetime.date(2006,·10,·22)</span> |
1084 | <span·class="go">datetime.date(1996,·10,· | 1084 | <span·class="go">datetime.date(1996,·10,·10)</span> |
1085 | <span·class="go">datetime.date(1957,·8,·2 | 1085 | <span·class="go">datetime.date(1957,·8,·22)</span> |
1086 | <span·class="go">datetime.date(1938,·11,·2 | 1086 | <span·class="go">datetime.date(1938,·11,·21)</span> |
1087 | <span·class="go">datetime.date(1968,·2,·2 | 1087 | <span·class="go">datetime.date(1968,·2,·29)</span> |
1088 | </pre></div> | 1088 | </pre></div> |
1089 | </div> | 1089 | </div> |
1090 | </dd></dl> | 1090 | </dd></dl> |
1091 | <dl·class="py·method"> | 1091 | <dl·class="py·method"> |
1092 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ko_KR.Provider.date_this_century"> | 1092 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ko_KR.Provider.date_this_century"> |
1093 | <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.12)"><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.12)"><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.12)"><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> | 1093 | <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.12)"><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.12)"><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.12)"><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 1109, 19 lines modified | Offset 1109, 19 lines modified | ||
1109 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1109 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1110 | <dd·class="field-even"><p></p></dd> | 1110 | <dd·class="field-even"><p></p></dd> |
1111 | </dl> | 1111 | </dl> |
1112 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1112 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1113 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1113 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1114 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> | 1114 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
1115 | <span·class="gp">...</span> | 1115 | <span·class="gp">...</span> |
1116 | <span·class="go">datetime.date(2020,·12,·2 | 1116 | <span·class="go">datetime.date(2020,·12,·26)</span> |
1117 | <span·class="go">datetime.date(2018,·11,· | 1117 | <span·class="go">datetime.date(2018,·11,·2)</span> |
1118 | <span·class="go">datetime.date(2010,·6,·14)</span> | 1118 | <span·class="go">datetime.date(2010,·6,·14)</span> |
1119 | <span·class="go">datetime.date(2006,·6,·8)</span> | 1119 | <span·class="go">datetime.date(2006,·6,·8)</span> |
Max diff block lines reached; 83962/100880 bytes (83.23%) of diff not shown. |
Offset 483, 17 lines modified | Offset 483, 17 lines modified | ||
483 | ··············Examples: | 483 | ··············Examples: |
484 | ············>>>·Faker.seed(0) | 484 | ············>>>·Faker.seed(0) |
485 | ············>>>·for·_·in·range(5): | 485 | ············>>>·for·_·in·range(5): |
486 | ············...·····fake.am_pm() | 486 | ············...·····fake.am_pm() |
487 | ············... | 487 | ············... |
488 | ············'AM' | 488 | ············'AM' |
489 | ············'AM' | 489 | ············'AM' |
490 | ············'PM' | ||
491 | ············'AM' | ||
492 | ············'AM' | 490 | ············'AM' |
491 | ············'PM' | ||
492 | ············'PM' | ||
493 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 493 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
494 | ··············Example: | 494 | ··············Example: |
495 | ··················‘XVII’ | 495 | ··················‘XVII’ |
496 | ··············Examples: | 496 | ··············Examples: |
497 | ············>>>·Faker.seed(0) | 497 | ············>>>·Faker.seed(0) |
498 | ············>>>·for·_·in·range(5): | 498 | ············>>>·for·_·in·range(5): |
499 | ············...·····fake.century() | 499 | ············...·····fake.century() |
Offset 513, 17 lines modified | Offset 513, 17 lines modified | ||
513 | ··············Returns: | 513 | ··············Returns: |
514 | ··················Date | 514 | ··················Date |
515 | ··············Examples: | 515 | ··············Examples: |
516 | ············>>>·Faker.seed(0) | 516 | ············>>>·Faker.seed(0) |
517 | ············>>>·for·_·in·range(5): | 517 | ············>>>·for·_·in·range(5): |
518 | ············...·····fake.date() | 518 | ············...·····fake.date() |
519 | ············... | 519 | ············... |
520 | ············'2016-04-2 | 520 | ············'2016-04-27' |
521 | ············'2011-07-3 | 521 | ············'2011-07-31' |
522 | ············'1993-01-2 | 522 | ············'1993-01-26' |
523 | ············'1984-03-15' | 523 | ············'1984-03-15' |
524 | ············'1998-01-17' | 524 | ············'1998-01-17' |
525 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 525 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
526 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 526 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
527 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 527 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
528 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 528 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
529 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 529 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
Offset 535, 19 lines modified | Offset 535, 19 lines modified | ||
535 | ··············Returns: | 535 | ··············Returns: |
536 | ··················Date | 536 | ··················Date |
537 | ··············Examples: | 537 | ··············Examples: |
538 | ············>>>·Faker.seed(0) | 538 | ············>>>·Faker.seed(0) |
539 | ············>>>·for·_·in·range(5): | 539 | ············>>>·for·_·in·range(5): |
540 | ············...·····fake.date_between() | 540 | ············...·····fake.date_between() |
541 | ············... | 541 | ············... |
542 | ············datetime.date(2020,·3,· | 542 | ············datetime.date(2020,·3,·9) |
543 | ············datetime.date(2017,·8,· | 543 | ············datetime.date(2017,·8,·4) |
544 | ············datetime.date(2007,·6,·2 | 544 | ············datetime.date(2007,·6,·21) |
545 | ············datetime.date(2002,·8,·1 | 545 | ············datetime.date(2002,·8,·15) |
546 | ············datetime.date(2010,·3,·1 | 546 | ············datetime.date(2010,·3,·11) |
547 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 547 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
548 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 548 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
549 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 549 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
550 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 550 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
551 | ············given·dates.·Accepts·Date·or·datetime·objects | 551 | ············given·dates.·Accepts·Date·or·datetime·objects |
552 | ··············Parameters: | 552 | ··············Parameters: |
553 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 553 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 555, 31 lines modified | Offset 555, 31 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_dates() | 560 | ············...·····fake.date_between_dates() |
561 | ············... | 561 | ············... |
562 | ············datetime.date(2024,·11,· | 562 | ············datetime.date(2024,·11,·8) |
563 | ············datetime.date(2024,·11,· | 563 | ············datetime.date(2024,·11,·8) |
564 | ············datetime.date(2024,·11,· | 564 | ············datetime.date(2024,·11,·8) |
565 | ············datetime.date(2024,·11,· | 565 | ············datetime.date(2024,·11,·8) |
566 | ············datetime.date(2024,·11,· | 566 | ············datetime.date(2024,·11,·8) |
567 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 567 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
568 | ············Get·a·date·object·between·January·1,·1970·and·now | 568 | ············Get·a·date·object·between·January·1,·1970·and·now |
569 | ··············Example: | 569 | ··············Example: |
570 | ··················datetime.date(2016,·9,·20) | 570 | ··················datetime.date(2016,·9,·20) |
571 | ··············Examples: | 571 | ··············Examples: |
572 | ············>>>·Faker.seed(0) | 572 | ············>>>·Faker.seed(0) |
573 | ············>>>·for·_·in·range(5): | 573 | ············>>>·for·_·in·range(5): |
574 | ············...·····fake.date_object() | 574 | ············...·····fake.date_object() |
575 | ············... | 575 | ············... |
576 | ············datetime.date(2016,·4,·2 | 576 | ············datetime.date(2016,·4,·27) |
577 | ············datetime.date(2011,·7,·3 | 577 | ············datetime.date(2011,·7,·31) |
578 | ············datetime.date(1993,·1,·2 | 578 | ············datetime.date(1993,·1,·26) |
579 | ············datetime.date(1984,·3,·15) | 579 | ············datetime.date(1984,·3,·15) |
580 | ············datetime.date(1998,·1,·17) | 580 | ············datetime.date(1998,·1,·17) |
581 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 581 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
582 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 582 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
583 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 583 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
584 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 584 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
585 | ··············Parameters: | 585 | ··············Parameters: |
Offset 591, 19 lines modified | Offset 591, 19 lines modified | ||
591 | ··············Returns: | 591 | ··············Returns: |
592 | ··················Date | 592 | ··················Date |
593 | ··············Examples: | 593 | ··············Examples: |
594 | ············>>>·Faker.seed(0) | 594 | ············>>>·Faker.seed(0) |
595 | ············>>>·for·_·in·range(5): | 595 | ············>>>·for·_·in·range(5): |
596 | ············...·····fake.date_of_birth() | 596 | ············...·····fake.date_of_birth() |
597 | ············... | 597 | ············... |
598 | ············datetime.date(2006,·10,·2 | 598 | ············datetime.date(2006,·10,·22) |
599 | ············datetime.date(1996,·10,· | 599 | ············datetime.date(1996,·10,·10) |
600 | ············datetime.date(1957,·8,·2 | 600 | ············datetime.date(1957,·8,·22) |
601 | ············datetime.date(1938,·11,·2 | 601 | ············datetime.date(1938,·11,·21) |
602 | ············datetime.date(1968,·2,·2 | 602 | ············datetime.date(1968,·2,·29) |
603 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 603 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
604 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 604 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
605 | ············Gets·a·Date·object·for·the·current·century. | 605 | ············Gets·a·Date·object·for·the·current·century. |
606 | ··············Parameters: | 606 | ··············Parameters: |
607 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 607 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
608 | ························today | 608 | ························today |
609 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 609 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 613, 19 lines modified | Offset 613, 19 lines modified | ||
613 | ··············Returns: | 613 | ··············Returns: |
614 | ··················Date | 614 | ··················Date |
615 | ··············Examples: | 615 | ··············Examples: |
616 | ············>>>·Faker.seed(0) | 616 | ············>>>·Faker.seed(0) |
617 | ············>>>·for·_·in·range(5): | 617 | ············>>>·for·_·in·range(5): |
618 | ············...·····fake.date_this_century() | 618 | ············...·····fake.date_this_century() |
619 | ············... | 619 | ············... |
620 | ············datetime.date(2020,·12,·2 | 620 | ············datetime.date(2020,·12,·26) |
621 | ············datetime.date(2018,·11,· | 621 | ············datetime.date(2018,·11,·2) |
622 | ············datetime.date(2010,·6,·14) | 622 | ············datetime.date(2010,·6,·14) |
623 | ············datetime.date(2006,·6,·8) | 623 | ············datetime.date(2006,·6,·8) |
624 | ············datetime.date(2012,·9,·1 | 624 | ············datetime.date(2012,·9,·15) |
625 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 625 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
626 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 626 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
627 | ············Gets·a·Date·object·for·the·decade·year. | 627 | ············Gets·a·Date·object·for·the·decade·year. |
628 | ··············Parameters: | 628 | ··············Parameters: |
629 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 629 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
Max diff block lines reached; 27183/34082 bytes (79.76%) 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">'250955-18874'</span> |
573 | <span·class="go">'2 | 573 | <span·class="go">'240549-11528'</span> |
574 | <span·class="go">'2 | 574 | <span·class="go">'260578-16349'</span> |
575 | <span·class="go">' | 575 | <span·class="go">'010937-15253'</span> |
576 | <span·class="go">'0 | 576 | <span·class="go">'080670-15992'</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.12)"><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.12)"><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 | ············'250955-18874' |
300 | ············'2 | 300 | ············'240549-11528' |
301 | ············'2 | 301 | ············'260578-16349' |
302 | ············' | 302 | ············'010937-15253' |
303 | ············'0 | 303 | ············'080670-15992' |
304 | ········vat_id()·→·_\x8s_\x8t_\x8r_\x8¶ | 304 | ········vat_id()·→·_\x8s_\x8t_\x8r_\x8¶ |
305 | ············_\x8h_\x8t_\x8t_\x8p_\x8:_\x8/_\x8/_\x8e_\x8c_\x8._\x8e_\x8u_\x8r_\x8o_\x8p_\x8a_\x8._\x8e_\x8u_\x8/_\x8t_\x8a_\x8x_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8c_\x8u_\x8s_\x8t_\x8o_\x8m_\x8s_\x8/_\x8v_\x8i_\x8e_\x8s_\x8/_\x8f_\x8a_\x8q_\x8._\x8h_\x8t_\x8m_\x8l_\x8#_\x8i_\x8t_\x8e_\x8m_\x8__\x81_\x81·:return: | 305 | ············_\x8h_\x8t_\x8t_\x8p_\x8:_\x8/_\x8/_\x8e_\x8c_\x8._\x8e_\x8u_\x8r_\x8o_\x8p_\x8a_\x8._\x8e_\x8u_\x8/_\x8t_\x8a_\x8x_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8c_\x8u_\x8s_\x8t_\x8o_\x8m_\x8s_\x8/_\x8v_\x8i_\x8e_\x8s_\x8/_\x8f_\x8a_\x8q_\x8._\x8h_\x8t_\x8m_\x8l_\x8#_\x8i_\x8t_\x8e_\x8m_\x8__\x81_\x81·: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">'16042 | 1804 | <span·class="go">'16042777767'</span> |
1805 | <span·class="go">'181 | 1805 | <span·class="go">'18110104224'</span> |
1806 | <span·class="go">'84031552435'</span> | 1806 | <span·class="go">'84031552435'</span> |
1807 | <span·class="go">'96082794130'</span> | 1807 | <span·class="go">'96082794130'</span> |
1808 | <span·class="go">'12122 | 1808 | <span·class="go">'12122931157'</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.12)"><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.12)"><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 1337, 19 lines modified | Offset 1337, 19 lines modified | ||
1337 | ············born·in·or·after·2000,·the·9·digit·number·needs·to·be·proceeded·by | 1337 | ············born·in·or·after·2000,·the·9·digit·number·needs·to·be·proceeded·by |
1338 | ············a·2·(add·2000000000)·before·the·division·by·97. | 1338 | ············a·2·(add·2000000000)·before·the·division·by·97. |
1339 | ··············Examples: | 1339 | ··············Examples: |
1340 | ············>>>·Faker.seed(0) | 1340 | ············>>>·Faker.seed(0) |
1341 | ············>>>·for·_·in·range(5): | 1341 | ············>>>·for·_·in·range(5): |
1342 | ············...·····fake.ssn() | 1342 | ············...·····fake.ssn() |
1343 | ············... | 1343 | ············... |
1344 | ············'16042 | 1344 | ············'16042777767' |
1345 | ············'181 | 1345 | ············'18110104224' |
1346 | ············'84031552435' | 1346 | ············'84031552435' |
1347 | ············'96082794130' | 1347 | ············'96082794130' |
1348 | ············'12122 | 1348 | ············'12122931157' |
1349 | ········vat_id()·→·_\x8s_\x8t_\x8r_\x8¶ | 1349 | ········vat_id()·→·_\x8s_\x8t_\x8r_\x8¶ |
1350 | ··············Examples: | 1350 | ··············Examples: |
1351 | ············>>>·Faker.seed(0) | 1351 | ············>>>·Faker.seed(0) |
1352 | ············>>>·for·_·in·range(5): | 1352 | ············>>>·for·_·in·range(5): |
1353 | ············...·····fake.vat_id() | 1353 | ············...·····fake.vat_id() |
1354 | ············... | 1354 | ············... |
1355 | ············'BE1604876480' | 1355 | ············'BE1604876480' |
Offset 1060, 17 lines modified | Offset 1060, 17 lines modified | ||
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">'AM'</span> | 1065 | <span·class="go">'AM'</span> |
1066 | <span·class="go">'AM'</span> | 1066 | <span·class="go">'AM'</span> |
1067 | <span·class="go">'PM'</span> | ||
1068 | <span·class="go">'AM'</span> | ||
1069 | <span·class="go">'AM'</span> | 1067 | <span·class="go">'AM'</span> |
1068 | <span·class="go">'PM'</span> | ||
1069 | <span·class="go">'PM'</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.12)"><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.12)"><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, 17 lines modified | Offset 1111, 17 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">'2016-04-2 | 1118 | <span·class="go">'2016-04-27'</span> |
1119 | <span·class="go">'2011-07-3 | 1119 | <span·class="go">'2011-07-31'</span> |
1120 | <span·class="go">'1993-01-2 | 1120 | <span·class="go">'1993-01-26'</span> |
1121 | <span·class="go">'1984-03-15'</span> | 1121 | <span·class="go">'1984-03-15'</span> |
1122 | <span·class="go">'1998-01-17'</span> | 1122 | <span·class="go">'1998-01-17'</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"> |
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(2020,·3,· | 1152 | <span·class="go">datetime.date(2020,·3,·9)</span> |
1153 | <span·class="go">datetime.date(2017,·8,· | 1153 | <span·class="go">datetime.date(2017,·8,·4)</span> |
1154 | <span·class="go">datetime.date(2007,·6,·2 | 1154 | <span·class="go">datetime.date(2007,·6,·21)</span> |
1155 | <span·class="go">datetime.date(2002,·8,·1 | 1155 | <span·class="go">datetime.date(2002,·8,·15)</span> |
1156 | <span·class="go">datetime.date(2010,·3,·1 | 1156 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 1183 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1184 | <span·class="go">datetime.date(2024,·11,· | 1184 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1185 | <span·class="go">datetime.date(2024,·11,· | 1185 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1186 | <span·class="go">datetime.date(2024,·11,· | 1186 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1187 | <span·class="go">datetime.date(2024,·11,· | 1187 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 1200, 17 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(2016,·4,·2 | 1207 | <span·class="go">datetime.date(2016,·4,·27)</span> |
1208 | <span·class="go">datetime.date(2011,·7,·3 | 1208 | <span·class="go">datetime.date(2011,·7,·31)</span> |
1209 | <span·class="go">datetime.date(1993,·1,·2 | 1209 | <span·class="go">datetime.date(1993,·1,·26)</span> |
1210 | <span·class="go">datetime.date(1984,·3,·15)</span> | 1210 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1211 | <span·class="go">datetime.date(1998,·1,·17)</span> | 1211 | <span·class="go">datetime.date(1998,·1,·17)</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"> |
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(2006,·10,·2 | 1243 | <span·class="go">datetime.date(2006,·10,·22)</span> |
1244 | <span·class="go">datetime.date(1996,·10,· | 1244 | <span·class="go">datetime.date(1996,·10,·10)</span> |
1245 | <span·class="go">datetime.date(1957,·8,·2 | 1245 | <span·class="go">datetime.date(1957,·8,·22)</span> |
1246 | <span·class="go">datetime.date(1938,·11,·2 | 1246 | <span·class="go">datetime.date(1938,·11,·21)</span> |
1247 | <span·class="go">datetime.date(1968,·2,·2 | 1247 | <span·class="go">datetime.date(1968,·2,·29)</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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> |
1270 | <dd·class="field-even"><p></p></dd> | 1270 | <dd·class="field-even"><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">date_this_century</span><span·class="p">()</span> | 1274 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
1275 | <span·class="gp">...</span> | 1275 | <span·class="gp">...</span> |
1276 | <span·class="go">datetime.date(2020,·12,·2 | 1276 | <span·class="go">datetime.date(2020,·12,·26)</span> |
1277 | <span·class="go">datetime.date(2018,·11,· | 1277 | <span·class="go">datetime.date(2018,·11,·2)</span> |
1278 | <span·class="go">datetime.date(2010,·6,·14)</span> | 1278 | <span·class="go">datetime.date(2010,·6,·14)</span> |
1279 | <span·class="go">datetime.date(2006,·6,·8)</span> | 1279 | <span·class="go">datetime.date(2006,·6,·8)</span> |
Max diff block lines reached; 83987/100911 bytes (83.23%) of diff not shown. |
Offset 604, 17 lines modified | Offset 604, 17 lines modified | ||
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 | ············'AM' | 609 | ············'AM' |
610 | ············'AM' | 610 | ············'AM' |
611 | ············'PM' | ||
612 | ············'AM' | ||
613 | ············'AM' | 611 | ············'AM' |
612 | ············'PM' | ||
613 | ············'PM' | ||
614 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 614 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
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, 17 lines modified | Offset 634, 17 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 | ············'2016-04-2 | 641 | ············'2016-04-27' |
642 | ············'2011-07-3 | 642 | ············'2011-07-31' |
643 | ············'1993-01-2 | 643 | ············'1993-01-26' |
644 | ············'1984-03-15' | 644 | ············'1984-03-15' |
645 | ············'1998-01-17' | 645 | ············'1998-01-17' |
646 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 646 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
647 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 647 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
648 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 648 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(). |
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(2020,·3,· | 663 | ············datetime.date(2020,·3,·9) |
664 | ············datetime.date(2017,·8,· | 664 | ············datetime.date(2017,·8,·4) |
665 | ············datetime.date(2007,·6,·2 | 665 | ············datetime.date(2007,·6,·21) |
666 | ············datetime.date(2002,·8,·1 | 666 | ············datetime.date(2002,·8,·15) |
667 | ············datetime.date(2010,·3,·1 | 667 | ············datetime.date(2010,·3,·11) |
668 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 668 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
669 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 669 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
670 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 670 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 674 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 676, 31 lines modified | Offset 676, 31 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(2024,·11,· | 683 | ············datetime.date(2024,·11,·8) |
684 | ············datetime.date(2024,·11,· | 684 | ············datetime.date(2024,·11,·8) |
685 | ············datetime.date(2024,·11,· | 685 | ············datetime.date(2024,·11,·8) |
686 | ············datetime.date(2024,·11,· | 686 | ············datetime.date(2024,·11,·8) |
687 | ············datetime.date(2024,·11,· | 687 | ············datetime.date(2024,·11,·8) |
688 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 688 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(2016,·4,·2 | 697 | ············datetime.date(2016,·4,·27) |
698 | ············datetime.date(2011,·7,·3 | 698 | ············datetime.date(2011,·7,·31) |
699 | ············datetime.date(1993,·1,·2 | 699 | ············datetime.date(1993,·1,·26) |
700 | ············datetime.date(1984,·3,·15) | 700 | ············datetime.date(1984,·3,·15) |
701 | ············datetime.date(1998,·1,·17) | 701 | ············datetime.date(1998,·1,·17) |
702 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 702 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
703 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 703 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
704 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 704 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
705 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 705 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
706 | ··············Parameters: | 706 | ··············Parameters: |
Offset 712, 19 lines modified | Offset 712, 19 lines modified | ||
712 | ··············Returns: | 712 | ··············Returns: |
713 | ··················Date | 713 | ··················Date |
714 | ··············Examples: | 714 | ··············Examples: |
715 | ············>>>·Faker.seed(0) | 715 | ············>>>·Faker.seed(0) |
716 | ············>>>·for·_·in·range(5): | 716 | ············>>>·for·_·in·range(5): |
717 | ············...·····fake.date_of_birth() | 717 | ············...·····fake.date_of_birth() |
718 | ············... | 718 | ············... |
719 | ············datetime.date(2006,·10,·2 | 719 | ············datetime.date(2006,·10,·22) |
720 | ············datetime.date(1996,·10,· | 720 | ············datetime.date(1996,·10,·10) |
721 | ············datetime.date(1957,·8,·2 | 721 | ············datetime.date(1957,·8,·22) |
722 | ············datetime.date(1938,·11,·2 | 722 | ············datetime.date(1938,·11,·21) |
723 | ············datetime.date(1968,·2,·2 | 723 | ············datetime.date(1968,·2,·29) |
724 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 724 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
725 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 725 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
726 | ············Gets·a·Date·object·for·the·current·century. | 726 | ············Gets·a·Date·object·for·the·current·century. |
727 | ··············Parameters: | 727 | ··············Parameters: |
728 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 728 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
729 | ························today | 729 | ························today |
730 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 730 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 734, 19 lines modified | Offset 734, 19 lines modified | ||
734 | ··············Returns: | 734 | ··············Returns: |
735 | ··················Date | 735 | ··················Date |
736 | ··············Examples: | 736 | ··············Examples: |
737 | ············>>>·Faker.seed(0) | 737 | ············>>>·Faker.seed(0) |
738 | ············>>>·for·_·in·range(5): | 738 | ············>>>·for·_·in·range(5): |
739 | ············...·····fake.date_this_century() | 739 | ············...·····fake.date_this_century() |
740 | ············... | 740 | ············... |
741 | ············datetime.date(2020,·12,·2 | 741 | ············datetime.date(2020,·12,·26) |
742 | ············datetime.date(2018,·11,· | 742 | ············datetime.date(2018,·11,·2) |
743 | ············datetime.date(2010,·6,·14) | 743 | ············datetime.date(2010,·6,·14) |
744 | ············datetime.date(2006,·6,·8) | 744 | ············datetime.date(2006,·6,·8) |
745 | ············datetime.date(2012,·9,·1 | 745 | ············datetime.date(2012,·9,·15) |
746 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 746 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
747 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 747 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
748 | ············Gets·a·Date·object·for·the·decade·year. | 748 | ············Gets·a·Date·object·for·the·decade·year. |
749 | ··············Parameters: | 749 | ··············Parameters: |
750 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 750 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
Max diff block lines reached; 27204/34103 bytes (79.77%) of diff not shown. |
Offset 759, 17 lines modified | Offset 759, 17 lines modified | ||
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">'AM'</span> | 764 | <span·class="go">'AM'</span> |
765 | <span·class="go">'AM'</span> | 765 | <span·class="go">'AM'</span> |
766 | <span·class="go">'PM'</span> | ||
767 | <span·class="go">'AM'</span> | ||
768 | <span·class="go">'AM'</span> | 766 | <span·class="go">'AM'</span> |
767 | <span·class="go">'PM'</span> | ||
768 | <span·class="go">'PM'</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.12)"><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.12)"><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, 17 lines modified | Offset 810, 17 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">'2016-04-2 | 817 | <span·class="go">'2016-04-27'</span> |
818 | <span·class="go">'2011-07-3 | 818 | <span·class="go">'2011-07-31'</span> |
819 | <span·class="go">'1993-01-2 | 819 | <span·class="go">'1993-01-26'</span> |
820 | <span·class="go">'1984-03-15'</span> | 820 | <span·class="go">'1984-03-15'</span> |
821 | <span·class="go">'1998-01-17'</span> | 821 | <span·class="go">'1998-01-17'</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"> |
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(2020,·3,· | 851 | <span·class="go">datetime.date(2020,·3,·9)</span> |
852 | <span·class="go">datetime.date(2017,·8,· | 852 | <span·class="go">datetime.date(2017,·8,·4)</span> |
853 | <span·class="go">datetime.date(2007,·6,·2 | 853 | <span·class="go">datetime.date(2007,·6,·21)</span> |
854 | <span·class="go">datetime.date(2002,·8,·1 | 854 | <span·class="go">datetime.date(2002,·8,·15)</span> |
855 | <span·class="go">datetime.date(2010,·3,·1 | 855 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 882 | <span·class="go">datetime.date(2024,·11,·8)</span> |
883 | <span·class="go">datetime.date(2024,·11,· | 883 | <span·class="go">datetime.date(2024,·11,·8)</span> |
884 | <span·class="go">datetime.date(2024,·11,· | 884 | <span·class="go">datetime.date(2024,·11,·8)</span> |
885 | <span·class="go">datetime.date(2024,·11,· | 885 | <span·class="go">datetime.date(2024,·11,·8)</span> |
886 | <span·class="go">datetime.date(2024,·11,· | 886 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 899, 17 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(2016,·4,·2 | 906 | <span·class="go">datetime.date(2016,·4,·27)</span> |
907 | <span·class="go">datetime.date(2011,·7,·3 | 907 | <span·class="go">datetime.date(2011,·7,·31)</span> |
908 | <span·class="go">datetime.date(1993,·1,·2 | 908 | <span·class="go">datetime.date(1993,·1,·26)</span> |
909 | <span·class="go">datetime.date(1984,·3,·15)</span> | 909 | <span·class="go">datetime.date(1984,·3,·15)</span> |
910 | <span·class="go">datetime.date(1998,·1,·17)</span> | 910 | <span·class="go">datetime.date(1998,·1,·17)</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"> |
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(2006,·10,·2 | 942 | <span·class="go">datetime.date(2006,·10,·22)</span> |
943 | <span·class="go">datetime.date(1996,·10,· | 943 | <span·class="go">datetime.date(1996,·10,·10)</span> |
944 | <span·class="go">datetime.date(1957,·8,·2 | 944 | <span·class="go">datetime.date(1957,·8,·22)</span> |
945 | <span·class="go">datetime.date(1938,·11,·2 | 945 | <span·class="go">datetime.date(1938,·11,·21)</span> |
946 | <span·class="go">datetime.date(1968,·2,·2 | 946 | <span·class="go">datetime.date(1968,·2,·29)</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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> |
969 | <dd·class="field-even"><p></p></dd> | 969 | <dd·class="field-even"><p></p></dd> |
970 | </dl> | 970 | </dl> |
971 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 971 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
972 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 972 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
973 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> | 973 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
974 | <span·class="gp">...</span> | 974 | <span·class="gp">...</span> |
975 | <span·class="go">datetime.date(2020,·12,·2 | 975 | <span·class="go">datetime.date(2020,·12,·26)</span> |
976 | <span·class="go">datetime.date(2018,·11,· | 976 | <span·class="go">datetime.date(2018,·11,·2)</span> |
977 | <span·class="go">datetime.date(2010,·6,·14)</span> | 977 | <span·class="go">datetime.date(2010,·6,·14)</span> |
978 | <span·class="go">datetime.date(2006,·6,·8)</span> | 978 | <span·class="go">datetime.date(2006,·6,·8)</span> |
Max diff block lines reached; 85313/102223 bytes (83.46%) of diff not shown. |
Offset 436, 17 lines modified | Offset 436, 17 lines modified | ||
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 | ············'AM' | 441 | ············'AM' |
442 | ············'AM' | 442 | ············'AM' |
443 | ············'PM' | ||
444 | ············'AM' | ||
445 | ············'AM' | 443 | ············'AM' |
444 | ············'PM' | ||
445 | ············'PM' | ||
446 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 446 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
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, 17 lines modified | Offset 466, 17 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 | ············'2016-04-2 | 473 | ············'2016-04-27' |
474 | ············'2011-07-3 | 474 | ············'2011-07-31' |
475 | ············'1993-01-2 | 475 | ············'1993-01-26' |
476 | ············'1984-03-15' | 476 | ············'1984-03-15' |
477 | ············'1998-01-17' | 477 | ············'1998-01-17' |
478 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 478 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
479 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 479 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
480 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 480 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(). |
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(2020,·3,· | 495 | ············datetime.date(2020,·3,·9) |
496 | ············datetime.date(2017,·8,· | 496 | ············datetime.date(2017,·8,·4) |
497 | ············datetime.date(2007,·6,·2 | 497 | ············datetime.date(2007,·6,·21) |
498 | ············datetime.date(2002,·8,·1 | 498 | ············datetime.date(2002,·8,·15) |
499 | ············datetime.date(2010,·3,·1 | 499 | ············datetime.date(2010,·3,·11) |
500 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 500 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
501 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 501 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
502 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 502 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 506 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 508, 31 lines modified | Offset 508, 31 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(2024,·11,· | 515 | ············datetime.date(2024,·11,·8) |
516 | ············datetime.date(2024,·11,· | 516 | ············datetime.date(2024,·11,·8) |
517 | ············datetime.date(2024,·11,· | 517 | ············datetime.date(2024,·11,·8) |
518 | ············datetime.date(2024,·11,· | 518 | ············datetime.date(2024,·11,·8) |
519 | ············datetime.date(2024,·11,· | 519 | ············datetime.date(2024,·11,·8) |
520 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 520 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(2016,·4,·2 | 529 | ············datetime.date(2016,·4,·27) |
530 | ············datetime.date(2011,·7,·3 | 530 | ············datetime.date(2011,·7,·31) |
531 | ············datetime.date(1993,·1,·2 | 531 | ············datetime.date(1993,·1,·26) |
532 | ············datetime.date(1984,·3,·15) | 532 | ············datetime.date(1984,·3,·15) |
533 | ············datetime.date(1998,·1,·17) | 533 | ············datetime.date(1998,·1,·17) |
534 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 534 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
535 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 535 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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: |
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(2006,·10,·2 | 551 | ············datetime.date(2006,·10,·22) |
552 | ············datetime.date(1996,·10,· | 552 | ············datetime.date(1996,·10,·10) |
553 | ············datetime.date(1957,·8,·2 | 553 | ············datetime.date(1957,·8,·22) |
554 | ············datetime.date(1938,·11,·2 | 554 | ············datetime.date(1938,·11,·21) |
555 | ············datetime.date(1968,·2,·2 | 555 | ············datetime.date(1968,·2,·29) |
556 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 556 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
557 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 557 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
558 | ············Gets·a·Date·object·for·the·current·century. | 558 | ············Gets·a·Date·object·for·the·current·century. |
559 | ··············Parameters: | 559 | ··············Parameters: |
560 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 560 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
561 | ························today | 561 | ························today |
562 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 562 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·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 | ············... |
573 | ············datetime.date(2020,·12,·2 | 573 | ············datetime.date(2020,·12,·26) |
574 | ············datetime.date(2018,·11,· | 574 | ············datetime.date(2018,·11,·2) |
575 | ············datetime.date(2010,·6,·14) | 575 | ············datetime.date(2010,·6,·14) |
576 | ············datetime.date(2006,·6,·8) | 576 | ············datetime.date(2006,·6,·8) |
577 | ············datetime.date(2012,·9,·1 | 577 | ············datetime.date(2012,·9,·15) |
578 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 578 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
579 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 579 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
580 | ············Gets·a·Date·object·for·the·decade·year. | 580 | ············Gets·a·Date·object·for·the·decade·year. |
581 | ··············Parameters: | 581 | ··············Parameters: |
582 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 582 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
Max diff block lines reached; 28222/35121 bytes (80.36%) of diff not shown. |
Offset 1182, 17 lines modified | Offset 1182, 17 lines modified | ||
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">'AM'</span> | 1187 | <span·class="go">'AM'</span> |
1188 | <span·class="go">'AM'</span> | 1188 | <span·class="go">'AM'</span> |
1189 | <span·class="go">'PM'</span> | ||
1190 | <span·class="go">'AM'</span> | ||
1191 | <span·class="go">'AM'</span> | 1189 | <span·class="go">'AM'</span> |
1190 | <span·class="go">'PM'</span> | ||
1191 | <span·class="go">'PM'</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.12)"><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.12)"><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, 17 lines modified | Offset 1233, 17 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">'2016-04-2 | 1240 | <span·class="go">'2016-04-27'</span> |
1241 | <span·class="go">'2011-07-3 | 1241 | <span·class="go">'2011-07-31'</span> |
1242 | <span·class="go">'1993-01-2 | 1242 | <span·class="go">'1993-01-26'</span> |
1243 | <span·class="go">'1984-03-15'</span> | 1243 | <span·class="go">'1984-03-15'</span> |
1244 | <span·class="go">'1998-01-17'</span> | 1244 | <span·class="go">'1998-01-17'</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"> |
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(2020,·3,· | 1274 | <span·class="go">datetime.date(2020,·3,·9)</span> |
1275 | <span·class="go">datetime.date(2017,·8,· | 1275 | <span·class="go">datetime.date(2017,·8,·4)</span> |
1276 | <span·class="go">datetime.date(2007,·6,·2 | 1276 | <span·class="go">datetime.date(2007,·6,·21)</span> |
1277 | <span·class="go">datetime.date(2002,·8,·1 | 1277 | <span·class="go">datetime.date(2002,·8,·15)</span> |
1278 | <span·class="go">datetime.date(2010,·3,·1 | 1278 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 1305 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1306 | <span·class="go">datetime.date(2024,·11,· | 1306 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1307 | <span·class="go">datetime.date(2024,·11,· | 1307 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1308 | <span·class="go">datetime.date(2024,·11,· | 1308 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1309 | <span·class="go">datetime.date(2024,·11,· | 1309 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 1322, 17 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(2016,·4,·2 | 1329 | <span·class="go">datetime.date(2016,·4,·27)</span> |
1330 | <span·class="go">datetime.date(2011,·7,·3 | 1330 | <span·class="go">datetime.date(2011,·7,·31)</span> |
1331 | <span·class="go">datetime.date(1993,·1,·2 | 1331 | <span·class="go">datetime.date(1993,·1,·26)</span> |
1332 | <span·class="go">datetime.date(1984,·3,·15)</span> | 1332 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1333 | <span·class="go">datetime.date(1998,·1,·17)</span> | 1333 | <span·class="go">datetime.date(1998,·1,·17)</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"> |
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(2006,·10,·2 | 1365 | <span·class="go">datetime.date(2006,·10,·22)</span> |
1366 | <span·class="go">datetime.date(1996,·10,· | 1366 | <span·class="go">datetime.date(1996,·10,·10)</span> |
1367 | <span·class="go">datetime.date(1957,·8,·2 | 1367 | <span·class="go">datetime.date(1957,·8,·22)</span> |
1368 | <span·class="go">datetime.date(1938,·11,·2 | 1368 | <span·class="go">datetime.date(1938,·11,·21)</span> |
1369 | <span·class="go">datetime.date(1968,·2,·2 | 1369 | <span·class="go">datetime.date(1968,·2,·29)</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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> |
1392 | <dd·class="field-even"><p></p></dd> | 1392 | <dd·class="field-even"><p></p></dd> |
1393 | </dl> | 1393 | </dl> |
1394 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1394 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1395 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1395 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1396 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> | 1396 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
1397 | <span·class="gp">...</span> | 1397 | <span·class="gp">...</span> |
1398 | <span·class="go">datetime.date(2020,·12,·2 | 1398 | <span·class="go">datetime.date(2020,·12,·26)</span> |
1399 | <span·class="go">datetime.date(2018,·11,· | 1399 | <span·class="go">datetime.date(2018,·11,·2)</span> |
1400 | <span·class="go">datetime.date(2010,·6,·14)</span> | 1400 | <span·class="go">datetime.date(2010,·6,·14)</span> |
1401 | <span·class="go">datetime.date(2006,·6,·8)</span> | 1401 | <span·class="go">datetime.date(2006,·6,·8)</span> |
Max diff block lines reached; 88161/105085 bytes (83.89%) of diff not shown. |
Offset 714, 17 lines modified | Offset 714, 17 lines modified | ||
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 | ············'AM' | 719 | ············'AM' |
720 | ············'AM' | 720 | ············'AM' |
721 | ············'PM' | ||
722 | ············'AM' | ||
723 | ············'AM' | 721 | ············'AM' |
722 | ············'PM' | ||
723 | ············'PM' | ||
724 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 724 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
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, 17 lines modified | Offset 744, 17 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 | ············'2016-04-2 | 751 | ············'2016-04-27' |
752 | ············'2011-07-3 | 752 | ············'2011-07-31' |
753 | ············'1993-01-2 | 753 | ············'1993-01-26' |
754 | ············'1984-03-15' | 754 | ············'1984-03-15' |
755 | ············'1998-01-17' | 755 | ············'1998-01-17' |
756 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 756 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
757 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 757 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
758 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 758 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(). |
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(2020,·3,· | 773 | ············datetime.date(2020,·3,·9) |
774 | ············datetime.date(2017,·8,· | 774 | ············datetime.date(2017,·8,·4) |
775 | ············datetime.date(2007,·6,·2 | 775 | ············datetime.date(2007,·6,·21) |
776 | ············datetime.date(2002,·8,·1 | 776 | ············datetime.date(2002,·8,·15) |
777 | ············datetime.date(2010,·3,·1 | 777 | ············datetime.date(2010,·3,·11) |
778 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 778 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
779 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 779 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
780 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 780 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 784 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 786, 31 lines modified | Offset 786, 31 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(2024,·11,· | 793 | ············datetime.date(2024,·11,·8) |
794 | ············datetime.date(2024,·11,· | 794 | ············datetime.date(2024,·11,·8) |
795 | ············datetime.date(2024,·11,· | 795 | ············datetime.date(2024,·11,·8) |
796 | ············datetime.date(2024,·11,· | 796 | ············datetime.date(2024,·11,·8) |
797 | ············datetime.date(2024,·11,· | 797 | ············datetime.date(2024,·11,·8) |
798 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 798 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(2016,·4,·2 | 807 | ············datetime.date(2016,·4,·27) |
808 | ············datetime.date(2011,·7,·3 | 808 | ············datetime.date(2011,·7,·31) |
809 | ············datetime.date(1993,·1,·2 | 809 | ············datetime.date(1993,·1,·26) |
810 | ············datetime.date(1984,·3,·15) | 810 | ············datetime.date(1984,·3,·15) |
811 | ············datetime.date(1998,·1,·17) | 811 | ············datetime.date(1998,·1,·17) |
812 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 812 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
813 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 813 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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: |
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(2006,·10,·2 | 829 | ············datetime.date(2006,·10,·22) |
830 | ············datetime.date(1996,·10,· | 830 | ············datetime.date(1996,·10,·10) |
831 | ············datetime.date(1957,·8,·2 | 831 | ············datetime.date(1957,·8,·22) |
832 | ············datetime.date(1938,·11,·2 | 832 | ············datetime.date(1938,·11,·21) |
833 | ············datetime.date(1968,·2,·2 | 833 | ············datetime.date(1968,·2,·29) |
834 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 834 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
835 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 835 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
836 | ············Gets·a·Date·object·for·the·current·century. | 836 | ············Gets·a·Date·object·for·the·current·century. |
837 | ··············Parameters: | 837 | ··············Parameters: |
838 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 838 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
839 | ························today | 839 | ························today |
840 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 840 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·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 | ············... |
851 | ············datetime.date(2020,·12,·2 | 851 | ············datetime.date(2020,·12,·26) |
852 | ············datetime.date(2018,·11,· | 852 | ············datetime.date(2018,·11,·2) |
853 | ············datetime.date(2010,·6,·14) | 853 | ············datetime.date(2010,·6,·14) |
854 | ············datetime.date(2006,·6,·8) | 854 | ············datetime.date(2006,·6,·8) |
855 | ············datetime.date(2012,·9,·1 | 855 | ············datetime.date(2012,·9,·15) |
856 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 856 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
857 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 857 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
858 | ············Gets·a·Date·object·for·the·decade·year. | 858 | ············Gets·a·Date·object·for·the·decade·year. |
859 | ··············Parameters: | 859 | ··············Parameters: |
860 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 860 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
Max diff block lines reached; 29101/36000 bytes (80.84%) of diff not shown. |
Offset 1271, 17 lines modified | Offset 1271, 17 lines modified | ||
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">'AM'</span> | 1276 | <span·class="go">'AM'</span> |
1277 | <span·class="go">'AM'</span> | 1277 | <span·class="go">'AM'</span> |
1278 | <span·class="go">'PM'</span> | ||
1279 | <span·class="go">'AM'</span> | ||
1280 | <span·class="go">'AM'</span> | 1278 | <span·class="go">'AM'</span> |
1279 | <span·class="go">'PM'</span> | ||
1280 | <span·class="go">'PM'</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.12)"><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.12)"><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, 17 lines modified | Offset 1322, 17 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">'2016-04-2 | 1329 | <span·class="go">'2016-04-27'</span> |
1330 | <span·class="go">'2011-07-3 | 1330 | <span·class="go">'2011-07-31'</span> |
1331 | <span·class="go">'1993-01-2 | 1331 | <span·class="go">'1993-01-26'</span> |
1332 | <span·class="go">'1984-03-15'</span> | 1332 | <span·class="go">'1984-03-15'</span> |
1333 | <span·class="go">'1998-01-17'</span> | 1333 | <span·class="go">'1998-01-17'</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"> |
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(2020,·3,· | 1363 | <span·class="go">datetime.date(2020,·3,·9)</span> |
1364 | <span·class="go">datetime.date(2017,·8,· | 1364 | <span·class="go">datetime.date(2017,·8,·4)</span> |
1365 | <span·class="go">datetime.date(2007,·6,·2 | 1365 | <span·class="go">datetime.date(2007,·6,·21)</span> |
1366 | <span·class="go">datetime.date(2002,·8,·1 | 1366 | <span·class="go">datetime.date(2002,·8,·15)</span> |
1367 | <span·class="go">datetime.date(2010,·3,·1 | 1367 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 1394 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1395 | <span·class="go">datetime.date(2024,·11,· | 1395 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1396 | <span·class="go">datetime.date(2024,·11,· | 1396 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1397 | <span·class="go">datetime.date(2024,·11,· | 1397 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1398 | <span·class="go">datetime.date(2024,·11,· | 1398 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 1411, 17 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(2016,·4,·2 | 1418 | <span·class="go">datetime.date(2016,·4,·27)</span> |
1419 | <span·class="go">datetime.date(2011,·7,·3 | 1419 | <span·class="go">datetime.date(2011,·7,·31)</span> |
1420 | <span·class="go">datetime.date(1993,·1,·2 | 1420 | <span·class="go">datetime.date(1993,·1,·26)</span> |
1421 | <span·class="go">datetime.date(1984,·3,·15)</span> | 1421 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1422 | <span·class="go">datetime.date(1998,·1,·17)</span> | 1422 | <span·class="go">datetime.date(1998,·1,·17)</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"> |
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(2006,·10,·2 | 1454 | <span·class="go">datetime.date(2006,·10,·22)</span> |
1455 | <span·class="go">datetime.date(1996,·10,· | 1455 | <span·class="go">datetime.date(1996,·10,·10)</span> |
1456 | <span·class="go">datetime.date(1957,·8,·2 | 1456 | <span·class="go">datetime.date(1957,·8,·22)</span> |
1457 | <span·class="go">datetime.date(1938,·11,·2 | 1457 | <span·class="go">datetime.date(1938,·11,·21)</span> |
1458 | <span·class="go">datetime.date(1968,·2,·2 | 1458 | <span·class="go">datetime.date(1968,·2,·29)</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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> |
1481 | <dd·class="field-even"><p></p></dd> | 1481 | <dd·class="field-even"><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">date_this_century</span><span·class="p">()</span> | 1485 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
1486 | <span·class="gp">...</span> | 1486 | <span·class="gp">...</span> |
1487 | <span·class="go">datetime.date(2020,·12,·2 | 1487 | <span·class="go">datetime.date(2020,·12,·26)</span> |
1488 | <span·class="go">datetime.date(2018,·11,· | 1488 | <span·class="go">datetime.date(2018,·11,·2)</span> |
1489 | <span·class="go">datetime.date(2010,·6,·14)</span> | 1489 | <span·class="go">datetime.date(2010,·6,·14)</span> |
1490 | <span·class="go">datetime.date(2006,·6,·8)</span> | 1490 | <span·class="go">datetime.date(2006,·6,·8)</span> |
Max diff block lines reached; 83986/100910 bytes (83.23%) of diff not shown. |
Offset 718, 17 lines modified | Offset 718, 17 lines modified | ||
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 | ············'AM' | 723 | ············'AM' |
724 | ············'AM' | 724 | ············'AM' |
725 | ············'PM' | ||
726 | ············'AM' | ||
727 | ············'AM' | 725 | ············'AM' |
726 | ············'PM' | ||
727 | ············'PM' | ||
728 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 728 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
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, 17 lines modified | Offset 748, 17 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 | ············'2016-04-2 | 755 | ············'2016-04-27' |
756 | ············'2011-07-3 | 756 | ············'2011-07-31' |
757 | ············'1993-01-2 | 757 | ············'1993-01-26' |
758 | ············'1984-03-15' | 758 | ············'1984-03-15' |
759 | ············'1998-01-17' | 759 | ············'1998-01-17' |
760 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 760 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
761 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 761 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
762 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 762 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(). |
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(2020,·3,· | 777 | ············datetime.date(2020,·3,·9) |
778 | ············datetime.date(2017,·8,· | 778 | ············datetime.date(2017,·8,·4) |
779 | ············datetime.date(2007,·6,·2 | 779 | ············datetime.date(2007,·6,·21) |
780 | ············datetime.date(2002,·8,·1 | 780 | ············datetime.date(2002,·8,·15) |
781 | ············datetime.date(2010,·3,·1 | 781 | ············datetime.date(2010,·3,·11) |
782 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 782 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
783 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 783 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
784 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 784 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 788 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 790, 31 lines modified | Offset 790, 31 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(2024,·11,· | 797 | ············datetime.date(2024,·11,·8) |
798 | ············datetime.date(2024,·11,· | 798 | ············datetime.date(2024,·11,·8) |
799 | ············datetime.date(2024,·11,· | 799 | ············datetime.date(2024,·11,·8) |
800 | ············datetime.date(2024,·11,· | 800 | ············datetime.date(2024,·11,·8) |
801 | ············datetime.date(2024,·11,· | 801 | ············datetime.date(2024,·11,·8) |
802 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 802 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(2016,·4,·2 | 811 | ············datetime.date(2016,·4,·27) |
812 | ············datetime.date(2011,·7,·3 | 812 | ············datetime.date(2011,·7,·31) |
813 | ············datetime.date(1993,·1,·2 | 813 | ············datetime.date(1993,·1,·26) |
814 | ············datetime.date(1984,·3,·15) | 814 | ············datetime.date(1984,·3,·15) |
815 | ············datetime.date(1998,·1,·17) | 815 | ············datetime.date(1998,·1,·17) |
816 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 816 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
817 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 817 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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: |
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(2006,·10,·2 | 833 | ············datetime.date(2006,·10,·22) |
834 | ············datetime.date(1996,·10,· | 834 | ············datetime.date(1996,·10,·10) |
835 | ············datetime.date(1957,·8,·2 | 835 | ············datetime.date(1957,·8,·22) |
836 | ············datetime.date(1938,·11,·2 | 836 | ············datetime.date(1938,·11,·21) |
837 | ············datetime.date(1968,·2,·2 | 837 | ············datetime.date(1968,·2,·29) |
838 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 838 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
839 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 839 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
840 | ············Gets·a·Date·object·for·the·current·century. | 840 | ············Gets·a·Date·object·for·the·current·century. |
841 | ··············Parameters: | 841 | ··············Parameters: |
842 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 842 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
843 | ························today | 843 | ························today |
844 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 844 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·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 | ············... |
855 | ············datetime.date(2020,·12,·2 | 855 | ············datetime.date(2020,·12,·26) |
856 | ············datetime.date(2018,·11,· | 856 | ············datetime.date(2018,·11,·2) |
857 | ············datetime.date(2010,·6,·14) | 857 | ············datetime.date(2010,·6,·14) |
858 | ············datetime.date(2006,·6,·8) | 858 | ············datetime.date(2006,·6,·8) |
859 | ············datetime.date(2012,·9,·1 | 859 | ············datetime.date(2012,·9,·15) |
860 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 860 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
861 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 861 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
862 | ············Gets·a·Date·object·for·the·decade·year. | 862 | ············Gets·a·Date·object·for·the·decade·year. |
863 | ··············Parameters: | 863 | ··············Parameters: |
864 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 864 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
Max diff block lines reached; 27211/34110 bytes (79.77%) of diff not shown. |
Offset 953, 15 lines modified | Offset 953, 15 lines modified | ||
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·11/29\nCVV2:·421\n'</span> | 957 | <span·class="go">'Mastercard\nValentina·Marques\n5125564876475934·11/29\nCVV2:·421\n'</span> |
958 | <span·class="go">'Visa\nMateus·Nogueira\n4907729241157817·05/28\nCVV2:·593\n'</span> | 958 | <span·class="go">'Visa\nMateus·Nogueira\n4907729241157817·05/28\nCVV2:·593\n'</span> |
959 | <span·class="go">'Visa\nConstança·Matos\n4511564080160970·02/33\nCVV2:·535\n'</span> | 959 | <span·class="go">'Visa\nConstança·Matos\n4511564080160970·02/33\nCVV2:·535\n'</span> |
960 | <span·class="go">'Visa\nDaniel·Correia\n4594323328711585·1 | 960 | <span·class="go">'Visa\nDaniel·Correia\n4594323328711585·11/34\nCVV2:·714\n'</span> |
961 | <span·class="go">'Visa\nNuno·Teixeira\n4118698583989472·10/25\nCVV2:·659\n'</span> | 961 | <span·class="go">'Visa\nNuno·Teixeira\n4118698583989472·10/25\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"> |
Offset 1044, 17 lines modified | Offset 1044, 17 lines modified | ||
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">'AM'</span> | 1049 | <span·class="go">'AM'</span> |
1050 | <span·class="go">'AM'</span> | 1050 | <span·class="go">'AM'</span> |
1051 | <span·class="go">'PM'</span> | ||
1052 | <span·class="go">'AM'</span> | ||
1053 | <span·class="go">'AM'</span> | 1051 | <span·class="go">'AM'</span> |
1052 | <span·class="go">'PM'</span> | ||
1053 | <span·class="go">'PM'</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.12)"><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.12)"><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, 17 lines modified | Offset 1095, 17 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">'2016-04-2 | 1102 | <span·class="go">'2016-04-27'</span> |
1103 | <span·class="go">'2011-07-3 | 1103 | <span·class="go">'2011-07-31'</span> |
1104 | <span·class="go">'1993-01-2 | 1104 | <span·class="go">'1993-01-26'</span> |
1105 | <span·class="go">'1984-03-15'</span> | 1105 | <span·class="go">'1984-03-15'</span> |
1106 | <span·class="go">'1998-01-17'</span> | 1106 | <span·class="go">'1998-01-17'</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"> |
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(2020,·3,· | 1136 | <span·class="go">datetime.date(2020,·3,·9)</span> |
1137 | <span·class="go">datetime.date(2017,·8,· | 1137 | <span·class="go">datetime.date(2017,·8,·4)</span> |
1138 | <span·class="go">datetime.date(2007,·6,·2 | 1138 | <span·class="go">datetime.date(2007,·6,·21)</span> |
1139 | <span·class="go">datetime.date(2002,·8,·1 | 1139 | <span·class="go">datetime.date(2002,·8,·15)</span> |
1140 | <span·class="go">datetime.date(2010,·3,·1 | 1140 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 1167 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1168 | <span·class="go">datetime.date(2024,·11,· | 1168 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1169 | <span·class="go">datetime.date(2024,·11,· | 1169 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1170 | <span·class="go">datetime.date(2024,·11,· | 1170 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1171 | <span·class="go">datetime.date(2024,·11,· | 1171 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 1184, 17 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> |
1186 | </dl> | 1186 | </dl> |
1187 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1187 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">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 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1188 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</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="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1189 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
1190 | <span·class="gp">...</span> | 1190 | <span·class="gp">...</span> |
1191 | <span·class="go">datetime.date(2016,·4,·2 | 1191 | <span·class="go">datetime.date(2016,·4,·27)</span> |
1192 | <span·class="go">datetime.date(2011,·7,·3 | 1192 | <span·class="go">datetime.date(2011,·7,·31)</span> |
1193 | <span·class="go">datetime.date(1993,·1,·2 | 1193 | <span·class="go">datetime.date(1993,·1,·26)</span> |
1194 | <span·class="go">datetime.date(1984,·3,·15)</span> | 1194 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1195 | <span·class="go">datetime.date(1998,·1,·17)</span> | 1195 | <span·class="go">datetime.date(1998,·1,·17)</span> |
1196 | </pre></div> | 1196 | </pre></div> |
1197 | </div> | 1197 | </div> |
1198 | </dd></dl> | 1198 | </dd></dl> |
1199 | <dl·class="py·method"> | 1199 | <dl·class="py·method"> |
Offset 1220, 19 lines modified | Offset 1220, 19 lines modified | ||
1220 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1220 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1221 | <dd·class="field-even"><p></p></dd> | 1221 | <dd·class="field-even"><p></p></dd> |
1222 | </dl> | 1222 | </dl> |
1223 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1223 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1224 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1224 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1225 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1225 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
1226 | <span·class="gp">...</span> | 1226 | <span·class="gp">...</span> |
1227 | <span·class="go">datetime.date(2006,·10,·2 | 1227 | <span·class="go">datetime.date(2006,·10,·22)</span> |
1228 | <span·class="go">datetime.date(1996,·10,· | 1228 | <span·class="go">datetime.date(1996,·10,·10)</span> |
1229 | <span·class="go">datetime.date(1957,·8,·2 | 1229 | <span·class="go">datetime.date(1957,·8,·22)</span> |
1230 | <span·class="go">datetime.date(1938,·11,·2 | 1230 | <span·class="go">datetime.date(1938,·11,·21)</span> |
1231 | <span·class="go">datetime.date(1968,·2,·2 | 1231 | <span·class="go">datetime.date(1968,·2,·29)</span> |
1232 | </pre></div> | 1232 | </pre></div> |
1233 | </div> | 1233 | </div> |
1234 | </dd></dl> | 1234 | </dd></dl> |
Max diff block lines reached; 86928/102351 bytes (84.93%) of diff not shown. |
Offset 555, 15 lines modified | Offset 555, 15 lines modified | ||
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·11/29\nCVV2: | 558 | ············'Mastercard\nValentina·Marques\n5125564876475934·11/29\nCVV2: |
559 | ············421\n' | 559 | ············421\n' |
560 | ············'Visa\nMateus·Nogueira\n4907729241157817·05/28\nCVV2:·593\n' | 560 | ············'Visa\nMateus·Nogueira\n4907729241157817·05/28\nCVV2:·593\n' |
561 | ············'Visa\nConstança·Matos\n4511564080160970·02/33\nCVV2:·535\n' | 561 | ············'Visa\nConstança·Matos\n4511564080160970·02/33\nCVV2:·535\n' |
562 | ············'Visa\nDaniel·Correia\n4594323328711585·1 | 562 | ············'Visa\nDaniel·Correia\n4594323328711585·11/34\nCVV2:·714\n' |
563 | ············'Visa\nNuno·Teixeira\n4118698583989472·10/25\nCVV2:·659\n' | 563 | ············'Visa\nNuno·Teixeira\n4118698583989472·10/25\nCVV2:·659\n' |
564 | ········credit_card_number(c\x8ca\x8ar\x8rd\x8d_\x8_t\x8ty\x8yp\x8pe\x8e:\x8:·C\x8Ca\x8ar\x8rd\x8dT\x8Ty\x8yp\x8pe\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ | 564 | ········credit_card_number(c\x8ca\x8ar\x8rd\x8d_\x8_t\x8ty\x8yp\x8pe\x8e:\x8:·C\x8Ca\x8ar\x8rd\x8dT\x8Ty\x8yp\x8pe\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ |
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() |
Offset 604, 17 lines modified | Offset 604, 17 lines modified | ||
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 | ············'AM' | 609 | ············'AM' |
610 | ············'AM' | 610 | ············'AM' |
611 | ············'PM' | ||
612 | ············'AM' | ||
613 | ············'AM' | 611 | ············'AM' |
612 | ············'PM' | ||
613 | ············'PM' | ||
614 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 614 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
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, 17 lines modified | Offset 634, 17 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 | ············'2016-04-2 | 641 | ············'2016-04-27' |
642 | ············'2011-07-3 | 642 | ············'2011-07-31' |
643 | ············'1993-01-2 | 643 | ············'1993-01-26' |
644 | ············'1984-03-15' | 644 | ············'1984-03-15' |
645 | ············'1998-01-17' | 645 | ············'1998-01-17' |
646 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 646 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
647 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 647 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
648 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 648 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(). |
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(2020,·3,· | 663 | ············datetime.date(2020,·3,·9) |
664 | ············datetime.date(2017,·8,· | 664 | ············datetime.date(2017,·8,·4) |
665 | ············datetime.date(2007,·6,·2 | 665 | ············datetime.date(2007,·6,·21) |
666 | ············datetime.date(2002,·8,·1 | 666 | ············datetime.date(2002,·8,·15) |
667 | ············datetime.date(2010,·3,·1 | 667 | ············datetime.date(2010,·3,·11) |
668 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 668 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
669 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 669 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
670 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 670 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 674 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 676, 31 lines modified | Offset 676, 31 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(2024,·11,· | 683 | ············datetime.date(2024,·11,·8) |
684 | ············datetime.date(2024,·11,· | 684 | ············datetime.date(2024,·11,·8) |
685 | ············datetime.date(2024,·11,· | 685 | ············datetime.date(2024,·11,·8) |
686 | ············datetime.date(2024,·11,· | 686 | ············datetime.date(2024,·11,·8) |
687 | ············datetime.date(2024,·11,· | 687 | ············datetime.date(2024,·11,·8) |
688 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 688 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(2016,·4,·2 | 697 | ············datetime.date(2016,·4,·27) |
698 | ············datetime.date(2011,·7,·3 | 698 | ············datetime.date(2011,·7,·31) |
699 | ············datetime.date(1993,·1,·2 | 699 | ············datetime.date(1993,·1,·26) |
700 | ············datetime.date(1984,·3,·15) | 700 | ············datetime.date(1984,·3,·15) |
701 | ············datetime.date(1998,·1,·17) | 701 | ············datetime.date(1998,·1,·17) |
702 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 702 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
703 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 703 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
704 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 704 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
705 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 705 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
706 | ··············Parameters: | 706 | ··············Parameters: |
Offset 712, 19 lines modified | Offset 712, 19 lines modified | ||
712 | ··············Returns: | 712 | ··············Returns: |
713 | ··················Date | 713 | ··················Date |
714 | ··············Examples: | 714 | ··············Examples: |
715 | ············>>>·Faker.seed(0) | 715 | ············>>>·Faker.seed(0) |
716 | ············>>>·for·_·in·range(5): | 716 | ············>>>·for·_·in·range(5): |
717 | ············...·····fake.date_of_birth() | 717 | ············...·····fake.date_of_birth() |
718 | ············... | 718 | ············... |
719 | ············datetime.date(2006,·10,·2 | 719 | ············datetime.date(2006,·10,·22) |
720 | ············datetime.date(1996,·10,· | 720 | ············datetime.date(1996,·10,·10) |
721 | ············datetime.date(1957,·8,·2 | 721 | ············datetime.date(1957,·8,·22) |
722 | ············datetime.date(1938,·11,·2 | 722 | ············datetime.date(1938,·11,·21) |
723 | ············datetime.date(1968,·2,·2 | 723 | ············datetime.date(1968,·2,·29) |
724 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 724 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
725 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 725 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
726 | ············Gets·a·Date·object·for·the·current·century. | 726 | ············Gets·a·Date·object·for·the·current·century. |
727 | ··············Parameters: | 727 | ··············Parameters: |
728 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 728 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
729 | ························today | 729 | ························today |
730 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 730 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 734, 19 lines modified | Offset 734, 19 lines modified | ||
734 | ··············Returns: | 734 | ··············Returns: |
Max diff block lines reached; 28113/35024 bytes (80.27%) of diff not shown. |
Offset 1082, 17 lines modified | Offset 1082, 17 lines modified | ||
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">'AM'</span> | 1087 | <span·class="go">'AM'</span> |
1088 | <span·class="go">'AM'</span> | 1088 | <span·class="go">'AM'</span> |
1089 | <span·class="go">'PM'</span> | ||
1090 | <span·class="go">'AM'</span> | ||
1091 | <span·class="go">'AM'</span> | 1089 | <span·class="go">'AM'</span> |
1090 | <span·class="go">'PM'</span> | ||
1091 | <span·class="go">'PM'</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.12)"><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.12)"><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, 17 lines modified | Offset 1133, 17 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">'2016-04-2 | 1140 | <span·class="go">'2016-04-27'</span> |
1141 | <span·class="go">'2011-07-3 | 1141 | <span·class="go">'2011-07-31'</span> |
1142 | <span·class="go">'1993-01-2 | 1142 | <span·class="go">'1993-01-26'</span> |
1143 | <span·class="go">'1984-03-15'</span> | 1143 | <span·class="go">'1984-03-15'</span> |
1144 | <span·class="go">'1998-01-17'</span> | 1144 | <span·class="go">'1998-01-17'</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"> |
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(2020,·3,· | 1174 | <span·class="go">datetime.date(2020,·3,·9)</span> |
1175 | <span·class="go">datetime.date(2017,·8,· | 1175 | <span·class="go">datetime.date(2017,·8,·4)</span> |
1176 | <span·class="go">datetime.date(2007,·6,·2 | 1176 | <span·class="go">datetime.date(2007,·6,·21)</span> |
1177 | <span·class="go">datetime.date(2002,·8,·1 | 1177 | <span·class="go">datetime.date(2002,·8,·15)</span> |
1178 | <span·class="go">datetime.date(2010,·3,·1 | 1178 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 1205 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1206 | <span·class="go">datetime.date(2024,·11,· | 1206 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1207 | <span·class="go">datetime.date(2024,·11,· | 1207 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1208 | <span·class="go">datetime.date(2024,·11,· | 1208 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1209 | <span·class="go">datetime.date(2024,·11,· | 1209 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 1222, 17 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(2016,·4,·2 | 1229 | <span·class="go">datetime.date(2016,·4,·27)</span> |
1230 | <span·class="go">datetime.date(2011,·7,·3 | 1230 | <span·class="go">datetime.date(2011,·7,·31)</span> |
1231 | <span·class="go">datetime.date(1993,·1,·2 | 1231 | <span·class="go">datetime.date(1993,·1,·26)</span> |
1232 | <span·class="go">datetime.date(1984,·3,·15)</span> | 1232 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1233 | <span·class="go">datetime.date(1998,·1,·17)</span> | 1233 | <span·class="go">datetime.date(1998,·1,·17)</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"> |
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(2006,·10,·2 | 1265 | <span·class="go">datetime.date(2006,·10,·22)</span> |
1266 | <span·class="go">datetime.date(1996,·10,· | 1266 | <span·class="go">datetime.date(1996,·10,·10)</span> |
1267 | <span·class="go">datetime.date(1957,·8,·2 | 1267 | <span·class="go">datetime.date(1957,·8,·22)</span> |
1268 | <span·class="go">datetime.date(1938,·11,·2 | 1268 | <span·class="go">datetime.date(1938,·11,·21)</span> |
1269 | <span·class="go">datetime.date(1968,·2,·2 | 1269 | <span·class="go">datetime.date(1968,·2,·29)</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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> |
1292 | <dd·class="field-even"><p></p></dd> | 1292 | <dd·class="field-even"><p></p></dd> |
1293 | </dl> | 1293 | </dl> |
1294 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1294 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1295 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1295 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1296 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> | 1296 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
1297 | <span·class="gp">...</span> | 1297 | <span·class="gp">...</span> |
1298 | <span·class="go">datetime.date(2020,·12,·2 | 1298 | <span·class="go">datetime.date(2020,·12,·26)</span> |
1299 | <span·class="go">datetime.date(2018,·11,· | 1299 | <span·class="go">datetime.date(2018,·11,·2)</span> |
1300 | <span·class="go">datetime.date(2010,·6,·14)</span> | 1300 | <span·class="go">datetime.date(2010,·6,·14)</span> |
1301 | <span·class="go">datetime.date(2006,·6,·8)</span> | 1301 | <span·class="go">datetime.date(2006,·6,·8)</span> |
Max diff block lines reached; 83976/100900 bytes (83.23%) of diff not shown. |
Offset 614, 17 lines modified | Offset 614, 17 lines modified | ||
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 | ············'AM' | 619 | ············'AM' |
620 | ············'AM' | 620 | ············'AM' |
621 | ············'PM' | ||
622 | ············'AM' | ||
623 | ············'AM' | 621 | ············'AM' |
622 | ············'PM' | ||
623 | ············'PM' | ||
624 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 624 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
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, 17 lines modified | Offset 644, 17 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 | ············'2016-04-2 | 651 | ············'2016-04-27' |
652 | ············'2011-07-3 | 652 | ············'2011-07-31' |
653 | ············'1993-01-2 | 653 | ············'1993-01-26' |
654 | ············'1984-03-15' | 654 | ············'1984-03-15' |
655 | ············'1998-01-17' | 655 | ············'1998-01-17' |
656 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 656 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
657 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 657 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
658 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 658 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(). |
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(2020,·3,· | 673 | ············datetime.date(2020,·3,·9) |
674 | ············datetime.date(2017,·8,· | 674 | ············datetime.date(2017,·8,·4) |
675 | ············datetime.date(2007,·6,·2 | 675 | ············datetime.date(2007,·6,·21) |
676 | ············datetime.date(2002,·8,·1 | 676 | ············datetime.date(2002,·8,·15) |
677 | ············datetime.date(2010,·3,·1 | 677 | ············datetime.date(2010,·3,·11) |
678 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 678 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
679 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 679 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
680 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 680 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 684 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 686, 31 lines modified | Offset 686, 31 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(2024,·11,· | 693 | ············datetime.date(2024,·11,·8) |
694 | ············datetime.date(2024,·11,· | 694 | ············datetime.date(2024,·11,·8) |
695 | ············datetime.date(2024,·11,· | 695 | ············datetime.date(2024,·11,·8) |
696 | ············datetime.date(2024,·11,· | 696 | ············datetime.date(2024,·11,·8) |
697 | ············datetime.date(2024,·11,· | 697 | ············datetime.date(2024,·11,·8) |
698 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 698 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(2016,·4,·2 | 707 | ············datetime.date(2016,·4,·27) |
708 | ············datetime.date(2011,·7,·3 | 708 | ············datetime.date(2011,·7,·31) |
709 | ············datetime.date(1993,·1,·2 | 709 | ············datetime.date(1993,·1,·26) |
710 | ············datetime.date(1984,·3,·15) | 710 | ············datetime.date(1984,·3,·15) |
711 | ············datetime.date(1998,·1,·17) | 711 | ············datetime.date(1998,·1,·17) |
712 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 712 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
713 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 713 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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: |
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(2006,·10,·2 | 729 | ············datetime.date(2006,·10,·22) |
730 | ············datetime.date(1996,·10,· | 730 | ············datetime.date(1996,·10,·10) |
731 | ············datetime.date(1957,·8,·2 | 731 | ············datetime.date(1957,·8,·22) |
732 | ············datetime.date(1938,·11,·2 | 732 | ············datetime.date(1938,·11,·21) |
733 | ············datetime.date(1968,·2,·2 | 733 | ············datetime.date(1968,·2,·29) |
734 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 734 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
735 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 735 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
736 | ············Gets·a·Date·object·for·the·current·century. | 736 | ············Gets·a·Date·object·for·the·current·century. |
737 | ··············Parameters: | 737 | ··············Parameters: |
738 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 738 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
739 | ························today | 739 | ························today |
740 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 740 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·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 | ············... |
751 | ············datetime.date(2020,·12,·2 | 751 | ············datetime.date(2020,·12,·26) |
752 | ············datetime.date(2018,·11,· | 752 | ············datetime.date(2018,·11,·2) |
753 | ············datetime.date(2010,·6,·14) | 753 | ············datetime.date(2010,·6,·14) |
754 | ············datetime.date(2006,·6,·8) | 754 | ············datetime.date(2006,·6,·8) |
755 | ············datetime.date(2012,·9,·1 | 755 | ············datetime.date(2012,·9,·15) |
756 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 756 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
757 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 757 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
758 | ············Gets·a·Date·object·for·the·decade·year. | 758 | ············Gets·a·Date·object·for·the·decade·year. |
759 | ··············Parameters: | 759 | ··············Parameters: |
760 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 760 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
Max diff block lines reached; 27193/34092 bytes (79.76%) of diff not shown. |
Offset 1592, 15 lines modified | Offset 1592, 15 lines modified | ||
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·11/32\nCVV2:·892\nКС·Банк'</span> | 1597 | <span·class="go">'Maestro\nAlina·Osipova\n6376475938242192·11/32\nCVV2:·892\nКС·Банк'</span> |
1598 | <span·class="go">'Visa\nMaksimilyan·Voronov\n4565938778408013·01/32\nCVV2:·609\nПриобье'</span> | 1598 | <span·class="go">'Visa\nMaksimilyan·Voronov\n4565938778408013·01/32\nCVV2:·609\nПриобье'</span> |
1599 | <span·class="go">'МИР\nLyubosmysl·Kryukov\n2200393328711588·1 | 1599 | <span·class="go">'МИР\nLyubosmysl·Kryukov\n2200393328711588·11/34\nCVC:·714\nРосэксимбанк'</span> |
1600 | <span·class="go">'МИР\nTrofim·Mironov\n2204398947196596·04/27\nCVC:·232\nАкцепт'</span> | 1600 | <span·class="go">'МИР\nTrofim·Mironov\n2204398947196596·04/27\nCVC:·232\nАкцепт'</span> |
1601 | <span·class="go">'American·Express\nOlimpiada·Vinogradova\n342201868483398·02/33\nCID:·6947\nПриобье'</span> | 1601 | <span·class="go">'American·Express\nOlimpiada·Vinogradova\n342201868483398·02/33\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"> |
Offset 1856, 17 lines modified | Offset 1856, 17 lines modified | ||
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">'AM'</span> | 1861 | <span·class="go">'AM'</span> |
1862 | <span·class="go">'AM'</span> | 1862 | <span·class="go">'AM'</span> |
1863 | <span·class="go">'PM'</span> | ||
1864 | <span·class="go">'AM'</span> | ||
1865 | <span·class="go">'AM'</span> | 1863 | <span·class="go">'AM'</span> |
1864 | <span·class="go">'PM'</span> | ||
1865 | <span·class="go">'PM'</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.12)"><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.12)"><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, 17 lines modified | Offset 1907, 17 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">'2016-04-2 | 1914 | <span·class="go">'2016-04-27'</span> |
1915 | <span·class="go">'2011-07-3 | 1915 | <span·class="go">'2011-07-31'</span> |
1916 | <span·class="go">'1993-01-2 | 1916 | <span·class="go">'1993-01-26'</span> |
1917 | <span·class="go">'1984-03-15'</span> | 1917 | <span·class="go">'1984-03-15'</span> |
1918 | <span·class="go">'1998-01-17'</span> | 1918 | <span·class="go">'1998-01-17'</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"> |
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(2020,·3,· | 1948 | <span·class="go">datetime.date(2020,·3,·9)</span> |
1949 | <span·class="go">datetime.date(2017,·8,· | 1949 | <span·class="go">datetime.date(2017,·8,·4)</span> |
1950 | <span·class="go">datetime.date(2007,·6,·2 | 1950 | <span·class="go">datetime.date(2007,·6,·21)</span> |
1951 | <span·class="go">datetime.date(2002,·8,·1 | 1951 | <span·class="go">datetime.date(2002,·8,·15)</span> |
1952 | <span·class="go">datetime.date(2010,·3,·1 | 1952 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 1979 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1980 | <span·class="go">datetime.date(2024,·11,· | 1980 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1981 | <span·class="go">datetime.date(2024,·11,· | 1981 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1982 | <span·class="go">datetime.date(2024,·11,· | 1982 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1983 | <span·class="go">datetime.date(2024,·11,· | 1983 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 1996, 17 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> |
1998 | </dl> | 1998 | </dl> |
1999 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1999 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
2000 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 2000 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
2001 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 2001 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
2002 | <span·class="gp">...</span> | 2002 | <span·class="gp">...</span> |
2003 | <span·class="go">datetime.date(2016,·4,·2 | 2003 | <span·class="go">datetime.date(2016,·4,·27)</span> |
2004 | <span·class="go">datetime.date(2011,·7,·3 | 2004 | <span·class="go">datetime.date(2011,·7,·31)</span> |
2005 | <span·class="go">datetime.date(1993,·1,·2 | 2005 | <span·class="go">datetime.date(1993,·1,·26)</span> |
2006 | <span·class="go">datetime.date(1984,·3,·15)</span> | 2006 | <span·class="go">datetime.date(1984,·3,·15)</span> |
2007 | <span·class="go">datetime.date(1998,·1,·17)</span> | 2007 | <span·class="go">datetime.date(1998,·1,·17)</span> |
2008 | </pre></div> | 2008 | </pre></div> |
2009 | </div> | 2009 | </div> |
2010 | </dd></dl> | 2010 | </dd></dl> |
2011 | <dl·class="py·method"> | 2011 | <dl·class="py·method"> |
Offset 2032, 19 lines modified | Offset 2032, 19 lines modified | ||
2032 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 2032 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
2033 | <dd·class="field-even"><p></p></dd> | 2033 | <dd·class="field-even"><p></p></dd> |
2034 | </dl> | 2034 | </dl> |
2035 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 2035 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
2036 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 2036 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
2037 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 2037 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
2038 | <span·class="gp">...</span> | 2038 | <span·class="gp">...</span> |
2039 | <span·class="go">datetime.date(2006,·10,·2 | 2039 | <span·class="go">datetime.date(2006,·10,·22)</span> |
2040 | <span·class="go">datetime.date(1996,·10,· | 2040 | <span·class="go">datetime.date(1996,·10,·10)</span> |
2041 | <span·class="go">datetime.date(1957,·8,·2 | 2041 | <span·class="go">datetime.date(1957,·8,·22)</span> |
2042 | <span·class="go">datetime.date(1938,·11,·2 | 2042 | <span·class="go">datetime.date(1938,·11,·21)</span> |
2043 | <span·class="go">datetime.date(1968,·2,·2 | 2043 | <span·class="go">datetime.date(1968,·2,·29)</span> |
2044 | </pre></div> | 2044 | </pre></div> |
2045 | </div> | 2045 | </div> |
2046 | </dd></dl> | 2046 | </dd></dl> |
Max diff block lines reached; 93615/109016 bytes (85.87%) of diff not shown. |
Offset 951, 15 lines modified | Offset 951, 15 lines modified | ||
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·11/32\nCVV2:·892\nКС | 954 | ············'Maestro\nAlina·Osipova\n6376475938242192·11/32\nCVV2:·892\nКС |
955 | ············Банк' | 955 | ············Банк' |
956 | ············'Visa\nMaksimilyan·Voronov\n4565938778408013·01/32\nCVV2: | 956 | ············'Visa\nMaksimilyan·Voronov\n4565938778408013·01/32\nCVV2: |
957 | ············609\nПриобье' | 957 | ············609\nПриобье' |
958 | ············'МИР\nLyubosmysl·Kryukov\n2200393328711588·1 | 958 | ············'МИР\nLyubosmysl·Kryukov\n2200393328711588·11/34\nCVC: |
959 | ············714\nРосэксимбанк' | 959 | ············714\nРосэксимбанк' |
960 | ············'МИР\nTrofim·Mironov\n2204398947196596·04/27\nCVC:·232\nАкцепт' | 960 | ············'МИР\nTrofim·Mironov\n2204398947196596·04/27\nCVC:·232\nАкцепт' |
961 | ············'American·Express\nOlimpiada·Vinogradova\n342201868483398·02/ | 961 | ············'American·Express\nOlimpiada·Vinogradova\n342201868483398·02/ |
962 | ············33\nCID:·6947\nПриобье' | 962 | ············33\nCID:·6947\nПриобье' |
963 | ········credit_card_number(c\x8ca\x8ar\x8rd\x8d_\x8_t\x8ty\x8yp\x8pe\x8e:\x8:·C\x8Ca\x8ar\x8rd\x8dT\x8Ty\x8yp\x8pe\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ | 963 | ········credit_card_number(c\x8ca\x8ar\x8rd\x8d_\x8_t\x8ty\x8yp\x8pe\x8e:\x8:·C\x8Ca\x8ar\x8rd\x8dT\x8Ty\x8yp\x8pe\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ |
964 | ············Generate·a·valid·credit·card·number. | 964 | ············Generate·a·valid·credit·card·number. |
965 | ··············Examples: | 965 | ··············Examples: |
Offset 1096, 17 lines modified | Offset 1096, 17 lines modified | ||
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 | ············'AM' | 1101 | ············'AM' |
1102 | ············'AM' | 1102 | ············'AM' |
1103 | ············'PM' | ||
1104 | ············'AM' | ||
1105 | ············'AM' | 1103 | ············'AM' |
1104 | ············'PM' | ||
1105 | ············'PM' | ||
1106 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 1106 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
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, 17 lines modified | Offset 1126, 17 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 | ············'2016-04-2 | 1133 | ············'2016-04-27' |
1134 | ············'2011-07-3 | 1134 | ············'2011-07-31' |
1135 | ············'1993-01-2 | 1135 | ············'1993-01-26' |
1136 | ············'1984-03-15' | 1136 | ············'1984-03-15' |
1137 | ············'1998-01-17' | 1137 | ············'1998-01-17' |
1138 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 1138 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
1139 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 1139 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
1140 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1140 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(). |
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(2020,·3,· | 1155 | ············datetime.date(2020,·3,·9) |
1156 | ············datetime.date(2017,·8,· | 1156 | ············datetime.date(2017,·8,·4) |
1157 | ············datetime.date(2007,·6,·2 | 1157 | ············datetime.date(2007,·6,·21) |
1158 | ············datetime.date(2002,·8,·1 | 1158 | ············datetime.date(2002,·8,·15) |
1159 | ············datetime.date(2010,·3,·1 | 1159 | ············datetime.date(2010,·3,·11) |
1160 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 1160 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
1161 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 1161 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
1162 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1162 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 1166 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 1168, 31 lines modified | Offset 1168, 31 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(2024,·11,· | 1175 | ············datetime.date(2024,·11,·8) |
1176 | ············datetime.date(2024,·11,· | 1176 | ············datetime.date(2024,·11,·8) |
1177 | ············datetime.date(2024,·11,· | 1177 | ············datetime.date(2024,·11,·8) |
1178 | ············datetime.date(2024,·11,· | 1178 | ············datetime.date(2024,·11,·8) |
1179 | ············datetime.date(2024,·11,· | 1179 | ············datetime.date(2024,·11,·8) |
1180 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1180 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(2016,·4,·2 | 1189 | ············datetime.date(2016,·4,·27) |
1190 | ············datetime.date(2011,·7,·3 | 1190 | ············datetime.date(2011,·7,·31) |
1191 | ············datetime.date(1993,·1,·2 | 1191 | ············datetime.date(1993,·1,·26) |
1192 | ············datetime.date(1984,·3,·15) | 1192 | ············datetime.date(1984,·3,·15) |
1193 | ············datetime.date(1998,·1,·17) | 1193 | ············datetime.date(1998,·1,·17) |
1194 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 1194 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
1195 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1195 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
1196 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 1196 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
1197 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 1197 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
1198 | ··············Parameters: | 1198 | ··············Parameters: |
Offset 1204, 19 lines modified | Offset 1204, 19 lines modified | ||
1204 | ··············Returns: | 1204 | ··············Returns: |
1205 | ··················Date | 1205 | ··················Date |
1206 | ··············Examples: | 1206 | ··············Examples: |
1207 | ············>>>·Faker.seed(0) | 1207 | ············>>>·Faker.seed(0) |
1208 | ············>>>·for·_·in·range(5): | 1208 | ············>>>·for·_·in·range(5): |
1209 | ············...·····fake.date_of_birth() | 1209 | ············...·····fake.date_of_birth() |
1210 | ············... | 1210 | ············... |
1211 | ············datetime.date(2006,·10,·2 | 1211 | ············datetime.date(2006,·10,·22) |
1212 | ············datetime.date(1996,·10,· | 1212 | ············datetime.date(1996,·10,·10) |
1213 | ············datetime.date(1957,·8,·2 | 1213 | ············datetime.date(1957,·8,·22) |
1214 | ············datetime.date(1938,·11,·2 | 1214 | ············datetime.date(1938,·11,·21) |
1215 | ············datetime.date(1968,·2,·2 | 1215 | ············datetime.date(1968,·2,·29) |
1216 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 1216 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
1217 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1217 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
1218 | ············Gets·a·Date·object·for·the·current·century. | 1218 | ············Gets·a·Date·object·for·the·current·century. |
1219 | ··············Parameters: | 1219 | ··············Parameters: |
1220 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 1220 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
1221 | ························today | 1221 | ························today |
1222 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 1222 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 1226, 19 lines modified | Offset 1226, 19 lines modified | ||
1226 | ··············Returns: | 1226 | ··············Returns: |
Max diff block lines reached; 31208/38106 bytes (81.90%) of diff not shown. |
Offset 1371, 17 lines modified | Offset 1371, 17 lines modified | ||
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">'AM'</span> | 1376 | <span·class="go">'AM'</span> |
1377 | <span·class="go">'AM'</span> | 1377 | <span·class="go">'AM'</span> |
1378 | <span·class="go">'PM'</span> | ||
1379 | <span·class="go">'AM'</span> | ||
1380 | <span·class="go">'AM'</span> | 1378 | <span·class="go">'AM'</span> |
1379 | <span·class="go">'PM'</span> | ||
1380 | <span·class="go">'PM'</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.12)"><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.12)"><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, 17 lines modified | Offset 1422, 17 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">'2016-04-2 | 1429 | <span·class="go">'2016-04-27'</span> |
1430 | <span·class="go">'2011-07-3 | 1430 | <span·class="go">'2011-07-31'</span> |
1431 | <span·class="go">'1993-01-2 | 1431 | <span·class="go">'1993-01-26'</span> |
1432 | <span·class="go">'1984-03-15'</span> | 1432 | <span·class="go">'1984-03-15'</span> |
1433 | <span·class="go">'1998-01-17'</span> | 1433 | <span·class="go">'1998-01-17'</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"> |
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(2020,·3,· | 1463 | <span·class="go">datetime.date(2020,·3,·9)</span> |
1464 | <span·class="go">datetime.date(2017,·8,· | 1464 | <span·class="go">datetime.date(2017,·8,·4)</span> |
1465 | <span·class="go">datetime.date(2007,·6,·2 | 1465 | <span·class="go">datetime.date(2007,·6,·21)</span> |
1466 | <span·class="go">datetime.date(2002,·8,·1 | 1466 | <span·class="go">datetime.date(2002,·8,·15)</span> |
1467 | <span·class="go">datetime.date(2010,·3,·1 | 1467 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 1494 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1495 | <span·class="go">datetime.date(2024,·11,· | 1495 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1496 | <span·class="go">datetime.date(2024,·11,· | 1496 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1497 | <span·class="go">datetime.date(2024,·11,· | 1497 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1498 | <span·class="go">datetime.date(2024,·11,· | 1498 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 1511, 17 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(2016,·4,·2 | 1518 | <span·class="go">datetime.date(2016,·4,·27)</span> |
1519 | <span·class="go">datetime.date(2011,·7,·3 | 1519 | <span·class="go">datetime.date(2011,·7,·31)</span> |
1520 | <span·class="go">datetime.date(1993,·1,·2 | 1520 | <span·class="go">datetime.date(1993,·1,·26)</span> |
1521 | <span·class="go">datetime.date(1984,·3,·15)</span> | 1521 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1522 | <span·class="go">datetime.date(1998,·1,·17)</span> | 1522 | <span·class="go">datetime.date(1998,·1,·17)</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"> |
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(2006,·10,·2 | 1554 | <span·class="go">datetime.date(2006,·10,·22)</span> |
1555 | <span·class="go">datetime.date(1996,·10,· | 1555 | <span·class="go">datetime.date(1996,·10,·10)</span> |
1556 | <span·class="go">datetime.date(1957,·8,·2 | 1556 | <span·class="go">datetime.date(1957,·8,·22)</span> |
1557 | <span·class="go">datetime.date(1938,·11,·2 | 1557 | <span·class="go">datetime.date(1938,·11,·21)</span> |
1558 | <span·class="go">datetime.date(1968,·2,·2 | 1558 | <span·class="go">datetime.date(1968,·2,·29)</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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> |
1581 | <dd·class="field-even"><p></p></dd> | 1581 | <dd·class="field-even"><p></p></dd> |
1582 | </dl> | 1582 | </dl> |
1583 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1583 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1584 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1584 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1585 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> | 1585 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
1586 | <span·class="gp">...</span> | 1586 | <span·class="gp">...</span> |
1587 | <span·class="go">datetime.date(2020,·12,·2 | 1587 | <span·class="go">datetime.date(2020,·12,·26)</span> |
1588 | <span·class="go">datetime.date(2018,·11,· | 1588 | <span·class="go">datetime.date(2018,·11,·2)</span> |
1589 | <span·class="go">datetime.date(2010,·6,·14)</span> | 1589 | <span·class="go">datetime.date(2010,·6,·14)</span> |
1590 | <span·class="go">datetime.date(2006,·6,·8)</span> | 1590 | <span·class="go">datetime.date(2006,·6,·8)</span> |
Max diff block lines reached; 85909/102833 bytes (83.54%) of diff not shown. |
Offset 805, 17 lines modified | Offset 805, 17 lines modified | ||
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 | ············'AM' | 810 | ············'AM' |
811 | ············'AM' | 811 | ············'AM' |
812 | ············'PM' | ||
813 | ············'AM' | ||
814 | ············'AM' | 812 | ············'AM' |
813 | ············'PM' | ||
814 | ············'PM' | ||
815 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 815 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
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, 17 lines modified | Offset 835, 17 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 | ············'2016-04-2 | 842 | ············'2016-04-27' |
843 | ············'2011-07-3 | 843 | ············'2011-07-31' |
844 | ············'1993-01-2 | 844 | ············'1993-01-26' |
845 | ············'1984-03-15' | 845 | ············'1984-03-15' |
846 | ············'1998-01-17' | 846 | ············'1998-01-17' |
847 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 847 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
848 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 848 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
849 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 849 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(). |
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(2020,·3,· | 864 | ············datetime.date(2020,·3,·9) |
865 | ············datetime.date(2017,·8,· | 865 | ············datetime.date(2017,·8,·4) |
866 | ············datetime.date(2007,·6,·2 | 866 | ············datetime.date(2007,·6,·21) |
867 | ············datetime.date(2002,·8,·1 | 867 | ············datetime.date(2002,·8,·15) |
868 | ············datetime.date(2010,·3,·1 | 868 | ············datetime.date(2010,·3,·11) |
869 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 869 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
870 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 870 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
871 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 871 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 875 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 877, 31 lines modified | Offset 877, 31 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(2024,·11,· | 884 | ············datetime.date(2024,·11,·8) |
885 | ············datetime.date(2024,·11,· | 885 | ············datetime.date(2024,·11,·8) |
886 | ············datetime.date(2024,·11,· | 886 | ············datetime.date(2024,·11,·8) |
887 | ············datetime.date(2024,·11,· | 887 | ············datetime.date(2024,·11,·8) |
888 | ············datetime.date(2024,·11,· | 888 | ············datetime.date(2024,·11,·8) |
889 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 889 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(2016,·4,·2 | 898 | ············datetime.date(2016,·4,·27) |
899 | ············datetime.date(2011,·7,·3 | 899 | ············datetime.date(2011,·7,·31) |
900 | ············datetime.date(1993,·1,·2 | 900 | ············datetime.date(1993,·1,·26) |
901 | ············datetime.date(1984,·3,·15) | 901 | ············datetime.date(1984,·3,·15) |
902 | ············datetime.date(1998,·1,·17) | 902 | ············datetime.date(1998,·1,·17) |
903 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 903 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
904 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 904 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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: |
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(2006,·10,·2 | 920 | ············datetime.date(2006,·10,·22) |
921 | ············datetime.date(1996,·10,· | 921 | ············datetime.date(1996,·10,·10) |
922 | ············datetime.date(1957,·8,·2 | 922 | ············datetime.date(1957,·8,·22) |
923 | ············datetime.date(1938,·11,·2 | 923 | ············datetime.date(1938,·11,·21) |
924 | ············datetime.date(1968,·2,·2 | 924 | ············datetime.date(1968,·2,·29) |
925 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 925 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
926 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 926 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
927 | ············Gets·a·Date·object·for·the·current·century. | 927 | ············Gets·a·Date·object·for·the·current·century. |
928 | ··············Parameters: | 928 | ··············Parameters: |
929 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 929 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
930 | ························today | 930 | ························today |
931 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 931 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·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 | ············... |
942 | ············datetime.date(2020,·12,·2 | 942 | ············datetime.date(2020,·12,·26) |
943 | ············datetime.date(2018,·11,· | 943 | ············datetime.date(2018,·11,·2) |
944 | ············datetime.date(2010,·6,·14) | 944 | ············datetime.date(2010,·6,·14) |
945 | ············datetime.date(2006,·6,·8) | 945 | ············datetime.date(2006,·6,·8) |
946 | ············datetime.date(2012,·9,·1 | 946 | ············datetime.date(2012,·9,·15) |
947 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 947 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
948 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 948 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
949 | ············Gets·a·Date·object·for·the·decade·year. | 949 | ············Gets·a·Date·object·for·the·decade·year. |
950 | ··············Parameters: | 950 | ··············Parameters: |
951 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 951 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
Max diff block lines reached; 28119/35018 bytes (80.30%) of diff not shown. |
Offset 492, 17 lines modified | Offset 492, 17 lines modified | ||
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">'AM'</span> | 497 | <span·class="go">'AM'</span> |
498 | <span·class="go">'AM'</span> | 498 | <span·class="go">'AM'</span> |
499 | <span·class="go">'PM'</span> | ||
500 | <span·class="go">'AM'</span> | ||
501 | <span·class="go">'AM'</span> | 499 | <span·class="go">'AM'</span> |
500 | <span·class="go">'PM'</span> | ||
501 | <span·class="go">'PM'</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.12)"><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.12)"><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, 17 lines modified | Offset 543, 17 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">'2016-04-2 | 550 | <span·class="go">'2016-04-27'</span> |
551 | <span·class="go">'2011-07-3 | 551 | <span·class="go">'2011-07-31'</span> |
552 | <span·class="go">'1993-01-2 | 552 | <span·class="go">'1993-01-26'</span> |
553 | <span·class="go">'1984-03-15'</span> | 553 | <span·class="go">'1984-03-15'</span> |
554 | <span·class="go">'1998-01-17'</span> | 554 | <span·class="go">'1998-01-17'</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"> |
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(2020,·3,· | 584 | <span·class="go">datetime.date(2020,·3,·9)</span> |
585 | <span·class="go">datetime.date(2017,·8,· | 585 | <span·class="go">datetime.date(2017,·8,·4)</span> |
586 | <span·class="go">datetime.date(2007,·6,·2 | 586 | <span·class="go">datetime.date(2007,·6,·21)</span> |
587 | <span·class="go">datetime.date(2002,·8,·1 | 587 | <span·class="go">datetime.date(2002,·8,·15)</span> |
588 | <span·class="go">datetime.date(2010,·3,·1 | 588 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 615 | <span·class="go">datetime.date(2024,·11,·8)</span> |
616 | <span·class="go">datetime.date(2024,·11,· | 616 | <span·class="go">datetime.date(2024,·11,·8)</span> |
617 | <span·class="go">datetime.date(2024,·11,· | 617 | <span·class="go">datetime.date(2024,·11,·8)</span> |
618 | <span·class="go">datetime.date(2024,·11,· | 618 | <span·class="go">datetime.date(2024,·11,·8)</span> |
619 | <span·class="go">datetime.date(2024,·11,· | 619 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 632, 17 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(2016,·4,·2 | 639 | <span·class="go">datetime.date(2016,·4,·27)</span> |
640 | <span·class="go">datetime.date(2011,·7,·3 | 640 | <span·class="go">datetime.date(2011,·7,·31)</span> |
641 | <span·class="go">datetime.date(1993,·1,·2 | 641 | <span·class="go">datetime.date(1993,·1,·26)</span> |
642 | <span·class="go">datetime.date(1984,·3,·15)</span> | 642 | <span·class="go">datetime.date(1984,·3,·15)</span> |
643 | <span·class="go">datetime.date(1998,·1,·17)</span> | 643 | <span·class="go">datetime.date(1998,·1,·17)</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"> |
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(2006,·10,·2 | 675 | <span·class="go">datetime.date(2006,·10,·22)</span> |
676 | <span·class="go">datetime.date(1996,·10,· | 676 | <span·class="go">datetime.date(1996,·10,·10)</span> |
677 | <span·class="go">datetime.date(1957,·8,·2 | 677 | <span·class="go">datetime.date(1957,·8,·22)</span> |
678 | <span·class="go">datetime.date(1938,·11,·2 | 678 | <span·class="go">datetime.date(1938,·11,·21)</span> |
679 | <span·class="go">datetime.date(1968,·2,·2 | 679 | <span·class="go">datetime.date(1968,·2,·29)</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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> |
702 | <dd·class="field-even"><p></p></dd> | 702 | <dd·class="field-even"><p></p></dd> |
703 | </dl> | 703 | </dl> |
704 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 704 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
705 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 705 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
706 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> | 706 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
707 | <span·class="gp">...</span> | 707 | <span·class="gp">...</span> |
708 | <span·class="go">datetime.date(2020,·12,·2 | 708 | <span·class="go">datetime.date(2020,·12,·26)</span> |
709 | <span·class="go">datetime.date(2018,·11,· | 709 | <span·class="go">datetime.date(2018,·11,·2)</span> |
710 | <span·class="go">datetime.date(2010,·6,·14)</span> | 710 | <span·class="go">datetime.date(2010,·6,·14)</span> |
711 | <span·class="go">datetime.date(2006,·6,·8)</span> | 711 | <span·class="go">datetime.date(2006,·6,·8)</span> |
Max diff block lines reached; 83963/100873 bytes (83.24%) of diff not shown. |
Offset 252, 17 lines modified | Offset 252, 17 lines modified | ||
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 | ············'AM' | 257 | ············'AM' |
258 | ············'AM' | 258 | ············'AM' |
259 | ············'PM' | ||
260 | ············'AM' | ||
261 | ············'AM' | 259 | ············'AM' |
260 | ············'PM' | ||
261 | ············'PM' | ||
262 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 262 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
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, 17 lines modified | Offset 282, 17 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 | ············'2016-04-2 | 289 | ············'2016-04-27' |
290 | ············'2011-07-3 | 290 | ············'2011-07-31' |
291 | ············'1993-01-2 | 291 | ············'1993-01-26' |
292 | ············'1984-03-15' | 292 | ············'1984-03-15' |
293 | ············'1998-01-17' | 293 | ············'1998-01-17' |
294 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 294 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
295 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 295 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
296 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 296 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(). |
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(2020,·3,· | 311 | ············datetime.date(2020,·3,·9) |
312 | ············datetime.date(2017,·8,· | 312 | ············datetime.date(2017,·8,·4) |
313 | ············datetime.date(2007,·6,·2 | 313 | ············datetime.date(2007,·6,·21) |
314 | ············datetime.date(2002,·8,·1 | 314 | ············datetime.date(2002,·8,·15) |
315 | ············datetime.date(2010,·3,·1 | 315 | ············datetime.date(2010,·3,·11) |
316 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 316 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
317 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 317 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
318 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 318 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 322 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 324, 31 lines modified | Offset 324, 31 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(2024,·11,· | 331 | ············datetime.date(2024,·11,·8) |
332 | ············datetime.date(2024,·11,· | 332 | ············datetime.date(2024,·11,·8) |
333 | ············datetime.date(2024,·11,· | 333 | ············datetime.date(2024,·11,·8) |
334 | ············datetime.date(2024,·11,· | 334 | ············datetime.date(2024,·11,·8) |
335 | ············datetime.date(2024,·11,· | 335 | ············datetime.date(2024,·11,·8) |
336 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 336 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(2016,·4,·2 | 345 | ············datetime.date(2016,·4,·27) |
346 | ············datetime.date(2011,·7,·3 | 346 | ············datetime.date(2011,·7,·31) |
347 | ············datetime.date(1993,·1,·2 | 347 | ············datetime.date(1993,·1,·26) |
348 | ············datetime.date(1984,·3,·15) | 348 | ············datetime.date(1984,·3,·15) |
349 | ············datetime.date(1998,·1,·17) | 349 | ············datetime.date(1998,·1,·17) |
350 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 350 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
351 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 351 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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: |
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(2006,·10,·2 | 367 | ············datetime.date(2006,·10,·22) |
368 | ············datetime.date(1996,·10,· | 368 | ············datetime.date(1996,·10,·10) |
369 | ············datetime.date(1957,·8,·2 | 369 | ············datetime.date(1957,·8,·22) |
370 | ············datetime.date(1938,·11,·2 | 370 | ············datetime.date(1938,·11,·21) |
371 | ············datetime.date(1968,·2,·2 | 371 | ············datetime.date(1968,·2,·29) |
372 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 372 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
373 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 373 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
374 | ············Gets·a·Date·object·for·the·current·century. | 374 | ············Gets·a·Date·object·for·the·current·century. |
375 | ··············Parameters: | 375 | ··············Parameters: |
376 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 376 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
377 | ························today | 377 | ························today |
378 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 378 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·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 | ············... |
389 | ············datetime.date(2020,·12,·2 | 389 | ············datetime.date(2020,·12,·26) |
390 | ············datetime.date(2018,·11,· | 390 | ············datetime.date(2018,·11,·2) |
391 | ············datetime.date(2010,·6,·14) | 391 | ············datetime.date(2010,·6,·14) |
392 | ············datetime.date(2006,·6,·8) | 392 | ············datetime.date(2006,·6,·8) |
393 | ············datetime.date(2012,·9,·1 | 393 | ············datetime.date(2012,·9,·15) |
394 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 394 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
395 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 395 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
396 | ············Gets·a·Date·object·for·the·decade·year. | 396 | ············Gets·a·Date·object·for·the·decade·year. |
397 | ··············Parameters: | 397 | ··············Parameters: |
398 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 398 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
Max diff block lines reached; 27194/34093 bytes (79.76%) 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">('867305-2653',·'SE16867305265301')</span> |
2130 | <span·class="go">('388251-9402',·'SE16388251940201')</span> | 2130 | <span·class="go">('388251-9402',·'SE16388251940201')</span> |
2131 | <span·class="go">(' | 2131 | <span·class="go">('948145-5971',·'SE16948145597101')</span> |
2132 | <span·class="go">('738417-2883',·'SE16738417288301')</span> | 2132 | <span·class="go">('738417-2883',·'SE16738417288301')</span> |
2133 | <span·class="go">(' | 2133 | <span·class="go">('723279-8186',·'SE16723279818601')</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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">'667305-2657'</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">'738417-2883'</span> |
2156 | <span·class="go">' | 2156 | <span·class="go">'623279-8188'</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.12)"><span·class="pre">int</span></a></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.12)"><span·class="pre">int</span></a></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.12)"><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.12)"><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.12)"><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.12)"><span·class="pre">int</span></a></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.12)"><span·class="pre">int</span></a></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.12)"><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.12)"><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.12)"><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">'72042 | 2179 | <span·class="go">'720422-7768'</span> |
2180 | <span·class="go">'69021 | 2180 | <span·class="go">'690219-0419'</span> |
2181 | <span·class="go">'83082 | 2181 | <span·class="go">'830822-9882'</span> |
2182 | <span·class="go">'60123 | 2182 | <span·class="go">'601231-4974'</span> |
2183 | <span·class="go">'70071 | 2183 | <span·class="go">'700717-9406'</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.12)"><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.12)"><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 2195, 17 lines modified | Offset 2195, 17 lines modified | ||
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">'SE16267305265601'</span> | 2201 | <span·class="go">'SE16267305265601'</span> |
2202 | <span·class="go">'SE16 | 2202 | <span·class="go">'SE16288251940401'</span> |
2203 | <span·class="go">'SE16 | 2203 | <span·class="go">'SE16348145597401'</span> |
2204 | <span·class="go">'SE16 | 2204 | <span·class="go">'SE16338417288201'</span> |
2205 | <span·class="go">'SE16723279818601'</span> | 2205 | <span·class="go">'SE16723279818601'</span> |
2206 | </pre></div> | 2206 | </pre></div> |
2207 | </div> | 2207 | </div> |
2208 | </dd></dl> | 2208 | </dd></dl> |
2209 | </dd></dl> | 2209 | </dd></dl> |
Offset 1176, 63 lines modified | Offset 1176, 63 lines modified | ||
1176 | ········_\x8s_\x8t_\x8r]_\x8¶ | 1176 | ········_\x8s_\x8t_\x8r]_\x8¶ |
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 | ············('867305-2653',·'SE16867305265301') |
1184 | ············('388251-9402',·'SE16388251940201') | 1184 | ············('388251-9402',·'SE16388251940201') |
1185 | ············(' | 1185 | ············('948145-5971',·'SE16948145597101') |
1186 | ············('738417-2883',·'SE16738417288301') | 1186 | ············('738417-2883',·'SE16738417288301') |
1187 | ············(' | 1187 | ············('723279-8186',·'SE16723279818601') |
1188 | ········org_id(l\x8lo\x8on\x8ng\x8g:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e,·d\x8da\x8as\x8sh\x8h:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ | 1188 | ········org_id(l\x8lo\x8on\x8ng\x8g:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e,·d\x8da\x8as\x8sh\x8h:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ |
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)·_\x8h_\x8t_\x8t_\x8p_\x8s_\x8:_\x8/_\x8/_\x8s_\x8v_\x8._\x8w_\x8i_\x8k_\x8i_\x8p_\x8e_\x8d_\x8i_\x8a_\x8._\x8o_\x8r_\x8g_\x8/_\x8w_\x8i_\x8k_\x8i_\x8/_\x8O_\x8r_\x8g_\x8a_\x8n_\x8i_\x8s_\x8a_\x8t_\x8i_\x8o_\x8n_\x8s_\x8n_\x8u_\x8m_\x8m_\x8e_\x8r | 1190 | ············Swedish)·_\x8h_\x8t_\x8t_\x8p_\x8s_\x8:_\x8/_\x8/_\x8s_\x8v_\x8._\x8w_\x8i_\x8k_\x8i_\x8p_\x8e_\x8d_\x8i_\x8a_\x8._\x8o_\x8r_\x8g_\x8/_\x8w_\x8i_\x8k_\x8i_\x8/_\x8O_\x8r_\x8g_\x8a_\x8n_\x8i_\x8s_\x8a_\x8t_\x8i_\x8o_\x8n_\x8s_\x8n_\x8u_\x8m_\x8m_\x8e_\x8r |
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 | ············'667305-2657' |
1197 | ············' | 1197 | ············'388251-9402' |
1198 | ············' | 1198 | ············'248145-5976' |
1199 | ············' | 1199 | ············'738417-2883' |
1200 | ············' | 1200 | ············'623279-8188' |
1201 | ········ssn(m\x8mi\x8in\x8n_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x818\x88,·m\x8ma\x8ax\x8x_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·9\x890\x80,·l\x8lo\x8on\x8ng\x8g:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e,·d\x8da\x8as\x8sh\x8h:\x8: | 1201 | ········ssn(m\x8mi\x8in\x8n_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x818\x88,·m\x8ma\x8ax\x8x_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·9\x890\x80,·l\x8lo\x8on\x8ng\x8g:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e,·d\x8da\x8as\x8sh\x8h:\x8: |
1202 | ········_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ | 1202 | ········_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ |
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 | ············_\x8h_\x8t_\x8t_\x8p_\x8:_\x8/_\x8/_\x8e_\x8n_\x8._\x8w_\x8i_\x8k_\x8i_\x8p_\x8e_\x8d_\x8i_\x8a_\x8._\x8o_\x8r_\x8g_\x8/_\x8w_\x8i_\x8k_\x8i_\x8/_\x8P_\x8e_\x8r_\x8s_\x8o_\x8n_\x8a_\x8l_\x8__\x8i_\x8d_\x8e_\x8n_\x8t_\x8i_\x8t_\x8y_\x8__\x8n_\x8u_\x8m_\x8b_\x8e_\x8r_\x8__\x8(_\x8S_\x8w_\x8e_\x8d_\x8e_\x8n) | 1209 | ············_\x8h_\x8t_\x8t_\x8p_\x8:_\x8/_\x8/_\x8e_\x8n_\x8._\x8w_\x8i_\x8k_\x8i_\x8p_\x8e_\x8d_\x8i_\x8a_\x8._\x8o_\x8r_\x8g_\x8/_\x8w_\x8i_\x8k_\x8i_\x8/_\x8P_\x8e_\x8r_\x8s_\x8o_\x8n_\x8a_\x8l_\x8__\x8i_\x8d_\x8e_\x8n_\x8t_\x8i_\x8t_\x8y_\x8__\x8n_\x8u_\x8m_\x8b_\x8e_\x8r_\x8__\x8(_\x8S_\x8w_\x8e_\x8d_\x8e_\x8n) |
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 | ············'72042 | 1215 | ············'720422-7768' |
1216 | ············'69021 | 1216 | ············'690219-0419' |
1217 | ············'83082 | 1217 | ············'830822-9882' |
1218 | ············'60123 | 1218 | ············'601231-4974' |
1219 | ············'70071 | 1219 | ············'700717-9406' |
1220 | ········vat_id()·→·_\x8s_\x8t_\x8r_\x8¶ | 1220 | ········vat_id()·→·_\x8s_\x8t_\x8r_\x8¶ |
1221 | ············_\x8h_\x8t_\x8t_\x8p_\x8:_\x8/_\x8/_\x8e_\x8c_\x8._\x8e_\x8u_\x8r_\x8o_\x8p_\x8a_\x8._\x8e_\x8u_\x8/_\x8t_\x8a_\x8x_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8c_\x8u_\x8s_\x8t_\x8o_\x8m_\x8s_\x8/_\x8v_\x8i_\x8e_\x8s_\x8/_\x8f_\x8a_\x8q_\x8._\x8h_\x8t_\x8m_\x8l_\x8#_\x8i_\x8t_\x8e_\x8m_\x8__\x81_\x81·:return: | 1221 | ············_\x8h_\x8t_\x8t_\x8p_\x8:_\x8/_\x8/_\x8e_\x8c_\x8._\x8e_\x8u_\x8r_\x8o_\x8p_\x8a_\x8._\x8e_\x8u_\x8/_\x8t_\x8a_\x8x_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8c_\x8u_\x8s_\x8t_\x8o_\x8m_\x8s_\x8/_\x8v_\x8i_\x8e_\x8s_\x8/_\x8f_\x8a_\x8q_\x8._\x8h_\x8t_\x8m_\x8l_\x8#_\x8i_\x8t_\x8e_\x8m_\x8__\x81_\x81·: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 | ············'SE16267305265601' | 1228 | ············'SE16267305265601' |
1229 | ············'SE16 | 1229 | ············'SE16288251940401' |
1230 | ············'SE16 | 1230 | ············'SE16348145597401' |
1231 | ············'SE16 | 1231 | ············'SE16338417288201' |
1232 | ············'SE16723279818601' | 1232 | ············'SE16723279818601' |
1233 | *\x8**\x8**\x8**\x8*·_\x8T\x8T_\x8a\x8a_\x8b\x8b_\x8l\x8l_\x8e\x8e_\x8·_\x8o\x8o_\x8f\x8f_\x8·_\x8C\x8C_\x8o\x8o_\x8n\x8n_\x8t\x8t_\x8e\x8e_\x8n\x8n_\x8t\x8t_\x8s\x8s·*\x8**\x8**\x8**\x8* | 1233 | *\x8**\x8**\x8**\x8*·_\x8T\x8T_\x8a\x8a_\x8b\x8b_\x8l\x8l_\x8e\x8e_\x8·_\x8o\x8o_\x8f\x8f_\x8·_\x8C\x8C_\x8o\x8o_\x8n\x8n_\x8t\x8t_\x8e\x8e_\x8n\x8n_\x8t\x8t_\x8s\x8s·*\x8**\x8**\x8**\x8* |
1234 | ····*·_\x8L_\x8o_\x8c_\x8a_\x8l_\x8e_\x8·_\x8s_\x8v_\x8__\x8S_\x8E | 1234 | ····*·_\x8L_\x8o_\x8c_\x8a_\x8l_\x8e_\x8·_\x8s_\x8v_\x8__\x8S_\x8E |
1235 | ··········o·_\x8f_\x8a_\x8k_\x8e_\x8r_\x8._\x8p_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8s_\x8._\x8a_\x8d_\x8d_\x8r_\x8e_\x8s_\x8s | 1235 | ··········o·_\x8f_\x8a_\x8k_\x8e_\x8r_\x8._\x8p_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8s_\x8._\x8a_\x8d_\x8d_\x8r_\x8e_\x8s_\x8s |
1236 | ················#·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 1236 | ················#·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
1237 | ······················#·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8._\x8a_\x8d_\x8d_\x8r_\x8e_\x8s_\x8s_\x8(_\x8) | 1237 | ······················#·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8._\x8a_\x8d_\x8d_\x8r_\x8e_\x8s_\x8s_\x8(_\x8) |
1238 | ······················#·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8._\x8a_\x8d_\x8m_\x8i_\x8n_\x8i_\x8s_\x8t_\x8r_\x8a_\x8t_\x8i_\x8v_\x8e_\x8__\x8u_\x8n_\x8i_\x8t_\x8(_\x8) | 1238 | ······················#·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8._\x8a_\x8d_\x8m_\x8i_\x8n_\x8i_\x8s_\x8t_\x8r_\x8a_\x8t_\x8i_\x8v_\x8e_\x8__\x8u_\x8n_\x8i_\x8t_\x8(_\x8) |
Offset 391, 17 lines modified | Offset 391, 17 lines modified | ||
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">'AM'</span> | 396 | <span·class="go">'AM'</span> |
397 | <span·class="go">'AM'</span> | 397 | <span·class="go">'AM'</span> |
398 | <span·class="go">'PM'</span> | ||
399 | <span·class="go">'AM'</span> | ||
400 | <span·class="go">'AM'</span> | 398 | <span·class="go">'AM'</span> |
399 | <span·class="go">'PM'</span> | ||
400 | <span·class="go">'PM'</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.12)"><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.12)"><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, 17 lines modified | Offset 442, 17 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">'2016-04-2 | 449 | <span·class="go">'2016-04-27'</span> |
450 | <span·class="go">'2011-07-3 | 450 | <span·class="go">'2011-07-31'</span> |
451 | <span·class="go">'1993-01-2 | 451 | <span·class="go">'1993-01-26'</span> |
452 | <span·class="go">'1984-03-15'</span> | 452 | <span·class="go">'1984-03-15'</span> |
453 | <span·class="go">'1998-01-17'</span> | 453 | <span·class="go">'1998-01-17'</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"> |
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(2020,·3,· | 483 | <span·class="go">datetime.date(2020,·3,·9)</span> |
484 | <span·class="go">datetime.date(2017,·8,· | 484 | <span·class="go">datetime.date(2017,·8,·4)</span> |
485 | <span·class="go">datetime.date(2007,·6,·2 | 485 | <span·class="go">datetime.date(2007,·6,·21)</span> |
486 | <span·class="go">datetime.date(2002,·8,·1 | 486 | <span·class="go">datetime.date(2002,·8,·15)</span> |
487 | <span·class="go">datetime.date(2010,·3,·1 | 487 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 514 | <span·class="go">datetime.date(2024,·11,·8)</span> |
515 | <span·class="go">datetime.date(2024,·11,· | 515 | <span·class="go">datetime.date(2024,·11,·8)</span> |
516 | <span·class="go">datetime.date(2024,·11,· | 516 | <span·class="go">datetime.date(2024,·11,·8)</span> |
517 | <span·class="go">datetime.date(2024,·11,· | 517 | <span·class="go">datetime.date(2024,·11,·8)</span> |
518 | <span·class="go">datetime.date(2024,·11,· | 518 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 531, 17 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(2016,·4,·2 | 538 | <span·class="go">datetime.date(2016,·4,·27)</span> |
539 | <span·class="go">datetime.date(2011,·7,·3 | 539 | <span·class="go">datetime.date(2011,·7,·31)</span> |
540 | <span·class="go">datetime.date(1993,·1,·2 | 540 | <span·class="go">datetime.date(1993,·1,·26)</span> |
541 | <span·class="go">datetime.date(1984,·3,·15)</span> | 541 | <span·class="go">datetime.date(1984,·3,·15)</span> |
542 | <span·class="go">datetime.date(1998,·1,·17)</span> | 542 | <span·class="go">datetime.date(1998,·1,·17)</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"> |
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(2006,·10,·2 | 574 | <span·class="go">datetime.date(2006,·10,·22)</span> |
575 | <span·class="go">datetime.date(1996,·10,· | 575 | <span·class="go">datetime.date(1996,·10,·10)</span> |
576 | <span·class="go">datetime.date(1957,·8,·2 | 576 | <span·class="go">datetime.date(1957,·8,·22)</span> |
577 | <span·class="go">datetime.date(1938,·11,·2 | 577 | <span·class="go">datetime.date(1938,·11,·21)</span> |
578 | <span·class="go">datetime.date(1968,·2,·2 | 578 | <span·class="go">datetime.date(1968,·2,·29)</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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> |
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_this_century</span><span·class="p">()</span> | 605 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
606 | <span·class="gp">...</span> | 606 | <span·class="gp">...</span> |
607 | <span·class="go">datetime.date(2020,·12,·2 | 607 | <span·class="go">datetime.date(2020,·12,·26)</span> |
608 | <span·class="go">datetime.date(2018,·11,· | 608 | <span·class="go">datetime.date(2018,·11,·2)</span> |
609 | <span·class="go">datetime.date(2010,·6,·14)</span> | 609 | <span·class="go">datetime.date(2010,·6,·14)</span> |
610 | <span·class="go">datetime.date(2006,·6,·8)</span> | 610 | <span·class="go">datetime.date(2006,·6,·8)</span> |
Max diff block lines reached; 83957/100867 bytes (83.24%) of diff not shown. |
Offset 197, 17 lines modified | Offset 197, 17 lines modified | ||
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 | ············'AM' | 202 | ············'AM' |
203 | ············'AM' | 203 | ············'AM' |
204 | ············'PM' | ||
205 | ············'AM' | ||
206 | ············'AM' | 204 | ············'AM' |
205 | ············'PM' | ||
206 | ············'PM' | ||
207 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 207 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
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, 17 lines modified | Offset 227, 17 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 | ············'2016-04-2 | 234 | ············'2016-04-27' |
235 | ············'2011-07-3 | 235 | ············'2011-07-31' |
236 | ············'1993-01-2 | 236 | ············'1993-01-26' |
237 | ············'1984-03-15' | 237 | ············'1984-03-15' |
238 | ············'1998-01-17' | 238 | ············'1998-01-17' |
239 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 239 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
240 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 240 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
241 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 241 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(). |
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(2020,·3,· | 256 | ············datetime.date(2020,·3,·9) |
257 | ············datetime.date(2017,·8,· | 257 | ············datetime.date(2017,·8,·4) |
258 | ············datetime.date(2007,·6,·2 | 258 | ············datetime.date(2007,·6,·21) |
259 | ············datetime.date(2002,·8,·1 | 259 | ············datetime.date(2002,·8,·15) |
260 | ············datetime.date(2010,·3,·1 | 260 | ············datetime.date(2010,·3,·11) |
261 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 261 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
262 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 262 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
263 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 263 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 267 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 269, 31 lines modified | Offset 269, 31 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(2024,·11,· | 276 | ············datetime.date(2024,·11,·8) |
277 | ············datetime.date(2024,·11,· | 277 | ············datetime.date(2024,·11,·8) |
278 | ············datetime.date(2024,·11,· | 278 | ············datetime.date(2024,·11,·8) |
279 | ············datetime.date(2024,·11,· | 279 | ············datetime.date(2024,·11,·8) |
280 | ············datetime.date(2024,·11,· | 280 | ············datetime.date(2024,·11,·8) |
281 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 281 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(2016,·4,·2 | 290 | ············datetime.date(2016,·4,·27) |
291 | ············datetime.date(2011,·7,·3 | 291 | ············datetime.date(2011,·7,·31) |
292 | ············datetime.date(1993,·1,·2 | 292 | ············datetime.date(1993,·1,·26) |
293 | ············datetime.date(1984,·3,·15) | 293 | ············datetime.date(1984,·3,·15) |
294 | ············datetime.date(1998,·1,·17) | 294 | ············datetime.date(1998,·1,·17) |
295 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 295 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
296 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 296 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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: |
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(2006,·10,·2 | 312 | ············datetime.date(2006,·10,·22) |
313 | ············datetime.date(1996,·10,· | 313 | ············datetime.date(1996,·10,·10) |
314 | ············datetime.date(1957,·8,·2 | 314 | ············datetime.date(1957,·8,·22) |
315 | ············datetime.date(1938,·11,·2 | 315 | ············datetime.date(1938,·11,·21) |
316 | ············datetime.date(1968,·2,·2 | 316 | ············datetime.date(1968,·2,·29) |
317 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 317 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
318 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 318 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
319 | ············Gets·a·Date·object·for·the·current·century. | 319 | ············Gets·a·Date·object·for·the·current·century. |
320 | ··············Parameters: | 320 | ··············Parameters: |
321 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 321 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
322 | ························today | 322 | ························today |
323 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 323 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·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 | ············... |
334 | ············datetime.date(2020,·12,·2 | 334 | ············datetime.date(2020,·12,·26) |
335 | ············datetime.date(2018,·11,· | 335 | ············datetime.date(2018,·11,·2) |
336 | ············datetime.date(2010,·6,·14) | 336 | ············datetime.date(2010,·6,·14) |
337 | ············datetime.date(2006,·6,·8) | 337 | ············datetime.date(2006,·6,·8) |
338 | ············datetime.date(2012,·9,·1 | 338 | ············datetime.date(2012,·9,·15) |
339 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 339 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
340 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 340 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
341 | ············Gets·a·Date·object·for·the·decade·year. | 341 | ············Gets·a·Date·object·for·the·decade·year. |
342 | ··············Parameters: | 342 | ··············Parameters: |
343 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 343 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
Max diff block lines reached; 27194/34093 bytes (79.76%) of diff not shown. |
Offset 1479, 17 lines modified | Offset 1479, 17 lines modified | ||
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">'AM'</span> | 1484 | <span·class="go">'AM'</span> |
1485 | <span·class="go">'AM'</span> | 1485 | <span·class="go">'AM'</span> |
1486 | <span·class="go">'PM'</span> | ||
1487 | <span·class="go">'AM'</span> | ||
1488 | <span·class="go">'AM'</span> | 1486 | <span·class="go">'AM'</span> |
1487 | <span·class="go">'PM'</span> | ||
1488 | <span·class="go">'PM'</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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, 17 lines modified | Offset 1534, 17 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">'2 | 1541 | <span·class="go">'27·เม.ย.·2559'</span> |
1542 | <span·class="go">'3 | 1542 | <span·class="go">'31·ก.ค.·2554'</span> |
1543 | <span·class="go">'2 | 1543 | <span·class="go">'26·ม.ค.·2536'</span> |
1544 | <span·class="go">'15·มี.ค.·2527'</span> | 1544 | <span·class="go">'15·มี.ค.·2527'</span> |
1545 | <span·class="go">'17·ม.ค.·2541'</span> | 1545 | <span·class="go">'17·ม.ค.·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"> |
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(2020,·3,· | 1575 | <span·class="go">datetime.date(2020,·3,·9)</span> |
1576 | <span·class="go">datetime.date(2017,·8,· | 1576 | <span·class="go">datetime.date(2017,·8,·4)</span> |
1577 | <span·class="go">datetime.date(2007,·6,·2 | 1577 | <span·class="go">datetime.date(2007,·6,·21)</span> |
1578 | <span·class="go">datetime.date(2002,·8,·1 | 1578 | <span·class="go">datetime.date(2002,·8,·15)</span> |
1579 | <span·class="go">datetime.date(2010,·3,·1 | 1579 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 1606 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1607 | <span·class="go">datetime.date(2024,·11,· | 1607 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1608 | <span·class="go">datetime.date(2024,·11,· | 1608 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1609 | <span·class="go">datetime.date(2024,·11,· | 1609 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1610 | <span·class="go">datetime.date(2024,·11,· | 1610 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 1623, 17 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(2016,·4,·2 | 1630 | <span·class="go">datetime.date(2016,·4,·27)</span> |
1631 | <span·class="go">datetime.date(2011,·7,·3 | 1631 | <span·class="go">datetime.date(2011,·7,·31)</span> |
1632 | <span·class="go">datetime.date(1993,·1,·2 | 1632 | <span·class="go">datetime.date(1993,·1,·26)</span> |
1633 | <span·class="go">datetime.date(1984,·3,·15)</span> | 1633 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1634 | <span·class="go">datetime.date(1998,·1,·17)</span> | 1634 | <span·class="go">datetime.date(1998,·1,·17)</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"> |
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(2006,·10,·2 | 1666 | <span·class="go">datetime.date(2006,·10,·22)</span> |
1667 | <span·class="go">datetime.date(1996,·10,· | 1667 | <span·class="go">datetime.date(1996,·10,·10)</span> |
1668 | <span·class="go">datetime.date(1957,·8,·2 | 1668 | <span·class="go">datetime.date(1957,·8,·22)</span> |
1669 | <span·class="go">datetime.date(1938,·11,·2 | 1669 | <span·class="go">datetime.date(1938,·11,·21)</span> |
1670 | <span·class="go">datetime.date(1968,·2,·2 | 1670 | <span·class="go">datetime.date(1968,·2,·29)</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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> |
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_this_century</span><span·class="p">()</span> | 1697 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
1698 | <span·class="gp">...</span> | 1698 | <span·class="gp">...</span> |
1699 | <span·class="go">datetime.date(2020,·12,·2 | 1699 | <span·class="go">datetime.date(2020,·12,·26)</span> |
1700 | <span·class="go">datetime.date(2018,·11,· | 1700 | <span·class="go">datetime.date(2018,·11,·2)</span> |
1701 | <span·class="go">datetime.date(2010,·6,·14)</span> | 1701 | <span·class="go">datetime.date(2010,·6,·14)</span> |
1702 | <span·class="go">datetime.date(2006,·6,·8)</span> | 1702 | <span·class="go">datetime.date(2006,·6,·8)</span> |
Max diff block lines reached; 87383/105325 bytes (82.97%) of diff not shown. |
Offset 869, 17 lines modified | Offset 869, 17 lines modified | ||
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 | ············'AM' | 874 | ············'AM' |
875 | ············'AM' | 875 | ············'AM' |
876 | ············'PM' | ||
877 | ············'AM' | ||
878 | ············'AM' | 876 | ············'AM' |
877 | ············'PM' | ||
878 | ············'PM' | ||
879 | ········century(t\x8th\x8ha\x8ai\x8i_\x8_d\x8di\x8ig\x8gi\x8it\x8t:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e,·b\x8bu\x8ud\x8dd\x8dh\x8hi\x8is\x8st\x8t_\x8_e\x8er\x8ra\x8a:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ | 879 | ········century(t\x8th\x8ha\x8ai\x8i_\x8_d\x8di\x8ig\x8gi\x8it\x8t:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e,·b\x8bu\x8ud\x8dd\x8dh\x8hi\x8is\x8st\x8t_\x8_e\x8er\x8ra\x8a:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ |
880 | ··············Parameters: | 880 | ··············Parameters: |
881 | ······················*·(\x8(d\x8de\x8ef\x8fa\x8au\x8ul\x8lt\x8t·(b\x8bu\x8ud\x8dd\x8dh\x8hi\x8is\x8st\x8t:\x8:_\x8_e\x8er\x8ra\x8a·u\x8us\x8se\x8e·B\x8Bu\x8ud\x8dd\x8di\x8is\x8st\x8t·e\x8er\x8ra\x8a·o\x8or\x8r·n\x8no\x8ot\x8t)·– | 881 | ······················*·(\x8(d\x8de\x8ef\x8fa\x8au\x8ul\x8lt\x8t·(b\x8bu\x8ud\x8dd\x8dh\x8hi\x8is\x8st\x8t:\x8:_\x8_e\x8er\x8ra\x8a·u\x8us\x8se\x8e·B\x8Bu\x8ud\x8dd\x8di\x8is\x8st\x8t·e\x8er\x8ra\x8a·o\x8or\x8r·n\x8no\x8ot\x8t)·– |
882 | ························False) | 882 | ························False) |
883 | ······················*·(\x8(d\x8de\x8ef\x8fa\x8au\x8ul\x8lt\x8t·–·True) | 883 | ······················*·(\x8(d\x8de\x8ef\x8fa\x8au\x8ul\x8lt\x8t·–·True) |
884 | ··············Example: | 884 | ··············Example: |
885 | ··················‘20’ | 885 | ··················‘20’ |
Offset 903, 17 lines modified | Offset 903, 17 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 | ············'2 | 910 | ············'27·เม.ย.·2559' |
911 | ············'3 | 911 | ············'31·ก.ค.·2554' |
912 | ············'2 | 912 | ············'26·ม.ค.·2536' |
913 | ············'15·มี.ค.·2527' | 913 | ············'15·มี.ค.·2527' |
914 | ············'17·ม.ค.·2541' | 914 | ············'17·ม.ค.·2541' |
915 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 915 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
916 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 916 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
917 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 917 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(). |
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(2020,·3,· | 932 | ············datetime.date(2020,·3,·9) |
933 | ············datetime.date(2017,·8,· | 933 | ············datetime.date(2017,·8,·4) |
934 | ············datetime.date(2007,·6,·2 | 934 | ············datetime.date(2007,·6,·21) |
935 | ············datetime.date(2002,·8,·1 | 935 | ············datetime.date(2002,·8,·15) |
936 | ············datetime.date(2010,·3,·1 | 936 | ············datetime.date(2010,·3,·11) |
937 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 937 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
938 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 938 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
939 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 939 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 943 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 945, 31 lines modified | Offset 945, 31 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(2024,·11,· | 952 | ············datetime.date(2024,·11,·8) |
953 | ············datetime.date(2024,·11,· | 953 | ············datetime.date(2024,·11,·8) |
954 | ············datetime.date(2024,·11,· | 954 | ············datetime.date(2024,·11,·8) |
955 | ············datetime.date(2024,·11,· | 955 | ············datetime.date(2024,·11,·8) |
956 | ············datetime.date(2024,·11,· | 956 | ············datetime.date(2024,·11,·8) |
957 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 957 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(2016,·4,·2 | 966 | ············datetime.date(2016,·4,·27) |
967 | ············datetime.date(2011,·7,·3 | 967 | ············datetime.date(2011,·7,·31) |
968 | ············datetime.date(1993,·1,·2 | 968 | ············datetime.date(1993,·1,·26) |
969 | ············datetime.date(1984,·3,·15) | 969 | ············datetime.date(1984,·3,·15) |
970 | ············datetime.date(1998,·1,·17) | 970 | ············datetime.date(1998,·1,·17) |
971 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 971 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
972 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 972 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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: |
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(2006,·10,·2 | 988 | ············datetime.date(2006,·10,·22) |
989 | ············datetime.date(1996,·10,· | 989 | ············datetime.date(1996,·10,·10) |
990 | ············datetime.date(1957,·8,·2 | 990 | ············datetime.date(1957,·8,·22) |
991 | ············datetime.date(1938,·11,·2 | 991 | ············datetime.date(1938,·11,·21) |
992 | ············datetime.date(1968,·2,·2 | 992 | ············datetime.date(1968,·2,·29) |
993 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 993 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
994 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 994 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
995 | ············Gets·a·Date·object·for·the·current·century. | 995 | ············Gets·a·Date·object·for·the·current·century. |
996 | ··············Parameters: | 996 | ··············Parameters: |
997 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 997 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
998 | ························today | 998 | ························today |
999 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 999 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·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 | ············... |
1010 | ············datetime.date(2020,·12,·2 | 1010 | ············datetime.date(2020,·12,·26) |
1011 | ············datetime.date(2018,·11,· | 1011 | ············datetime.date(2018,·11,·2) |
1012 | ············datetime.date(2010,·6,·14) | 1012 | ············datetime.date(2010,·6,·14) |
1013 | ············datetime.date(2006,·6,·8) | 1013 | ············datetime.date(2006,·6,·8) |
1014 | ············datetime.date(2012,·9,·1 | 1014 | ············datetime.date(2012,·9,·15) |
1015 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 1015 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
1016 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1016 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
1017 | ············Gets·a·Date·object·for·the·decade·year. | 1017 | ············Gets·a·Date·object·for·the·decade·year. |
1018 | ··············Parameters: | 1018 | ··············Parameters: |
1019 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 1019 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
Max diff block lines reached; 29016/36313 bytes (79.91%) of diff not shown. |
Offset 1641, 17 lines modified | Offset 1641, 17 lines modified | ||
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">'AM'</span> | 1646 | <span·class="go">'AM'</span> |
1647 | <span·class="go">'AM'</span> | 1647 | <span·class="go">'AM'</span> |
1648 | <span·class="go">'PM'</span> | ||
1649 | <span·class="go">'AM'</span> | ||
1650 | <span·class="go">'AM'</span> | 1648 | <span·class="go">'AM'</span> |
1649 | <span·class="go">'PM'</span> | ||
1650 | <span·class="go">'PM'</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.12)"><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.12)"><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, 17 lines modified | Offset 1692, 17 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">'2016-04-2 | 1699 | <span·class="go">'2016-04-27'</span> |
1700 | <span·class="go">'2011-07-3 | 1700 | <span·class="go">'2011-07-31'</span> |
1701 | <span·class="go">'1993-01-2 | 1701 | <span·class="go">'1993-01-26'</span> |
1702 | <span·class="go">'1984-03-15'</span> | 1702 | <span·class="go">'1984-03-15'</span> |
1703 | <span·class="go">'1998-01-17'</span> | 1703 | <span·class="go">'1998-01-17'</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"> |
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(2020,·3,· | 1733 | <span·class="go">datetime.date(2020,·3,·9)</span> |
1734 | <span·class="go">datetime.date(2017,·8,· | 1734 | <span·class="go">datetime.date(2017,·8,·4)</span> |
1735 | <span·class="go">datetime.date(2007,·6,·2 | 1735 | <span·class="go">datetime.date(2007,·6,·21)</span> |
1736 | <span·class="go">datetime.date(2002,·8,·1 | 1736 | <span·class="go">datetime.date(2002,·8,·15)</span> |
1737 | <span·class="go">datetime.date(2010,·3,·1 | 1737 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 1764 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1765 | <span·class="go">datetime.date(2024,·11,· | 1765 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1766 | <span·class="go">datetime.date(2024,·11,· | 1766 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1767 | <span·class="go">datetime.date(2024,·11,· | 1767 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1768 | <span·class="go">datetime.date(2024,·11,· | 1768 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 1781, 17 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(2016,·4,·2 | 1788 | <span·class="go">datetime.date(2016,·4,·27)</span> |
1789 | <span·class="go">datetime.date(2011,·7,·3 | 1789 | <span·class="go">datetime.date(2011,·7,·31)</span> |
1790 | <span·class="go">datetime.date(1993,·1,·2 | 1790 | <span·class="go">datetime.date(1993,·1,·26)</span> |
1791 | <span·class="go">datetime.date(1984,·3,·15)</span> | 1791 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1792 | <span·class="go">datetime.date(1998,·1,·17)</span> | 1792 | <span·class="go">datetime.date(1998,·1,·17)</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"> |
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(2006,·10,·2 | 1824 | <span·class="go">datetime.date(2006,·10,·22)</span> |
1825 | <span·class="go">datetime.date(1996,·10,· | 1825 | <span·class="go">datetime.date(1996,·10,·10)</span> |
1826 | <span·class="go">datetime.date(1957,·8,·2 | 1826 | <span·class="go">datetime.date(1957,·8,·22)</span> |
1827 | <span·class="go">datetime.date(1938,·11,·2 | 1827 | <span·class="go">datetime.date(1938,·11,·21)</span> |
1828 | <span·class="go">datetime.date(1968,·2,·2 | 1828 | <span·class="go">datetime.date(1968,·2,·29)</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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> |
1851 | <dd·class="field-even"><p></p></dd> | 1851 | <dd·class="field-even"><p></p></dd> |
1852 | </dl> | 1852 | </dl> |
1853 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1853 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1854 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1854 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1855 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> | 1855 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
1856 | <span·class="gp">...</span> | 1856 | <span·class="gp">...</span> |
1857 | <span·class="go">datetime.date(2020,·12,·2 | 1857 | <span·class="go">datetime.date(2020,·12,·26)</span> |
1858 | <span·class="go">datetime.date(2018,·11,· | 1858 | <span·class="go">datetime.date(2018,·11,·2)</span> |
1859 | <span·class="go">datetime.date(2010,·6,·14)</span> | 1859 | <span·class="go">datetime.date(2010,·6,·14)</span> |
1860 | <span·class="go">datetime.date(2006,·6,·8)</span> | 1860 | <span·class="go">datetime.date(2006,·6,·8)</span> |
Max diff block lines reached; 284124/301048 bytes (94.38%) of diff not shown. |
Offset 944, 17 lines modified | Offset 944, 17 lines modified | ||
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 | ············'AM' | 949 | ············'AM' |
950 | ············'AM' | 950 | ············'AM' |
951 | ············'PM' | ||
952 | ············'AM' | ||
953 | ············'AM' | 951 | ············'AM' |
952 | ············'PM' | ||
953 | ············'PM' | ||
954 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 954 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
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, 17 lines modified | Offset 974, 17 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 | ············'2016-04-2 | 981 | ············'2016-04-27' |
982 | ············'2011-07-3 | 982 | ············'2011-07-31' |
983 | ············'1993-01-2 | 983 | ············'1993-01-26' |
984 | ············'1984-03-15' | 984 | ············'1984-03-15' |
985 | ············'1998-01-17' | 985 | ············'1998-01-17' |
986 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 986 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
987 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 987 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
988 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 988 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(). |
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(2020,·3,· | 1003 | ············datetime.date(2020,·3,·9) |
1004 | ············datetime.date(2017,·8,· | 1004 | ············datetime.date(2017,·8,·4) |
1005 | ············datetime.date(2007,·6,·2 | 1005 | ············datetime.date(2007,·6,·21) |
1006 | ············datetime.date(2002,·8,·1 | 1006 | ············datetime.date(2002,·8,·15) |
1007 | ············datetime.date(2010,·3,·1 | 1007 | ············datetime.date(2010,·3,·11) |
1008 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 1008 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
1009 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 1009 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
1010 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1010 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 1014 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 1016, 31 lines modified | Offset 1016, 31 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(2024,·11,· | 1023 | ············datetime.date(2024,·11,·8) |
1024 | ············datetime.date(2024,·11,· | 1024 | ············datetime.date(2024,·11,·8) |
1025 | ············datetime.date(2024,·11,· | 1025 | ············datetime.date(2024,·11,·8) |
1026 | ············datetime.date(2024,·11,· | 1026 | ············datetime.date(2024,·11,·8) |
1027 | ············datetime.date(2024,·11,· | 1027 | ············datetime.date(2024,·11,·8) |
1028 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1028 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(2016,·4,·2 | 1037 | ············datetime.date(2016,·4,·27) |
1038 | ············datetime.date(2011,·7,·3 | 1038 | ············datetime.date(2011,·7,·31) |
1039 | ············datetime.date(1993,·1,·2 | 1039 | ············datetime.date(1993,·1,·26) |
1040 | ············datetime.date(1984,·3,·15) | 1040 | ············datetime.date(1984,·3,·15) |
1041 | ············datetime.date(1998,·1,·17) | 1041 | ············datetime.date(1998,·1,·17) |
1042 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 1042 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
1043 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1043 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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: |
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(2006,·10,·2 | 1059 | ············datetime.date(2006,·10,·22) |
1060 | ············datetime.date(1996,·10,· | 1060 | ············datetime.date(1996,·10,·10) |
1061 | ············datetime.date(1957,·8,·2 | 1061 | ············datetime.date(1957,·8,·22) |
1062 | ············datetime.date(1938,·11,·2 | 1062 | ············datetime.date(1938,·11,·21) |
1063 | ············datetime.date(1968,·2,·2 | 1063 | ············datetime.date(1968,·2,·29) |
1064 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 1064 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
1065 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1065 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
1066 | ············Gets·a·Date·object·for·the·current·century. | 1066 | ············Gets·a·Date·object·for·the·current·century. |
1067 | ··············Parameters: | 1067 | ··············Parameters: |
1068 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 1068 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
1069 | ························today | 1069 | ························today |
1070 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 1070 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·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 | ············... |
1081 | ············datetime.date(2020,·12,·2 | 1081 | ············datetime.date(2020,·12,·26) |
1082 | ············datetime.date(2018,·11,· | 1082 | ············datetime.date(2018,·11,·2) |
1083 | ············datetime.date(2010,·6,·14) | 1083 | ············datetime.date(2010,·6,·14) |
1084 | ············datetime.date(2006,·6,·8) | 1084 | ············datetime.date(2006,·6,·8) |
1085 | ············datetime.date(2012,·9,·1 | 1085 | ············datetime.date(2012,·9,·15) |
1086 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 1086 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
1087 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1087 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
1088 | ············Gets·a·Date·object·for·the·decade·year. | 1088 | ············Gets·a·Date·object·for·the·decade·year. |
1089 | ··············Parameters: | 1089 | ··············Parameters: |
1090 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 1090 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
Max diff block lines reached; 192090/198995 bytes (96.53%) of diff not shown. |
Offset 681, 17 lines modified | Offset 681, 17 lines modified | ||
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">'AM'</span> | 686 | <span·class="go">'AM'</span> |
687 | <span·class="go">'AM'</span> | 687 | <span·class="go">'AM'</span> |
688 | <span·class="go">'PM'</span> | ||
689 | <span·class="go">'AM'</span> | ||
690 | <span·class="go">'AM'</span> | 688 | <span·class="go">'AM'</span> |
689 | <span·class="go">'PM'</span> | ||
690 | <span·class="go">'PM'</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.12)"><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.12)"><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, 17 lines modified | Offset 732, 17 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">'2016-04-2 | 739 | <span·class="go">'2016-04-27'</span> |
740 | <span·class="go">'2011-07-3 | 740 | <span·class="go">'2011-07-31'</span> |
741 | <span·class="go">'1993-01-2 | 741 | <span·class="go">'1993-01-26'</span> |
742 | <span·class="go">'1984-03-15'</span> | 742 | <span·class="go">'1984-03-15'</span> |
743 | <span·class="go">'1998-01-17'</span> | 743 | <span·class="go">'1998-01-17'</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"> |
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(2020,·3,· | 773 | <span·class="go">datetime.date(2020,·3,·9)</span> |
774 | <span·class="go">datetime.date(2017,·8,· | 774 | <span·class="go">datetime.date(2017,·8,·4)</span> |
775 | <span·class="go">datetime.date(2007,·6,·2 | 775 | <span·class="go">datetime.date(2007,·6,·21)</span> |
776 | <span·class="go">datetime.date(2002,·8,·1 | 776 | <span·class="go">datetime.date(2002,·8,·15)</span> |
777 | <span·class="go">datetime.date(2010,·3,·1 | 777 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 804 | <span·class="go">datetime.date(2024,·11,·8)</span> |
805 | <span·class="go">datetime.date(2024,·11,· | 805 | <span·class="go">datetime.date(2024,·11,·8)</span> |
806 | <span·class="go">datetime.date(2024,·11,· | 806 | <span·class="go">datetime.date(2024,·11,·8)</span> |
807 | <span·class="go">datetime.date(2024,·11,· | 807 | <span·class="go">datetime.date(2024,·11,·8)</span> |
808 | <span·class="go">datetime.date(2024,·11,· | 808 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 821, 17 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(2016,·4,·2 | 828 | <span·class="go">datetime.date(2016,·4,·27)</span> |
829 | <span·class="go">datetime.date(2011,·7,·3 | 829 | <span·class="go">datetime.date(2011,·7,·31)</span> |
830 | <span·class="go">datetime.date(1993,·1,·2 | 830 | <span·class="go">datetime.date(1993,·1,·26)</span> |
831 | <span·class="go">datetime.date(1984,·3,·15)</span> | 831 | <span·class="go">datetime.date(1984,·3,·15)</span> |
832 | <span·class="go">datetime.date(1998,·1,·17)</span> | 832 | <span·class="go">datetime.date(1998,·1,·17)</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"> |
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(2006,·10,·2 | 864 | <span·class="go">datetime.date(2006,·10,·22)</span> |
865 | <span·class="go">datetime.date(1996,·10,· | 865 | <span·class="go">datetime.date(1996,·10,·10)</span> |
866 | <span·class="go">datetime.date(1957,·8,·2 | 866 | <span·class="go">datetime.date(1957,·8,·22)</span> |
867 | <span·class="go">datetime.date(1938,·11,·2 | 867 | <span·class="go">datetime.date(1938,·11,·21)</span> |
868 | <span·class="go">datetime.date(1968,·2,·2 | 868 | <span·class="go">datetime.date(1968,·2,·29)</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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> |
891 | <dd·class="field-even"><p></p></dd> | 891 | <dd·class="field-even"><p></p></dd> |
892 | </dl> | 892 | </dl> |
893 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 893 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
894 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 894 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
895 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> | 895 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
896 | <span·class="gp">...</span> | 896 | <span·class="gp">...</span> |
897 | <span·class="go">datetime.date(2020,·12,·2 | 897 | <span·class="go">datetime.date(2020,·12,·26)</span> |
898 | <span·class="go">datetime.date(2018,·11,· | 898 | <span·class="go">datetime.date(2018,·11,·2)</span> |
899 | <span·class="go">datetime.date(2010,·6,·14)</span> | 899 | <span·class="go">datetime.date(2010,·6,·14)</span> |
900 | <span·class="go">datetime.date(2006,·6,·8)</span> | 900 | <span·class="go">datetime.date(2006,·6,·8)</span> |
Max diff block lines reached; 83987/100897 bytes (83.24%) of diff not shown. |
Offset 391, 17 lines modified | Offset 391, 17 lines modified | ||
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 | ············'AM' | 396 | ············'AM' |
397 | ············'AM' | 397 | ············'AM' |
398 | ············'PM' | ||
399 | ············'AM' | ||
400 | ············'AM' | 398 | ············'AM' |
399 | ············'PM' | ||
400 | ············'PM' | ||
401 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 401 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
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, 17 lines modified | Offset 421, 17 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 | ············'2016-04-2 | 428 | ············'2016-04-27' |
429 | ············'2011-07-3 | 429 | ············'2011-07-31' |
430 | ············'1993-01-2 | 430 | ············'1993-01-26' |
431 | ············'1984-03-15' | 431 | ············'1984-03-15' |
432 | ············'1998-01-17' | 432 | ············'1998-01-17' |
433 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 433 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
434 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 434 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
435 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 435 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(). |
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(2020,·3,· | 450 | ············datetime.date(2020,·3,·9) |
451 | ············datetime.date(2017,·8,· | 451 | ············datetime.date(2017,·8,·4) |
452 | ············datetime.date(2007,·6,·2 | 452 | ············datetime.date(2007,·6,·21) |
453 | ············datetime.date(2002,·8,·1 | 453 | ············datetime.date(2002,·8,·15) |
454 | ············datetime.date(2010,·3,·1 | 454 | ············datetime.date(2010,·3,·11) |
455 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 455 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
456 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 456 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
457 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 457 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 461 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 463, 31 lines modified | Offset 463, 31 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(2024,·11,· | 470 | ············datetime.date(2024,·11,·8) |
471 | ············datetime.date(2024,·11,· | 471 | ············datetime.date(2024,·11,·8) |
472 | ············datetime.date(2024,·11,· | 472 | ············datetime.date(2024,·11,·8) |
473 | ············datetime.date(2024,·11,· | 473 | ············datetime.date(2024,·11,·8) |
474 | ············datetime.date(2024,·11,· | 474 | ············datetime.date(2024,·11,·8) |
475 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 475 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(2016,·4,·2 | 484 | ············datetime.date(2016,·4,·27) |
485 | ············datetime.date(2011,·7,·3 | 485 | ············datetime.date(2011,·7,·31) |
486 | ············datetime.date(1993,·1,·2 | 486 | ············datetime.date(1993,·1,·26) |
487 | ············datetime.date(1984,·3,·15) | 487 | ············datetime.date(1984,·3,·15) |
488 | ············datetime.date(1998,·1,·17) | 488 | ············datetime.date(1998,·1,·17) |
489 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 489 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
490 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 490 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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: |
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(2006,·10,·2 | 506 | ············datetime.date(2006,·10,·22) |
507 | ············datetime.date(1996,·10,· | 507 | ············datetime.date(1996,·10,·10) |
508 | ············datetime.date(1957,·8,·2 | 508 | ············datetime.date(1957,·8,·22) |
509 | ············datetime.date(1938,·11,·2 | 509 | ············datetime.date(1938,·11,·21) |
510 | ············datetime.date(1968,·2,·2 | 510 | ············datetime.date(1968,·2,·29) |
511 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 511 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
512 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 512 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
513 | ············Gets·a·Date·object·for·the·current·century. | 513 | ············Gets·a·Date·object·for·the·current·century. |
514 | ··············Parameters: | 514 | ··············Parameters: |
515 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 515 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
516 | ························today | 516 | ························today |
517 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 517 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·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 | ············... |
528 | ············datetime.date(2020,·12,·2 | 528 | ············datetime.date(2020,·12,·26) |
529 | ············datetime.date(2018,·11,· | 529 | ············datetime.date(2018,·11,·2) |
530 | ············datetime.date(2010,·6,·14) | 530 | ············datetime.date(2010,·6,·14) |
531 | ············datetime.date(2006,·6,·8) | 531 | ············datetime.date(2006,·6,·8) |
532 | ············datetime.date(2012,·9,·1 | 532 | ············datetime.date(2012,·9,·15) |
533 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 533 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
534 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 534 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
535 | ············Gets·a·Date·object·for·the·decade·year. | 535 | ············Gets·a·Date·object·for·the·decade·year. |
536 | ··············Parameters: | 536 | ··············Parameters: |
537 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 537 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
Max diff block lines reached; 27196/34095 bytes (79.77%) of diff not shown. |
Offset 429, 18 lines modified | Offset 429, 18 lines modified | ||
429 | <dd·class="field-odd"><p></p></dd> | 429 | <dd·class="field-odd"><p></p></dd> |
430 | </dl> | 430 | </dl> |
431 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 431 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</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> | 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">'DP·964·494'</span> | 435 | <span·class="go">'DP·964·494'</span> |
436 | <span·class="go">'DP·876 | 436 | <span·class="go">'CDP·876'</span> |
437 | <span·class="go">'S·141·365'</span> | 437 | <span·class="go">'S·141·365'</span> |
438 | <span·class="go">' | 438 | <span·class="go">'DP·623·597'</span> |
439 | <span·class="go">' | 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.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><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.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><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">'RN6048HT'</span> |
464 | <span·class="go">' | 464 | <span·class="go">'EA4759MK'</span> |
465 | <span·class="go">' | 465 | <span·class="go">'AO4219HI'</span> |
466 | <span·class="go">' | 466 | <span·class="go">'KO4115AT'</span> |
467 | <span·class="go">' | 467 | <span·class="go">'KM5659HN'</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">'BX6048HT'</span> |
475 | <span·class="go">' | 475 | <span·class="go">'SV4759MK'</span> |
476 | <span·class="go">' | 476 | <span·class="go">'KM4219HI'</span> |
477 | <span·class="go">' | 477 | <span·class="go">'MI4115AT'</span> |
478 | <span·class="go">' | 478 | <span·class="go">'BO5659HN'</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">' | 485 | <span·class="go">'27·IN6048'</span> |
486 | <span·class="go">' | 486 | <span·class="go">'19·EM6475'</span> |
487 | <span·class="go">' | 487 | <span·class="go">'08·AR8242'</span> |
488 | <span·class="go">' | 488 | <span·class="go">'05·TM9489'</span> |
489 | <span·class="go">' | 489 | <span·class="go">'21·EX4115'</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">' | 496 | <span·class="go">'KA6048HT'</span> |
497 | <span·class="go">' | 497 | <span·class="go">'KA4759MK'</span> |
498 | <span·class="go">'AA4219HI'</span> | 498 | <span·class="go">'AA4219HI'</span> |
499 | <span·class="go">' | 499 | <span·class="go">'KA4115AT'</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·TT6048'</span> |
508 | <span·class="go">'11·TA6475'</span> | 508 | <span·class="go">'11·TA6475'</span> |
509 | <span·class="go">'11·TA8242'</span> | 509 | <span·class="go">'11·TA8242'</span> |
510 | <span·class="go">'11·T | 510 | <span·class="go">'11·TA9489'</span> |
511 | <span·class="go">'11· | 511 | <span·class="go">'11·AA4115'</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.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 28 lines modified | Offset 521, 28 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">'TK'</span> | ||
529 | <span·class="go">' | 528 | <span·class="go">'RA'</span> |
529 | <span·class="go">'KX'</span> | ||
530 | <span·class="go">' | 530 | <span·class="go">'OE'</span> |
531 | <span·class="go">' | 531 | <span·class="go">'TR'</span> |
532 | <span·class="go">' | 532 | <span·class="go">'IN'</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">'TA'</span> | 539 | <span·class="go">'TA'</span> |
540 | <span·class="go">'AA'</span> | ||
541 | <span·class="go">'T | 540 | <span·class="go">'TT'</span> |
541 | <span·class="go">'KA'</span> | ||
542 | <span·class="go">'KA'</span> | 542 | <span·class="go">'KA'</span> |
543 | <span·class="go">'KA'</span> | 543 | <span·class="go">'KA'</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"> |
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">'26'</span> | ||
603 | <span·class="go">'1 | 602 | <span·class="go">'18'</span> |
603 | <span·class="go">'04'</span> | ||
604 | <span·class="go">'00'</span> | ||
604 | <span·class="go">'06'</span> | 605 | <span·class="go">'06'</span> |
605 | <span·class="go">' | 606 | <span·class="go">'14'</span> |
Max diff block lines reached; 6749/21418 bytes (31.51%) of diff not shown. |
Offset 218, 18 lines modified | Offset 218, 18 lines modified | ||
218 | ············Example:·‘CDP·000’·or·‘DP·000·000’·or·‘S·000·000’·format | 218 | ············Example:·‘CDP·000’·or·‘DP·000·000’·or·‘S·000·000’·format |
219 | ··············Examples: | 219 | ··············Examples: |
220 | ············>>>·Faker.seed(0) | 220 | ············>>>·Faker.seed(0) |
221 | ············>>>·for·_·in·range(5): | 221 | ············>>>·for·_·in·range(5): |
222 | ············...·····fake.diplomatic_license_plate() | 222 | ············...·····fake.diplomatic_license_plate() |
223 | ············... | 223 | ············... |
224 | ············'DP·964·494' | 224 | ············'DP·964·494' |
225 | ············'DP·876 | 225 | ············'CDP·876' |
226 | ············'S·141·365' | 226 | ············'S·141·365' |
227 | ············' | 227 | ············'DP·623·597' |
228 | ············' | 228 | ············'CDP·514' |
229 | ········license_plate(r\x8re\x8eg\x8gi\x8io\x8on\x8n_\x8_n\x8na\x8am\x8me\x8e:\x8:·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·t\x8te\x8em\x8mp\x8po\x8or\x8ra\x8ar\x8ry\x8y_\x8_p\x8pl\x8la\x8at\x8te\x8e:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8= | 229 | ········license_plate(r\x8re\x8eg\x8gi\x8io\x8on\x8n_\x8_n\x8na\x8am\x8me\x8e:\x8:·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·t\x8te\x8em\x8mp\x8po\x8or\x8ra\x8ar\x8ry\x8y_\x8_p\x8pl\x8la\x8at\x8te\x8e:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8= |
230 | ········F\x8Fa\x8al\x8ls\x8se\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ | 230 | ········F\x8Fa\x8al\x8ls\x8se\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ |
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, 76 lines modified | Offset 239, 76 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 | ············'RN6048HT' |
247 | ············' | 247 | ············'EA4759MK' |
248 | ············' | 248 | ············'AO4219HI' |
249 | ············' | 249 | ············'KO4115AT' |
250 | ············' | 250 | ············'KM5659HN' |
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 | ············'BX6048HT' |
256 | ············' | 256 | ············'SV4759MK' |
257 | ············' | 257 | ············'KM4219HI' |
258 | ············' | 258 | ············'MI4115AT' |
259 | ············' | 259 | ············'BO5659HN' |
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 | ············' | 264 | ············'27·IN6048' |
265 | ············' | 265 | ············'19·EM6475' |
266 | ············' | 266 | ············'08·AR8242' |
267 | ············' | 267 | ············'05·TM9489' |
268 | ············' | 268 | ············'21·EX4115' |
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", | 271 | ············...·····fake.license_plate(region_name="Kyiv", |
272 | ············temporary_plate=False) | 272 | ············temporary_plate=False) |
273 | ············... | 273 | ············... |
274 | ············' | 274 | ············'KA6048HT' |
275 | ············' | 275 | ············'KA4759MK' |
276 | ············'AA4219HI' | 276 | ············'AA4219HI' |
277 | ············' | 277 | ············'KA4115AT' |
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", | 281 | ············...·····fake.license_plate(region_name="Kyiv", |
282 | ············temporary_plate=True) | 282 | ············temporary_plate=True) |
283 | ············... | 283 | ············... |
284 | ············'11· | 284 | ············'11·TT6048' |
285 | ············'11·TA6475' | 285 | ············'11·TA6475' |
286 | ············'11·TA8242' | 286 | ············'11·TA8242' |
287 | ············'11·T | 287 | ············'11·TA9489' |
288 | ············'11· | 288 | ············'11·AA4115' |
289 | ········plate_letter_prefix(r\x8re\x8eg\x8gi\x8io\x8on\x8n_\x8_n\x8na\x8am\x8me\x8e:\x8:·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ | 289 | ········plate_letter_prefix(r\x8re\x8eg\x8gi\x8io\x8on\x8n_\x8_n\x8na\x8am\x8me\x8e:\x8:·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ |
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 | ············'TK' | ||
297 | ············' | 296 | ············'RA' |
297 | ············'KX' | ||
298 | ············' | 298 | ············'OE' |
299 | ············' | 299 | ············'TR' |
300 | ············' | 300 | ············'IN' |
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 | ············'TA' | 305 | ············'TA' |
306 | ············'AA' | ||
307 | ············'T | 306 | ············'TT' |
307 | ············'KA' | ||
308 | ············'KA' | 308 | ············'KA' |
309 | ············'KA' | 309 | ············'KA' |
310 | ········plate_letter_suffix()·→·_\x8s_\x8t_\x8r_\x8¶ | 310 | ········plate_letter_suffix()·→·_\x8s_\x8t_\x8r_\x8¶ |
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): |
Offset 334, 19 lines modified | Offset 334, 19 lines modified | ||
334 | ········plate_region_code(r\x8re\x8eg\x8gi\x8io\x8on\x8n_\x8_n\x8na\x8am\x8me\x8e:\x8:·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ | 334 | ········plate_region_code(r\x8re\x8eg\x8gi\x8io\x8on\x8n_\x8_n\x8na\x8am\x8me\x8e:\x8:·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ |
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 | ············'26' | ||
342 | ············'1 | 341 | ············'18' |
342 | ············'04' | ||
343 | ············'00' | ||
343 | ············'06' | 344 | ············'06' |
344 | ············' | 345 | ············'14' |
345 | ············'05' | ||
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 832, 15 lines modified | Offset 832, 15 lines modified | ||
832 | ············>>>·for·_·in·range(5): | 832 | ············>>>·for·_·in·range(5): |
833 | ············...·····fake.credit_card_full(card_type="prostir") | 833 | ············...·····fake.credit_card_full(card_type="prostir") |
834 | ············... | 834 | ············... |
835 | ············'ПРОСТІР\nOkseniia·Babarychenko\n9876475938242191·11/32\nCVC2: | 835 | ············'ПРОСТІР\nOkseniia·Babarychenko\n9876475938242191·11/32\nCVC2: |
836 | ············892\nМТБ·Банк' | 836 | ············892\nМТБ·Банк' |
837 | ············'ПРОСТІР\nPylyp·Bezborodko\n9781565938778402·11/32\nCVC2: | 837 | ············'ПРОСТІР\nPylyp·Bezborodko\n9781565938778402·11/32\nCVC2: |
838 | ············801\nПриватБанк' | 838 | ············801\nПриватБанк' |
Max diff block lines reached; 2677/7951 bytes (33.67%) of diff not shown. |
Offset 1092, 17 lines modified | Offset 1092, 17 lines modified | ||
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">'AM'</span> | 1097 | <span·class="go">'AM'</span> |
1098 | <span·class="go">'AM'</span> | 1098 | <span·class="go">'AM'</span> |
1099 | <span·class="go">'PM'</span> | ||
1100 | <span·class="go">'AM'</span> | ||
1101 | <span·class="go">'AM'</span> | 1099 | <span·class="go">'AM'</span> |
1100 | <span·class="go">'PM'</span> | ||
1101 | <span·class="go">'PM'</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.12)"><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.12)"><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, 17 lines modified | Offset 1143, 17 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">'2016-04-2 | 1150 | <span·class="go">'2016-04-27'</span> |
1151 | <span·class="go">'2011-07-3 | 1151 | <span·class="go">'2011-07-31'</span> |
1152 | <span·class="go">'1993-01-2 | 1152 | <span·class="go">'1993-01-26'</span> |
1153 | <span·class="go">'1984-03-15'</span> | 1153 | <span·class="go">'1984-03-15'</span> |
1154 | <span·class="go">'1998-01-17'</span> | 1154 | <span·class="go">'1998-01-17'</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"> |
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(2020,·3,· | 1184 | <span·class="go">datetime.date(2020,·3,·9)</span> |
1185 | <span·class="go">datetime.date(2017,·8,· | 1185 | <span·class="go">datetime.date(2017,·8,·4)</span> |
1186 | <span·class="go">datetime.date(2007,·6,·2 | 1186 | <span·class="go">datetime.date(2007,·6,·21)</span> |
1187 | <span·class="go">datetime.date(2002,·8,·1 | 1187 | <span·class="go">datetime.date(2002,·8,·15)</span> |
1188 | <span·class="go">datetime.date(2010,·3,·1 | 1188 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 1215 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1216 | <span·class="go">datetime.date(2024,·11,· | 1216 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1217 | <span·class="go">datetime.date(2024,·11,· | 1217 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1218 | <span·class="go">datetime.date(2024,·11,· | 1218 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1219 | <span·class="go">datetime.date(2024,·11,· | 1219 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 1232, 17 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(2016,·4,·2 | 1239 | <span·class="go">datetime.date(2016,·4,·27)</span> |
1240 | <span·class="go">datetime.date(2011,·7,·3 | 1240 | <span·class="go">datetime.date(2011,·7,·31)</span> |
1241 | <span·class="go">datetime.date(1993,·1,·2 | 1241 | <span·class="go">datetime.date(1993,·1,·26)</span> |
1242 | <span·class="go">datetime.date(1984,·3,·15)</span> | 1242 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1243 | <span·class="go">datetime.date(1998,·1,·17)</span> | 1243 | <span·class="go">datetime.date(1998,·1,·17)</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"> |
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(2006,·10,·2 | 1275 | <span·class="go">datetime.date(2006,·10,·22)</span> |
1276 | <span·class="go">datetime.date(1996,·10,· | 1276 | <span·class="go">datetime.date(1996,·10,·10)</span> |
1277 | <span·class="go">datetime.date(1957,·8,·2 | 1277 | <span·class="go">datetime.date(1957,·8,·22)</span> |
1278 | <span·class="go">datetime.date(1938,·11,·2 | 1278 | <span·class="go">datetime.date(1938,·11,·21)</span> |
1279 | <span·class="go">datetime.date(1968,·2,·2 | 1279 | <span·class="go">datetime.date(1968,·2,·29)</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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> |
1302 | <dd·class="field-even"><p></p></dd> | 1302 | <dd·class="field-even"><p></p></dd> |
1303 | </dl> | 1303 | </dl> |
1304 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">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 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1305 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</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="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1306 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> | 1306 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
1307 | <span·class="gp">...</span> | 1307 | <span·class="gp">...</span> |
1308 | <span·class="go">datetime.date(2020,·12,·2 | 1308 | <span·class="go">datetime.date(2020,·12,·26)</span> |
1309 | <span·class="go">datetime.date(2018,·11,· | 1309 | <span·class="go">datetime.date(2018,·11,·2)</span> |
1310 | <span·class="go">datetime.date(2010,·6,·14)</span> | 1310 | <span·class="go">datetime.date(2010,·6,·14)</span> |
1311 | <span·class="go">datetime.date(2006,·6,·8)</span> | 1311 | <span·class="go">datetime.date(2006,·6,·8)</span> |
Max diff block lines reached; 83994/100918 bytes (83.23%) of diff not shown. |
Offset 619, 17 lines modified | Offset 619, 17 lines modified | ||
619 | ··············Examples: | 619 | ··············Examples: |
620 | ············>>>·Faker.seed(0) | 620 | ············>>>·Faker.seed(0) |
621 | ············>>>·for·_·in·range(5): | 621 | ············>>>·for·_·in·range(5): |
622 | ············...·····fake.am_pm() | 622 | ············...·····fake.am_pm() |
623 | ············... | 623 | ············... |
624 | ············'AM' | 624 | ············'AM' |
625 | ············'AM' | 625 | ············'AM' |
626 | ············'PM' | ||
627 | ············'AM' | ||
628 | ············'AM' | 626 | ············'AM' |
627 | ············'PM' | ||
628 | ············'PM' | ||
629 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 629 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
630 | ··············Example: | 630 | ··············Example: |
631 | ··················‘XVII’ | 631 | ··················‘XVII’ |
632 | ··············Examples: | 632 | ··············Examples: |
633 | ············>>>·Faker.seed(0) | 633 | ············>>>·Faker.seed(0) |
634 | ············>>>·for·_·in·range(5): | 634 | ············>>>·for·_·in·range(5): |
635 | ············...·····fake.century() | 635 | ············...·····fake.century() |
Offset 649, 17 lines modified | Offset 649, 17 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() | 654 | ············...·····fake.date() |
655 | ············... | 655 | ············... |
656 | ············'2016-04-2 | 656 | ············'2016-04-27' |
657 | ············'2011-07-3 | 657 | ············'2011-07-31' |
658 | ············'1993-01-2 | 658 | ············'1993-01-26' |
659 | ············'1984-03-15' | 659 | ············'1984-03-15' |
660 | ············'1998-01-17' | 660 | ············'1998-01-17' |
661 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 661 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
662 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 662 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
663 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 663 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
664 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 664 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
665 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 665 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
Offset 671, 19 lines modified | Offset 671, 19 lines modified | ||
671 | ··············Returns: | 671 | ··············Returns: |
672 | ··················Date | 672 | ··················Date |
673 | ··············Examples: | 673 | ··············Examples: |
674 | ············>>>·Faker.seed(0) | 674 | ············>>>·Faker.seed(0) |
675 | ············>>>·for·_·in·range(5): | 675 | ············>>>·for·_·in·range(5): |
676 | ············...·····fake.date_between() | 676 | ············...·····fake.date_between() |
677 | ············... | 677 | ············... |
678 | ············datetime.date(2020,·3,· | 678 | ············datetime.date(2020,·3,·9) |
679 | ············datetime.date(2017,·8,· | 679 | ············datetime.date(2017,·8,·4) |
680 | ············datetime.date(2007,·6,·2 | 680 | ············datetime.date(2007,·6,·21) |
681 | ············datetime.date(2002,·8,·1 | 681 | ············datetime.date(2002,·8,·15) |
682 | ············datetime.date(2010,·3,·1 | 682 | ············datetime.date(2010,·3,·11) |
683 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 683 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
684 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 684 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
685 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 685 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
686 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 686 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
687 | ············given·dates.·Accepts·Date·or·datetime·objects | 687 | ············given·dates.·Accepts·Date·or·datetime·objects |
688 | ··············Parameters: | 688 | ··············Parameters: |
689 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 689 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 691, 31 lines modified | Offset 691, 31 lines modified | ||
691 | ··············Returns: | 691 | ··············Returns: |
692 | ··················Date | 692 | ··················Date |
693 | ··············Examples: | 693 | ··············Examples: |
694 | ············>>>·Faker.seed(0) | 694 | ············>>>·Faker.seed(0) |
695 | ············>>>·for·_·in·range(5): | 695 | ············>>>·for·_·in·range(5): |
696 | ············...·····fake.date_between_dates() | 696 | ············...·····fake.date_between_dates() |
697 | ············... | 697 | ············... |
698 | ············datetime.date(2024,·11,· | 698 | ············datetime.date(2024,·11,·8) |
699 | ············datetime.date(2024,·11,· | 699 | ············datetime.date(2024,·11,·8) |
700 | ············datetime.date(2024,·11,· | 700 | ············datetime.date(2024,·11,·8) |
701 | ············datetime.date(2024,·11,· | 701 | ············datetime.date(2024,·11,·8) |
702 | ············datetime.date(2024,·11,· | 702 | ············datetime.date(2024,·11,·8) |
703 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 703 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
704 | ············Get·a·date·object·between·January·1,·1970·and·now | 704 | ············Get·a·date·object·between·January·1,·1970·and·now |
705 | ··············Example: | 705 | ··············Example: |
706 | ··················datetime.date(2016,·9,·20) | 706 | ··················datetime.date(2016,·9,·20) |
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_object() | 710 | ············...·····fake.date_object() |
711 | ············... | 711 | ············... |
712 | ············datetime.date(2016,·4,·2 | 712 | ············datetime.date(2016,·4,·27) |
713 | ············datetime.date(2011,·7,·3 | 713 | ············datetime.date(2011,·7,·31) |
714 | ············datetime.date(1993,·1,·2 | 714 | ············datetime.date(1993,·1,·26) |
715 | ············datetime.date(1984,·3,·15) | 715 | ············datetime.date(1984,·3,·15) |
716 | ············datetime.date(1998,·1,·17) | 716 | ············datetime.date(1998,·1,·17) |
717 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 717 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
718 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 718 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
719 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 719 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
720 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 720 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
721 | ··············Parameters: | 721 | ··············Parameters: |
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_of_birth() | 732 | ············...·····fake.date_of_birth() |
733 | ············... | 733 | ············... |
734 | ············datetime.date(2006,·10,·2 | 734 | ············datetime.date(2006,·10,·22) |
735 | ············datetime.date(1996,·10,· | 735 | ············datetime.date(1996,·10,·10) |
736 | ············datetime.date(1957,·8,·2 | 736 | ············datetime.date(1957,·8,·22) |
737 | ············datetime.date(1938,·11,·2 | 737 | ············datetime.date(1938,·11,·21) |
738 | ············datetime.date(1968,·2,·2 | 738 | ············datetime.date(1968,·2,·29) |
739 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 739 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
740 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 740 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
741 | ············Gets·a·Date·object·for·the·current·century. | 741 | ············Gets·a·Date·object·for·the·current·century. |
742 | ··············Parameters: | 742 | ··············Parameters: |
743 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 743 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
744 | ························today | 744 | ························today |
745 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 745 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 749, 19 lines modified | Offset 749, 19 lines modified | ||
749 | ··············Returns: | 749 | ··············Returns: |
750 | ··················Date | 750 | ··················Date |
751 | ··············Examples: | 751 | ··············Examples: |
752 | ············>>>·Faker.seed(0) | 752 | ············>>>·Faker.seed(0) |
753 | ············>>>·for·_·in·range(5): | 753 | ············>>>·for·_·in·range(5): |
754 | ············...·····fake.date_this_century() | 754 | ············...·····fake.date_this_century() |
755 | ············... | 755 | ············... |
756 | ············datetime.date(2020,·12,·2 | 756 | ············datetime.date(2020,·12,·26) |
757 | ············datetime.date(2018,·11,· | 757 | ············datetime.date(2018,·11,·2) |
758 | ············datetime.date(2010,·6,·14) | 758 | ············datetime.date(2010,·6,·14) |
759 | ············datetime.date(2006,·6,·8) | 759 | ············datetime.date(2006,·6,·8) |
760 | ············datetime.date(2012,·9,·1 | 760 | ············datetime.date(2012,·9,·15) |
761 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 761 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
762 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 762 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
763 | ············Gets·a·Date·object·for·the·decade·year. | 763 | ············Gets·a·Date·object·for·the·decade·year. |
764 | ··············Parameters: | 764 | ··············Parameters: |
765 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 765 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
Max diff block lines reached; 27211/34110 bytes (79.77%) of diff not shown. |
Offset 878, 17 lines modified | Offset 878, 17 lines modified | ||
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">'AM'</span> | 883 | <span·class="go">'AM'</span> |
884 | <span·class="go">'AM'</span> | 884 | <span·class="go">'AM'</span> |
885 | <span·class="go">'PM'</span> | ||
886 | <span·class="go">'AM'</span> | ||
887 | <span·class="go">'AM'</span> | 885 | <span·class="go">'AM'</span> |
886 | <span·class="go">'PM'</span> | ||
887 | <span·class="go">'PM'</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.12)"><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.12)"><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, 17 lines modified | Offset 929, 17 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">'2016-04-2 | 936 | <span·class="go">'2016-04-27'</span> |
937 | <span·class="go">'2011-07-3 | 937 | <span·class="go">'2011-07-31'</span> |
938 | <span·class="go">'1993-01-2 | 938 | <span·class="go">'1993-01-26'</span> |
939 | <span·class="go">'1984-03-15'</span> | 939 | <span·class="go">'1984-03-15'</span> |
940 | <span·class="go">'1998-01-17'</span> | 940 | <span·class="go">'1998-01-17'</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"> |
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(2020,·3,· | 970 | <span·class="go">datetime.date(2020,·3,·9)</span> |
971 | <span·class="go">datetime.date(2017,·8,· | 971 | <span·class="go">datetime.date(2017,·8,·4)</span> |
972 | <span·class="go">datetime.date(2007,·6,·2 | 972 | <span·class="go">datetime.date(2007,·6,·21)</span> |
973 | <span·class="go">datetime.date(2002,·8,·1 | 973 | <span·class="go">datetime.date(2002,·8,·15)</span> |
974 | <span·class="go">datetime.date(2010,·3,·1 | 974 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 1001 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1002 | <span·class="go">datetime.date(2024,·11,· | 1002 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1003 | <span·class="go">datetime.date(2024,·11,· | 1003 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1004 | <span·class="go">datetime.date(2024,·11,· | 1004 | <span·class="go">datetime.date(2024,·11,·8)</span> |
1005 | <span·class="go">datetime.date(2024,·11,· | 1005 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 1018, 17 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(2016,·4,·2 | 1025 | <span·class="go">datetime.date(2016,·4,·27)</span> |
1026 | <span·class="go">datetime.date(2011,·7,·3 | 1026 | <span·class="go">datetime.date(2011,·7,·31)</span> |
1027 | <span·class="go">datetime.date(1993,·1,·2 | 1027 | <span·class="go">datetime.date(1993,·1,·26)</span> |
1028 | <span·class="go">datetime.date(1984,·3,·15)</span> | 1028 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1029 | <span·class="go">datetime.date(1998,·1,·17)</span> | 1029 | <span·class="go">datetime.date(1998,·1,·17)</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"> |
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(2006,·10,·2 | 1061 | <span·class="go">datetime.date(2006,·10,·22)</span> |
1062 | <span·class="go">datetime.date(1996,·10,· | 1062 | <span·class="go">datetime.date(1996,·10,·10)</span> |
1063 | <span·class="go">datetime.date(1957,·8,·2 | 1063 | <span·class="go">datetime.date(1957,·8,·22)</span> |
1064 | <span·class="go">datetime.date(1938,·11,·2 | 1064 | <span·class="go">datetime.date(1938,·11,·21)</span> |
1065 | <span·class="go">datetime.date(1968,·2,·2 | 1065 | <span·class="go">datetime.date(1968,·2,·29)</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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> |
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_this_century</span><span·class="p">()</span> | 1092 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
1093 | <span·class="gp">...</span> | 1093 | <span·class="gp">...</span> |
1094 | <span·class="go">datetime.date(2020,·12,·2 | 1094 | <span·class="go">datetime.date(2020,·12,·26)</span> |
1095 | <span·class="go">datetime.date(2018,·11,· | 1095 | <span·class="go">datetime.date(2018,·11,·2)</span> |
1096 | <span·class="go">datetime.date(2010,·6,·14)</span> | 1096 | <span·class="go">datetime.date(2010,·6,·14)</span> |
1097 | <span·class="go">datetime.date(2006,·6,·8)</span> | 1097 | <span·class="go">datetime.date(2006,·6,·8)</span> |
Max diff block lines reached; 85358/102274 bytes (83.46%) of diff not shown. |
Offset 503, 17 lines modified | Offset 503, 17 lines modified | ||
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 | ············'AM' | 508 | ············'AM' |
509 | ············'AM' | 509 | ············'AM' |
510 | ············'PM' | ||
511 | ············'AM' | ||
512 | ············'AM' | 510 | ············'AM' |
511 | ············'PM' | ||
512 | ············'PM' | ||
513 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 513 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
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, 17 lines modified | Offset 533, 17 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 | ············'2016-04-2 | 540 | ············'2016-04-27' |
541 | ············'2011-07-3 | 541 | ············'2011-07-31' |
542 | ············'1993-01-2 | 542 | ············'1993-01-26' |
543 | ············'1984-03-15' | 543 | ············'1984-03-15' |
544 | ············'1998-01-17' | 544 | ············'1998-01-17' |
545 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 545 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
546 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 546 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
547 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 547 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(). |
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(2020,·3,· | 562 | ············datetime.date(2020,·3,·9) |
563 | ············datetime.date(2017,·8,· | 563 | ············datetime.date(2017,·8,·4) |
564 | ············datetime.date(2007,·6,·2 | 564 | ············datetime.date(2007,·6,·21) |
565 | ············datetime.date(2002,·8,·1 | 565 | ············datetime.date(2002,·8,·15) |
566 | ············datetime.date(2010,·3,·1 | 566 | ············datetime.date(2010,·3,·11) |
567 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 567 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
568 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 568 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
569 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 569 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 573 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 575, 31 lines modified | Offset 575, 31 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(2024,·11,· | 582 | ············datetime.date(2024,·11,·8) |
583 | ············datetime.date(2024,·11,· | 583 | ············datetime.date(2024,·11,·8) |
584 | ············datetime.date(2024,·11,· | 584 | ············datetime.date(2024,·11,·8) |
585 | ············datetime.date(2024,·11,· | 585 | ············datetime.date(2024,·11,·8) |
586 | ············datetime.date(2024,·11,· | 586 | ············datetime.date(2024,·11,·8) |
587 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 587 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(2016,·4,·2 | 596 | ············datetime.date(2016,·4,·27) |
597 | ············datetime.date(2011,·7,·3 | 597 | ············datetime.date(2011,·7,·31) |
598 | ············datetime.date(1993,·1,·2 | 598 | ············datetime.date(1993,·1,·26) |
599 | ············datetime.date(1984,·3,·15) | 599 | ············datetime.date(1984,·3,·15) |
600 | ············datetime.date(1998,·1,·17) | 600 | ············datetime.date(1998,·1,·17) |
601 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 601 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
602 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 602 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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: |
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(2006,·10,·2 | 618 | ············datetime.date(2006,·10,·22) |
619 | ············datetime.date(1996,·10,· | 619 | ············datetime.date(1996,·10,·10) |
620 | ············datetime.date(1957,·8,·2 | 620 | ············datetime.date(1957,·8,·22) |
621 | ············datetime.date(1938,·11,·2 | 621 | ············datetime.date(1938,·11,·21) |
622 | ············datetime.date(1968,·2,·2 | 622 | ············datetime.date(1968,·2,·29) |
623 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 623 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
624 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 624 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
625 | ············Gets·a·Date·object·for·the·current·century. | 625 | ············Gets·a·Date·object·for·the·current·century. |
626 | ··············Parameters: | 626 | ··············Parameters: |
627 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 627 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
628 | ························today | 628 | ························today |
629 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 629 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·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 | ············... |
640 | ············datetime.date(2020,·12,·2 | 640 | ············datetime.date(2020,·12,·26) |
641 | ············datetime.date(2018,·11,· | 641 | ············datetime.date(2018,·11,·2) |
642 | ············datetime.date(2010,·6,·14) | 642 | ············datetime.date(2010,·6,·14) |
643 | ············datetime.date(2006,·6,·8) | 643 | ············datetime.date(2006,·6,·8) |
644 | ············datetime.date(2012,·9,·1 | 644 | ············datetime.date(2012,·9,·15) |
645 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 645 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
646 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 646 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
647 | ············Gets·a·Date·object·for·the·decade·year. | 647 | ············Gets·a·Date·object·for·the·decade·year. |
648 | ··············Parameters: | 648 | ··············Parameters: |
649 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 649 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
Max diff block lines reached; 28418/35317 bytes (80.47%) of diff not shown. |
Offset 606, 17 lines modified | Offset 606, 17 lines modified | ||
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">'AM'</span> | 611 | <span·class="go">'AM'</span> |
612 | <span·class="go">'AM'</span> | 612 | <span·class="go">'AM'</span> |
613 | <span·class="go">'PM'</span> | ||
614 | <span·class="go">'AM'</span> | ||
615 | <span·class="go">'AM'</span> | 613 | <span·class="go">'AM'</span> |
614 | <span·class="go">'PM'</span> | ||
615 | <span·class="go">'PM'</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.12)"><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.12)"><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, 17 lines modified | Offset 657, 17 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">'2016-04-2 | 664 | <span·class="go">'2016-04-27'</span> |
665 | <span·class="go">'2011-07-3 | 665 | <span·class="go">'2011-07-31'</span> |
666 | <span·class="go">'1993-01-2 | 666 | <span·class="go">'1993-01-26'</span> |
667 | <span·class="go">'1984-03-15'</span> | 667 | <span·class="go">'1984-03-15'</span> |
668 | <span·class="go">'1998-01-17'</span> | 668 | <span·class="go">'1998-01-17'</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"> |
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(2020,·3,· | 698 | <span·class="go">datetime.date(2020,·3,·9)</span> |
699 | <span·class="go">datetime.date(2017,·8,· | 699 | <span·class="go">datetime.date(2017,·8,·4)</span> |
700 | <span·class="go">datetime.date(2007,·6,·2 | 700 | <span·class="go">datetime.date(2007,·6,·21)</span> |
701 | <span·class="go">datetime.date(2002,·8,·1 | 701 | <span·class="go">datetime.date(2002,·8,·15)</span> |
702 | <span·class="go">datetime.date(2010,·3,·1 | 702 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 729 | <span·class="go">datetime.date(2024,·11,·8)</span> |
730 | <span·class="go">datetime.date(2024,·11,· | 730 | <span·class="go">datetime.date(2024,·11,·8)</span> |
731 | <span·class="go">datetime.date(2024,·11,· | 731 | <span·class="go">datetime.date(2024,·11,·8)</span> |
732 | <span·class="go">datetime.date(2024,·11,· | 732 | <span·class="go">datetime.date(2024,·11,·8)</span> |
733 | <span·class="go">datetime.date(2024,·11,· | 733 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 746, 17 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(2016,·4,·2 | 753 | <span·class="go">datetime.date(2016,·4,·27)</span> |
754 | <span·class="go">datetime.date(2011,·7,·3 | 754 | <span·class="go">datetime.date(2011,·7,·31)</span> |
755 | <span·class="go">datetime.date(1993,·1,·2 | 755 | <span·class="go">datetime.date(1993,·1,·26)</span> |
756 | <span·class="go">datetime.date(1984,·3,·15)</span> | 756 | <span·class="go">datetime.date(1984,·3,·15)</span> |
757 | <span·class="go">datetime.date(1998,·1,·17)</span> | 757 | <span·class="go">datetime.date(1998,·1,·17)</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"> |
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(2006,·10,·2 | 789 | <span·class="go">datetime.date(2006,·10,·22)</span> |
790 | <span·class="go">datetime.date(1996,·10,· | 790 | <span·class="go">datetime.date(1996,·10,·10)</span> |
791 | <span·class="go">datetime.date(1957,·8,·2 | 791 | <span·class="go">datetime.date(1957,·8,·22)</span> |
792 | <span·class="go">datetime.date(1938,·11,·2 | 792 | <span·class="go">datetime.date(1938,·11,·21)</span> |
793 | <span·class="go">datetime.date(1968,·2,·2 | 793 | <span·class="go">datetime.date(1968,·2,·29)</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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> |
816 | <dd·class="field-even"><p></p></dd> | 816 | <dd·class="field-even"><p></p></dd> |
817 | </dl> | 817 | </dl> |
818 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 818 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
819 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 819 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
820 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> | 820 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
821 | <span·class="gp">...</span> | 821 | <span·class="gp">...</span> |
822 | <span·class="go">datetime.date(2020,·12,·2 | 822 | <span·class="go">datetime.date(2020,·12,·26)</span> |
823 | <span·class="go">datetime.date(2018,·11,· | 823 | <span·class="go">datetime.date(2018,·11,·2)</span> |
824 | <span·class="go">datetime.date(2010,·6,·14)</span> | 824 | <span·class="go">datetime.date(2010,·6,·14)</span> |
825 | <span·class="go">datetime.date(2006,·6,·8)</span> | 825 | <span·class="go">datetime.date(2006,·6,·8)</span> |
Max diff block lines reached; 83964/100874 bytes (83.24%) of diff not shown. |
Offset 315, 17 lines modified | Offset 315, 17 lines modified | ||
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 | ············'AM' | 320 | ············'AM' |
321 | ············'AM' | 321 | ············'AM' |
322 | ············'PM' | ||
323 | ············'AM' | ||
324 | ············'AM' | 322 | ············'AM' |
323 | ············'PM' | ||
324 | ············'PM' | ||
325 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 325 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
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, 17 lines modified | Offset 345, 17 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 | ············'2016-04-2 | 352 | ············'2016-04-27' |
353 | ············'2011-07-3 | 353 | ············'2011-07-31' |
354 | ············'1993-01-2 | 354 | ············'1993-01-26' |
355 | ············'1984-03-15' | 355 | ············'1984-03-15' |
356 | ············'1998-01-17' | 356 | ············'1998-01-17' |
357 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 357 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
358 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 358 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
359 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 359 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(). |
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(2020,·3,· | 374 | ············datetime.date(2020,·3,·9) |
375 | ············datetime.date(2017,·8,· | 375 | ············datetime.date(2017,·8,·4) |
376 | ············datetime.date(2007,·6,·2 | 376 | ············datetime.date(2007,·6,·21) |
377 | ············datetime.date(2002,·8,·1 | 377 | ············datetime.date(2002,·8,·15) |
378 | ············datetime.date(2010,·3,·1 | 378 | ············datetime.date(2010,·3,·11) |
379 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 379 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
380 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 380 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
381 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 381 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 385 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 387, 31 lines modified | Offset 387, 31 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(2024,·11,· | 394 | ············datetime.date(2024,·11,·8) |
395 | ············datetime.date(2024,·11,· | 395 | ············datetime.date(2024,·11,·8) |
396 | ············datetime.date(2024,·11,· | 396 | ············datetime.date(2024,·11,·8) |
397 | ············datetime.date(2024,·11,· | 397 | ············datetime.date(2024,·11,·8) |
398 | ············datetime.date(2024,·11,· | 398 | ············datetime.date(2024,·11,·8) |
399 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 399 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(2016,·4,·2 | 408 | ············datetime.date(2016,·4,·27) |
409 | ············datetime.date(2011,·7,·3 | 409 | ············datetime.date(2011,·7,·31) |
410 | ············datetime.date(1993,·1,·2 | 410 | ············datetime.date(1993,·1,·26) |
411 | ············datetime.date(1984,·3,·15) | 411 | ············datetime.date(1984,·3,·15) |
412 | ············datetime.date(1998,·1,·17) | 412 | ············datetime.date(1998,·1,·17) |
413 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 413 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
414 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 414 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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: |
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(2006,·10,·2 | 430 | ············datetime.date(2006,·10,·22) |
431 | ············datetime.date(1996,·10,· | 431 | ············datetime.date(1996,·10,·10) |
432 | ············datetime.date(1957,·8,·2 | 432 | ············datetime.date(1957,·8,·22) |
433 | ············datetime.date(1938,·11,·2 | 433 | ············datetime.date(1938,·11,·21) |
434 | ············datetime.date(1968,·2,·2 | 434 | ············datetime.date(1968,·2,·29) |
435 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 435 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
436 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 436 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
437 | ············Gets·a·Date·object·for·the·current·century. | 437 | ············Gets·a·Date·object·for·the·current·century. |
438 | ··············Parameters: | 438 | ··············Parameters: |
439 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 439 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
440 | ························today | 440 | ························today |
441 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 441 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·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 | ············... |
452 | ············datetime.date(2020,·12,·2 | 452 | ············datetime.date(2020,·12,·26) |
453 | ············datetime.date(2018,·11,· | 453 | ············datetime.date(2018,·11,·2) |
454 | ············datetime.date(2010,·6,·14) | 454 | ············datetime.date(2010,·6,·14) |
455 | ············datetime.date(2006,·6,·8) | 455 | ············datetime.date(2006,·6,·8) |
456 | ············datetime.date(2012,·9,·1 | 456 | ············datetime.date(2012,·9,·15) |
457 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 457 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
458 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 458 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
459 | ············Gets·a·Date·object·for·the·decade·year. | 459 | ············Gets·a·Date·object·for·the·decade·year. |
460 | ··············Parameters: | 460 | ··············Parameters: |
461 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 461 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
Max diff block lines reached; 27182/34081 bytes (79.76%) of diff not shown. |
Offset 56, 17 lines modified | Offset 56, 17 lines modified | ||
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">'AM'</span> | 61 | <span·class="go">'AM'</span> |
62 | <span·class="go">'AM'</span> | 62 | <span·class="go">'AM'</span> |
63 | <span·class="go">'PM'</span> | ||
64 | <span·class="go">'AM'</span> | ||
65 | <span·class="go">'AM'</span> | 63 | <span·class="go">'AM'</span> |
64 | <span·class="go">'PM'</span> | ||
65 | <span·class="go">'PM'</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.12)"><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.12)"><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, 17 lines modified | Offset 107, 17 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">'2016-04-2 | 114 | <span·class="go">'2016-04-27'</span> |
115 | <span·class="go">'2011-07-3 | 115 | <span·class="go">'2011-07-31'</span> |
116 | <span·class="go">'1993-01-2 | 116 | <span·class="go">'1993-01-26'</span> |
117 | <span·class="go">'1984-03-15'</span> | 117 | <span·class="go">'1984-03-15'</span> |
118 | <span·class="go">'1998-01-17'</span> | 118 | <span·class="go">'1998-01-17'</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"> |
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(2020,·3,· | 148 | <span·class="go">datetime.date(2020,·3,·9)</span> |
149 | <span·class="go">datetime.date(2017,·8,· | 149 | <span·class="go">datetime.date(2017,·8,·4)</span> |
150 | <span·class="go">datetime.date(2007,·6,·2 | 150 | <span·class="go">datetime.date(2007,·6,·21)</span> |
151 | <span·class="go">datetime.date(2002,·8,·1 | 151 | <span·class="go">datetime.date(2002,·8,·15)</span> |
152 | <span·class="go">datetime.date(2010,·3,·1 | 152 | <span·class="go">datetime.date(2010,·3,·11)</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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(2024,·11,· | 179 | <span·class="go">datetime.date(2024,·11,·8)</span> |
180 | <span·class="go">datetime.date(2024,·11,· | 180 | <span·class="go">datetime.date(2024,·11,·8)</span> |
181 | <span·class="go">datetime.date(2024,·11,· | 181 | <span·class="go">datetime.date(2024,·11,·8)</span> |
182 | <span·class="go">datetime.date(2024,·11,· | 182 | <span·class="go">datetime.date(2024,·11,·8)</span> |
183 | <span·class="go">datetime.date(2024,·11,· | 183 | <span·class="go">datetime.date(2024,·11,·8)</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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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, 17 lines modified | Offset 196, 17 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(2016,·4,·2 | 203 | <span·class="go">datetime.date(2016,·4,·27)</span> |
204 | <span·class="go">datetime.date(2011,·7,·3 | 204 | <span·class="go">datetime.date(2011,·7,·31)</span> |
205 | <span·class="go">datetime.date(1993,·1,·2 | 205 | <span·class="go">datetime.date(1993,·1,·26)</span> |
206 | <span·class="go">datetime.date(1984,·3,·15)</span> | 206 | <span·class="go">datetime.date(1984,·3,·15)</span> |
207 | <span·class="go">datetime.date(1998,·1,·17)</span> | 207 | <span·class="go">datetime.date(1998,·1,·17)</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"> |
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(2006,·10,·2 | 239 | <span·class="go">datetime.date(2006,·10,·22)</span> |
240 | <span·class="go">datetime.date(1996,·10,· | 240 | <span·class="go">datetime.date(1996,·10,·10)</span> |
241 | <span·class="go">datetime.date(1957,·8,·2 | 241 | <span·class="go">datetime.date(1957,·8,·22)</span> |
242 | <span·class="go">datetime.date(1938,·11,·2 | 242 | <span·class="go">datetime.date(1938,·11,·21)</span> |
243 | <span·class="go">datetime.date(1968,·2,·2 | 243 | <span·class="go">datetime.date(1968,·2,·29)</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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> |
266 | <dd·class="field-even"><p></p></dd> | 266 | <dd·class="field-even"><p></p></dd> |
267 | </dl> | 267 | </dl> |
268 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 268 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
269 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 269 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
270 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> | 270 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
271 | <span·class="gp">...</span> | 271 | <span·class="gp">...</span> |
272 | <span·class="go">datetime.date(2020,·12,·2 | 272 | <span·class="go">datetime.date(2020,·12,·26)</span> |
273 | <span·class="go">datetime.date(2018,·11,· | 273 | <span·class="go">datetime.date(2018,·11,·2)</span> |
274 | <span·class="go">datetime.date(2010,·6,·14)</span> | 274 | <span·class="go">datetime.date(2010,·6,·14)</span> |
275 | <span·class="go">datetime.date(2006,·6,·8)</span> | 275 | <span·class="go">datetime.date(2006,·6,·8)</span> |
Max diff block lines reached; 83719/100579 bytes (83.24%) of diff not shown. |
Offset 12, 17 lines modified | Offset 12, 17 lines modified | ||
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 | ············'AM' | 17 | ············'AM' |
18 | ············'AM' | 18 | ············'AM' |
19 | ············'PM' | ||
20 | ············'AM' | ||
21 | ············'AM' | 19 | ············'AM' |
20 | ············'PM' | ||
21 | ············'PM' | ||
22 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 22 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
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, 17 lines modified | Offset 42, 17 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 | ············'2016-04-2 | 49 | ············'2016-04-27' |
50 | ············'2011-07-3 | 50 | ············'2011-07-31' |
51 | ············'1993-01-2 | 51 | ············'1993-01-26' |
52 | ············'1984-03-15' | 52 | ············'1984-03-15' |
53 | ············'1998-01-17' | 53 | ············'1998-01-17' |
54 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 54 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
55 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 55 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
56 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 56 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(). |
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(2020,·3,· | 71 | ············datetime.date(2020,·3,·9) |
72 | ············datetime.date(2017,·8,· | 72 | ············datetime.date(2017,·8,·4) |
73 | ············datetime.date(2007,·6,·2 | 73 | ············datetime.date(2007,·6,·21) |
74 | ············datetime.date(2002,·8,·1 | 74 | ············datetime.date(2002,·8,·15) |
75 | ············datetime.date(2010,·3,·1 | 75 | ············datetime.date(2010,·3,·11) |
76 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t | 76 | ········date_between_dates(d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t |
77 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 77 | ········|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8at\x8te\x8e_\x8_e\x8en\x8nd\x8d:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
78 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 78 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 82 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 84, 31 lines modified | Offset 84, 31 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(2024,·11,· | 91 | ············datetime.date(2024,·11,·8) |
92 | ············datetime.date(2024,·11,· | 92 | ············datetime.date(2024,·11,·8) |
93 | ············datetime.date(2024,·11,· | 93 | ············datetime.date(2024,·11,·8) |
94 | ············datetime.date(2024,·11,· | 94 | ············datetime.date(2024,·11,·8) |
95 | ············datetime.date(2024,·11,· | 95 | ············datetime.date(2024,·11,·8) |
96 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 96 | ········date_object(e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8et\x8ti\x8im\x8me\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(2016,·4,·2 | 105 | ············datetime.date(2016,·4,·27) |
106 | ············datetime.date(2011,·7,·3 | 106 | ············datetime.date(2011,·7,·31) |
107 | ············datetime.date(1993,·1,·2 | 107 | ············datetime.date(1993,·1,·26) |
108 | ············datetime.date(1984,·3,·15) | 108 | ············datetime.date(1984,·3,·15) |
109 | ············datetime.date(1998,·1,·17) | 109 | ············datetime.date(1998,·1,·17) |
110 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 110 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
111 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 111 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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: |
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(2006,·10,·2 | 127 | ············datetime.date(2006,·10,·22) |
128 | ············datetime.date(1996,·10,· | 128 | ············datetime.date(1996,·10,·10) |
129 | ············datetime.date(1957,·8,·2 | 129 | ············datetime.date(1957,·8,·22) |
130 | ············datetime.date(1938,·11,·2 | 130 | ············datetime.date(1938,·11,·21) |
131 | ············datetime.date(1968,·2,·2 | 131 | ············datetime.date(1968,·2,·29) |
132 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 132 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
133 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 133 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
134 | ············Gets·a·Date·object·for·the·current·century. | 134 | ············Gets·a·Date·object·for·the·current·century. |
135 | ··············Parameters: | 135 | ··············Parameters: |
136 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 136 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
137 | ························today | 137 | ························today |
138 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 138 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·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 | ············... |
149 | ············datetime.date(2020,·12,·2 | 149 | ············datetime.date(2020,·12,·26) |
150 | ············datetime.date(2018,·11,· | 150 | ············datetime.date(2018,·11,·2) |
151 | ············datetime.date(2010,·6,·14) | 151 | ············datetime.date(2010,·6,·14) |
152 | ············datetime.date(2006,·6,·8) | 152 | ············datetime.date(2006,·6,·8) |
153 | ············datetime.date(2012,·9,·1 | 153 | ············datetime.date(2012,·9,·15) |
154 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 154 | ········date_this_decade(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
155 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 155 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
156 | ············Gets·a·Date·object·for·the·decade·year. | 156 | ············Gets·a·Date·object·for·the·decade·year. |
157 | ··············Parameters: | 157 | ··············Parameters: |
158 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 158 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
Max diff block lines reached; 27200/34091 bytes (79.79%) 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·10.4.0·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:2024110722 | 285 | <span·class="go">b'%PDF-1.4\n%·created·by·Pillow·10.4.0·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:20241107224144Z)\n/ModDate·(D:20241107224144Z)\n>>endobj\nxref\n0·7\n0000000000·65536·f·\n0000000151·00000·n·\n0000000954·00000·n·\n0000001112·00000·n·\n0000000047·00000·n·\n0000000094·00000·n·\n0000001203·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0·R\n>>\nstartxref\n1285\n%%EOF'</span> |
286 | <span·class="go">b'%PDF-1.4\n%·created·by·Pillow·10.4.0·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:2024110722 | 286 | <span·class="go">b'%PDF-1.4\n%·created·by·Pillow·10.4.0·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:20241107224144Z)\n/ModDate·(D:20241107224144Z)\n>>endobj\nxref\n0·7\n0000000000·65536·f·\n0000000151·00000·n·\n0000000956·00000·n·\n0000001114·00000·n·\n0000000047·00000·n·\n0000000094·00000·n·\n0000001205·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0·R\n>>\nstartxref\n1287\n%%EOF'</span> |
287 | <span·class="go">b'%PDF-1.4\n%·created·by·Pillow·10.4.0·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:2024110722 | 287 | <span·class="go">b'%PDF-1.4\n%·created·by·Pillow·10.4.0·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:20241107224144Z)\n/ModDate·(D:20241107224144Z)\n>>endobj\nxref\n0·7\n0000000000·65536·f·\n0000000151·00000·n·\n0000000944·00000·n·\n0000001102·00000·n·\n0000000047·00000·n·\n0000000094·00000·n·\n0000001193·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0·R\n>>\nstartxref\n1275\n%%EOF'</span> |
288 | <span·class="go">b'%PDF-1.4\n%·created·by·Pillow·10.4.0·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:2024110722 | 288 | <span·class="go">b'%PDF-1.4\n%·created·by·Pillow·10.4.0·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:20241107224144Z)\n/ModDate·(D:20241107224144Z)\n>>endobj\nxref\n0·7\n0000000000·65536·f·\n0000000151·00000·n·\n0000000944·00000·n·\n0000001102·00000·n·\n0000000047·00000·n·\n0000000094·00000·n·\n0000001193·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0·R\n>>\nstartxref\n1275\n%%EOF'</span> |
289 | <span·class="go">b'%PDF-1.4\n%·created·by·Pillow·10.4.0·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:2024110722 | 289 | <span·class="go">b'%PDF-1.4\n%·created·by·Pillow·10.4.0·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:20241107224144Z)\n/ModDate·(D:20241107224144Z)\n>>endobj\nxref\n0·7\n0000000000·65536·f·\n0000000151·00000·n·\n0000000945·00000·n·\n0000001103·00000·n·\n0000000047·00000·n·\n0000000094·00000·n·\n0000001194·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0·R\n>>\nstartxref\n1276\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\xbb\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\x82IDATx\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;\t\xa2\xa7\xa0+\x93X\r\x10p\xfa^0\xc4*\x14\rGg\xb8\x9c\xbe\x17\x8c\xd5\x12\xb8U$\x84\xd2\xe9{\xc1Gg\xb8`\x89\x07Lu\x0c\xb0H\xb4\xce\xd8\x83O\x03\xb2R8`\xc4L\xde\xf0p\xc4\x9a4\x00\xf2L-\xfa\xd8X|\x11\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\xbb\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\x82IDATx\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;\t\xa2\xa7\xa0+\x93X\r\x10p\xfa^0\xc4*\x14\rGg\xb8\x9c\xbe\x17\x8c\xd5\x12\xb8U$\x84\xd2\xe9{\xc1Gg\xb8`\x89\x07Lu\x0c\xb0H\xb4\xce\xd8\x83O\x03\xb2R8`\xc4L\xde\xf0p\xc4\x9a4\x00\xf2L-\xfa\xd8X|\x11\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-08-22· | 739 | <span·class="go">'<?xml·version="1.0"·encoding="utf-8"?>\n<couple><son>-9787526.29318886</son><voice>1977-08-22·10:08:11.632349</voice><kitchen>NGnVZQUqLUJyfwFVYySn</kitchen><amount>2020-03-31·10:24:53.977026</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>2020-04- | 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>2020-04-30·19:41:47.691180</blood><scene>paul42@example.net</scene></rock>'</span> |
741 | <span·class="go">'<?xml·version="1.0"·encoding="utf-8"?>\n<different><lot>1985-05-29· | 741 | <span·class="go">'<?xml·version="1.0"·encoding="utf-8"?>\n<different><lot>1985-05-29·15:25:35.942039</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>1997-03-05· | 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-03-05·17:16:27.795858</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.12)"><span·class="pre">int</span></a></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.12)"><span·class="pre">int</span></a></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.12)"><span·class="pre">int</span></a></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.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">int</span></a></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.12)"><span·class="pre">int</span></a></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.12)"><span·class="pre">int</span></a></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.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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\x006ehY}\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\xb6[·...·truncated·by·diffoscope;·len:·1442,·SHA:·325b9cfd6681c4ca55e583ca6c6e636003e31eeb8cd4e5192656f1fb8ef9f4fd·...·]Y\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\x006ehY\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\xd[·...·truncated·by·diffoscope;·len:·1505,·SHA:·1f012a93e9c9cb1dfde8105671063d4c8632a2e8bb61e9a909266e623bf6a658·...·]Y\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\x006ehY\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\x8[·...·truncated·by·diffoscope;·len:·1509,·SHA:·a95ab81a28602669eb132ff0dde0bfaf2c314e6e99a6039844401b7609c7d9c1·...·]Y\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\x006ehY\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\x0c[·...·truncated·by·diffoscope;·len:·1507,·SHA:·bf4b50da638c705d04c9cde463369387f309435b91f0b12bac4436c9f4ab4bac·...·]Y\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\x006ehYOH\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\x14[·...·truncated·by·diffoscope;·len:·1513,·SHA:·a6c8d07e12e7a22d92c6065d6d1dac7345478bcc2a66685de26cfc08c90ca9f5·...·]Y\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\x006ehYg#\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\x1902[·...·truncated·by·diffoscope;·len:·13056,·SHA:·2bdf7cfdbba1847f40e33f4abf5928d1455746d4a4bc02c45d38f881e3cb3a10·...·]Y\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\x006ehY\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\x10bf\x[·...·truncated·by·diffoscope;·len:·13211,·SHA:·da4d67065dd1e1a96d1b52be6f1c1fb8a6e3e2206cf78e5939eab000483912a0·...·]Y>\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\x006ehY\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\x1[·...·truncated·by·diffoscope;·len:·13172,·SHA:·29eab44f35c99d97b06b91f4b64e5a3ef24d535b68ce1df18e85cf83a67aa808·...·]Yj\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\x006ehYi\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\xfdHa[·...·truncated·by·diffoscope;·len:·13263,·SHA:·c3e1e719f7efd2944cc27abfd15df8ea0558839772bf120108a4021fe7912c54·...·]Y\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\x006ehY\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\x0[·...·truncated·by·diffoscope;·len:·13037,·SHA:·baffca4d4fdf16f7ad80dbeeaac11be06448f0ced1ec1f14bb1c4c55b10b1f6f·...·]Y\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 471, 15 lines modified | Offset 471, 15 lines modified | ||
471 | ············()*56789: | 471 | ············()*56789: |
472 | ············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 | 472 | ············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 | ············0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/ | 473 | ············0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/ |
474 | ············image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/ | 474 | ············image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/ |
475 | ············Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length | 475 | ············Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length |
476 | ············43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do | 476 | ············43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do |
477 | ············Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D: | 477 | ············Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D: |
478 | ············2024110722 | 478 | ············20241107224144Z)\n/ModDate·(D:20241107224144Z)\n>>endobj\nxref\n0 |
479 | ············7\n0000000000·65536·f·\n0000000151·00000·n·\n0000000954·00000·n | 479 | ············7\n0000000000·65536·f·\n0000000151·00000·n·\n0000000954·00000·n |
480 | ············\n0000001112·00000·n·\n0000000047·00000·n·\n0000000094·00000·n | 480 | ············\n0000001112·00000·n·\n0000000047·00000·n·\n0000000094·00000·n |
481 | ············\n0000001203·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0 | 481 | ············\n0000001203·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0 |
482 | ············R\n>>\nstartxref\n1285\n%%EOF' | 482 | ············R\n>>\nstartxref\n1285\n%%EOF' |
483 | ············b'%PDF-1.4\n%·created·by·Pillow·10.4.0·PDF·driver\n4·0·obj<<\n/Type | 483 | ············b'%PDF-1.4\n%·created·by·Pillow·10.4.0·PDF·driver\n4·0·obj<<\n/Type |
484 | ············/Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count | 484 | ············/Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count |
485 | ············1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/ | 485 | ············1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/ |
Offset 493, 15 lines modified | Offset 493, 15 lines modified | ||
493 | ············()*56789: | 493 | ············()*56789: |
494 | ············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 | 494 | ············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 | ············0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/ | 495 | ············0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/ |
496 | ············image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/ | 496 | ············image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/ |
497 | ············Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length | 497 | ············Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length |
498 | ············43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do | 498 | ············43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do |
499 | ············Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D: | 499 | ············Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D: |
500 | ············2024110722 | 500 | ············20241107224144Z)\n/ModDate·(D:20241107224144Z)\n>>endobj\nxref\n0 |
501 | ············7\n0000000000·65536·f·\n0000000151·00000·n·\n0000000956·00000·n | 501 | ············7\n0000000000·65536·f·\n0000000151·00000·n·\n0000000956·00000·n |
502 | ············\n0000001114·00000·n·\n0000000047·00000·n·\n0000000094·00000·n | 502 | ············\n0000001114·00000·n·\n0000000047·00000·n·\n0000000094·00000·n |
503 | ············\n0000001205·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0 | 503 | ············\n0000001205·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0 |
504 | ············R\n>>\nstartxref\n1287\n%%EOF' | 504 | ············R\n>>\nstartxref\n1287\n%%EOF' |
505 | ············b'%PDF-1.4\n%·created·by·Pillow·10.4.0·PDF·driver\n4·0·obj<<\n/Type | 505 | ············b'%PDF-1.4\n%·created·by·Pillow·10.4.0·PDF·driver\n4·0·obj<<\n/Type |
506 | ············/Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count | 506 | ············/Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count |
507 | ············1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/ | 507 | ············1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/ |
Offset 515, 15 lines modified | Offset 515, 15 lines modified | ||
515 | ············()*56789: | 515 | ············()*56789: |
516 | ············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 | 516 | ············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 | ············0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/ | 517 | ············0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/ |
518 | ············image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/ | 518 | ············image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/ |
519 | ············Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length | 519 | ············Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length |
520 | ············43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do | 520 | ············43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do |
521 | ············Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D: | 521 | ············Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D: |
522 | ············2024110722 | 522 | ············20241107224144Z)\n/ModDate·(D:20241107224144Z)\n>>endobj\nxref\n0 |
523 | ············7\n0000000000·65536·f·\n0000000151·00000·n·\n0000000944·00000·n | 523 | ············7\n0000000000·65536·f·\n0000000151·00000·n·\n0000000944·00000·n |
524 | ············\n0000001102·00000·n·\n0000000047·00000·n·\n0000000094·00000·n | 524 | ············\n0000001102·00000·n·\n0000000047·00000·n·\n0000000094·00000·n |
525 | ············\n0000001193·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0 | 525 | ············\n0000001193·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0 |
526 | ············R\n>>\nstartxref\n1275\n%%EOF' | 526 | ············R\n>>\nstartxref\n1275\n%%EOF' |
527 | ············b'%PDF-1.4\n%·created·by·Pillow·10.4.0·PDF·driver\n4·0·obj<<\n/Type | 527 | ············b'%PDF-1.4\n%·created·by·Pillow·10.4.0·PDF·driver\n4·0·obj<<\n/Type |
528 | ············/Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count | 528 | ············/Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count |
529 | ············1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/ | 529 | ············1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/ |
Offset 537, 15 lines modified | Offset 537, 15 lines modified | ||
537 | ············()*56789: | 537 | ············()*56789: |
538 | ············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 | 538 | ············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 | ············0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/ | 539 | ············0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/ |
540 | ············image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/ | 540 | ············image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/ |
541 | ············Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length | 541 | ············Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length |
542 | ············43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do | 542 | ············43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do |
543 | ············Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D: | 543 | ············Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D: |
544 | ············2024110722 | 544 | ············20241107224144Z)\n/ModDate·(D:20241107224144Z)\n>>endobj\nxref\n0 |
545 | ············7\n0000000000·65536·f·\n0000000151·00000·n·\n0000000944·00000·n | 545 | ············7\n0000000000·65536·f·\n0000000151·00000·n·\n0000000944·00000·n |
546 | ············\n0000001102·00000·n·\n0000000047·00000·n·\n0000000094·00000·n | 546 | ············\n0000001102·00000·n·\n0000000047·00000·n·\n0000000094·00000·n |
547 | ············\n0000001193·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0 | 547 | ············\n0000001193·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0 |
548 | ············R\n>>\nstartxref\n1275\n%%EOF' | 548 | ············R\n>>\nstartxref\n1275\n%%EOF' |
549 | ············b'%PDF-1.4\n%·created·by·Pillow·10.4.0·PDF·driver\n4·0·obj<<\n/Type | 549 | ············b'%PDF-1.4\n%·created·by·Pillow·10.4.0·PDF·driver\n4·0·obj<<\n/Type |
550 | ············/Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count | 550 | ············/Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count |
551 | ············1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/ | 551 | ············1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/ |
Offset 559, 15 lines modified | Offset 559, 15 lines modified | ||
559 | ············()*56789: | 559 | ············()*56789: |
560 | ············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 | 560 | ············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 | ············0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/ | 561 | ············0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/ |
562 | ············image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/ | 562 | ············image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/ |
563 | ············Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length | 563 | ············Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length |
564 | ············43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do | 564 | ············43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do |
565 | ············Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D: | 565 | ············Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D: |
566 | ············2024110722 | 566 | ············20241107224144Z)\n/ModDate·(D:20241107224144Z)\n>>endobj\nxref\n0 |
567 | ············7\n0000000000·65536·f·\n0000000151·00000·n·\n0000000945·00000·n | 567 | ············7\n0000000000·65536·f·\n0000000151·00000·n·\n0000000945·00000·n |
568 | ············\n0000001103·00000·n·\n0000000047·00000·n·\n0000000094·00000·n | 568 | ············\n0000001103·00000·n·\n0000000047·00000·n·\n0000000094·00000·n |
569 | ············\n0000001194·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0 | 569 | ············\n0000001194·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0 |
570 | ············R\n>>\nstartxref\n1276\n%%EOF' | 570 | ············R\n>>\nstartxref\n1276\n%%EOF' |
571 | ············>>>·Faker.seed(0) | 571 | ············>>>·Faker.seed(0) |
572 | ············>>>·for·_·in·range(5): | 572 | ············>>>·for·_·in·range(5): |
573 | ············...·····fake.image(size=(16,·16),·hue=[90,·270], | 573 | ············...·····fake.image(size=(16,·16),·hue=[90,·270], |
Offset 1431, 42 lines modified | Offset 1431, 42 lines modified | ||
1431 | ············Note:·this·provider·required·xmltodict·library·installed | 1431 | ············Note:·this·provider·required·xmltodict·library·installed |
1432 | ··············Examples: | 1432 | ··············Examples: |
1433 | ············>>>·Faker.seed(0) | 1433 | ············>>>·Faker.seed(0) |
1434 | ············>>>·for·_·in·range(5): | 1434 | ············>>>·for·_·in·range(5): |
1435 | ············...·····fake.xml() | 1435 | ············...·····fake.xml() |
1436 | ············... | 1436 | ············... |
1437 | ············'<?xml·version="1.0"·encoding="utf-8"?>\n<couple><son>- | 1437 | ············'<?xml·version="1.0"·encoding="utf-8"?>\n<couple><son>- |
1438 | ············9787526.29318886</son><voice>1977-08-22· | 1438 | ············9787526.29318886</son><voice>1977-08-22·10:08:11.632349</ |
1439 | ············voice><kitchen>NGnVZQUqLUJyfwFVYySn</kitchen><amount>2020-03-3 | 1439 | ············voice><kitchen>NGnVZQUqLUJyfwFVYySn</kitchen><amount>2020-03-31·10: |
1440 | ············ | 1440 | ············24:53.977026</amount><event>LuQIazTmqTjDmYPxeqAW</ |
1441 | ············event><much>ppgrVkPCoePqmjQbZndJ</ | 1441 | ············event><much>ppgrVkPCoePqmjQbZndJ</ |
1442 | ············much><mention>TWRUWCuKoQSUEXExIZVP</ | 1442 | ············much><mention>TWRUWCuKoQSUEXExIZVP</ |
1443 | ············mention><interview>qfErjaoKtiwdOSlQGWFd</ | 1443 | ············mention><interview>qfErjaoKtiwdOSlQGWFd</ |
1444 | ············interview><why>HFDutYbbXjgkPWbwfnlH</why><step>7144</step></ | 1444 | ············interview><why>HFDutYbbXjgkPWbwfnlH</why><step>7144</step></ |
1445 | ············couple>' | 1445 | ············couple>' |
1446 | ············'<?xml·version="1.0"·encoding="utf-8"?>\n<rock><most>3266</ | 1446 | ············'<?xml·version="1.0"·encoding="utf-8"?>\n<rock><most>3266</ |
1447 | ············most><manage>-900146288.946134</manage><among>http://www.moreno- | 1447 | ············most><manage>-900146288.946134</manage><among>http://www.moreno- |
1448 | ············wilson.info/listsearch.html</ | 1448 | ············wilson.info/listsearch.html</ |
1449 | ············among><pick>alexandermaldonado@example.net</pick><blood>2020-04- | 1449 | ············among><pick>alexandermaldonado@example.net</pick><blood>2020-04-30 |
1450 | ············19: | 1450 | ············19:41:47.691180</blood><scene>paul42@example.net</scene></rock>' |
1451 | ············'<?xml·version="1.0"·encoding="utf-8"?>\n<different><lot>1985-05-29 | 1451 | ············'<?xml·version="1.0"·encoding="utf-8"?>\n<different><lot>1985-05-29 |
1452 | ············ | 1452 | ············15:25:35.942039</lot><site>NzFJEUSgqMReEKilxKJT</ |
1453 | ············site><bar>uKvIcxniBzDNTzqyQTQj</ | 1453 | ············site><bar>uKvIcxniBzDNTzqyQTQj</ |
1454 | ············bar><government>monroedavid@example.org</government><single>6840</ | 1454 | ············bar><government>monroedavid@example.org</government><single>6840</ |
1455 | ············single><answer>55</answer></different>' | 1455 | ············single><answer>55</answer></different>' |
1456 | ············'<?xml·version="1.0"·encoding="utf-8"?>\n<matter><series>http:// | 1456 | ············'<?xml·version="1.0"·encoding="utf-8"?>\n<matter><series>http:// |
1457 | ············www.ramirez-good.com/postsabout.htm</series><somebody>- | 1457 | ············www.ramirez-good.com/postsabout.htm</series><somebody>- |
1458 | ············23587860434913790978655934625693951978093570729960966912834032313989657524780944.4000348559097765823</ | 1458 | ············23587860434913790978655934625693951978093570729960966912834032313989657524780944.4000348559097765823</ |
1459 | ············somebody><able>9619</able><test>38191497835621.5</ | 1459 | ············somebody><able>9619</able><test>38191497835621.5</ |
1460 | ············test><Republican>6016</Republican><newspaper>rGciZpuCpymcjBdurvfV</ | 1460 | ············test><Republican>6016</Republican><newspaper>rGciZpuCpymcjBdurvfV</ |
1461 | ············newspaper></matter>' | 1461 | ············newspaper></matter>' |
1462 | ············'<?xml·version="1.0"·encoding="utf- | 1462 | ············'<?xml·version="1.0"·encoding="utf- |
1463 | ············8"?>\n<bar><thought>pMUVGtYHdeMdauAxzEJv</thought><success>3606</ | 1463 | ············8"?>\n<bar><thought>pMUVGtYHdeMdauAxzEJv</thought><success>3606</ |
1464 | ············success><task>56521.5119364862</task><gun>dSKUxJgukcXlhktChZZh</ | 1464 | ············success><task>56521.5119364862</task><gun>dSKUxJgukcXlhktChZZh</ |
1465 | ············gun><capital>6934</capital><measure>1997-03-05· | 1465 | ············gun><capital>6934</capital><measure>1997-03-05·17:16:27.795858</ |
1466 | ············measure><business>8166</ | 1466 | ············measure><business>8166</ |
1467 | ············business><scene>600995291888988873211025510262505134712632953600564174616347579450201.7118013204075227586880918916348967699300248945174466602234500762791256097670172009925185367</ | 1467 | ············business><scene>600995291888988873211025510262505134712632953600564174616347579450201.7118013204075227586880918916348967699300248945174466602234500762791256097670172009925185367</ |
1468 | ············scene><modern>TFyGrgJGPgVPVTJQAOjO</modern><last>- | 1468 | ············scene><modern>TFyGrgJGPgVPVTJQAOjO</modern><last>- |
1469 | ············710675304631639660753226190483043425415886510754056240444204875232268060793557159011868147985519.318868412696116116207660754</ | 1469 | ············710675304631639660753226190483043425415886510754056240444204875232268060793557159011868147985519.318868412696116116207660754</ |
1470 | ············last></bar>' | 1470 | ············last></bar>' |
1471 | ········zip(u\x8un\x8nc\x8co\x8om\x8mp\x8pr\x8re\x8es\x8ss\x8se\x8ed\x8d_\x8_s\x8si\x8iz\x8ze\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·6\x865\x855\x853\x836\x86,·n\x8nu\x8um\x8m_\x8_f\x8fi\x8il\x8le\x8es\x8s:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x81,·m\x8mi\x8in\x8n_\x8_f\x8fi\x8il\x8le\x8e_\x8_s\x8si\x8iz\x8ze\x8e:\x8: | 1471 | ········zip(u\x8un\x8nc\x8co\x8om\x8mp\x8pr\x8re\x8es\x8ss\x8se\x8ed\x8d_\x8_s\x8si\x8iz\x8ze\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·6\x865\x855\x853\x836\x86,·n\x8nu\x8um\x8m_\x8_f\x8fi\x8il\x8le\x8es\x8s:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x81,·m\x8mi\x8in\x8n_\x8_f\x8fi\x8il\x8le\x8e_\x8_s\x8si\x8iz\x8ze\x8e:\x8: |
1472 | ········_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·4\x840\x809\x896\x86,·c\x8co\x8om\x8mp\x8pr\x8re\x8es\x8ss\x8si\x8io\x8on\x8n:\x8:·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8b_\x8y_\x8t_\x8e_\x8s_\x8¶ | 1472 | ········_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·4\x840\x809\x896\x86,·c\x8co\x8om\x8mp\x8pr\x8re\x8es\x8ss\x8si\x8io\x8on\x8n:\x8:·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8b_\x8y_\x8t_\x8e_\x8s_\x8¶ |
Offset 1487, 388 lines modified | Offset 1487, 388 lines modified | ||
1487 | ················*·'deflate',·'gzip',·or·'gz'·for·GZIP | 1487 | ················*·'deflate',·'gzip',·or·'gz'·for·GZIP |
1488 | ··············Examples: | 1488 | ··············Examples: |
1489 | ············>>>·Faker.seed(0) | 1489 | ············>>>·Faker.seed(0) |
1490 | ············>>>·for·_·in·range(5): | 1490 | ············>>>·for·_·in·range(5): |
Max diff block lines reached; 153362/164682 bytes (93.13%) 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(2006,·10,·2 | 63 | <span·class="go">datetime.date(2006,·10,·22)</span> |
64 | <span·class="go">datetime.date(1996,·10,· | 64 | <span·class="go">datetime.date(1996,·10,·10)</span> |
65 | <span·class="go">datetime.date(1957,·8,·2 | 65 | <span·class="go">datetime.date(1957,·8,·22)</span> |
66 | <span·class="go">datetime.date(1938,·11,·2 | 66 | <span·class="go">datetime.date(1938,·11,·21)</span> |
67 | <span·class="go">datetime.date(1968,·2,·2 | 67 | <span·class="go">datetime.date(1968,·2,·29)</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.12)"><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.12)"><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()·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 12 | ········passport_dob()·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
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(2006,·10,·2 | 19 | ············datetime.date(2006,·10,·22) |
20 | ············datetime.date(1996,·10,· | 20 | ············datetime.date(1996,·10,·10) |
21 | ············datetime.date(1957,·8,·2 | 21 | ············datetime.date(1957,·8,·22) |
22 | ············datetime.date(1938,·11,·2 | 22 | ············datetime.date(1938,·11,·21) |
23 | ············datetime.date(1968,·2,·2 | 23 | ············datetime.date(1968,·2,·29) |
24 | ········passport_number()·→·_\x8s_\x8t_\x8r_\x8¶ | 24 | ········passport_number()·→·_\x8s_\x8t_\x8r_\x8¶ |
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(1942,·3,·2 | 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(1942,·3,·22)}</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(1916,·12,·2 | 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(1916,·12,·22)}</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(2006,·1,·1 | 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(2006,·1,·12)}</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(1927,·11,·1 | 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(1927,·11,·11)}</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(2004,·3,·1 | 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(2004,·3,·15)}</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.12)"><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="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><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.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><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.12)"><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="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.12)"><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="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><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.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><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.12)"><span·class="pre">date</span></a><span·class="w">·</span><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.12)"><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="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(1945,·7,·1 | 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(1945,·7,·13)}</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(2024,·8,·1 | 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(2024,·8,·14)}</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(2004,·2,·2 | 87 | <span·class="go">{'username':·'lisa83',·'name':·'Juan·Mann',·'sex':·'M',·'address':·'USNV·Wallace\nFPO·AP·50950',·'mail':·'barbara42@gmail.com',·'birthdate':·datetime.date(2004,·2,·22)}</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(1976,·12,·1 | 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(1976,·12,·14)}</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(1923,·3,·2 | 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(1923,·3,·24)}</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, 78 lines modified | ||
23 | ············4970',·'residence':·'Unit·5938·Box·2421\nDPO·AP·33335', | 23 | ············4970',·'residence':·'Unit·5938·Box·2421\nDPO·AP·33335', |
24 | ············'current_location':·(Decimal('52.958961'),·Decimal('143.143712')), | 24 | ············'current_location':·(Decimal('52.958961'),·Decimal('143.143712')), |
25 | ············'blood_group':·'B+',·'website':·['http://www.rivera.com/',·'http:// | 25 | ············'blood_group':·'B+',·'website':·['http://www.rivera.com/',·'http:// |
26 | ············grimes-green.net/',·'http://www.larsen.com/'],·'username': | 26 | ············grimes-green.net/',·'http://www.larsen.com/'],·'username': |
27 | ············'leeashley',·'name':·'Gary·Cross',·'sex':·'M',·'address':·'711 | 27 | ············'leeashley',·'name':·'Gary·Cross',·'sex':·'M',·'address':·'711 |
28 | ············Golden·Overpass\nWest·Andreaville,·OH·44115',·'mail': | 28 | ············Golden·Overpass\nWest·Andreaville,·OH·44115',·'mail': |
29 | ············'tamaramorrison@hotmail.com',·'birthdate':·datetime.date(1942,·3, | 29 | ············'tamaramorrison@hotmail.com',·'birthdate':·datetime.date(1942,·3, |
30 | ············2 | 30 | ············22)} |
31 | ············{'job':·'Chemist,·analytical',·'company':·'Yates,·Stewart·and | 31 | ············{'job':·'Chemist,·analytical',·'company':·'Yates,·Stewart·and |
32 | ············Allen',·'ssn':·'189-25-3060',·'residence':·'1122·Megan·Squares | 32 | ············Allen',·'ssn':·'189-25-3060',·'residence':·'1122·Megan·Squares |
33 | ············Suite·848\nPort·Jason,·TX·77807',·'current_location':·(Decimal | 33 | ············Suite·848\nPort·Jason,·TX·77807',·'current_location':·(Decimal |
34 | ············('22.588068'),·Decimal('131.221390')),·'blood_group':·'AB+', | 34 | ············('22.588068'),·Decimal('131.221390')),·'blood_group':·'AB+', |
35 | ············'website':·['https://nguyen.info/',·'https://www.smith.com/', | 35 | ············'website':·['https://nguyen.info/',·'https://www.smith.com/', |
36 | ············'http://cook.com/',·'http://www.montoya.net/'],·'username': | 36 | ············'http://cook.com/',·'http://www.montoya.net/'],·'username': |
37 | ············'myersmitchell',·'name':·'Madison·Obrien',·'sex':·'F',·'address': | 37 | ············'myersmitchell',·'name':·'Madison·Obrien',·'sex':·'F',·'address': |
38 | ············'Unit·0903·Box·2173\nDPO·AP·08507',·'mail': | 38 | ············'Unit·0903·Box·2173\nDPO·AP·08507',·'mail': |
39 | ············'stephenschristine@yahoo.com',·'birthdate':·datetime.date(1916,·12, | 39 | ············'stephenschristine@yahoo.com',·'birthdate':·datetime.date(1916,·12, |
40 | ············2 | 40 | ············22)} |
41 | ············{'job':·'Building·surveyor',·'company':·'Turner,·Graham·and·Brown', | 41 | ············{'job':·'Building·surveyor',·'company':·'Turner,·Graham·and·Brown', |
42 | ············'ssn':·'479-06-9773',·'residence':·'45792·Tammy·Centers·Apt. | 42 | ············'ssn':·'479-06-9773',·'residence':·'45792·Tammy·Centers·Apt. |
43 | ············258\nDavidmouth,·TN·23414',·'current_location':·(Decimal('- | 43 | ············258\nDavidmouth,·TN·23414',·'current_location':·(Decimal('- |
44 | ············86.4556435'),·Decimal('73.201966')),·'blood_group':·'O+', | 44 | ············86.4556435'),·Decimal('73.201966')),·'blood_group':·'O+', |
45 | ············'website':·['https://king.com/',·'https://www.campbell.com/', | 45 | ············'website':·['https://king.com/',·'https://www.campbell.com/', |
46 | ············'https://arroyo.com/'],·'username':·'hollymoore',·'name':·'Ronald | 46 | ············'https://arroyo.com/'],·'username':·'hollymoore',·'name':·'Ronald |
47 | ············Miller',·'sex':·'M',·'address':·'9606·Barton·Station·Apt. | 47 | ············Miller',·'sex':·'M',·'address':·'9606·Barton·Station·Apt. |
48 | ············271\nJacquelinemouth,·NC·64367',·'mail':·'hensontroy@yahoo.com', | 48 | ············271\nJacquelinemouth,·NC·64367',·'mail':·'hensontroy@yahoo.com', |
49 | ············'birthdate':·datetime.date(2006,·1,·1 | 49 | ············'birthdate':·datetime.date(2006,·1,·12)} |
50 | ············{'job':·'Arts·administrator',·'company':·'Lopez-Key',·'ssn':·'649- | 50 | ············{'job':·'Arts·administrator',·'company':·'Lopez-Key',·'ssn':·'649- |
51 | ············11-2139',·'residence':·'Unit·6650·Box·3008\nDPO·AP·13317', | 51 | ············11-2139',·'residence':·'Unit·6650·Box·3008\nDPO·AP·13317', |
52 | ············'current_location':·(Decimal('-38.8738015'),·Decimal('- | 52 | ············'current_location':·(Decimal('-38.8738015'),·Decimal('- |
53 | ············116.163958')),·'blood_group':·'B-',·'website':·['https:// | 53 | ············116.163958')),·'blood_group':·'B-',·'website':·['https:// |
54 | ············www.alvarez.com/',·'http://marsh-wilson.com/',·'http://wiggins.com/ | 54 | ············www.alvarez.com/',·'http://marsh-wilson.com/',·'http://wiggins.com/ |
55 | ············'],·'username':·'sheena09',·'name':·'Melanie·Grant',·'sex':·'F', | 55 | ············'],·'username':·'sheena09',·'name':·'Melanie·Grant',·'sex':·'F', |
56 | ············'address':·'658·Jared·Radial·Suite·022\nMathewstad,·VT·12783', | 56 | ············'address':·'658·Jared·Radial·Suite·022\nMathewstad,·VT·12783', |
57 | ············'mail':·'kimberly00@yahoo.com',·'birthdate':·datetime.date(1927, | 57 | ············'mail':·'kimberly00@yahoo.com',·'birthdate':·datetime.date(1927, |
58 | ············11,·1 | 58 | ············11,·11)} |
59 | ············{'job':·'Television·production·assistant',·'company':·'Ward-Hays', | 59 | ············{'job':·'Television·production·assistant',·'company':·'Ward-Hays', |
60 | ············'ssn':·'133-38-1883',·'residence':·'42814·Houston | 60 | ············'ssn':·'133-38-1883',·'residence':·'42814·Houston |
61 | ············Hills\nRodriguezside,·PW·63569',·'current_location':·(Decimal | 61 | ············Hills\nRodriguezside,·PW·63569',·'current_location':·(Decimal |
62 | ············('37.2396545'),·Decimal('0.968737')),·'blood_group':·'AB-', | 62 | ············('37.2396545'),·Decimal('0.968737')),·'blood_group':·'AB-', |
63 | ············'website':·['https://www.jimenez.com/'],·'username': | 63 | ············'website':·['https://www.jimenez.com/'],·'username': |
64 | ············'joneschristopher',·'name':·'Jaime·Villegas',·'sex':·'F', | 64 | ············'joneschristopher',·'name':·'Jaime·Villegas',·'sex':·'F', |
65 | ············'address':·'0168·West·Overpass\nSouth·Christopher,·IN·34699', | 65 | ············'address':·'0168·West·Overpass\nSouth·Christopher,·IN·34699', |
66 | ············'mail':·'ryanhoward@gmail.com',·'birthdate':·datetime.date(2004,·3, | 66 | ············'mail':·'ryanhoward@gmail.com',·'birthdate':·datetime.date(2004,·3, |
67 | ············1 | 67 | ············15)} |
68 | ········simple_profile(s\x8se\x8ex\x8x:\x8:·_\x8L\x8L_\x8i\x8i_\x8t\x8t_\x8e\x8e_\x8r\x8r_\x8a\x8a_\x8l\x8l[\x8['\x8'M\x8M'\x8',\x8,·'\x8'F\x8F'\x8']\x8]·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8D_\x8i_\x8c_\x8t[_\x8s_\x8t_\x8r,·_\x8s_\x8t_\x8r·| | 68 | ········simple_profile(s\x8se\x8ex\x8x:\x8:·_\x8L\x8L_\x8i\x8i_\x8t\x8t_\x8e\x8e_\x8r\x8r_\x8a\x8a_\x8l\x8l[\x8['\x8'M\x8M'\x8',\x8,·'\x8'F\x8F'\x8']\x8]·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8D_\x8i_\x8c_\x8t[_\x8s_\x8t_\x8r,·_\x8s_\x8t_\x8r·| |
69 | ········_\x8d_\x8a_\x8t_\x8e·|·_\x8L_\x8i_\x8t_\x8e_\x8r_\x8a_\x8l['M',·'F']]_\x8¶ | 69 | ········_\x8d_\x8a_\x8t_\x8e·|·_\x8L_\x8i_\x8t_\x8e_\x8r_\x8a_\x8l['M',·'F']]_\x8¶ |
70 | ············Generates·a·basic·profile·with·personal·informations | 70 | ············Generates·a·basic·profile·with·personal·informations |
71 | ··············Examples: | 71 | ··············Examples: |
72 | ············>>>·Faker.seed(0) | 72 | ············>>>·Faker.seed(0) |
73 | ············>>>·for·_·in·range(5): | 73 | ············>>>·for·_·in·range(5): |
74 | ············...·····fake.simple_profile() | 74 | ············...·····fake.simple_profile() |
75 | ············... | 75 | ············... |
76 | ············{'username':·'ysullivan',·'name':·'Jason·Green',·'sex':·'M', | 76 | ············{'username':·'ysullivan',·'name':·'Jason·Green',·'sex':·'M', |
77 | ············'address':·'9382·Taylor·Court·Suite·892\nCoreyland,·MH·90152', | 77 | ············'address':·'9382·Taylor·Court·Suite·892\nCoreyland,·MH·90152', |
78 | ············'mail':·'thomas15@yahoo.com',·'birthdate':·datetime.date(1945,·7, | 78 | ············'mail':·'thomas15@yahoo.com',·'birthdate':·datetime.date(1945,·7, |
79 | ············1 | 79 | ············13)} |
80 | ············{'username':·'davismary',·'name':·'Mrs.·Sharon·Green',·'sex':·'F', | 80 | ············{'username':·'davismary',·'name':·'Mrs.·Sharon·Green',·'sex':·'F', |
81 | ············'address':·'753·Padilla·Circles\nNew·Jeffrey,·AS·19178',·'mail': | 81 | ············'address':·'753·Padilla·Circles\nNew·Jeffrey,·AS·19178',·'mail': |
82 | ············'udavis@hotmail.com',·'birthdate':·datetime.date(2024,·8,·1 | 82 | ············'udavis@hotmail.com',·'birthdate':·datetime.date(2024,·8,·14)} |
83 | ············{'username':·'lisa83',·'name':·'Juan·Mann',·'sex':·'M',·'address': | 83 | ············{'username':·'lisa83',·'name':·'Juan·Mann',·'sex':·'M',·'address': |
84 | ············'USNV·Wallace\nFPO·AP·50950',·'mail':·'barbara42@gmail.com', | 84 | ············'USNV·Wallace\nFPO·AP·50950',·'mail':·'barbara42@gmail.com', |
85 | ············'birthdate':·datetime.date(2004,·2,·2 | 85 | ············'birthdate':·datetime.date(2004,·2,·22)} |
86 | ············{'username':·'sheltondavid',·'name':·'Mary·Alvarez',·'sex':·'F', | 86 | ············{'username':·'sheltondavid',·'name':·'Mary·Alvarez',·'sex':·'F', |
87 | ············'address':·'86848·Melissa·Springs\nRileymouth,·NM·87040',·'mail': | 87 | ············'address':·'86848·Melissa·Springs\nRileymouth,·NM·87040',·'mail': |
88 | ············'christopher91@yahoo.com',·'birthdate':·datetime.date(1976,·12, | 88 | ············'christopher91@yahoo.com',·'birthdate':·datetime.date(1976,·12, |
89 | ············1 | 89 | ············14)} |
90 | ············{'username':·'thorntonnathan',·'name':·'David·Dennis',·'sex':·'M', | 90 | ············{'username':·'thorntonnathan',·'name':·'David·Dennis',·'sex':·'M', |
91 | ············'address':·'12309·Anthony·Roads·Apt.·991\nDavisville,·AZ·79865', | 91 | ············'address':·'12309·Anthony·Roads·Apt.·991\nDavisville,·AZ·79865', |
92 | ············'mail':·'leetara@hotmail.com',·'birthdate':·datetime.date(1923,·3, | 92 | ············'mail':·'leetara@hotmail.com',·'birthdate':·datetime.date(1923,·3, |
93 | ············2 | 93 | ············24)} |
94 | *\x8**\x8**\x8**\x8*·_\x8T\x8T_\x8a\x8a_\x8b\x8b_\x8l\x8l_\x8e\x8e_\x8·_\x8o\x8o_\x8f\x8f_\x8·_\x8C\x8C_\x8o\x8o_\x8n\x8n_\x8t\x8t_\x8e\x8e_\x8n\x8n_\x8t\x8t_\x8s\x8s·*\x8**\x8**\x8**\x8* | 94 | *\x8**\x8**\x8**\x8*·_\x8T\x8T_\x8a\x8a_\x8b\x8b_\x8l\x8l_\x8e\x8e_\x8·_\x8o\x8o_\x8f\x8f_\x8·_\x8C\x8C_\x8o\x8o_\x8n\x8n_\x8t\x8t_\x8e\x8e_\x8n\x8n_\x8t\x8t_\x8s\x8s·*\x8**\x8**\x8**\x8* |
95 | ····*·_\x8f_\x8a_\x8k_\x8e_\x8r_\x8._\x8p_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8s_\x8._\x8p_\x8r_\x8o_\x8f_\x8i_\x8l_\x8e | 95 | ····*·_\x8f_\x8a_\x8k_\x8e_\x8r_\x8._\x8p_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8s_\x8._\x8p_\x8r_\x8o_\x8f_\x8i_\x8l_\x8e |
96 | ··········o·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 96 | ··········o·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
97 | ················#·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8._\x8p_\x8r_\x8o_\x8f_\x8i_\x8l_\x8e_\x8(_\x8) | 97 | ················#·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8._\x8p_\x8r_\x8o_\x8f_\x8i_\x8l_\x8e_\x8(_\x8) |
98 | ················#·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8._\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8__\x8p_\x8r_\x8o_\x8f_\x8i_\x8l_\x8e_\x8(_\x8) | 98 | ················#·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8._\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8__\x8p_\x8r_\x8o_\x8f_\x8i_\x8l_\x8e_\x8(_\x8) |
99 | *\x8**\x8**\x8*·P\x8Pr\x8re\x8ev\x8vi\x8io\x8ou\x8us\x8s·t\x8to\x8op\x8pi\x8ic\x8c·*\x8**\x8**\x8* | 99 | *\x8**\x8**\x8*·P\x8Pr\x8re\x8ev\x8vi\x8io\x8ou\x8us\x8s·t\x8to\x8op\x8pi\x8ic\x8c·*\x8**\x8**\x8* |
100 | _\x8f_\x8a_\x8k_\x8e_\x8r_\x8._\x8p_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8s_\x8._\x8p_\x8h_\x8o_\x8n_\x8e_\x8__\x8n_\x8u_\x8m_\x8b_\x8e_\x8r | 100 | _\x8f_\x8a_\x8k_\x8e_\x8r_\x8._\x8p_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8s_\x8._\x8p_\x8h_\x8o_\x8n_\x8e_\x8__\x8n_\x8u_\x8m_\x8b_\x8e_\x8r |
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,·8,·22,· | 135 | <span·class="go">{'son':·-9787526.29318886,·'voice':·datetime.datetime(1977,·8,·22,·10,·8,·12,·328718),·'kitchen':·'NGnVZQUqLUJyfwFVYySn',·'amount':·datetime.datetime(2020,·3,·31,·10,·24,·58,·556998),·'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(2017,·2,·2 | 138 | <span·class="go">{'age':·Decimal('21382039273173884082527988465816382796350650960388704316804460314001343271628396494204470750330.1448'),·'camera':·1936,·'expect':·datetime.datetime(2017,·2,·22,·14,·24,·30,·762478),·'use':·'dSogBkfXCMVoxDhgguyD',·'relate':·-797087381.435271,·'amount':·'yKqHdpMcGbyUaBdTJMIa',·'a':·'gaoHpUhDjwLtrHJhWhqk',·'establish':·'xPuPulkWEcumejcHjFFK',·[·...·truncated·by·diffoscope;·len:·71,·SHA:·ebb03da74192dd8d9d20d50640d5fdb7095dc5850912402931212e76ed708774·...·]),·'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(1996,·3,· | 195 | <span·class="go">('nAvOpyEVAoNGnVZQUqLU',·'thomas15@example.com',·3350,·datetime.datetime(1996,·3,·2,·3,·26,·15,·87267),·datetime.datetime(1984,·4,·16,·2,·25,·47,·946947),·datetime.datetime(2020,·3,·31,·10,·24,·58,·556998),·'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">{Decimal('18000400001558710168379151556371850715591491746684745560870153172067760283158232944569591.3306016884' | 197 | <span·class="go">{datetime.datetime(1997,·7,·24,·10,·8,·48,·581856),·'ohEsZgfLWqSLpRpfDzrP',·Decimal('18000400001558710168379151556371850715591491746684745560870153172067760283158232944569591.3306016884'),·584,·2036,·'http://www.bruce-compton.org/tag/pos[·...·truncated·by·diffoscope;·len:·16,·SHA:·37c763e8784b83f53aaf4b23e22512ca81965f5c72e66b3d726811c0fef1ad3a·...·]',·Decimal('-5566738374584561609320871321036086986788440028749554064377698700636073309631096713016282417601397773.26351108731764303921376582197296687577389305550824926947118013204075227586')}</span> |
198 | <span·class="go">{ | 198 | <span·class="go">{datetime.datetime(1986,·10,·1,·1,·54,·5,·302291),·531.866983954573,·'aYQdUkkJWgatbFSjfrXg',·'hUvefdviXPwvzSqnsgJr',·'IajAndSXpvQdHgoRcbvz',·'http://www.garcia.com/category/tagscategory.jsp',·'FgqKHkOOfdKFWHYLpSXu',·&[·...·truncated·by·diffoscope;·len:·24,·SHA:·22f52dc5153a2786a97590e84aecac803ccdf870b7acf9bc2c2a6d70d281c877·...·]'}</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,·8,·22,· | 215 | <span·class="go">[663,·-424604.985946604,·-9787526.29318886,·datetime.datetime(1977,·8,·22,·10,·8,·12,·328718),·'NGnVZQUqLUJyfwFVYySn',·datetime.datetime(2020,·3,·31,·10,·24,·58,·556998),·'LuQIazTmqTjDmYPxeqAW',·'ppgrVkPCoePqmjQbZndJ',·'TWRUWCuKoQSUEXExIZVP',·'qfErjaoKtiwdOSlQGWFd']</span> |
216 | <span·class="go">['catherinejohnston@example.com',·'tYbbXjgkPWbwfnlHsjAc',·'KunVyUDKkNPiiBgVIaJU',·datetime.datetime(2020,·4,· | 216 | <span·class="go">['catherinejohnston@example.com',·'tYbbXjgkPWbwfnlHsjAc',·'KunVyUDKkNPiiBgVIaJU',·datetime.datetime(2020,·4,·30,·19,·41,·52,·278736),·'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(2015,·5,·1 | 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(2015,·5,·14,·2,·43,·55,·118678)]</span> |
218 | <span·class="go">['https://www.bolton-reid.com/category/blog/listregister.php',·datetime.datetime(2003,·6,·1 | 218 | <span·class="go">['https://www.bolton-reid.com/category/blog/listregister.php',·datetime.datetime(2003,·6,·14,·1,·50,·33,·130928),·'aKMqqBTFitpKyPAVdgpN',·Decimal('-74655832342888117024.8091891634896769930024894517446660223450076279125609767017200992518'),·'james71@example.org',·'https://lloyd-stark.com/main/blog/tagsprivacy.html'[·...·truncated·by·diffoscope;·len:·48,·SHA:·b8d92e0c8fe30ffd7f3791c45402f3095e03110d024dda4566894dade9c0e312·...·])]</span> |
219 | <span·class="go">['OxNxPdcWzUXIDleQUOKv',·7424134494689.1,·'vfOMbxJbVYLedsbsaYQd',·'kkJWgatbFSjfrXgYsypW',·datetime.datetime(2004,·11,·18,· | 219 | <span·class="go">['OxNxPdcWzUXIDleQUOKv',·7424134494689.1,·'vfOMbxJbVYLedsbsaYQd',·'kkJWgatbFSjfrXgYsypW',·datetime.datetime(2004,·11,·18,·21,·46,·57,·12889),·'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.12)"><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.12)"><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.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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">{datetime.datetime(2020,·3,·30,·9,·58,·57,·439039),·'ppgrVkPCoePqmjQbZndJ',·'NGnVZQUqLUJyfwFVYySn',·663,·'qfErjaoKtiwdOSlQGWFd',·-9787526.29318886,·'LuQIazTmqTjDmYPxeqAW',·-424604.985946604,·datetime.datetime(1977,·8,·22,·6,·25,·18,·14081),·'TWRUWCuKoQSUEXExIZVP'}</span> | ||
266 | <span·class="go">{datetime.datetime(2020,·4,·29,·19,·13,·25,·520640),·'xeMChNzFJEUSgqMReEKi',·'catherinejohnston@example.com',·'tYbbXjgkPWbwfnlHsjAc',·'HtTDvuKvIcxniBzDNTzq',·'paul42@example.net',·'KunVyUDKkNPiiBgVIaJU'}</span> | ||
267 | <span·class="go">{6016,·-958272097856.158,·'QTQjZGeLZuJqlLaQBfgH',·'rGciZpuCpymcjBdurvfV',·'https://taylor.com/tag/list/wp-contentcategory.htm',·'angela59@example.org',·Decimal('-6549903182054842898289740559728455724548119.045229611133060168847793615349263511087317643039213765'),·'johnsonrobin@example.org',·0.28952549189774,·datetime.datetime(2015,·5,·13,·4,·40,·21,·250446),·4725240091.51995}</span> | ||
268 | <span·class="go">{datetime.datetime(2003,·6,·13,·9,·34,·38,·78751),·'aKMqqBTFitpKyPAVdgpN',·'https://lloyd-stark.com/main/blog/tagsprivacy.html',·datetime.datetime(2017,·3,·13,·6,·11,·4,·156521),·'james71@example.org',·'https://www.bolton-reid.com/category/blog/listregister.php',·Decimal('-74655832342888117024.8091891634896769930024894517446660223450076279125609767017200992518')}</span> | ||
269 | <span·class="go">{ | 265 | <span·class="go">{datetime.datetime(1977,·8,·22,·10,·8,·12,·328718),·'LuQIazTmqTjDmYPxeqAW',·datetime.datetime(2020,·3,·31,·10,·24,·58,·556998),·'TWRUWCuKoQSUEXExIZVP',·'qfErjaoKtiwdOSlQGWFd',·-9787526.29318886,·-424604.985946604,·'ppgrVkPCoePqmj[·...·truncated·by·diffoscope;·len:·48,·SHA:·355dd3b67a36ef970769b23407f28b5bf68b23018c1b4c00bedd5d02c251dba0·...·]}</span> |
266 | <span·class="go">{'HtTDvuKvIcxniBzDNTzq',·'tYbbXjgkPWbwfnlHsjAc',·'catherinejohnston@example.com',·datetime.datetime(2020,·4,·30,·19,·41,·52,·278736),·'paul42@example.net',·'KunVyUDKkNPiiBgVIaJU',·'xeMChNzFJEUSgqMReEKi'}</span> | ||
267 | <span·class="go">{6016,·-958272097856.158,·'angela59@example.org',·'https://taylor.com/tag/list/wp-contentcategory.htm',·'johnsonrobin@example.org',·datetime.datetime(2015,·5,·14,·2,·43,·55,·118678),·'QTQjZGeLZuJqlLaQBfgH',·Decimal('-6549903182054842898289740559728455724548119.045229611133060168847793615349263511087317643039213765'),·'rGciZpuCpymcjBdurvfV',·0.28952549189774,·4725240091.51995}</span> | ||
268 | <span·class="go">{'https://www.bolton-reid.com/category/blog/listregister.php',·datetime.datetime(2003,·6,·14,·1,·50,·33,·130928),·'https://lloyd-stark.com/main/blog/tagsprivacy.html',·datetime.datetime(2017,·3,·14,·5,·8,·9,·738251),·'james71@example.org',·'aKMqqBTFitpKyPAVdgpN',·Decimal('-74655832342888117024.8091891634896769930024894517446660223450076279125609767017200992518')}</span> | ||
269 | <span·class="go">{7424134494689.1,·'EeBqthglAmjtISFuKgpv',·'EpsmGHBtaYUwtXejffFi',·datetime.datetime(2004,·11,·18,·21,·46,·57,·12889),·Decimal('-75235466116100008450701.3758257173407970341489'),·'OxNxPdcWzUXIDleQUOKv',·'kkJWgatbFSjfrXgYsypW',·'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.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">int</span></a></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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><span·class="pre">int</span></a></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.12)"><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.12)"><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.12)"><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,·8,·22,· | 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,·8,·22,·10,·8,·12,·328718),·'NGnVZQUqLUJyfwFVYySn',·datetime.datetime(2020,·3,·31,·10,·24,·58,·556998)],·2:·{0:·'LuQIazTmqTjDmYPxeqAW',·1:·'ppgrVkPCoePqmjQbZndJ',·2:·['TWRUWCuKoQSUEXExIZVP',·'qfErjaoKtiwdOSlQGWFd']}},·'m[·...·truncated·by·diffoscope;·len:·2188,·SHA:·4a61a6c0091227900d94e467a7ebbc310b1f2f908cd720be75c219dc42492eb5·...·]),·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,·1,·24,· | 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,·1,·24,·4,·54,·7,·451610),·'tXVeSLVxvUBNjdwrArSM',·'sheltonbianca@example.net',·'JsSvEZCxeXBKImHfcRFp'],·{'population':·'RqQuzssEOKNaBskVkjjI',·'while':·datetime.datetime(2008,·2,·18,·20,·21,·55,·641612),·'trial&[·...·truncated·by·diffoscope;·len:·3351,·SHA:·ac5c1e429bc8a3f5ad504cd5567ffb3082bf172b7af2a8f649a98dcf10a5afb8·...·]),·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,·9,·15,· | 339 | <span·class="go">([Decimal('-4.317218869431608750394678410156663476806472666994785469250677413536095227'),·'manuel19@example.net',·'OsAuBUfUAhWkbyDcGDDe',·3714,·2543,·datetime.datetime(1973,·9,·15,·8,·31,·44,·65025),·'tina09@example.org',·'https://peterson.com/search/postsfaq.htm',·'jensenmichael@example.com',·7694],·{'structure':·'jlyHtGWomZxAUkuKrgzU',·'check':·'ahMKHhgzzgYQTiIQqZeP',·'suc[·...·truncated·by·diffoscope;·len:·2622,·SHA:·6aa75289a477bae4a9f8a67761af00f8094dd9ae7c81e2425fe6c2f39ae43c41·...·])],·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(2021,·6,· | 340 | <span·class="go">(['http://hayes-david.info/explorepost.html',·datetime.datetime(2021,·6,·20,·14,·55,·44,·299132),·4561,·'ZBdvTqMeNFxkzPcnppIW',·4773,·100747154.732271,·'rPzGqsGUZRSoTGRUHZsx',·Decimal('9261180484357572076354885502404.39521633993627491143005174476438589156518297'),·'clZVPANXtkWjaKclsLBo',·'hcn[·...·truncated·by·diffoscope;·len:·3510,·SHA:·825fff8091f6adbf767aa958ba4c3088dbf9792518ee8007d11f71db39740b59·...·]),·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(2022,·7,·1 | 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(2022,·7,·12,·9,·4,·3,·75720)]}},·'compare':·{1:·'LXezkrcAngrgTKMZWpFz',·2:·[17206187561897.0,·'ngAWjppRUyYDvkRKtiOb',·6696],·3:·{1:·datetime.datetime(1988,·8,·10,·23,·59,·54,·239589),·2:·'pgrcIBfchSYpwjLAamaw',·3:·[66916.6865598951,·1[·...·truncated·by·diffoscope;·len:·2551,·SHA:·03111382fe567831bf7e268ecc33c8e90a8632f99d830454dbee22438b50e971·...·]),·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.12)"><span·class="pre">int</span></a></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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><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.12)"><span·class="pre">int</span></a></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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><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.12)"><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.12)"><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.12)"><span·class="pre">None</span></a></span><span·class="w">·</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.12)"><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.12)"><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,·8,·22,· | 357 | <span·class="go">(663,·-424604.985946604,·-9787526.29318886,·datetime.datetime(1977,·8,·22,·10,·8,·12,·328718),·'NGnVZQUqLUJyfwFVYySn',·datetime.datetime(2020,·3,·31,·10,·24,·58,·556998),·'LuQIazTmqTjDmYPxeqAW',·'ppgrVkPCoePqmjQbZndJ',·'TWRUWCuKoQSUEXExIZVP',·'qfErjaoKtiwdOSlQGWFd')</span> |
358 | <span·class="go">('catherinejohnston@example.com',·'tYbbXjgkPWbwfnlHsjAc',·'KunVyUDKkNPiiBgVIaJU',·datetime.datetime(2020,·4,· | 358 | <span·class="go">('catherinejohnston@example.com',·'tYbbXjgkPWbwfnlHsjAc',·'KunVyUDKkNPiiBgVIaJU',·datetime.datetime(2020,·4,·30,·19,·41,·52,·278736),·'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(2015,·5,·1 | 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(2015,·5,·14,·2,·43,·55,·118678))</span> |
360 | <span·class="go">('https://www.bolton-reid.com/category/blog/listregister.php',·datetime.datetime(2003,·6,·1 | 360 | <span·class="go">('https://www.bolton-reid.com/category/blog/listregister.php',·datetime.datetime(2003,·6,·14,·1,·50,·33,·130928),·'aKMqqBTFitpKyPAVdgpN',·Decimal('-74655832342888117024.8091891634896769930024894517446660223450076279125609767017200992518'),·'james71@example.org',·'https://lloyd-stark.com/main/blog/tagsprivacy.html'[·...·truncated·by·diffoscope;·len:·47,·SHA:·18ea6e7005c0dc7f8ef3a16142a1da15c7dbbc756bd150a05fe6d1186e3969d0·...·]1))</span> |
361 | <span·class="go">('OxNxPdcWzUXIDleQUOKv',·7424134494689.1,·'vfOMbxJbVYLedsbsaYQd',·'kkJWgatbFSjfrXgYsypW',·datetime.datetime(2004,·11,·18,· | 361 | <span·class="go">('OxNxPdcWzUXIDleQUOKv',·7424134494689.1,·'vfOMbxJbVYLedsbsaYQd',·'kkJWgatbFSjfrXgYsypW',·datetime.datetime(2004,·11,·18,·21,·46,·57,·12889),·'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 64, 16 lines modified | Offset 64, 16 lines modified | ||
64 | ··················type·of·dictionary·values | 64 | ··················type·of·dictionary·values |
65 | ··············Examples: | 65 | ··············Examples: |
66 | ············>>>·Faker.seed(0) | 66 | ············>>>·Faker.seed(0) |
67 | ············>>>·for·_·in·range(5): | 67 | ············>>>·for·_·in·range(5): |
68 | ············...·····fake.pydict() | 68 | ············...·····fake.pydict() |
69 | ············... | 69 | ············... |
70 | ············{'son':·-9787526.29318886,·'voice':·datetime.datetime(1977,·8,·22, | 70 | ············{'son':·-9787526.29318886,·'voice':·datetime.datetime(1977,·8,·22, |
71 | ············ | 71 | ············10,·8,·12,·328718),·'kitchen':·'NGnVZQUqLUJyfwFVYySn',·'amount': |
72 | ············datetime.datetime(2020,·3,·3 | 72 | ············datetime.datetime(2020,·3,·31,·10,·24,·58,·556998),·'event': |
73 | ············'LuQIazTmqTjDmYPxeqAW',·'much':·'ppgrVkPCoePqmjQbZndJ',·'mention': | 73 | ············'LuQIazTmqTjDmYPxeqAW',·'much':·'ppgrVkPCoePqmjQbZndJ',·'mention': |
74 | ············'TWRUWCuKoQSUEXExIZVP',·'interview':·'qfErjaoKtiwdOSlQGWFd',·'why': | 74 | ············'TWRUWCuKoQSUEXExIZVP',·'interview':·'qfErjaoKtiwdOSlQGWFd',·'why': |
75 | ············'HFDutYbbXjgkPWbwfnlH',·'step':·7144} | 75 | ············'HFDutYbbXjgkPWbwfnlH',·'step':·7144} |
76 | ············{'ask':·'nVyUDKkNPiiBgVIaJUTV',·'most':·'paul42@example.net', | 76 | ············{'ask':·'nVyUDKkNPiiBgVIaJUTV',·'most':·'paul42@example.net', |
77 | ············'manage':·'xeMChNzFJEUSgqMReEKi',·'among':·'HtTDvuKvIcxniBzDNTzq', | 77 | ············'manage':·'xeMChNzFJEUSgqMReEKi',·'among':·'HtTDvuKvIcxniBzDNTzq', |
78 | ············'pick':·Decimal | 78 | ············'pick':·Decimal |
79 | ············('11411791321240764654788082438993844835687523124385969.650300891319344217610471428512400034855909776582369'), | 79 | ············('11411791321240764654788082438993844835687523124385969.650300891319344217610471428512400034855909776582369'), |
Offset 87, 19 lines modified | Offset 87, 19 lines modified | ||
87 | ············('67972839855751940235263820229154889584951907196767287332264888028711981316080836396161.7017200992518536710979519426418306753751007408993'), | 87 | ············('67972839855751940235263820229154889584951907196767287332264888028711981316080836396161.7017200992518536710979519426418306753751007408993'), |
88 | ············'measure':·'eQUOKvpfwDVWvfOMbxJb',·'business':·4138,·'scene': | 88 | ············'measure':·'eQUOKvpfwDVWvfOMbxJb',·'business':·4138,·'scene': |
89 | ············'sgJrjRltFhaIMUMpJWmh',·'modern':·Decimal | 89 | ············'sgJrjRltFhaIMUMpJWmh',·'modern':·Decimal |
90 | ············('4805760532403649269240146150593215888587311532081726339112030.5291189426223583324560290611264862964513758066065735471214189276266237'), | 90 | ············('4805760532403649269240146150593215888587311532081726339112030.5291189426223583324560290611264862964513758066065735471214189276266237'), |
91 | ············'last':·8574,·'always':·'sGeNpRxylfYpFwNezXCv'} | 91 | ············'last':·8574,·'always':·'sGeNpRxylfYpFwNezXCv'} |
92 | ············{'age':·Decimal | 92 | ············{'age':·Decimal |
93 | ············('21382039273173884082527988465816382796350650960388704316804460314001343271628396494204470750330.1448'), | 93 | ············('21382039273173884082527988465816382796350650960388704316804460314001343271628396494204470750330.1448'), |
94 | ············'camera':·1936,·'expect':·datetime.datetime(2017,·2,·2 | 94 | ············'camera':·1936,·'expect':·datetime.datetime(2017,·2,·22,·14,·24, |
95 | ············ | 95 | ············30,·762478),·'use':·'dSogBkfXCMVoxDhgguyD',·'relate':·- |
96 | ············797087381.435271,·'amount':·'yKqHdpMcGbyUaBdTJMIa',·'a': | 96 | ············797087381.435271,·'amount':·'yKqHdpMcGbyUaBdTJMIa',·'a': |
97 | ············'gaoHpUhDjwLtrHJhWhqk',·'establish':·'xPuPulkWEcumejcHjFFK', | 97 | ············'gaoHpUhDjwLtrHJhWhqk',·'establish':·'xPuPulkWEcumejcHjFFK', |
98 | ············'information':·datetime.datetime(2011,·3,·2 | 98 | ············'information':·datetime.datetime(2011,·3,·23,·13,·0,·36,·818646), |
99 | ············'never':·6740,·'voice':·Decimal | 99 | ············'never':·6740,·'voice':·Decimal |
100 | ············('97183309942242775163299956300966980935197130931292396426904842486602508273832146.9774735400025040216396837359191558754080351385334448647'), | 100 | ············('97183309942242775163299956300966980935197130931292396426904842486602508273832146.9774735400025040216396837359191558754080351385334448647'), |
101 | ············'party':·3931,·'see':·'pCazwVvzwemQhTlFQDUu',·'individual': | 101 | ············'party':·3931,·'see':·'pCazwVvzwemQhTlFQDUu',·'individual': |
102 | ············'mlRosZfUFPKOAyGoaFLi'} | 102 | ············'mlRosZfUFPKOAyGoaFLi'} |
103 | ············{'energy':·'gHgMsJKIlRmAJmGoiQCr',·'discover':·'http:// | 103 | ············{'energy':·'gHgMsJKIlRmAJmGoiQCr',·'discover':·'http:// |
104 | ············www.harrington.org/main/wp-contenthome.html',·'feel': | 104 | ············www.harrington.org/main/wp-contenthome.html',·'feel': |
105 | ············'mgmtFgzVGbEzqXCiTQMC',·'until':·'nFKQOtdbLYrwLInIpsCM',·'simply': | 105 | ············'mgmtFgzVGbEzqXCiTQMC',·'until':·'nFKQOtdbLYrwLInIpsCM',·'simply': |
Offset 137, 74 lines modified | Offset 137, 72 lines modified | ||
137 | ········[_\x8A_\x8n_\x8y]_\x8¶ | 137 | ········[_\x8A_\x8n_\x8y]_\x8¶ |
138 | ··············Examples: | 138 | ··············Examples: |
139 | ············>>>·Faker.seed(0) | 139 | ············>>>·Faker.seed(0) |
140 | ············>>>·for·_·in·range(5): | 140 | ············>>>·for·_·in·range(5): |
141 | ············...·····fake.pyiterable() | 141 | ············...·····fake.pyiterable() |
142 | ············... | 142 | ············... |
143 | ············('nAvOpyEVAoNGnVZQUqLU',·'thomas15@example.com',·3350, | 143 | ············('nAvOpyEVAoNGnVZQUqLU',·'thomas15@example.com',·3350, |
144 | ············datetime.datetime(1996,·3,·2,·3,·26,·15,·87267),·datetime.datetime | ||
145 | ············(1984,·4,·16,·2,·25,·47,·946947),·datetime.datetime(2020,·3,·31, | ||
146 | ············10,·24,·58,·556998),·'LuQIazTmqTjDmYPxeqAW', | ||
147 | ············'ppgrVkPCoePqmjQbZndJ',·'TWRUWCuKoQSUEXExIZVP', | ||
148 | ············'qfErjaoKtiwdOSlQGWFd',·'HFDutYbbXjgkPWbwfnlH') | ||
144 | ············datetime.datetime(1996,·3,·1,·14,·42,·48,·315434), | ||
145 | ············datetime.datetime(1984,·4,·15,·19,·28,·53,·130872), | ||
146 | ············datetime.datetime(2020,·3,·30,·9,·58,·56,·523044), | ||
147 | ············'LuQIazTmqTjDmYPxeqAW',·'ppgrVkPCoePqmjQbZndJ', | ||
148 | ············'TWRUWCuKoQSUEXExIZVP',·'qfErjaoKtiwdOSlQGWFd', | ||
149 | ············'HFDutYbbXjgkPWbwfnlH') | ||
150 | ············('dyFKunVyUDKkNPiiBgVI',·'yvDAqsRnDaMrcomXsosX', | 149 | ············('dyFKunVyUDKkNPiiBgVI',·'yvDAqsRnDaMrcomXsosX', |
151 | ············'jenniferhughes@example.com',·'smithjames@example.com', | 150 | ············'jenniferhughes@example.com',·'smithjames@example.com', |
152 | ············'mHtTDvuKvIcxniBzDNTz',·-0.58427929423069,·'CYYRgaXvaaNYJFjFkpJj', | 151 | ············'mHtTDvuKvIcxniBzDNTz',·-0.58427929423069,·'CYYRgaXvaaNYJFjFkpJj', |
153 | ············Decimal('- | 152 | ············Decimal('- |
154 | ············23587860434913790978655934625693951978093570729960966912834032313989657524780944.4000348559097765823'), | 153 | ············23587860434913790978655934625693951978093570729960966912834032313989657524780944.4000348559097765823'), |
155 | ············9619,·38191497835621.5,·6016) | 154 | ············9619,·38191497835621.5,·6016) |
156 | ············{ | 155 | ············{datetime.datetime(1997,·7,·24,·10,·8,·48,·581856), |
156 | ············'ohEsZgfLWqSLpRpfDzrP',·Decimal | ||
157 | ············('18000400001558710168379151556371850715591491746684745560870153172067760283158232944569591.3306016884'), | 157 | ············('18000400001558710168379151556371850715591491746684745560870153172067760283158232944569591.3306016884'), |
158 | ············datetime.datetime(1997,·7,·23,·20,·44,·40,·865928),·584,·2036, | ||
159 | ············'http://www.bruce-compton.org/tag/posts/searchfaq.php', | 158 | ············584,·2036,·'http://www.bruce-compton.org/tag/posts/searchfaq.php', |
160 | ············ | 159 | ············Decimal('- |
161 | ············5566738374584561609320871321036086986788440028749554064377698700636073309631096713016282417601397773.26351108731764303921376582197296687577389305550824926947118013204075227586')} | 160 | ············5566738374584561609320871321036086986788440028749554064377698700636073309631096713016282417601397773.26351108731764303921376582197296687577389305550824926947118013204075227586')} |
162 | ············{'hUvefdviXPwvzSqnsgJr',·'IajAndSXpvQdHgoRcbvz',·datetime.datetime | ||
163 | ············ | 161 | ············{datetime.datetime(1986,·10,·1,·1,·54,·5,·302291), |
162 | ············531.866983954573,·'aYQdUkkJWgatbFSjfrXg',·'hUvefdviXPwvzSqnsgJr', | ||
163 | ············'IajAndSXpvQdHgoRcbvz',·'http://www.garcia.com/category/ | ||
164 | ············tagscategory.jsp',·' | 164 | ············tagscategory.jsp',·'FgqKHkOOfdKFWHYLpSXu',·'butjsGXUcnbBDTlOUGAB'} |
165 | ············531.866983954573,·'FgqKHkOOfdKFWHYLpSXu'} | ||
166 | ············[7755,·-9380404207.10591,·'BqthglAmjtISFuKgpvWE',·- | 165 | ············[7755,·-9380404207.10591,·'BqthglAmjtISFuKgpvWE',·- |
167 | ············1385.61194945311,·'dana80@example.com',·138,·5253,·Decimal | 166 | ············1385.61194945311,·'dana80@example.com',·138,·5253,·Decimal |
168 | ············('96801170218340119083001529540605235227463678180.14189276266237582571734'), | 167 | ············('96801170218340119083001529540605235227463678180.14189276266237582571734'), |
169 | ············'RxylfYpFwNezXCvGboIa',·8619] | 168 | ············'RxylfYpFwNezXCvGboIa',·8619] |
170 | ········pylist(n\x8nb\x8b_\x8_e\x8el\x8le\x8em\x8me\x8en\x8nt\x8ts\x8s:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x810\x80,·v\x8va\x8ar\x8ri\x8ia\x8ab\x8bl\x8le\x8e_\x8_n\x8nb\x8b_\x8_e\x8el\x8le\x8em\x8me\x8en\x8nt\x8ts\x8s:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e, | 169 | ········pylist(n\x8nb\x8b_\x8_e\x8el\x8le\x8em\x8me\x8en\x8nt\x8ts\x8s:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x810\x80,·v\x8va\x8ar\x8ri\x8ia\x8ab\x8bl\x8le\x8e_\x8_n\x8nb\x8b_\x8_e\x8el\x8le\x8em\x8me\x8en\x8nt\x8ts\x8s:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e, |
171 | ········v\x8va\x8al\x8lu\x8ue\x8e_\x8_t\x8ty\x8yp\x8pe\x8es\x8s:\x8:·_\x8L\x8L_\x8i\x8i_\x8s\x8s_\x8t\x8t[\x8[_\x8T\x8T_\x8y\x8y_\x8p\x8p_\x8e\x8e]\x8]·|\x8|·_\x8T\x8T_\x8u\x8u_\x8p\x8p_\x8l\x8l_\x8e\x8e[\x8[_\x8T\x8T_\x8y\x8y_\x8p\x8p_\x8e\x8e,\x8,·.\x8..\x8..\x8.]\x8]·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e, | 170 | ········v\x8va\x8al\x8lu\x8ue\x8e_\x8_t\x8ty\x8yp\x8pe\x8es\x8s:\x8:·_\x8L\x8L_\x8i\x8i_\x8s\x8s_\x8t\x8t[\x8[_\x8T\x8T_\x8y\x8y_\x8p\x8p_\x8e\x8e]\x8]·|\x8|·_\x8T\x8T_\x8u\x8u_\x8p\x8p_\x8l\x8l_\x8e\x8e[\x8[_\x8T\x8T_\x8y\x8y_\x8p\x8p_\x8e\x8e,\x8,·.\x8..\x8..\x8.]\x8]·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e, |
172 | ········a\x8al\x8ll\x8lo\x8ow\x8we\x8ed\x8d_\x8_t\x8ty\x8yp\x8pe\x8es\x8s:\x8:·_\x8L\x8L_\x8i\x8i_\x8s\x8s_\x8t\x8t[\x8[_\x8T\x8T_\x8y\x8y_\x8p\x8p_\x8e\x8e]\x8]·|\x8|·_\x8T\x8T_\x8u\x8u_\x8p\x8p_\x8l\x8l_\x8e\x8e[\x8[_\x8T\x8T_\x8y\x8y_\x8p\x8p_\x8e\x8e,\x8,·.\x8..\x8..\x8.]\x8]·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8L_\x8i_\x8s_\x8t | 171 | ········a\x8al\x8ll\x8lo\x8ow\x8we\x8ed\x8d_\x8_t\x8ty\x8yp\x8pe\x8es\x8s:\x8:·_\x8L\x8L_\x8i\x8i_\x8s\x8s_\x8t\x8t[\x8[_\x8T\x8T_\x8y\x8y_\x8p\x8p_\x8e\x8e]\x8]·|\x8|·_\x8T\x8T_\x8u\x8u_\x8p\x8p_\x8l\x8l_\x8e\x8e[\x8[_\x8T\x8T_\x8y\x8y_\x8p\x8p_\x8e\x8e,\x8,·.\x8..\x8..\x8.]\x8]·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8L_\x8i_\x8s_\x8t |
173 | ········[_\x8A_\x8n_\x8y]_\x8¶ | 172 | ········[_\x8A_\x8n_\x8y]_\x8¶ |
174 | ··············Examples: | 173 | ··············Examples: |
175 | ············>>>·Faker.seed(0) | 174 | ············>>>·Faker.seed(0) |
176 | ············>>>·for·_·in·range(5): | 175 | ············>>>·for·_·in·range(5): |
177 | ············...·····fake.pylist() | 176 | ············...·····fake.pylist() |
178 | ············... | 177 | ············... |
179 | ············[663,·-424604.985946604,·-9787526.29318886,·datetime.datetime(1977, | 178 | ············[663,·-424604.985946604,·-9787526.29318886,·datetime.datetime(1977, |
180 | ············8,·22,· | 179 | ············8,·22,·10,·8,·12,·328718),·'NGnVZQUqLUJyfwFVYySn', |
181 | ············(2020,·3,·30,·9,·58,·56,·523044),·'LuQIazTmqTjDmYPxeqAW', | ||
182 | ············'ppgrVkPCoePqmjQbZndJ',·'TWRUWCuKoQSUEXExIZVP', | ||
183 | ············ | 180 | ············datetime.datetime(2020,·3,·31,·10,·24,·58,·556998), |
181 | ············'LuQIazTmqTjDmYPxeqAW',·'ppgrVkPCoePqmjQbZndJ', | ||
182 | ············'TWRUWCuKoQSUEXExIZVP',·'qfErjaoKtiwdOSlQGWFd'] | ||
184 | ············['catherinejohnston@example.com',·'tYbbXjgkPWbwfnlHsjAc', | 183 | ············['catherinejohnston@example.com',·'tYbbXjgkPWbwfnlHsjAc', |
185 | ············'KunVyUDKkNPiiBgVIaJU',·datetime.datetime(2020,·4,· | 184 | ············'KunVyUDKkNPiiBgVIaJU',·datetime.datetime(2020,·4,·30,·19,·41,·52, |
186 | ············ | 185 | ············278736),·'paul42@example.net',·'xeMChNzFJEUSgqMReEKi', |
187 | ············'HtTDvuKvIcxniBzDNTzq'] | 186 | ············'HtTDvuKvIcxniBzDNTzq'] |
188 | ············['QTQjZGeLZuJqlLaQBfgH',·4725240091.51995, | 187 | ············['QTQjZGeLZuJqlLaQBfgH',·4725240091.51995, |
189 | ············'johnsonrobin@example.org',·-958272097856.158,·0.28952549189774, | 188 | ············'johnsonrobin@example.org',·-958272097856.158,·0.28952549189774, |
190 | ············'angela59@example.org',·'https://taylor.com/tag/list/wp- | 189 | ············'angela59@example.org',·'https://taylor.com/tag/list/wp- |
191 | ············contentcategory.htm',·6016,·'rGciZpuCpymcjBdurvfV',·Decimal('- | 190 | ············contentcategory.htm',·6016,·'rGciZpuCpymcjBdurvfV',·Decimal('- |
192 | ············6549903182054842898289740559728455724548119.045229611133060168847793615349263511087317643039213765'), | 191 | ············6549903182054842898289740559728455724548119.045229611133060168847793615349263511087317643039213765'), |
193 | ············datetime.datetime(2015,·5,·1 | 192 | ············datetime.datetime(2015,·5,·14,·2,·43,·55,·118678)] |
194 | ············['https://www.bolton-reid.com/category/blog/listregister.php', | 193 | ············['https://www.bolton-reid.com/category/blog/listregister.php', |
195 | ············datetime.datetime(2003,·6,·1 | 194 | ············datetime.datetime(2003,·6,·14,·1,·50,·33,·130928), |
196 | ············'aKMqqBTFitpKyPAVdgpN',·Decimal('- | 195 | ············'aKMqqBTFitpKyPAVdgpN',·Decimal('- |
197 | ············74655832342888117024.8091891634896769930024894517446660223450076279125609767017200992518'), | 196 | ············74655832342888117024.8091891634896769930024894517446660223450076279125609767017200992518'), |
198 | ············'james71@example.org',·'https://lloyd-stark.com/main/blog/ | 197 | ············'james71@example.org',·'https://lloyd-stark.com/main/blog/ |
199 | ············tagsprivacy.html',·datetime.datetime(2017,·3,·1 | 198 | ············tagsprivacy.html',·datetime.datetime(2017,·3,·14,·5,·8,·9,·738251)] |
200 | ············296088)] | ||
201 | ············['OxNxPdcWzUXIDleQUOKv',·7424134494689.1,·'vfOMbxJbVYLedsbsaYQd', | 199 | ············['OxNxPdcWzUXIDleQUOKv',·7424134494689.1,·'vfOMbxJbVYLedsbsaYQd', |
202 | ············'kkJWgatbFSjfrXgYsypW',·datetime.datetime(2004,·11,·18,· | 200 | ············'kkJWgatbFSjfrXgYsypW',·datetime.datetime(2004,·11,·18,·21,·46,·57, |
203 | ············ | 201 | ············12889),·'EeBqthglAmjtISFuKgpv',·'EpsmGHBtaYUwtXejffFi',·Decimal('- |
204 | ············75235466116100008450701.3758257173407970341489')] | 202 | ············75235466116100008450701.3758257173407970341489')] |
205 | ········pyobject(o\x8ob\x8bj\x8je\x8ec\x8ct\x8t_\x8_t\x8ty\x8yp\x8pe\x8e:\x8:·_\x8T\x8T_\x8y\x8y_\x8p\x8p_\x8e\x8e[\x8[_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8f\x8f_\x8l\x8l_\x8o\x8o_\x8a\x8a_\x8t\x8t·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8t\x8t_\x8u\x8u_\x8p\x8p_\x8l\x8l_\x8e\x8e·|\x8|·_\x8s\x8s_\x8e\x8e_\x8t\x8t·|\x8| | 203 | ········pyobject(o\x8ob\x8bj\x8je\x8ec\x8ct\x8t_\x8_t\x8ty\x8yp\x8pe\x8e:\x8:·_\x8T\x8T_\x8y\x8y_\x8p\x8p_\x8e\x8e[\x8[_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8f\x8f_\x8l\x8l_\x8o\x8o_\x8a\x8a_\x8t\x8t·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8t\x8t_\x8u\x8u_\x8p\x8p_\x8l\x8l_\x8e\x8e·|\x8|·_\x8s\x8s_\x8e\x8e_\x8t\x8t·|\x8| |
206 | ········_\x8l\x8l_\x8i\x8i_\x8s\x8s_\x8t\x8t·|\x8|·_\x8I\x8I_\x8t\x8t_\x8e\x8e_\x8r\x8r_\x8a\x8a_\x8b\x8b_\x8l\x8l_\x8e\x8e·|\x8|·_\x8d\x8d_\x8i\x8i_\x8c\x8c_\x8t\x8t]\x8]·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8b_\x8o_\x8o_\x8l·|·_\x8s_\x8t_\x8r·|·_\x8f_\x8l_\x8o_\x8a_\x8t·|·_\x8i_\x8n_\x8t·| | 204 | ········_\x8l\x8l_\x8i\x8i_\x8s\x8s_\x8t\x8t·|\x8|·_\x8I\x8I_\x8t\x8t_\x8e\x8e_\x8r\x8r_\x8a\x8a_\x8b\x8b_\x8l\x8l_\x8e\x8e·|\x8|·_\x8d\x8d_\x8i\x8i_\x8c\x8c_\x8t\x8t]\x8]·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8b_\x8o_\x8o_\x8l·|·_\x8s_\x8t_\x8r·|·_\x8f_\x8l_\x8o_\x8a_\x8t·|·_\x8i_\x8n_\x8t·| |
207 | ········_\x8t_\x8u_\x8p_\x8l_\x8e·|·_\x8s_\x8e_\x8t·|·_\x8l_\x8i_\x8s_\x8t·|·_\x8I_\x8t_\x8e_\x8r_\x8a_\x8b_\x8l_\x8e·|·_\x8d_\x8i_\x8c_\x8t·|·_\x8N_\x8o_\x8n_\x8e_\x8¶ | 205 | ········_\x8t_\x8u_\x8p_\x8l_\x8e·|·_\x8s_\x8e_\x8t·|·_\x8l_\x8i_\x8s_\x8t·|·_\x8I_\x8t_\x8e_\x8r_\x8a_\x8b_\x8l_\x8e·|·_\x8d_\x8i_\x8c_\x8t·|·_\x8N_\x8o_\x8n_\x8e_\x8¶ |
208 | ············Generates·a·random·object·passing·the·type·desired. | 206 | ············Generates·a·random·object·passing·the·type·desired. |
209 | ··············Object_type: | 207 | ··············Object_type: |
210 | ··················the·type·of·the·object·to·generate. | 208 | ··················the·type·of·the·object·to·generate. |
Offset 226, 40 lines modified | Offset 224, 40 lines modified | ||
226 | ········v\x8va\x8al\x8lu\x8ue\x8e_\x8_t\x8ty\x8yp\x8pe\x8es\x8s:\x8:·_\x8L\x8L_\x8i\x8i_\x8s\x8s_\x8t\x8t[\x8[_\x8T\x8T_\x8y\x8y_\x8p\x8p_\x8e\x8e]\x8]·|\x8|·_\x8T\x8T_\x8u\x8u_\x8p\x8p_\x8l\x8l_\x8e\x8e[\x8[_\x8T\x8T_\x8y\x8y_\x8p\x8p_\x8e\x8e,\x8,·.\x8..\x8..\x8.]\x8]·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e, | 224 | ········v\x8va\x8al\x8lu\x8ue\x8e_\x8_t\x8ty\x8yp\x8pe\x8es\x8s:\x8:·_\x8L\x8L_\x8i\x8i_\x8s\x8s_\x8t\x8t[\x8[_\x8T\x8T_\x8y\x8y_\x8p\x8p_\x8e\x8e]\x8]·|\x8|·_\x8T\x8T_\x8u\x8u_\x8p\x8p_\x8l\x8l_\x8e\x8e[\x8[_\x8T\x8T_\x8y\x8y_\x8p\x8p_\x8e\x8e,\x8,·.\x8..\x8..\x8.]\x8]·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e, |
227 | ········a\x8al\x8ll\x8lo\x8ow\x8we\x8ed\x8d_\x8_t\x8ty\x8yp\x8pe\x8es\x8s:\x8:·_\x8L\x8L_\x8i\x8i_\x8s\x8s_\x8t\x8t[\x8[_\x8T\x8T_\x8y\x8y_\x8p\x8p_\x8e\x8e]\x8]·|\x8|·_\x8T\x8T_\x8u\x8u_\x8p\x8p_\x8l\x8l_\x8e\x8e[\x8[_\x8T\x8T_\x8y\x8y_\x8p\x8p_\x8e\x8e,\x8,·.\x8..\x8..\x8.]\x8]·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8S_\x8e_\x8t[_\x8A_\x8n_\x8y]_\x8¶ | 225 | ········a\x8al\x8ll\x8lo\x8ow\x8we\x8ed\x8d_\x8_t\x8ty\x8yp\x8pe\x8es\x8s:\x8:·_\x8L\x8L_\x8i\x8i_\x8s\x8s_\x8t\x8t[\x8[_\x8T\x8T_\x8y\x8y_\x8p\x8p_\x8e\x8e]\x8]·|\x8|·_\x8T\x8T_\x8u\x8u_\x8p\x8p_\x8l\x8l_\x8e\x8e[\x8[_\x8T\x8T_\x8y\x8y_\x8p\x8p_\x8e\x8e,\x8,·.\x8..\x8..\x8.]\x8]·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8S_\x8e_\x8t[_\x8A_\x8n_\x8y]_\x8¶ |
228 | ··············Examples: | 226 | ··············Examples: |
229 | ············>>>·Faker.seed(0) | 227 | ············>>>·Faker.seed(0) |
230 | ············>>>·for·_·in·range(5): | 228 | ············>>>·for·_·in·range(5): |
Max diff block lines reached; 31814/42298 bytes (75.21%) of diff not shown. |
Offset 38630, 15 lines modified | Offset 38630, 15 lines modified | ||
38630 | ····"objtypes":·{ | 38630 | ····"objtypes":·{ |
38631 | ········"0":·"py:class", | 38631 | ········"0":·"py:class", |
38632 | ········"1":·"py:method" | 38632 | ········"1":·"py:method" |
38633 | ····}, | 38633 | ····}, |
38634 | ····"terms":·{ | 38634 | ····"terms":·{ |
38635 | ········"":·[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,·66,·67,·73,·74,·75,·77,·78,·79,·80,·81,·82,·83,·87,·89,·90,·91,·93,·94,·96,·97,·100,·103,·104,·105,·109,·116,·117,·126,·127], | 38635 | ········"":·[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,·66,·67,·73,·74,·75,·77,·78,·79,·80,·81,·82,·83,·87,·89,·90,·91,·93,·94,·96,·97,·100,·103,·104,·105,·109,·116,·117,·126,·127], |
38636 | ········"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,·68,·69,·70,·71,·72,·73,·74,·75,·76,·77,·78,·79,·80,·81,·82,·83,·84,·85,·87,·89,·90,·91,·92,·93,·94,·95,·96,·97,·98,·100,·101,·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], | 38636 | ········"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,·68,·69,·70,·71,·72,·73,·74,·75,·76,·77,·78,·79,·80,·81,·82,·83,·84,·85,·87,·89,·90,·91,·92,·93,·94,·95,·96,·97,·98,·100,·101,·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], |
38637 | ········"00":·[2,·9,·15,·17,·18,·20,·29,·38,·44,·51,·52,·64,·66,·104,·125], | 38637 | ········"00":·[2,·6,·9,·13,·15,·17,·18,·20,·22,·25,·29,·35,·38,·40,·42,·44,·49,·51,·52,·53,·57,·58,·59,·60,·61,·63,·64,·66,·74,·75,·77,·78,·79,·80,·81,·82,·83,·87,·89,·90,·91,·93,·94,·96,·97,·104,·109,·125], |
38638 | ········"000":·[38,·42,·47,·93], | 38638 | ········"000":·[38,·42,·47,·93], |
38639 | ········"0000":·[6,·9,·13,·15,·17,·18,·20,·22,·25,·35,·38,·39,·40,·42,·44,·49,·51,·53,·57,·58,·59,·60,·61,·63,·64,·66,·74,·75,·77,·78,·79,·80,·81,·82,·83,·87,·89,·90,·91,·94,·96,·97,·109], | 38639 | ········"0000":·[6,·9,·13,·15,·17,·18,·20,·22,·25,·35,·38,·39,·40,·42,·44,·49,·51,·53,·57,·58,·59,·60,·61,·63,·64,·66,·74,·75,·77,·78,·79,·80,·81,·82,·83,·87,·89,·90,·91,·94,·96,·97,·109], |
38640 | ········"00000":·[35,·38,·49,·90,·117], | 38640 | ········"00000":·[35,·38,·49,·90,·117], |
38641 | ········"000000":·[35,·38,·49,·90,·117], | 38641 | ········"000000":·[35,·38,·49,·90,·117], |
38642 | ········"0001":·78, | 38642 | ········"0001":·78, |
38643 | ········"00011":·[21,·52], | 38643 | ········"00011":·[21,·52], |
38644 | ········"0004876475931":·[29,·38,·44,·51,·64,·104], | 38644 | ········"0004876475931":·[29,·38,·44,·51,·64,·104], |
Offset 38651, 183 lines modified | Offset 38651, 172 lines modified | ||
38651 | ········"002":·48, | 38651 | ········"002":·48, |
38652 | ········"002041424285777665":·45, | 38652 | ········"002041424285777665":·45, |
38653 | ········"002497663450887436":·45, | 38653 | ········"002497663450887436":·45, |
38654 | ········"002597357884672407":·45, | 38654 | ········"002597357884672407":·45, |
38655 | ········"002864631170560203":·45, | 38655 | ········"002864631170560203":·45, |
38656 | ········"002991780860070717":·45, | 38656 | ········"002991780860070717":·45, |
38657 | ········"00328":·[52,·53], | 38657 | ········"00328":·[52,·53], |
38658 | ········"003 | 38658 | ········"003711":·38, |
38659 | ········"003t824":·81, | 38659 | ········"003t824":·81, |
38660 | ········"00420":·17, | 38660 | ········"00420":·17, |
38661 | ········"00421":·82, | 38661 | ········"00421":·82, |
38662 | ········"00438":·[20,·25,·38,·79,·112], | 38662 | ········"00438":·[20,·25,·38,·79,·112], |
38663 | ········"00452":·[52,·53], | 38663 | ········"00452":·[52,·53], |
38664 | ········"00489249":·[29,·38,·44,·51,·64,·104], | 38664 | ········"00489249":·[29,·38,·44,·51,·64,·104], |
38665 | ········"00494":·[52,·53], | 38665 | ········"00494":·[52,·53], |
38666 | ········"004946":·97, | ||
38666 | ········"00560":·[52,·53], | 38667 | ········"00560":·[52,·53], |
38667 | ········"0056593877840":·[29,·38,·44,·51,·64,·104], | 38668 | ········"0056593877840":·[29,·38,·44,·51,·64,·104], |
38668 | ········"005984":·61, | ||
38669 | ········"006d048":·81, | 38669 | ········"006d048":·81, |
38670 | ········"006d475":·81, | 38670 | ········"006d475":·81, |
38671 | ········"00714":·[52,·53], | 38671 | ········"00714":·[52,·53], |
38672 | ········"007187":·6, | ||
38673 | ········"0071871":·6, | ||
38674 | ········"00781565":·[29,·38,·44,·51,·64,·104], | 38672 | ········"00781565":·[29,·38,·44,·51,·64,·104], |
38675 | ········"007d815":·81, | 38673 | ········"007d815":·81, |
38674 | ········"00816":·59, | ||
38675 | ········"008160":·59, | ||
38676 | ········"0087115871480":·[29,·38,·44,·51,·64,·104], | 38676 | ········"0087115871480":·[29,·38,·44,·51,·64,·104], |
38677 | ········"00877848":·[29,·38,·44,·51,·64,·104], | 38677 | ········"00877848":·[29,·38,·44,·51,·64,·104], |
38678 | ········"008d924":·81, | 38678 | ········"008d924":·81, |
38679 | ········"009248":·90, | ||
38680 | ········"00938242":·[29,·38,·44,·51,·64,·104], | 38679 | ········"00938242":·[29,·38,·44,·51,·64,·104], |
38681 | ········"00970":·11, | 38680 | ········"00970":·11, |
38682 | ········"0097042321948":·11, | 38681 | ········"0097042321948":·11, |
38683 | ········"00970591578156":·11, | 38682 | ········"00970591578156":·11, |
38684 | ········"00971":·7, | 38683 | ········"00971":·7, |
38685 | ········"00972":·11, | 38684 | ········"00972":·11, |
38686 | ········"0097535139":·22, | 38685 | ········"0097535139":·22, |
38687 | ········"00991":·[38,·117], | 38686 | ········"00991":·[38,·117], |
38688 | ········"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,·57,·58,·59,·60,·61,·63,·64,·66,·74,·75,·77,·78,·79,·80,·81,·82,·83,·85,·87,·89,·90,·91,·93,·94,·96,·97,·107,·109,·113,·125], | 38687 | ········"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,·57,·58,·59,·60,·61,·63,·64,·66,·74,·75,·77,·78,·79,·80,·81,·82,·83,·85,·87,·89,·90,·91,·93,·94,·96,·97,·107,·109,·113,·125], |
38689 | ········"01000":·93, | 38688 | ········"01000":·93, |
38689 | ········"010937":·[48,·70], | ||
38690 | ········"011":·[47,·57,·87], | 38690 | ········"011":·[47,·57,·87], |
38691 | ········"0114028":·87, | ||
38692 | ········"011403":·87, | ||
38693 | ········"0115":·[61,·91], | 38691 | ········"0115":·[61,·91], |
38694 | ········"01157815659":·32, | 38692 | ········"01157815659":·32, |
38695 | ········"0116":·34, | 38693 | ········"0116":·34, |
38694 | ········"0116235":·22, | ||
38695 | ········"011624":·22, | ||
38696 | ········"012":·13, | 38696 | ········"012":·13, |
38697 | ········"012000000003":·[29,·38,·51], | 38697 | ········"012000000003":·[29,·38,·51], |
38698 | ········"01200003":·[29,·38,·51], | 38698 | ········"01200003":·[29,·38,·51], |
38699 | ········"01200033":·[29,·38,·51], | 38699 | ········"01200033":·[29,·38,·51], |
38700 | ········"01200043":·[29,·38,·51], | 38700 | ········"01200043":·[29,·38,·51], |
38701 | ········"0121":·30, | 38701 | ········"0121":·30, |
38702 | ········"0123":·[38,·117], | 38702 | ········"0123":·[38,·117], |
38703 | ········"012345000065":·[29,·38,·51], | 38703 | ········"012345000065":·[29,·38,·51], |
38704 | ········"01234565":·[29,·38,·51], | 38704 | ········"01234565":·[29,·38,·51], |
38705 | ········"0123456789":·[35,·38,·49,·90,·117], | 38705 | ········"0123456789":·[35,·38,·49,·90,·117], |
38706 | ········"013":·[38,·47,·117], | 38706 | ········"013":·[38,·47,·117], |
38707 | ········"013413":·25, | 38707 | ········"013413":·25, |
38708 | ········"0140":·[38,·117], | 38708 | ········"0140":·[38,·117], |
38709 | ········"01444":·[35,·38,·49,·90,·117], | 38709 | ········"01444":·[35,·38,·49,·90,·117], |
38710 | ········"014947":·90, | ||
38710 | ········"015":·82, | 38711 | ········"015":·82, |
38711 | ········"0150337449585798032331210981996776098583294846980799364841594847719451650":·[38,·122], | 38712 | ········"0150337449585798032331210981996776098583294846980799364841594847719451650":·[38,·122], |
38712 | ········"01530":·[38,·117], | 38713 | ········"01530":·[38,·117], |
38713 | ········"015413":·97, | ||
38714 | ········"0156593877847":·[29,·38,·51], | 38714 | ········"0156593877847":·[29,·38,·51], |
38715 | ········"01576":·89, | ||
38715 | ········"015781000057":·[29,·38,·51], | 38716 | ········"015781000057":·[29,·38,·51], |
38716 | ········"015913":·25, | 38717 | ········"015913":·25, |
38717 | ········"016":·[35,·38,·45,·49,·66,·90,·114], | 38718 | ········"016":·[35,·38,·45,·49,·66,·90,·114], |
38718 | ········"0160":·[38,·45,·47,·73,·74,·78], | 38719 | ········"0160":·[38,·45,·47,·73,·74,·78], |
38719 | ········"01609":·25, | 38720 | ········"01609":·25, |
38720 | ········"016097535134":·[29,·38,·51], | 38721 | ········"016097535134":·[29,·38,·51], |
38721 | ········"0163":·63, | 38722 | ········"0163":·63, |
38722 | ········"016737":·90, | ||
38723 | ········"0168":·[38,·121], | 38723 | ········"0168":·[38,·121], |
38724 | ········"0168488":·82, | ||
38725 | ········"016849":·82, | ||
38726 | ········"017357":·90, | ||
38724 | ········"018041":·94, | 38727 | ········"018041":·94, |
38725 | ········"019536":·53, | ||
38726 | ········"0195363":·53, | ||
38727 | ········"02":·[6,·9,·11,·13,·15,·17,·18,·20,·22,·25,·35,·38,·39,·40,·42,·44,·49,·51,·52,·53,·57,·58,·59,·60,·61,·63,·64,·66,·74,·75,·77,·78,·79,·80,·81,·82,·83,·87,·89,·90,·91,·93,·94,·96,·97,·100,·109 | 38728 | ········"02":·[6,·9,·11,·13,·15,·17,·18,·20,·22,·25,·35,·38,·39,·40,·42,·44,·49,·51,·52,·53,·57,·58,·59,·60,·61,·63,·64,·66,·74,·75,·77,·78,·79,·80,·81,·82,·83,·87,·89,·90,·91,·93,·94,·96,·97,·100,·109], |
38728 | ········"020":·[30,·45], | 38729 | ········"020":·[30,·45], |
38729 | ········"0205938242":·92, | 38730 | ········"0205938242":·92, |
38730 | ········"020911":·94, | 38731 | ········"020911":·94, |
38731 | ········"021":·42, | 38732 | ········"021":·42, |
38732 | ········"02146":·33, | 38733 | ········"02146":·33, |
38733 | ········"02173":·82, | 38734 | ········"02173":·82, |
38734 | ········"02185":·[21,·52], | 38735 | ········"02185":·[21,·52], |
38735 | ········"0219":·30, | 38736 | ········"0219":·30, |
38736 | ········"0219489241150":·[29,·38,·51], | 38737 | ········"0219489241150":·[29,·38,·51], |
38737 | ········"022":·[13,·38,·121], | 38738 | ········"022":·[13,·38,·121], |
38738 | ········"022154":·79, | ||
38739 | ········"0221543":·79, | ||
38740 | ········"022264759":·11, | 38739 | ········"022264759":·11, |
38740 | ········"023441":·81, | ||
38741 | ········"02347357d13590815eb822d13e8366e27cf35e1b":·[35,·38,·49,·90,·117], | 38741 | ········"02347357d13590815eb822d13e8366e27cf35e1b":·[35,·38,·49,·90,·117], |
38742 | ········"024":·[13,·78,·82], | 38742 | ········"024":·[13,·78,·82], |
38743 | ········"0241":·14, | 38743 | ········"0241":·14, |
38744 | ········"0242":·80, | 38744 | ········"0242":·80, |
38745 | ········"0248":·80, | 38745 | ········"0248":·80, |
38746 | ········"025":·13, | 38746 | ········"025":·13, |
38747 | ········"025394":·94, | 38747 | ········"025394":·94, |
38748 | ········"025659384":·[13,·15,·17,·18,·20,·21,·22,·25,·30,·31,·32,·35,·40,·44,·45,·47,·48,·49,·52,·53,·62,·63,·73,·74,·75,·77,·79,·80,·81,·82,·89,·90,·91,·93,·96,·103], | 38748 | ········"025659384":·[13,·15,·17,·18,·20,·21,·22,·25,·30,·31,·32,·35,·40,·44,·45,·47,·48,·49,·52,·53,·62,·63,·73,·74,·75,·77,·79,·80,·81,·82,·89,·90,·91,·93,·96,·103], |
38749 | ········"025866":·109, | ||
Max diff block lines reached; 380931/386658 bytes (98.52%) of diff not shown. |