Offset 1, 4 lines modified | Offset 1, 4 lines modified | ||
1 | · | 1 | ·e1ccce64dbd44fdbad649d2be81a1f0a·984576·doc·optional·faker-doc_33.1.0-1_all.deb |
2 | ·ab89d31ce1f352222f087990b3fb0b66·30340·python·optional·faker_33.1.0-1_all.deb | 2 | ·ab89d31ce1f352222f087990b3fb0b66·30340·python·optional·faker_33.1.0-1_all.deb |
3 | ·b5dbe8db439e7014182b94fe4990ee8b·1310668·python·optional·python3-fake-factory_33.1.0-1_all.deb | 3 | ·b5dbe8db439e7014182b94fe4990ee8b·1310668·python·optional·python3-fake-factory_33.1.0-1_all.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2024-12-15·07:37:45.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2024-12-15·07:37:45.000000·debian-binary |
2 | -rw-r--r--···0········0········0·····6992·2024-12-15·07:37:45.000000·control.tar.xz | 2 | -rw-r--r--···0········0········0·····6992·2024-12-15·07:37:45.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0···9 | 3 | -rw-r--r--···0········0········0···977392·2024-12-15·07:37:45.000000·data.tar.xz |
Offset 1, 13 lines modified | Offset 1, 13 lines modified | ||
1 | Package:·faker-doc | 1 | Package:·faker-doc |
2 | Source:·faker | 2 | Source:·faker |
3 | Version:·33.1.0-1 | 3 | Version:·33.1.0-1 |
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:·3406 | 6 | Installed-Size:·34063 |
7 | Depends:·libjs-sphinxdoc·(>=·8.1) | 7 | Depends:·libjs-sphinxdoc·(>=·8.1) |
8 | Section:·doc | 8 | Section:·doc |
9 | Priority:·optional | 9 | Priority:·optional |
10 | Multi-Arch:·foreign | 10 | Multi-Arch:·foreign |
11 | Homepage:·https://github.com/joke2k/faker | 11 | Homepage:·https://github.com/joke2k/faker |
12 | Description:·Faker·is·a·Python·library·that·generates·fake·data·(Documentation) | 12 | Description:·Faker·is·a·Python·library·that·generates·fake·data·(Documentation) |
13 | ·The·fake·data·can·be·used·to·bootstrap·a·database,·create·XML·documents,·or | 13 | ·The·fake·data·can·be·used·to·bootstrap·a·database,·create·XML·documents,·or |
Offset 154, 142 lines modified | Offset 154, 142 lines modified | ||
154 | -rw-r--r--···0·root·········(0)·root·········(0)·····9444·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/communityproviders.html | 154 | -rw-r--r--···0·root·········(0)·root·········(0)·····9444·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/communityproviders.html |
155 | -rw-r--r--···0·root·········(0)·root·········(0)····37252·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/fakerclass.html | 155 | -rw-r--r--···0·root·········(0)·root·········(0)····37252·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/fakerclass.html |
156 | -rw-r--r--···0·root·········(0)·root·········(0)··1379963·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/genindex.html | 156 | -rw-r--r--···0·root·········(0)·root·········(0)··1379963·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/genindex.html |
157 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/includes/ | 157 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/includes/ |
158 | -rw-r--r--···0·root·········(0)·root·········(0)·····3126·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/includes/substitutions.html | 158 | -rw-r--r--···0·root·········(0)·root·········(0)·····3126·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/includes/substitutions.html |
159 | -rw-r--r--···0·root·········(0)·root·········(0)····60508·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/index.html | 159 | -rw-r--r--···0·root·········(0)·root·········(0)····60508·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/index.html |
160 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/ | 160 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/ |
161 | -rw-r--r--···0·root·········(0)·root·········(0)···41569 | 161 | -rw-r--r--···0·root·········(0)·root·········(0)···415693·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/ar_AA.html |
162 | -rw-r--r--···0·root·········(0)·root·········(0)····25930·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/ar_AE.html | 162 | -rw-r--r--···0·root·········(0)·root·········(0)····25930·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/ar_AE.html |
163 | -rw-r--r--···0·root·········(0)·root·········(0)····10614·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/ar_BH.html | 163 | -rw-r--r--···0·root·········(0)·root·········(0)····10614·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/ar_BH.html |
164 | -rw-r--r--···0·root·········(0)·root·········(0)···16115 | 164 | -rw-r--r--···0·root·········(0)·root·········(0)···161150·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/ar_EG.html |
165 | -rw-r--r--···0·root·········(0)·root·········(0)····29957·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/ar_JO.html | 165 | -rw-r--r--···0·root·········(0)·root·········(0)····29957·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/ar_JO.html |
166 | -rw-r--r--···0·root·········(0)·root·········(0)···123196·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/ar_PS.html | 166 | -rw-r--r--···0·root·········(0)·root·········(0)···123196·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/ar_PS.html |
167 | -rw-r--r--···0·root·········(0)·root·········(0)····58584·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/ar_SA.html | 167 | -rw-r--r--···0·root·········(0)·root·········(0)····58584·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/ar_SA.html |
168 | -rw-r--r--···0·root·········(0)·root·········(0)···5982 | 168 | -rw-r--r--···0·root·········(0)·root·········(0)···598212·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/az_AZ.html |
169 | -rw-r--r--···0·root·········(0)·root·········(0)···222412·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/bg_BG.html | 169 | -rw-r--r--···0·root·········(0)·root·········(0)···222412·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/bg_BG.html |
170 | -rw-r--r--···0·root·········(0)·root·········(0)···6453 | 170 | -rw-r--r--···0·root·········(0)·root·········(0)···645346·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/bn_BD.html |
171 | -rw-r--r--···0·root·········(0)·root·········(0)···122926·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/bs_BA.html | 171 | -rw-r--r--···0·root·········(0)·root·········(0)···122926·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/bs_BA.html |
172 | -rw-r--r--···0·root·········(0)·root·········(0)···59004 | 172 | -rw-r--r--···0·root·········(0)·root·········(0)···590048·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/cs_CZ.html |
173 | -rw-r--r--···0·root·········(0)·root·········(0)···45975 | 173 | -rw-r--r--···0·root·········(0)·root·········(0)···459752·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/da_DK.html |
174 | -rw-r--r--···0·root·········(0)·root·········(0)····18290·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/de.html | 174 | -rw-r--r--···0·root·········(0)·root·········(0)····18290·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/de.html |
175 | -rw-r--r--···0·root·········(0)·root·········(0)···52235 | 175 | -rw-r--r--···0·root·········(0)·root·········(0)···522358·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/de_AT.html |
176 | -rw-r--r--···0·root·········(0)·root·········(0)···126541·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/de_CH.html | 176 | -rw-r--r--···0·root·········(0)·root·········(0)···126541·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/de_CH.html |
177 | -rw-r--r--···0·root·········(0)·root·········(0)···5230 | 177 | -rw-r--r--···0·root·········(0)·root·········(0)···523006·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/de_DE.html |
178 | -rw-r--r--···0·root·········(0)·root·········(0)····10104·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/dk_DK.html | 178 | -rw-r--r--···0·root·········(0)·root·········(0)····10104·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/dk_DK.html |
179 | -rw-r--r--···0·root·········(0)·root·········(0)····10116·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/el_CY.html | 179 | -rw-r--r--···0·root·········(0)·root·········(0)····10116·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/el_CY.html |
180 | -rw-r--r--···0·root·········(0)·root·········(0)···6148 | 180 | -rw-r--r--···0·root·········(0)·root·········(0)···614824·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/el_GR.html |
181 | -rw-r--r--···0·root·········(0)·root·········(0)····38278·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/en.html | 181 | -rw-r--r--···0·root·········(0)·root·········(0)····38278·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/en.html |
182 | -rw-r--r--···0·root·········(0)·root·········(0)···172135·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/en_AU.html | 182 | -rw-r--r--···0·root·········(0)·root·········(0)···172135·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/en_AU.html |
183 | -rw-r--r--···0·root·········(0)·root·········(0)····43355·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/en_BD.html | 183 | -rw-r--r--···0·root·········(0)·root·········(0)····43355·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/en_BD.html |
184 | -rw-r--r--···0·root·········(0)·root·········(0)···156607·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/en_CA.html | 184 | -rw-r--r--···0·root·········(0)·root·········(0)···156607·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/en_CA.html |
185 | -rw-r--r--···0·root·········(0)·root·········(0)···236283·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/en_GB.html | 185 | -rw-r--r--···0·root·········(0)·root·········(0)···236283·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/en_GB.html |
186 | -rw-r--r--···0·root·········(0)·root·········(0)···132613·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/en_IE.html | 186 | -rw-r--r--···0·root·········(0)·root·········(0)···132613·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/en_IE.html |
187 | -rw-r--r--···0·root·········(0)·root·········(0)···149041·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/en_IN.html | 187 | -rw-r--r--···0·root·········(0)·root·········(0)···149041·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/en_IN.html |
188 | -rw-r--r--···0·root·········(0)·root·········(0)····46631·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/en_MS.html | 188 | -rw-r--r--···0·root·········(0)·root·········(0)····46631·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/en_MS.html |
189 | -rw-r--r--···0·root·········(0)·root·········(0)···202820·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/en_NZ.html | 189 | -rw-r--r--···0·root·········(0)·root·········(0)···202820·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/en_NZ.html |
190 | -rw-r--r--···0·root·········(0)·root·········(0)··11263 | 190 | -rw-r--r--···0·root·········(0)·root·········(0)··1126319·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/en_PH.html |
191 | -rw-r--r--···0·root·········(0)·root·········(0)····46144·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/en_PK.html | 191 | -rw-r--r--···0·root·········(0)·root·········(0)····46144·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/en_PK.html |
192 | -rw-r--r--···0·root·········(0)·root·········(0)····46748·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/en_TH.html | 192 | -rw-r--r--···0·root·········(0)·root·········(0)····46748·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/en_TH.html |
193 | -rw-r--r--···0·root·········(0)·root·········(0)··141 | 193 | -rw-r--r--···0·root·········(0)·root·········(0)··1415766·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/en_US.html |
194 | -rw-r--r--···0·root·········(0)·root·········(0)···201369·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/es.html | 194 | -rw-r--r--···0·root·········(0)·root·········(0)···201369·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/es.html |
195 | -rw-r--r--···0·root·········(0)·root·········(0)···42898 | 195 | -rw-r--r--···0·root·········(0)·root·········(0)···428988·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/es_AR.html |
196 | -rw-r--r--···0·root·········(0)·root·········(0)····63608·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/es_CA.html | 196 | -rw-r--r--···0·root·········(0)·root·········(0)····63608·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/es_CA.html |
197 | -rw-r--r--···0·root·········(0)·root·········(0)···4964 | 197 | -rw-r--r--···0·root·········(0)·root·········(0)···496439·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/es_CL.html |
198 | -rw-r--r--···0·root·········(0)·root·········(0)···122847·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/es_CO.html | 198 | -rw-r--r--···0·root·········(0)·root·········(0)···122847·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/es_CO.html |
199 | -rw-r--r--···0·root·········(0)·root·········(0)···5509 | 199 | -rw-r--r--···0·root·········(0)·root·········(0)···550952·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/es_ES.html |
200 | -rw-r--r--···0·root·········(0)·root·········(0)···165837·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/es_MX.html | 200 | -rw-r--r--···0·root·········(0)·root·········(0)···165837·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/es_MX.html |
201 | -rw-r--r--···0·root·········(0)·root·········(0)····75386·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/et_EE.html | 201 | -rw-r--r--···0·root·········(0)·root·········(0)····75386·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/et_EE.html |
202 | -rw-r--r--···0·root·········(0)·root·········(0)···433612·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/fa_IR.html | 202 | -rw-r--r--···0·root·········(0)·root·········(0)···433612·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/fa_IR.html |
203 | -rw-r--r--···0·root·········(0)·root·········(0)···258418·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/fi_FI.html | 203 | -rw-r--r--···0·root·········(0)·root·········(0)···258418·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/fi_FI.html |
204 | -rw-r--r--···0·root·········(0)·root·········(0)··108 | 204 | -rw-r--r--···0·root·········(0)·root·········(0)··1082943·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/fil_PH.html |
205 | -rw-r--r--···0·root·········(0)·root·········(0)····46528·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/fr_BE.html | 205 | -rw-r--r--···0·root·········(0)·root·········(0)····46528·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/fr_BE.html |
206 | -rw-r--r--···0·root·········(0)·root·········(0)···340517·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/fr_CA.html | 206 | -rw-r--r--···0·root·········(0)·root·········(0)···340517·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/fr_CA.html |
207 | -rw-r--r--···0·root·········(0)·root·········(0)···268533·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/fr_CH.html | 207 | -rw-r--r--···0·root·········(0)·root·········(0)···268533·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/fr_CH.html |
208 | -rw-r--r--···0·root·········(0)·root·········(0)···5918 | 208 | -rw-r--r--···0·root·········(0)·root·········(0)···591873·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/fr_FR.html |
209 | -rw-r--r--···0·root·········(0)·root·········(0)····46895·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/fr_QC.html | 209 | -rw-r--r--···0·root·········(0)·root·········(0)····46895·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/fr_QC.html |
210 | -rw-r--r--···0·root·········(0)·root·········(0)····46929·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/ga_IE.html | 210 | -rw-r--r--···0·root·········(0)·root·········(0)····46929·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/ga_IE.html |
211 | -rw-r--r--···0·root·········(0)·root·········(0)···2103 | 211 | -rw-r--r--···0·root·········(0)·root·········(0)···210319·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/gu_IN.html |
212 | -rw-r--r--···0·root·········(0)·root·········(0)···242970·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/he_IL.html | 212 | -rw-r--r--···0·root·········(0)·root·········(0)···242970·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/he_IL.html |
213 | -rw-r--r--···0·root·········(0)·root·········(0)···2452 | 213 | -rw-r--r--···0·root·········(0)·root·········(0)···245236·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/hi_IN.html |
214 | -rw-r--r--···0·root·········(0)·root·········(0)···4179 | 214 | -rw-r--r--···0·root·········(0)·root·········(0)···417963·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/hr_HR.html |
215 | -rw-r--r--···0·root·········(0)·root·········(0)···4386 | 215 | -rw-r--r--···0·root·········(0)·root·········(0)···438642·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/hu_HU.html |
216 | -rw-r--r--···0·root·········(0)·root·········(0)···4257 | 216 | -rw-r--r--···0·root·········(0)·root·········(0)···425718·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/hy_AM.html |
217 | -rw-r--r--···0·root·········(0)·root·········(0)···4200 | 217 | -rw-r--r--···0·root·········(0)·root·········(0)···420048·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/id_ID.html |
218 | -rw-r--r--···0·root·········(0)·root·········(0)····36069·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/it_CH.html | 218 | -rw-r--r--···0·root·········(0)·root·········(0)····36069·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/it_CH.html |
219 | -rw-r--r--···0·root·········(0)·root·········(0)···5221 | 219 | -rw-r--r--···0·root·········(0)·root·········(0)···522149·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/it_IT.html |
220 | -rw-r--r--···0·root·········(0)·root·········(0)···57412 | 220 | -rw-r--r--···0·root·········(0)·root·········(0)···574122·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/ja_JP.html |
221 | -rw-r--r--···0·root·········(0)·root·········(0)···2988 | 221 | -rw-r--r--···0·root·········(0)·root·········(0)···298826·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/ka_GE.html |
222 | -rw-r--r--···0·root·········(0)·root·········(0)···402 | 222 | -rw-r--r--···0·root·········(0)·root·········(0)···402704·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/ko_KR.html |
223 | -rw-r--r--···0·root·········(0)·root·········(0)····46660·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/la.html | 223 | -rw-r--r--···0·root·········(0)·root·········(0)····46660·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/la.html |
224 | -rw-r--r--···0·root·········(0)·root·········(0)····10244·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/lb_LU.html | 224 | -rw-r--r--···0·root·········(0)·root·········(0)····10244·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/lb_LU.html |
225 | -rw-r--r--···0·root·········(0)·root·········(0)····66079·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/lt_LT.html | 225 | -rw-r--r--···0·root·········(0)·root·········(0)····66079·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/lt_LT.html |
226 | -rw-r--r--···0·root·········(0)·root·········(0)····61267·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/lv_LV.html | 226 | -rw-r--r--···0·root·········(0)·root·········(0)····61267·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/lv_LV.html |
227 | -rw-r--r--···0·root·········(0)·root·········(0)····10256·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/mt_MT.html | 227 | -rw-r--r--···0·root·········(0)·root·········(0)····10256·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/mt_MT.html |
228 | -rw-r--r--···0·root·········(0)·root·········(0)····90966·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/ne_NP.html | 228 | -rw-r--r--···0·root·········(0)·root·········(0)····90966·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/ne_NP.html |
229 | -rw-r--r--···0·root·········(0)·root·········(0)···231627·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/nl_BE.html | 229 | -rw-r--r--···0·root·········(0)·root·········(0)···231627·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/nl_BE.html |
230 | -rw-r--r--···0·root·········(0)·root·········(0)···41359 | 230 | -rw-r--r--···0·root·········(0)·root·········(0)···413595·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/nl_NL.html |
231 | -rw-r--r--···0·root·········(0)·root·········(0)···3943 | 231 | -rw-r--r--···0·root·········(0)·root·········(0)···394377·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/no_NO.html |
232 | -rw-r--r--···0·root·········(0)·root·········(0)····51989·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/or_IN.html | 232 | -rw-r--r--···0·root·········(0)·root·········(0)····51989·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/or_IN.html |
233 | -rw-r--r--···0·root·········(0)·root·········(0)···5756 | 233 | -rw-r--r--···0·root·········(0)·root·········(0)···575639·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/pl_PL.html |
234 | -rw-r--r--···0·root·········(0)·root·········(0)···4713 | 234 | -rw-r--r--···0·root·········(0)·root·········(0)···471370·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/pt_BR.html |
235 | -rw-r--r--···0·root·········(0)·root·········(0)···4561 | 235 | -rw-r--r--···0·root·········(0)·root·········(0)···456141·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/pt_PT.html |
236 | -rw-r--r--···0·root·········(0)·root·········(0)···4335 | 236 | -rw-r--r--···0·root·········(0)·root·········(0)···433585·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/ro_RO.html |
237 | -rw-r--r--···0·root·········(0)·root·········(0)···6547 | 237 | -rw-r--r--···0·root·········(0)·root·········(0)···654755·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/ru_RU.html |
238 | -rw-r--r--···0·root·········(0)·root·········(0)···50104 | 238 | -rw-r--r--···0·root·········(0)·root·········(0)···501048·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/sk_SK.html |
239 | -rw-r--r--···0·root·········(0)·root·········(0)···361 | 239 | -rw-r--r--···0·root·········(0)·root·········(0)···361401·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/sl_SI.html |
240 | -rw-r--r--···0·root·········(0)·root·········(0)····10624·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/sq_AL.html | 240 | -rw-r--r--···0·root·········(0)·root·········(0)····10624·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/sq_AL.html |
241 | -rw-r--r--···0·root·········(0)·root·········(0)···241191·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/sv_SE.html | 241 | -rw-r--r--···0·root·········(0)·root·········(0)···241191·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/sv_SE.html |
242 | -rw-r--r--···0·root·········(0)·root·········(0)····24566·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/sw.html | 242 | -rw-r--r--···0·root·········(0)·root·········(0)····24566·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/sw.html |
243 | -rw-r--r--···0·root·········(0)·root·········(0)···2448 | 243 | -rw-r--r--···0·root·········(0)·root·········(0)···244877·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/ta_IN.html |
244 | -rw-r--r--···0·root·········(0)·root·········(0)····18290·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/th.html | 244 | -rw-r--r--···0·root·········(0)·root·········(0)····18290·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/th.html |
245 | -rw-r--r--···0·root·········(0)·root·········(0)···60801 | 245 | -rw-r--r--···0·root·········(0)·root·········(0)···608012·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/th_TH.html |
246 | -rw-r--r--···0·root·········(0)·root·········(0)··108283 | 246 | -rw-r--r--···0·root·········(0)·root·········(0)··1082832·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/tl_PH.html |
247 | -rw-r--r--···0·root·········(0)·root·········(0)···4123 | 247 | -rw-r--r--···0·root·········(0)·root·········(0)···412365·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/tr_TR.html |
248 | -rw-r--r--···0·root·········(0)·root·········(0)····54262·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/tw_GH.html | 248 | -rw-r--r--···0·root·········(0)·root·········(0)····54262·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/tw_GH.html |
249 | -rw-r--r--···0·root·········(0)·root·········(0)···4605 | 249 | -rw-r--r--···0·root·········(0)·root·········(0)···460529·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/uk_UA.html |
250 | -rw-r--r--···0·root·········(0)·root·········(0)···278755·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/uz_UZ.html | 250 | -rw-r--r--···0·root·········(0)·root·········(0)···278755·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/uz_UZ.html |
251 | -rw-r--r--···0·root·········(0)·root·········(0)···4380 | 251 | -rw-r--r--···0·root·········(0)·root·········(0)···438066·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/vi_VN.html |
252 | -rw-r--r--···0·root·········(0)·root·········(0)····46734·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/yo_NG.html | 252 | -rw-r--r--···0·root·········(0)·root·········(0)····46734·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/yo_NG.html |
253 | -rw-r--r--···0·root·········(0)·root·········(0)···52439 | 253 | -rw-r--r--···0·root·········(0)·root·········(0)···524392·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/zh_CN.html |
254 | -rw-r--r--···0·root·········(0)·root·········(0)···4896 | 254 | -rw-r--r--···0·root·········(0)·root·········(0)···489619·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/zh_TW.html |
255 | -rw-r--r--···0·root·········(0)·root·········(0)····46708·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/zu_ZA.html | 255 | -rw-r--r--···0·root·········(0)·root·········(0)····46708·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales/zu_ZA.html |
256 | -rw-r--r--···0·root·········(0)·root·········(0)···144508·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales.html | 256 | -rw-r--r--···0·root·········(0)·root·········(0)···144508·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/locales.html |
257 | -rw-r--r--···0·root·········(0)·root·········(0)····39064·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/objects.inv | 257 | -rw-r--r--···0·root·········(0)·root·········(0)····39064·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/objects.inv |
258 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/ | 258 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/ |
259 | -rw-r--r--···0·root·········(0)·root·········(0)···123591·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/baseprovider.html | 259 | -rw-r--r--···0·root·········(0)·root·········(0)···123591·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/baseprovider.html |
260 | -rw-r--r--···0·root·········(0)·root·········(0)····30898·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.address.html | 260 | -rw-r--r--···0·root·········(0)·root·········(0)····30898·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.address.html |
261 | -rw-r--r--···0·root·········(0)·root·········(0)····10547·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.automotive.html | 261 | -rw-r--r--···0·root·········(0)·root·········(0)····10547·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.automotive.html |
262 | -rw-r--r--···0·root·········(0)·root·········(0)····36775·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.bank.html | 262 | -rw-r--r--···0·root·········(0)·root·········(0)····36775·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.bank.html |
263 | -rw-r--r--···0·root·········(0)·root·········(0)····39778·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.barcode.html | 263 | -rw-r--r--···0·root·········(0)·root·········(0)····39778·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.barcode.html |
264 | -rw-r--r--···0·root·········(0)·root·········(0)····53124·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.color.html | 264 | -rw-r--r--···0·root·········(0)·root·········(0)····53124·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.color.html |
265 | -rw-r--r--···0·root·········(0)·root·········(0)····14854·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.company.html | 265 | -rw-r--r--···0·root·········(0)·root·········(0)····14854·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.company.html |
266 | -rw-r--r--···0·root·········(0)·root·········(0)····26039·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.credit_card.html | 266 | -rw-r--r--···0·root·········(0)·root·········(0)····26039·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.credit_card.html |
267 | -rw-r--r--···0·root·········(0)·root·········(0)····23944·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.currency.html | 267 | -rw-r--r--···0·root·········(0)·root·········(0)····23944·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.currency.html |
268 | -rw-r--r--···0·root·········(0)·root·········(0)···16087 | 268 | -rw-r--r--···0·root·········(0)·root·········(0)···160877·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.date_time.html |
269 | -rw-r--r--···0·root·········(0)·root·········(0)·····8562·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.emoji.html | 269 | -rw-r--r--···0·root·········(0)·root·········(0)·····8562·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.emoji.html |
270 | -rw-r--r--···0·root·········(0)·root·········(0)····46591·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.file.html | 270 | -rw-r--r--···0·root·········(0)·root·········(0)····46591·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.file.html |
271 | -rw-r--r--···0·root·········(0)·root·········(0)····24657·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.geo.html | 271 | -rw-r--r--···0·root·········(0)·root·········(0)····24657·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.geo.html |
272 | -rw-r--r--···0·root·········(0)·root·········(0)···106972·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.internet.html | 272 | -rw-r--r--···0·root·········(0)·root·········(0)···106972·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.internet.html |
273 | -rw-r--r--···0·root·········(0)·root·········(0)····11752·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.isbn.html | 273 | -rw-r--r--···0·root·········(0)·root·········(0)····11752·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.isbn.html |
274 | -rw-r--r--···0·root·········(0)·root·········(0)····12214·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.job.html | 274 | -rw-r--r--···0·root·········(0)·root·········(0)····12214·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.job.html |
275 | -rw-r--r--···0·root·········(0)·root·········(0)····96356·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.lorem.html | 275 | -rw-r--r--···0·root·········(0)·root·········(0)····96356·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.lorem.html |
276 | -rw-r--r--···0·root·········(0)·root·········(0)···50 | 276 | -rw-r--r--···0·root·········(0)·root·········(0)···504354·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.misc.html |
277 | -rw-r--r--···0·root·········(0)·root·········(0)····14299·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.passport.html | 277 | -rw-r--r--···0·root·········(0)·root·········(0)····14299·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.passport.html |
278 | -rw-r--r--···0·root·········(0)·root·········(0)····46457·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.person.html | 278 | -rw-r--r--···0·root·········(0)·root·········(0)····46457·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.person.html |
279 | -rw-r--r--···0·root·········(0)·root·········(0)····12569·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.phone_number.html | 279 | -rw-r--r--···0·root·········(0)·root·········(0)····12569·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.phone_number.html |
280 | -rw-r--r--···0·root·········(0)·root·········(0)····2232 | 280 | -rw-r--r--···0·root·········(0)·root·········(0)····22325·2024-12-15·07:37:45.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.profile.html |
Max diff block lines reached; 2114/26548 bytes (7.96%) of diff not shown. |
Offset 57, 18 lines modified | Offset 57, 18 lines modified | ||
57 | <dd·class="field-odd"><p></p></dd> | 57 | <dd·class="field-odd"><p></p></dd> |
58 | </dl> | 58 | </dl> |
59 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 59 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
60 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 60 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
61 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 61 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
62 | <span·class="gp">...</span> | 62 | <span·class="gp">...</span> |
63 | <span·class="go">'م'</span> | 63 | <span·class="go">'م'</span> |
64 | <span·class="go">' | 64 | <span·class="go">'م'</span> |
65 | <span·class="go">' | 65 | <span·class="go">'م'</span> |
66 | <span·class="go">' | 66 | <span·class="go">'م'</span> |
67 | <span·class="go">' | 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, 15 lines modified | Offset 109, 15 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-05- | 116 | <span·class="go">'2016-05-30'</span> |
117 | <span·class="go">'2011-08-29'</span> | 117 | <span·class="go">'2011-08-29'</span> |
118 | <span·class="go">'1993-02-11'</span> | 118 | <span·class="go">'1993-02-11'</span> |
119 | <span·class="go">'1984-03-25'</span> | 119 | <span·class="go">'1984-03-25'</span> |
120 | <span·class="go">'1998-02-06'</span> | 120 | <span·class="go">'1998-02-06'</span> |
121 | </pre></div> | 121 | </pre></div> |
122 | </div> | 122 | </div> |
123 | </dd></dl> | 123 | </dd></dl> |
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,·4,·1 | 150 | <span·class="go">datetime.date(2020,·4,·17)</span> |
151 | <span·class="go">datetime.date(2017,·9,·1 | 151 | <span·class="go">datetime.date(2017,·9,·12)</span> |
152 | <span·class="go">datetime.date(2007,·7,· | 152 | <span·class="go">datetime.date(2007,·7,·30)</span> |
153 | <span·class="go">datetime.date(2002,·9,·2 | 153 | <span·class="go">datetime.date(2002,·9,·23)</span> |
154 | <span·class="go">datetime.date(2010,·4,·1 | 154 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 181 | <span·class="go">datetime.date(2024,·12,·17)</span> |
182 | <span·class="go">datetime.date(2024,·12,·1 | 182 | <span·class="go">datetime.date(2024,·12,·17)</span> |
183 | <span·class="go">datetime.date(2024,·12,·1 | 183 | <span·class="go">datetime.date(2024,·12,·17)</span> |
184 | <span·class="go">datetime.date(2024,·12,·1 | 184 | <span·class="go">datetime.date(2024,·12,·17)</span> |
185 | <span·class="go">datetime.date(2024,·12,·1 | 185 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 198, 15 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,·5,· | 205 | <span·class="go">datetime.date(2016,·5,·30)</span> |
206 | <span·class="go">datetime.date(2011,·8,·29)</span> | 206 | <span·class="go">datetime.date(2011,·8,·29)</span> |
207 | <span·class="go">datetime.date(1993,·2,·11)</span> | 207 | <span·class="go">datetime.date(1993,·2,·11)</span> |
208 | <span·class="go">datetime.date(1984,·3,·25)</span> | 208 | <span·class="go">datetime.date(1984,·3,·25)</span> |
209 | <span·class="go">datetime.date(1998,·2,·6)</span> | 209 | <span·class="go">datetime.date(1998,·2,·6)</span> |
210 | </pre></div> | 210 | </pre></div> |
211 | </div> | 211 | </div> |
212 | </dd></dl> | 212 | </dd></dl> |
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,·11,· | 241 | <span·class="go">datetime.date(2006,·11,·30)</span> |
242 | <span·class="go">datetime.date(1996,·11,·1 | 242 | <span·class="go">datetime.date(1996,·11,·18)</span> |
243 | <span·class="go">datetime.date(1957,·9,· | 243 | <span·class="go">datetime.date(1957,·9,·30)</span> |
244 | <span·class="go">datetime.date(1938,·12,· | 244 | <span·class="go">datetime.date(1938,·12,·30)</span> |
245 | <span·class="go">datetime.date(1968,·4,· | 245 | <span·class="go">datetime.date(1968,·4,·8)</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(2021,·1,·2 | 274 | <span·class="go">datetime.date(2021,·1,·28)</span> |
275 | <span·class="go">datetime.date(2018,·12,· | 275 | <span·class="go">datetime.date(2018,·12,·2)</span> |
276 | <span·class="go">datetime.date(2010,· | 276 | <span·class="go">datetime.date(2010,·7,·1)</span> |
277 | <span·class="go">datetime.date(2006,·6,·18)</span> | 277 | <span·class="go">datetime.date(2006,·6,·18)</span> |
278 | <span·class="go">datetime.date(2012,·10,· | 278 | <span·class="go">datetime.date(2012,·10,·5)</span> |
279 | </pre></div> | 279 | </pre></div> |
280 | </div> | 280 | </div> |
281 | </dd></dl> | 281 | </dd></dl> |
Max diff block lines reached; 88939/105810 bytes (84.06%) of diff not shown. |
Offset 12, 18 lines modified | Offset 12, 18 lines modified | ||
12 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 12 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
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 | ············' | 20 | ············'م' |
21 | ············' | 21 | ············'م' |
22 | ············' | 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, 15 lines modified | Offset 43, 15 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-05- | 50 | ············'2016-05-30' |
51 | ············'2011-08-29' | 51 | ············'2011-08-29' |
52 | ············'1993-02-11' | 52 | ············'1993-02-11' |
53 | ············'1984-03-25' | 53 | ············'1984-03-25' |
54 | ············'1998-02-06' | 54 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 72 | ············datetime.date(2020,·4,·17) |
73 | ············datetime.date(2017,·9,·1 | 73 | ············datetime.date(2017,·9,·12) |
74 | ············datetime.date(2007,·7,· | 74 | ············datetime.date(2007,·7,·30) |
75 | ············datetime.date(2002,·9,·2 | 75 | ············datetime.date(2002,·9,·23) |
76 | ············datetime.date(2010,·4,·1 | 76 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 85, 29 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,·12,·1 | 92 | ············datetime.date(2024,·12,·17) |
93 | ············datetime.date(2024,·12,·1 | 93 | ············datetime.date(2024,·12,·17) |
94 | ············datetime.date(2024,·12,·1 | 94 | ············datetime.date(2024,·12,·17) |
95 | ············datetime.date(2024,·12,·1 | 95 | ············datetime.date(2024,·12,·17) |
96 | ············datetime.date(2024,·12,·1 | 96 | ············datetime.date(2024,·12,·17) |
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,·5,· | 106 | ············datetime.date(2016,·5,·30) |
107 | ············datetime.date(2011,·8,·29) | 107 | ············datetime.date(2011,·8,·29) |
108 | ············datetime.date(1993,·2,·11) | 108 | ············datetime.date(1993,·2,·11) |
109 | ············datetime.date(1984,·3,·25) | 109 | ············datetime.date(1984,·3,·25) |
110 | ············datetime.date(1998,·2,·6) | 110 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 128 | ············datetime.date(2006,·11,·30) |
129 | ············datetime.date(1996,·11,·1 | 129 | ············datetime.date(1996,·11,·18) |
130 | ············datetime.date(1957,·9,· | 130 | ············datetime.date(1957,·9,·30) |
131 | ············datetime.date(1938,·12,· | 131 | ············datetime.date(1938,·12,·30) |
132 | ············datetime.date(1968,·4,· | 132 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 150 | ············datetime.date(2021,·1,·28) |
151 | ············datetime.date(2018,·12,· | 151 | ············datetime.date(2018,·12,·2) |
152 | ············datetime.date(2010,· | 152 | ············datetime.date(2010,·7,·1) |
153 | ············datetime.date(2006,·6,·18) | 153 | ············datetime.date(2006,·6,·18) |
154 | ············datetime.date(2012,·10,· | 154 | ············datetime.date(2012,·10,·5) |
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 |
160 | ························today | 160 | ························today |
161 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 161 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 165, 19 lines modified | Offset 165, 19 lines modified | ||
165 | ··············Returns: | 165 | ··············Returns: |
166 | ··················Date | 166 | ··················Date |
Max diff block lines reached; 27357/34160 bytes (80.08%) of diff not shown. |
Offset 57, 18 lines modified | Offset 57, 18 lines modified | ||
57 | <dd·class="field-odd"><p></p></dd> | 57 | <dd·class="field-odd"><p></p></dd> |
58 | </dl> | 58 | </dl> |
59 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 59 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
60 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 60 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
61 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 61 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
62 | <span·class="gp">...</span> | 62 | <span·class="gp">...</span> |
63 | <span·class="go">'م'</span> | 63 | <span·class="go">'م'</span> |
64 | <span·class="go">' | 64 | <span·class="go">'م'</span> |
65 | <span·class="go">' | 65 | <span·class="go">'م'</span> |
66 | <span·class="go">' | 66 | <span·class="go">'م'</span> |
67 | <span·class="go">' | 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, 15 lines modified | Offset 109, 15 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-05- | 116 | <span·class="go">'2016-05-30'</span> |
117 | <span·class="go">'2011-08-29'</span> | 117 | <span·class="go">'2011-08-29'</span> |
118 | <span·class="go">'1993-02-11'</span> | 118 | <span·class="go">'1993-02-11'</span> |
119 | <span·class="go">'1984-03-25'</span> | 119 | <span·class="go">'1984-03-25'</span> |
120 | <span·class="go">'1998-02-06'</span> | 120 | <span·class="go">'1998-02-06'</span> |
121 | </pre></div> | 121 | </pre></div> |
122 | </div> | 122 | </div> |
123 | </dd></dl> | 123 | </dd></dl> |
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,·4,·1 | 150 | <span·class="go">datetime.date(2020,·4,·17)</span> |
151 | <span·class="go">datetime.date(2017,·9,·1 | 151 | <span·class="go">datetime.date(2017,·9,·12)</span> |
152 | <span·class="go">datetime.date(2007,·7,· | 152 | <span·class="go">datetime.date(2007,·7,·30)</span> |
153 | <span·class="go">datetime.date(2002,·9,·2 | 153 | <span·class="go">datetime.date(2002,·9,·23)</span> |
154 | <span·class="go">datetime.date(2010,·4,·1 | 154 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 181 | <span·class="go">datetime.date(2024,·12,·17)</span> |
182 | <span·class="go">datetime.date(2024,·12,·1 | 182 | <span·class="go">datetime.date(2024,·12,·17)</span> |
183 | <span·class="go">datetime.date(2024,·12,·1 | 183 | <span·class="go">datetime.date(2024,·12,·17)</span> |
184 | <span·class="go">datetime.date(2024,·12,·1 | 184 | <span·class="go">datetime.date(2024,·12,·17)</span> |
185 | <span·class="go">datetime.date(2024,·12,·1 | 185 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 198, 15 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,·5,· | 205 | <span·class="go">datetime.date(2016,·5,·30)</span> |
206 | <span·class="go">datetime.date(2011,·8,·29)</span> | 206 | <span·class="go">datetime.date(2011,·8,·29)</span> |
207 | <span·class="go">datetime.date(1993,·2,·11)</span> | 207 | <span·class="go">datetime.date(1993,·2,·11)</span> |
208 | <span·class="go">datetime.date(1984,·3,·25)</span> | 208 | <span·class="go">datetime.date(1984,·3,·25)</span> |
209 | <span·class="go">datetime.date(1998,·2,·6)</span> | 209 | <span·class="go">datetime.date(1998,·2,·6)</span> |
210 | </pre></div> | 210 | </pre></div> |
211 | </div> | 211 | </div> |
212 | </dd></dl> | 212 | </dd></dl> |
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,·11,· | 241 | <span·class="go">datetime.date(2006,·11,·30)</span> |
242 | <span·class="go">datetime.date(1996,·11,·1 | 242 | <span·class="go">datetime.date(1996,·11,·18)</span> |
243 | <span·class="go">datetime.date(1957,·9,· | 243 | <span·class="go">datetime.date(1957,·9,·30)</span> |
244 | <span·class="go">datetime.date(1938,·12,· | 244 | <span·class="go">datetime.date(1938,·12,·30)</span> |
245 | <span·class="go">datetime.date(1968,·4,· | 245 | <span·class="go">datetime.date(1968,·4,·8)</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(2021,·1,·2 | 274 | <span·class="go">datetime.date(2021,·1,·28)</span> |
275 | <span·class="go">datetime.date(2018,·12,· | 275 | <span·class="go">datetime.date(2018,·12,·2)</span> |
276 | <span·class="go">datetime.date(2010,· | 276 | <span·class="go">datetime.date(2010,·7,·1)</span> |
277 | <span·class="go">datetime.date(2006,·6,·18)</span> | 277 | <span·class="go">datetime.date(2006,·6,·18)</span> |
278 | <span·class="go">datetime.date(2012,·10,· | 278 | <span·class="go">datetime.date(2012,·10,·5)</span> |
279 | </pre></div> | 279 | </pre></div> |
280 | </div> | 280 | </div> |
281 | </dd></dl> | 281 | </dd></dl> |
Max diff block lines reached; 88950/105821 bytes (84.06%) of diff not shown. |
Offset 12, 18 lines modified | Offset 12, 18 lines modified | ||
12 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 12 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
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 | ············' | 20 | ············'م' |
21 | ············' | 21 | ············'م' |
22 | ············' | 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, 15 lines modified | Offset 43, 15 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-05- | 50 | ············'2016-05-30' |
51 | ············'2011-08-29' | 51 | ············'2011-08-29' |
52 | ············'1993-02-11' | 52 | ············'1993-02-11' |
53 | ············'1984-03-25' | 53 | ············'1984-03-25' |
54 | ············'1998-02-06' | 54 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 72 | ············datetime.date(2020,·4,·17) |
73 | ············datetime.date(2017,·9,·1 | 73 | ············datetime.date(2017,·9,·12) |
74 | ············datetime.date(2007,·7,· | 74 | ············datetime.date(2007,·7,·30) |
75 | ············datetime.date(2002,·9,·2 | 75 | ············datetime.date(2002,·9,·23) |
76 | ············datetime.date(2010,·4,·1 | 76 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 85, 29 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,·12,·1 | 92 | ············datetime.date(2024,·12,·17) |
93 | ············datetime.date(2024,·12,·1 | 93 | ············datetime.date(2024,·12,·17) |
94 | ············datetime.date(2024,·12,·1 | 94 | ············datetime.date(2024,·12,·17) |
95 | ············datetime.date(2024,·12,·1 | 95 | ············datetime.date(2024,·12,·17) |
96 | ············datetime.date(2024,·12,·1 | 96 | ············datetime.date(2024,·12,·17) |
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,·5,· | 106 | ············datetime.date(2016,·5,·30) |
107 | ············datetime.date(2011,·8,·29) | 107 | ············datetime.date(2011,·8,·29) |
108 | ············datetime.date(1993,·2,·11) | 108 | ············datetime.date(1993,·2,·11) |
109 | ············datetime.date(1984,·3,·25) | 109 | ············datetime.date(1984,·3,·25) |
110 | ············datetime.date(1998,·2,·6) | 110 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 128 | ············datetime.date(2006,·11,·30) |
129 | ············datetime.date(1996,·11,·1 | 129 | ············datetime.date(1996,·11,·18) |
130 | ············datetime.date(1957,·9,· | 130 | ············datetime.date(1957,·9,·30) |
131 | ············datetime.date(1938,·12,· | 131 | ············datetime.date(1938,·12,·30) |
132 | ············datetime.date(1968,·4,· | 132 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 150 | ············datetime.date(2021,·1,·28) |
151 | ············datetime.date(2018,·12,· | 151 | ············datetime.date(2018,·12,·2) |
152 | ············datetime.date(2010,· | 152 | ············datetime.date(2010,·7,·1) |
153 | ············datetime.date(2006,·6,·18) | 153 | ············datetime.date(2006,·6,·18) |
154 | ············datetime.date(2012,·10,· | 154 | ············datetime.date(2012,·10,·5) |
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 |
160 | ························today | 160 | ························today |
161 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 161 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 165, 19 lines modified | Offset 165, 19 lines modified | ||
165 | ··············Returns: | 165 | ··············Returns: |
166 | ··················Date | 166 | ··················Date |
Max diff block lines reached; 27368/34171 bytes (80.09%) of diff not shown. |
Offset 1516, 18 lines modified | Offset 1516, 18 lines modified | ||
1516 | <dd·class="field-odd"><p></p></dd> | 1516 | <dd·class="field-odd"><p></p></dd> |
1517 | </dl> | 1517 | </dl> |
1518 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1518 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1519 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1519 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1520 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1520 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1521 | <span·class="gp">...</span> | 1521 | <span·class="gp">...</span> |
1522 | <span·class="go">'PM'</span> | 1522 | <span·class="go">'PM'</span> |
1523 | <span·class="go">' | 1523 | <span·class="go">'PM'</span> |
1524 | <span·class="go">' | 1524 | <span·class="go">'PM'</span> |
1525 | <span·class="go">' | 1525 | <span·class="go">'PM'</span> |
1526 | <span·class="go">' | 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, 15 lines modified | Offset 1568, 15 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-05- | 1575 | <span·class="go">'2016-05-30'</span> |
1576 | <span·class="go">'2011-08-29'</span> | 1576 | <span·class="go">'2011-08-29'</span> |
1577 | <span·class="go">'1993-02-11'</span> | 1577 | <span·class="go">'1993-02-11'</span> |
1578 | <span·class="go">'1984-03-25'</span> | 1578 | <span·class="go">'1984-03-25'</span> |
1579 | <span·class="go">'1998-02-06'</span> | 1579 | <span·class="go">'1998-02-06'</span> |
1580 | </pre></div> | 1580 | </pre></div> |
1581 | </div> | 1581 | </div> |
1582 | </dd></dl> | 1582 | </dd></dl> |
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,·4,·1 | 1609 | <span·class="go">datetime.date(2020,·4,·17)</span> |
1610 | <span·class="go">datetime.date(2017,·9,·1 | 1610 | <span·class="go">datetime.date(2017,·9,·12)</span> |
1611 | <span·class="go">datetime.date(2007,·7,· | 1611 | <span·class="go">datetime.date(2007,·7,·30)</span> |
1612 | <span·class="go">datetime.date(2002,·9,·2 | 1612 | <span·class="go">datetime.date(2002,·9,·23)</span> |
1613 | <span·class="go">datetime.date(2010,·4,·1 | 1613 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 1640 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1641 | <span·class="go">datetime.date(2024,·12,·1 | 1641 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1642 | <span·class="go">datetime.date(2024,·12,·1 | 1642 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1643 | <span·class="go">datetime.date(2024,·12,·1 | 1643 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1644 | <span·class="go">datetime.date(2024,·12,·1 | 1644 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 1657, 15 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,·5,· | 1664 | <span·class="go">datetime.date(2016,·5,·30)</span> |
1665 | <span·class="go">datetime.date(2011,·8,·29)</span> | 1665 | <span·class="go">datetime.date(2011,·8,·29)</span> |
1666 | <span·class="go">datetime.date(1993,·2,·11)</span> | 1666 | <span·class="go">datetime.date(1993,·2,·11)</span> |
1667 | <span·class="go">datetime.date(1984,·3,·25)</span> | 1667 | <span·class="go">datetime.date(1984,·3,·25)</span> |
1668 | <span·class="go">datetime.date(1998,·2,·6)</span> | 1668 | <span·class="go">datetime.date(1998,·2,·6)</span> |
1669 | </pre></div> | 1669 | </pre></div> |
1670 | </div> | 1670 | </div> |
1671 | </dd></dl> | 1671 | </dd></dl> |
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,·11,· | 1700 | <span·class="go">datetime.date(2006,·11,·30)</span> |
1701 | <span·class="go">datetime.date(1996,·11,·1 | 1701 | <span·class="go">datetime.date(1996,·11,·18)</span> |
1702 | <span·class="go">datetime.date(1957,·9,· | 1702 | <span·class="go">datetime.date(1957,·9,·30)</span> |
1703 | <span·class="go">datetime.date(1938,·12,· | 1703 | <span·class="go">datetime.date(1938,·12,·30)</span> |
1704 | <span·class="go">datetime.date(1968,·4,· | 1704 | <span·class="go">datetime.date(1968,·4,·8)</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(2021,·1,·2 | 1733 | <span·class="go">datetime.date(2021,·1,·28)</span> |
1734 | <span·class="go">datetime.date(2018,·12,· | 1734 | <span·class="go">datetime.date(2018,·12,·2)</span> |
1735 | <span·class="go">datetime.date(2010,· | 1735 | <span·class="go">datetime.date(2010,·7,·1)</span> |
1736 | <span·class="go">datetime.date(2006,·6,·18)</span> | 1736 | <span·class="go">datetime.date(2006,·6,·18)</span> |
1737 | <span·class="go">datetime.date(2012,·10,· | 1737 | <span·class="go">datetime.date(2012,·10,·5)</span> |
1738 | </pre></div> | 1738 | </pre></div> |
1739 | </div> | 1739 | </div> |
1740 | </dd></dl> | 1740 | </dd></dl> |
Max diff block lines reached; 88994/105890 bytes (84.04%) of diff not shown. |
Offset 887, 18 lines modified | Offset 887, 18 lines modified | ||
887 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 887 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
888 | ··············Examples: | 888 | ··············Examples: |
889 | ············>>>·Faker.seed(0) | 889 | ············>>>·Faker.seed(0) |
890 | ············>>>·for·_·in·range(5): | 890 | ············>>>·for·_·in·range(5): |
891 | ············...·····fake.am_pm() | 891 | ············...·····fake.am_pm() |
892 | ············... | 892 | ············... |
893 | ············'PM' | 893 | ············'PM' |
894 | ············' | 894 | ············'PM' |
895 | ············' | 895 | ············'PM' |
896 | ············' | 896 | ············'PM' |
897 | ············' | 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, 15 lines modified | Offset 918, 15 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-05- | 925 | ············'2016-05-30' |
926 | ············'2011-08-29' | 926 | ············'2011-08-29' |
927 | ············'1993-02-11' | 927 | ············'1993-02-11' |
928 | ············'1984-03-25' | 928 | ············'1984-03-25' |
929 | ············'1998-02-06' | 929 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 947 | ············datetime.date(2020,·4,·17) |
948 | ············datetime.date(2017,·9,·1 | 948 | ············datetime.date(2017,·9,·12) |
949 | ············datetime.date(2007,·7,· | 949 | ············datetime.date(2007,·7,·30) |
950 | ············datetime.date(2002,·9,·2 | 950 | ············datetime.date(2002,·9,·23) |
951 | ············datetime.date(2010,·4,·1 | 951 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 960, 29 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,·12,·1 | 967 | ············datetime.date(2024,·12,·17) |
968 | ············datetime.date(2024,·12,·1 | 968 | ············datetime.date(2024,·12,·17) |
969 | ············datetime.date(2024,·12,·1 | 969 | ············datetime.date(2024,·12,·17) |
970 | ············datetime.date(2024,·12,·1 | 970 | ············datetime.date(2024,·12,·17) |
971 | ············datetime.date(2024,·12,·1 | 971 | ············datetime.date(2024,·12,·17) |
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,·5,· | 981 | ············datetime.date(2016,·5,·30) |
982 | ············datetime.date(2011,·8,·29) | 982 | ············datetime.date(2011,·8,·29) |
983 | ············datetime.date(1993,·2,·11) | 983 | ············datetime.date(1993,·2,·11) |
984 | ············datetime.date(1984,·3,·25) | 984 | ············datetime.date(1984,·3,·25) |
985 | ············datetime.date(1998,·2,·6) | 985 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 1003 | ············datetime.date(2006,·11,·30) |
1004 | ············datetime.date(1996,·11,·1 | 1004 | ············datetime.date(1996,·11,·18) |
1005 | ············datetime.date(1957,·9,· | 1005 | ············datetime.date(1957,·9,·30) |
1006 | ············datetime.date(1938,·12,· | 1006 | ············datetime.date(1938,·12,·30) |
1007 | ············datetime.date(1968,·4,· | 1007 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 1025 | ············datetime.date(2021,·1,·28) |
1026 | ············datetime.date(2018,·12,· | 1026 | ············datetime.date(2018,·12,·2) |
1027 | ············datetime.date(2010,· | 1027 | ············datetime.date(2010,·7,·1) |
1028 | ············datetime.date(2006,·6,·18) | 1028 | ············datetime.date(2006,·6,·18) |
1029 | ············datetime.date(2012,·10,· | 1029 | ············datetime.date(2012,·10,·5) |
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 |
1035 | ························today | 1035 | ························today |
1036 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 1036 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 1040, 19 lines modified | Offset 1040, 19 lines modified | ||
1040 | ··············Returns: | 1040 | ··············Returns: |
1041 | ··················Date | 1041 | ··················Date |
Max diff block lines reached; 27390/34214 bytes (80.05%) of diff not shown. |
Offset 1481, 18 lines modified | Offset 1481, 18 lines modified | ||
1481 | <dd·class="field-odd"><p></p></dd> | 1481 | <dd·class="field-odd"><p></p></dd> |
1482 | </dl> | 1482 | </dl> |
1483 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1483 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1484 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1484 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1485 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1485 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1486 | <span·class="gp">...</span> | 1486 | <span·class="gp">...</span> |
1487 | <span·class="go">'PM'</span> | 1487 | <span·class="go">'PM'</span> |
1488 | <span·class="go">' | 1488 | <span·class="go">'PM'</span> |
1489 | <span·class="go">' | 1489 | <span·class="go">'PM'</span> |
1490 | <span·class="go">' | 1490 | <span·class="go">'PM'</span> |
1491 | <span·class="go">' | 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, 15 lines modified | Offset 1533, 15 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-05- | 1540 | <span·class="go">'2016-05-30'</span> |
1541 | <span·class="go">'2011-08-29'</span> | 1541 | <span·class="go">'2011-08-29'</span> |
1542 | <span·class="go">'1993-02-11'</span> | 1542 | <span·class="go">'1993-02-11'</span> |
1543 | <span·class="go">'1984-03-25'</span> | 1543 | <span·class="go">'1984-03-25'</span> |
1544 | <span·class="go">'1998-02-06'</span> | 1544 | <span·class="go">'1998-02-06'</span> |
1545 | </pre></div> | 1545 | </pre></div> |
1546 | </div> | 1546 | </div> |
1547 | </dd></dl> | 1547 | </dd></dl> |
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,·4,·1 | 1574 | <span·class="go">datetime.date(2020,·4,·17)</span> |
1575 | <span·class="go">datetime.date(2017,·9,·1 | 1575 | <span·class="go">datetime.date(2017,·9,·12)</span> |
1576 | <span·class="go">datetime.date(2007,·7,· | 1576 | <span·class="go">datetime.date(2007,·7,·30)</span> |
1577 | <span·class="go">datetime.date(2002,·9,·2 | 1577 | <span·class="go">datetime.date(2002,·9,·23)</span> |
1578 | <span·class="go">datetime.date(2010,·4,·1 | 1578 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 1605 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1606 | <span·class="go">datetime.date(2024,·12,·1 | 1606 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1607 | <span·class="go">datetime.date(2024,·12,·1 | 1607 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1608 | <span·class="go">datetime.date(2024,·12,·1 | 1608 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1609 | <span·class="go">datetime.date(2024,·12,·1 | 1609 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 1622, 15 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,·5,· | 1629 | <span·class="go">datetime.date(2016,·5,·30)</span> |
1630 | <span·class="go">datetime.date(2011,·8,·29)</span> | 1630 | <span·class="go">datetime.date(2011,·8,·29)</span> |
1631 | <span·class="go">datetime.date(1993,·2,·11)</span> | 1631 | <span·class="go">datetime.date(1993,·2,·11)</span> |
1632 | <span·class="go">datetime.date(1984,·3,·25)</span> | 1632 | <span·class="go">datetime.date(1984,·3,·25)</span> |
1633 | <span·class="go">datetime.date(1998,·2,·6)</span> | 1633 | <span·class="go">datetime.date(1998,·2,·6)</span> |
1634 | </pre></div> | 1634 | </pre></div> |
1635 | </div> | 1635 | </div> |
1636 | </dd></dl> | 1636 | </dd></dl> |
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,·11,· | 1665 | <span·class="go">datetime.date(2006,·11,·30)</span> |
1666 | <span·class="go">datetime.date(1996,·11,·1 | 1666 | <span·class="go">datetime.date(1996,·11,·18)</span> |
1667 | <span·class="go">datetime.date(1957,·9,· | 1667 | <span·class="go">datetime.date(1957,·9,·30)</span> |
1668 | <span·class="go">datetime.date(1938,·12,· | 1668 | <span·class="go">datetime.date(1938,·12,·30)</span> |
1669 | <span·class="go">datetime.date(1968,·4,· | 1669 | <span·class="go">datetime.date(1968,·4,·8)</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(2021,·1,·2 | 1698 | <span·class="go">datetime.date(2021,·1,·28)</span> |
1699 | <span·class="go">datetime.date(2018,·12,· | 1699 | <span·class="go">datetime.date(2018,·12,·2)</span> |
1700 | <span·class="go">datetime.date(2010,· | 1700 | <span·class="go">datetime.date(2010,·7,·1)</span> |
1701 | <span·class="go">datetime.date(2006,·6,·18)</span> | 1701 | <span·class="go">datetime.date(2006,·6,·18)</span> |
1702 | <span·class="go">datetime.date(2012,·10,· | 1702 | <span·class="go">datetime.date(2012,·10,·5)</span> |
1703 | </pre></div> | 1703 | </pre></div> |
1704 | </div> | 1704 | </div> |
1705 | </dd></dl> | 1705 | </dd></dl> |
Max diff block lines reached; 88984/105880 bytes (84.04%) of diff not shown. |
Offset 868, 18 lines modified | Offset 868, 18 lines modified | ||
868 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 868 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
869 | ··············Examples: | 869 | ··············Examples: |
870 | ············>>>·Faker.seed(0) | 870 | ············>>>·Faker.seed(0) |
871 | ············>>>·for·_·in·range(5): | 871 | ············>>>·for·_·in·range(5): |
872 | ············...·····fake.am_pm() | 872 | ············...·····fake.am_pm() |
873 | ············... | 873 | ············... |
874 | ············'PM' | 874 | ············'PM' |
875 | ············' | 875 | ············'PM' |
876 | ············' | 876 | ············'PM' |
877 | ············' | 877 | ············'PM' |
878 | ············' | 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, 15 lines modified | Offset 899, 15 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-05- | 906 | ············'2016-05-30' |
907 | ············'2011-08-29' | 907 | ············'2011-08-29' |
908 | ············'1993-02-11' | 908 | ············'1993-02-11' |
909 | ············'1984-03-25' | 909 | ············'1984-03-25' |
910 | ············'1998-02-06' | 910 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 928 | ············datetime.date(2020,·4,·17) |
929 | ············datetime.date(2017,·9,·1 | 929 | ············datetime.date(2017,·9,·12) |
930 | ············datetime.date(2007,·7,· | 930 | ············datetime.date(2007,·7,·30) |
931 | ············datetime.date(2002,·9,·2 | 931 | ············datetime.date(2002,·9,·23) |
932 | ············datetime.date(2010,·4,·1 | 932 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 941, 29 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,·12,·1 | 948 | ············datetime.date(2024,·12,·17) |
949 | ············datetime.date(2024,·12,·1 | 949 | ············datetime.date(2024,·12,·17) |
950 | ············datetime.date(2024,·12,·1 | 950 | ············datetime.date(2024,·12,·17) |
951 | ············datetime.date(2024,·12,·1 | 951 | ············datetime.date(2024,·12,·17) |
952 | ············datetime.date(2024,·12,·1 | 952 | ············datetime.date(2024,·12,·17) |
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,·5,· | 962 | ············datetime.date(2016,·5,·30) |
963 | ············datetime.date(2011,·8,·29) | 963 | ············datetime.date(2011,·8,·29) |
964 | ············datetime.date(1993,·2,·11) | 964 | ············datetime.date(1993,·2,·11) |
965 | ············datetime.date(1984,·3,·25) | 965 | ············datetime.date(1984,·3,·25) |
966 | ············datetime.date(1998,·2,·6) | 966 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 984 | ············datetime.date(2006,·11,·30) |
985 | ············datetime.date(1996,·11,·1 | 985 | ············datetime.date(1996,·11,·18) |
986 | ············datetime.date(1957,·9,· | 986 | ············datetime.date(1957,·9,·30) |
987 | ············datetime.date(1938,·12,· | 987 | ············datetime.date(1938,·12,·30) |
988 | ············datetime.date(1968,·4,· | 988 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 1006 | ············datetime.date(2021,·1,·28) |
1007 | ············datetime.date(2018,·12,· | 1007 | ············datetime.date(2018,·12,·2) |
1008 | ············datetime.date(2010,· | 1008 | ············datetime.date(2010,·7,·1) |
1009 | ············datetime.date(2006,·6,·18) | 1009 | ············datetime.date(2006,·6,·18) |
1010 | ············datetime.date(2012,·10,· | 1010 | ············datetime.date(2012,·10,·5) |
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 |
1016 | ························today | 1016 | ························today |
1017 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 1017 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 1021, 19 lines modified | Offset 1021, 19 lines modified | ||
1021 | ··············Returns: | 1021 | ··············Returns: |
1022 | ··················Date | 1022 | ··················Date |
Max diff block lines reached; 27393/34215 bytes (80.06%) of diff not shown. |
Offset 1314, 18 lines modified | Offset 1314, 18 lines modified | ||
1314 | <dd·class="field-odd"><p></p></dd> | 1314 | <dd·class="field-odd"><p></p></dd> |
1315 | </dl> | 1315 | </dl> |
1316 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1316 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1317 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1317 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1318 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1318 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1319 | <span·class="gp">...</span> | 1319 | <span·class="gp">...</span> |
1320 | <span·class="go">'PM'</span> | 1320 | <span·class="go">'PM'</span> |
1321 | <span·class="go">' | 1321 | <span·class="go">'PM'</span> |
1322 | <span·class="go">' | 1322 | <span·class="go">'PM'</span> |
1323 | <span·class="go">' | 1323 | <span·class="go">'PM'</span> |
1324 | <span·class="go">' | 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, 15 lines modified | Offset 1366, 15 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-05- | 1373 | <span·class="go">'2016-05-30'</span> |
1374 | <span·class="go">'2011-08-29'</span> | 1374 | <span·class="go">'2011-08-29'</span> |
1375 | <span·class="go">'1993-02-11'</span> | 1375 | <span·class="go">'1993-02-11'</span> |
1376 | <span·class="go">'1984-03-25'</span> | 1376 | <span·class="go">'1984-03-25'</span> |
1377 | <span·class="go">'1998-02-06'</span> | 1377 | <span·class="go">'1998-02-06'</span> |
1378 | </pre></div> | 1378 | </pre></div> |
1379 | </div> | 1379 | </div> |
1380 | </dd></dl> | 1380 | </dd></dl> |
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,·4,·1 | 1407 | <span·class="go">datetime.date(2020,·4,·17)</span> |
1408 | <span·class="go">datetime.date(2017,·9,·1 | 1408 | <span·class="go">datetime.date(2017,·9,·12)</span> |
1409 | <span·class="go">datetime.date(2007,·7,· | 1409 | <span·class="go">datetime.date(2007,·7,·30)</span> |
1410 | <span·class="go">datetime.date(2002,·9,·2 | 1410 | <span·class="go">datetime.date(2002,·9,·23)</span> |
1411 | <span·class="go">datetime.date(2010,·4,·1 | 1411 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 1438 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1439 | <span·class="go">datetime.date(2024,·12,·1 | 1439 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1440 | <span·class="go">datetime.date(2024,·12,·1 | 1440 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1441 | <span·class="go">datetime.date(2024,·12,·1 | 1441 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1442 | <span·class="go">datetime.date(2024,·12,·1 | 1442 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 1455, 15 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,·5,· | 1462 | <span·class="go">datetime.date(2016,·5,·30)</span> |
1463 | <span·class="go">datetime.date(2011,·8,·29)</span> | 1463 | <span·class="go">datetime.date(2011,·8,·29)</span> |
1464 | <span·class="go">datetime.date(1993,·2,·11)</span> | 1464 | <span·class="go">datetime.date(1993,·2,·11)</span> |
1465 | <span·class="go">datetime.date(1984,·3,·25)</span> | 1465 | <span·class="go">datetime.date(1984,·3,·25)</span> |
1466 | <span·class="go">datetime.date(1998,·2,·6)</span> | 1466 | <span·class="go">datetime.date(1998,·2,·6)</span> |
1467 | </pre></div> | 1467 | </pre></div> |
1468 | </div> | 1468 | </div> |
1469 | </dd></dl> | 1469 | </dd></dl> |
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,·11,· | 1498 | <span·class="go">datetime.date(2006,·11,·30)</span> |
1499 | <span·class="go">datetime.date(1996,·11,·1 | 1499 | <span·class="go">datetime.date(1996,·11,·18)</span> |
1500 | <span·class="go">datetime.date(1957,·9,· | 1500 | <span·class="go">datetime.date(1957,·9,·30)</span> |
1501 | <span·class="go">datetime.date(1938,·12,· | 1501 | <span·class="go">datetime.date(1938,·12,·30)</span> |
1502 | <span·class="go">datetime.date(1968,·4,· | 1502 | <span·class="go">datetime.date(1968,·4,·8)</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(2021,·1,·2 | 1531 | <span·class="go">datetime.date(2021,·1,·28)</span> |
1532 | <span·class="go">datetime.date(2018,·12,· | 1532 | <span·class="go">datetime.date(2018,·12,·2)</span> |
1533 | <span·class="go">datetime.date(2010,· | 1533 | <span·class="go">datetime.date(2010,·7,·1)</span> |
1534 | <span·class="go">datetime.date(2006,·6,·18)</span> | 1534 | <span·class="go">datetime.date(2006,·6,·18)</span> |
1535 | <span·class="go">datetime.date(2012,·10,· | 1535 | <span·class="go">datetime.date(2012,·10,·5)</span> |
1536 | </pre></div> | 1536 | </pre></div> |
1537 | </div> | 1537 | </div> |
1538 | </dd></dl> | 1538 | </dd></dl> |
Max diff block lines reached; 90894/107790 bytes (84.33%) of diff not shown. |
Offset 773, 18 lines modified | Offset 773, 18 lines modified | ||
773 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 773 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
774 | ··············Examples: | 774 | ··············Examples: |
775 | ············>>>·Faker.seed(0) | 775 | ············>>>·Faker.seed(0) |
776 | ············>>>·for·_·in·range(5): | 776 | ············>>>·for·_·in·range(5): |
777 | ············...·····fake.am_pm() | 777 | ············...·····fake.am_pm() |
778 | ············... | 778 | ············... |
779 | ············'PM' | 779 | ············'PM' |
780 | ············' | 780 | ············'PM' |
781 | ············' | 781 | ············'PM' |
782 | ············' | 782 | ············'PM' |
783 | ············' | 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, 15 lines modified | Offset 804, 15 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-05- | 811 | ············'2016-05-30' |
812 | ············'2011-08-29' | 812 | ············'2011-08-29' |
813 | ············'1993-02-11' | 813 | ············'1993-02-11' |
814 | ············'1984-03-25' | 814 | ············'1984-03-25' |
815 | ············'1998-02-06' | 815 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 833 | ············datetime.date(2020,·4,·17) |
834 | ············datetime.date(2017,·9,·1 | 834 | ············datetime.date(2017,·9,·12) |
835 | ············datetime.date(2007,·7,· | 835 | ············datetime.date(2007,·7,·30) |
836 | ············datetime.date(2002,·9,·2 | 836 | ············datetime.date(2002,·9,·23) |
837 | ············datetime.date(2010,·4,·1 | 837 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 846, 29 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,·12,·1 | 853 | ············datetime.date(2024,·12,·17) |
854 | ············datetime.date(2024,·12,·1 | 854 | ············datetime.date(2024,·12,·17) |
855 | ············datetime.date(2024,·12,·1 | 855 | ············datetime.date(2024,·12,·17) |
856 | ············datetime.date(2024,·12,·1 | 856 | ············datetime.date(2024,·12,·17) |
857 | ············datetime.date(2024,·12,·1 | 857 | ············datetime.date(2024,·12,·17) |
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,·5,· | 867 | ············datetime.date(2016,·5,·30) |
868 | ············datetime.date(2011,·8,·29) | 868 | ············datetime.date(2011,·8,·29) |
869 | ············datetime.date(1993,·2,·11) | 869 | ············datetime.date(1993,·2,·11) |
870 | ············datetime.date(1984,·3,·25) | 870 | ············datetime.date(1984,·3,·25) |
871 | ············datetime.date(1998,·2,·6) | 871 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 889 | ············datetime.date(2006,·11,·30) |
890 | ············datetime.date(1996,·11,·1 | 890 | ············datetime.date(1996,·11,·18) |
891 | ············datetime.date(1957,·9,· | 891 | ············datetime.date(1957,·9,·30) |
892 | ············datetime.date(1938,·12,· | 892 | ············datetime.date(1938,·12,·30) |
893 | ············datetime.date(1968,·4,· | 893 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 911 | ············datetime.date(2021,·1,·28) |
912 | ············datetime.date(2018,·12,· | 912 | ············datetime.date(2018,·12,·2) |
913 | ············datetime.date(2010,· | 913 | ············datetime.date(2010,·7,·1) |
914 | ············datetime.date(2006,·6,·18) | 914 | ············datetime.date(2006,·6,·18) |
915 | ············datetime.date(2012,·10,· | 915 | ············datetime.date(2012,·10,·5) |
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 |
921 | ························today | 921 | ························today |
922 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 922 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 926, 19 lines modified | Offset 926, 19 lines modified | ||
926 | ··············Returns: | 926 | ··············Returns: |
927 | ··················Date | 927 | ··················Date |
Max diff block lines reached; 28263/35083 bytes (80.56%) of diff not shown. |
Offset 1327, 18 lines modified | Offset 1327, 18 lines modified | ||
1327 | <dd·class="field-odd"><p></p></dd> | 1327 | <dd·class="field-odd"><p></p></dd> |
1328 | </dl> | 1328 | </dl> |
1329 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1329 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1330 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1330 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1331 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1331 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1332 | <span·class="gp">...</span> | 1332 | <span·class="gp">...</span> |
1333 | <span·class="go">'PM'</span> | 1333 | <span·class="go">'PM'</span> |
1334 | <span·class="go">' | 1334 | <span·class="go">'PM'</span> |
1335 | <span·class="go">' | 1335 | <span·class="go">'PM'</span> |
1336 | <span·class="go">' | 1336 | <span·class="go">'PM'</span> |
1337 | <span·class="go">' | 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, 15 lines modified | Offset 1379, 15 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-05- | 1386 | <span·class="go">'2016-05-30'</span> |
1387 | <span·class="go">'2011-08-29'</span> | 1387 | <span·class="go">'2011-08-29'</span> |
1388 | <span·class="go">'1993-02-11'</span> | 1388 | <span·class="go">'1993-02-11'</span> |
1389 | <span·class="go">'1984-03-25'</span> | 1389 | <span·class="go">'1984-03-25'</span> |
1390 | <span·class="go">'1998-02-06'</span> | 1390 | <span·class="go">'1998-02-06'</span> |
1391 | </pre></div> | 1391 | </pre></div> |
1392 | </div> | 1392 | </div> |
1393 | </dd></dl> | 1393 | </dd></dl> |
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,·4,·1 | 1420 | <span·class="go">datetime.date(2020,·4,·17)</span> |
1421 | <span·class="go">datetime.date(2017,·9,·1 | 1421 | <span·class="go">datetime.date(2017,·9,·12)</span> |
1422 | <span·class="go">datetime.date(2007,·7,· | 1422 | <span·class="go">datetime.date(2007,·7,·30)</span> |
1423 | <span·class="go">datetime.date(2002,·9,·2 | 1423 | <span·class="go">datetime.date(2002,·9,·23)</span> |
1424 | <span·class="go">datetime.date(2010,·4,·1 | 1424 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 1451 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1452 | <span·class="go">datetime.date(2024,·12,·1 | 1452 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1453 | <span·class="go">datetime.date(2024,·12,·1 | 1453 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1454 | <span·class="go">datetime.date(2024,·12,·1 | 1454 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1455 | <span·class="go">datetime.date(2024,·12,·1 | 1455 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 1468, 15 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,·5,· | 1475 | <span·class="go">datetime.date(2016,·5,·30)</span> |
1476 | <span·class="go">datetime.date(2011,·8,·29)</span> | 1476 | <span·class="go">datetime.date(2011,·8,·29)</span> |
1477 | <span·class="go">datetime.date(1993,·2,·11)</span> | 1477 | <span·class="go">datetime.date(1993,·2,·11)</span> |
1478 | <span·class="go">datetime.date(1984,·3,·25)</span> | 1478 | <span·class="go">datetime.date(1984,·3,·25)</span> |
1479 | <span·class="go">datetime.date(1998,·2,·6)</span> | 1479 | <span·class="go">datetime.date(1998,·2,·6)</span> |
1480 | </pre></div> | 1480 | </pre></div> |
1481 | </div> | 1481 | </div> |
1482 | </dd></dl> | 1482 | </dd></dl> |
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,·11,· | 1511 | <span·class="go">datetime.date(2006,·11,·30)</span> |
1512 | <span·class="go">datetime.date(1996,·11,·1 | 1512 | <span·class="go">datetime.date(1996,·11,·18)</span> |
1513 | <span·class="go">datetime.date(1957,·9,· | 1513 | <span·class="go">datetime.date(1957,·9,·30)</span> |
1514 | <span·class="go">datetime.date(1938,·12,· | 1514 | <span·class="go">datetime.date(1938,·12,·30)</span> |
1515 | <span·class="go">datetime.date(1968,·4,· | 1515 | <span·class="go">datetime.date(1968,·4,·8)</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(2021,·1,·2 | 1544 | <span·class="go">datetime.date(2021,·1,·28)</span> |
1545 | <span·class="go">datetime.date(2018,·12,· | 1545 | <span·class="go">datetime.date(2018,·12,·2)</span> |
1546 | <span·class="go">datetime.date(2010,· | 1546 | <span·class="go">datetime.date(2010,·7,·1)</span> |
1547 | <span·class="go">datetime.date(2006,·6,·18)</span> | 1547 | <span·class="go">datetime.date(2006,·6,·18)</span> |
1548 | <span·class="go">datetime.date(2012,·10,· | 1548 | <span·class="go">datetime.date(2012,·10,·5)</span> |
1549 | </pre></div> | 1549 | </pre></div> |
1550 | </div> | 1550 | </div> |
1551 | </dd></dl> | 1551 | </dd></dl> |
Max diff block lines reached; 88992/105888 bytes (84.04%) of diff not shown. |
Offset 781, 18 lines modified | Offset 781, 18 lines modified | ||
781 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 781 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
782 | ··············Examples: | 782 | ··············Examples: |
783 | ············>>>·Faker.seed(0) | 783 | ············>>>·Faker.seed(0) |
784 | ············>>>·for·_·in·range(5): | 784 | ············>>>·for·_·in·range(5): |
785 | ············...·····fake.am_pm() | 785 | ············...·····fake.am_pm() |
786 | ············... | 786 | ············... |
787 | ············'PM' | 787 | ············'PM' |
788 | ············' | 788 | ············'PM' |
789 | ············' | 789 | ············'PM' |
790 | ············' | 790 | ············'PM' |
791 | ············' | 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, 15 lines modified | Offset 812, 15 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-05- | 819 | ············'2016-05-30' |
820 | ············'2011-08-29' | 820 | ············'2011-08-29' |
821 | ············'1993-02-11' | 821 | ············'1993-02-11' |
822 | ············'1984-03-25' | 822 | ············'1984-03-25' |
823 | ············'1998-02-06' | 823 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 841 | ············datetime.date(2020,·4,·17) |
842 | ············datetime.date(2017,·9,·1 | 842 | ············datetime.date(2017,·9,·12) |
843 | ············datetime.date(2007,·7,· | 843 | ············datetime.date(2007,·7,·30) |
844 | ············datetime.date(2002,·9,·2 | 844 | ············datetime.date(2002,·9,·23) |
845 | ············datetime.date(2010,·4,·1 | 845 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 854, 29 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,·12,·1 | 861 | ············datetime.date(2024,·12,·17) |
862 | ············datetime.date(2024,·12,·1 | 862 | ············datetime.date(2024,·12,·17) |
863 | ············datetime.date(2024,·12,·1 | 863 | ············datetime.date(2024,·12,·17) |
864 | ············datetime.date(2024,·12,·1 | 864 | ············datetime.date(2024,·12,·17) |
865 | ············datetime.date(2024,·12,·1 | 865 | ············datetime.date(2024,·12,·17) |
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,·5,· | 875 | ············datetime.date(2016,·5,·30) |
876 | ············datetime.date(2011,·8,·29) | 876 | ············datetime.date(2011,·8,·29) |
877 | ············datetime.date(1993,·2,·11) | 877 | ············datetime.date(1993,·2,·11) |
878 | ············datetime.date(1984,·3,·25) | 878 | ············datetime.date(1984,·3,·25) |
879 | ············datetime.date(1998,·2,·6) | 879 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 897 | ············datetime.date(2006,·11,·30) |
898 | ············datetime.date(1996,·11,·1 | 898 | ············datetime.date(1996,·11,·18) |
899 | ············datetime.date(1957,·9,· | 899 | ············datetime.date(1957,·9,·30) |
900 | ············datetime.date(1938,·12,· | 900 | ············datetime.date(1938,·12,·30) |
901 | ············datetime.date(1968,·4,· | 901 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 919 | ············datetime.date(2021,·1,·28) |
920 | ············datetime.date(2018,·12,· | 920 | ············datetime.date(2018,·12,·2) |
921 | ············datetime.date(2010,· | 921 | ············datetime.date(2010,·7,·1) |
922 | ············datetime.date(2006,·6,·18) | 922 | ············datetime.date(2006,·6,·18) |
923 | ············datetime.date(2012,·10,· | 923 | ············datetime.date(2012,·10,·5) |
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 |
929 | ························today | 929 | ························today |
930 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 930 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 934, 19 lines modified | Offset 934, 19 lines modified | ||
934 | ··············Returns: | 934 | ··············Returns: |
935 | ··················Date | 935 | ··················Date |
Max diff block lines reached; 27384/34204 bytes (80.06%) of diff not shown. |
Offset 893, 18 lines modified | Offset 893, 18 lines modified | ||
893 | <dd·class="field-odd"><p></p></dd> | 893 | <dd·class="field-odd"><p></p></dd> |
894 | </dl> | 894 | </dl> |
895 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 895 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
896 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 896 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
897 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 897 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
898 | <span·class="gp">...</span> | 898 | <span·class="gp">...</span> |
899 | <span·class="go">'PM'</span> | 899 | <span·class="go">'PM'</span> |
900 | <span·class="go">' | 900 | <span·class="go">'PM'</span> |
901 | <span·class="go">' | 901 | <span·class="go">'PM'</span> |
902 | <span·class="go">' | 902 | <span·class="go">'PM'</span> |
903 | <span·class="go">' | 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, 15 lines modified | Offset 945, 15 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-05- | 952 | <span·class="go">'2016-05-30'</span> |
953 | <span·class="go">'2011-08-29'</span> | 953 | <span·class="go">'2011-08-29'</span> |
954 | <span·class="go">'1993-02-11'</span> | 954 | <span·class="go">'1993-02-11'</span> |
955 | <span·class="go">'1984-03-25'</span> | 955 | <span·class="go">'1984-03-25'</span> |
956 | <span·class="go">'1998-02-06'</span> | 956 | <span·class="go">'1998-02-06'</span> |
957 | </pre></div> | 957 | </pre></div> |
958 | </div> | 958 | </div> |
959 | </dd></dl> | 959 | </dd></dl> |
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,·4,·1 | 986 | <span·class="go">datetime.date(2020,·4,·17)</span> |
987 | <span·class="go">datetime.date(2017,·9,·1 | 987 | <span·class="go">datetime.date(2017,·9,·12)</span> |
988 | <span·class="go">datetime.date(2007,·7,· | 988 | <span·class="go">datetime.date(2007,·7,·30)</span> |
989 | <span·class="go">datetime.date(2002,·9,·2 | 989 | <span·class="go">datetime.date(2002,·9,·23)</span> |
990 | <span·class="go">datetime.date(2010,·4,·1 | 990 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 1017 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1018 | <span·class="go">datetime.date(2024,·12,·1 | 1018 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1019 | <span·class="go">datetime.date(2024,·12,·1 | 1019 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1020 | <span·class="go">datetime.date(2024,·12,·1 | 1020 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1021 | <span·class="go">datetime.date(2024,·12,·1 | 1021 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 1034, 15 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,·5,· | 1041 | <span·class="go">datetime.date(2016,·5,·30)</span> |
1042 | <span·class="go">datetime.date(2011,·8,·29)</span> | 1042 | <span·class="go">datetime.date(2011,·8,·29)</span> |
1043 | <span·class="go">datetime.date(1993,·2,·11)</span> | 1043 | <span·class="go">datetime.date(1993,·2,·11)</span> |
1044 | <span·class="go">datetime.date(1984,·3,·25)</span> | 1044 | <span·class="go">datetime.date(1984,·3,·25)</span> |
1045 | <span·class="go">datetime.date(1998,·2,·6)</span> | 1045 | <span·class="go">datetime.date(1998,·2,·6)</span> |
1046 | </pre></div> | 1046 | </pre></div> |
1047 | </div> | 1047 | </div> |
1048 | </dd></dl> | 1048 | </dd></dl> |
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,·11,· | 1077 | <span·class="go">datetime.date(2006,·11,·30)</span> |
1078 | <span·class="go">datetime.date(1996,·11,·1 | 1078 | <span·class="go">datetime.date(1996,·11,·18)</span> |
1079 | <span·class="go">datetime.date(1957,·9,· | 1079 | <span·class="go">datetime.date(1957,·9,·30)</span> |
1080 | <span·class="go">datetime.date(1938,·12,· | 1080 | <span·class="go">datetime.date(1938,·12,·30)</span> |
1081 | <span·class="go">datetime.date(1968,·4,· | 1081 | <span·class="go">datetime.date(1968,·4,·8)</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(2021,·1,·2 | 1110 | <span·class="go">datetime.date(2021,·1,·28)</span> |
1111 | <span·class="go">datetime.date(2018,·12,· | 1111 | <span·class="go">datetime.date(2018,·12,·2)</span> |
1112 | <span·class="go">datetime.date(2010,· | 1112 | <span·class="go">datetime.date(2010,·7,·1)</span> |
1113 | <span·class="go">datetime.date(2006,·6,·18)</span> | 1113 | <span·class="go">datetime.date(2006,·6,·18)</span> |
1114 | <span·class="go">datetime.date(2012,·10,· | 1114 | <span·class="go">datetime.date(2012,·10,·5)</span> |
1115 | </pre></div> | 1115 | </pre></div> |
1116 | </div> | 1116 | </div> |
1117 | </dd></dl> | 1117 | </dd></dl> |
Max diff block lines reached; 88993/105883 bytes (84.05%) of diff not shown. |
Offset 509, 18 lines modified | Offset 509, 18 lines modified | ||
509 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 509 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
510 | ··············Examples: | 510 | ··············Examples: |
511 | ············>>>·Faker.seed(0) | 511 | ············>>>·Faker.seed(0) |
512 | ············>>>·for·_·in·range(5): | 512 | ············>>>·for·_·in·range(5): |
513 | ············...·····fake.am_pm() | 513 | ············...·····fake.am_pm() |
514 | ············... | 514 | ············... |
515 | ············'PM' | 515 | ············'PM' |
516 | ············' | 516 | ············'PM' |
517 | ············' | 517 | ············'PM' |
518 | ············' | 518 | ············'PM' |
519 | ············' | 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, 15 lines modified | Offset 540, 15 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-05- | 547 | ············'2016-05-30' |
548 | ············'2011-08-29' | 548 | ············'2011-08-29' |
549 | ············'1993-02-11' | 549 | ············'1993-02-11' |
550 | ············'1984-03-25' | 550 | ············'1984-03-25' |
551 | ············'1998-02-06' | 551 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 569 | ············datetime.date(2020,·4,·17) |
570 | ············datetime.date(2017,·9,·1 | 570 | ············datetime.date(2017,·9,·12) |
571 | ············datetime.date(2007,·7,· | 571 | ············datetime.date(2007,·7,·30) |
572 | ············datetime.date(2002,·9,·2 | 572 | ············datetime.date(2002,·9,·23) |
573 | ············datetime.date(2010,·4,·1 | 573 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 582, 29 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,·12,·1 | 589 | ············datetime.date(2024,·12,·17) |
590 | ············datetime.date(2024,·12,·1 | 590 | ············datetime.date(2024,·12,·17) |
591 | ············datetime.date(2024,·12,·1 | 591 | ············datetime.date(2024,·12,·17) |
592 | ············datetime.date(2024,·12,·1 | 592 | ············datetime.date(2024,·12,·17) |
593 | ············datetime.date(2024,·12,·1 | 593 | ············datetime.date(2024,·12,·17) |
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,·5,· | 603 | ············datetime.date(2016,·5,·30) |
604 | ············datetime.date(2011,·8,·29) | 604 | ············datetime.date(2011,·8,·29) |
605 | ············datetime.date(1993,·2,·11) | 605 | ············datetime.date(1993,·2,·11) |
606 | ············datetime.date(1984,·3,·25) | 606 | ············datetime.date(1984,·3,·25) |
607 | ············datetime.date(1998,·2,·6) | 607 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 625 | ············datetime.date(2006,·11,·30) |
626 | ············datetime.date(1996,·11,·1 | 626 | ············datetime.date(1996,·11,·18) |
627 | ············datetime.date(1957,·9,· | 627 | ············datetime.date(1957,·9,·30) |
628 | ············datetime.date(1938,·12,· | 628 | ············datetime.date(1938,·12,·30) |
629 | ············datetime.date(1968,·4,· | 629 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 647 | ············datetime.date(2021,·1,·28) |
648 | ············datetime.date(2018,·12,· | 648 | ············datetime.date(2018,·12,·2) |
649 | ············datetime.date(2010,· | 649 | ············datetime.date(2010,·7,·1) |
650 | ············datetime.date(2006,·6,·18) | 650 | ············datetime.date(2006,·6,·18) |
651 | ············datetime.date(2012,·10,· | 651 | ············datetime.date(2012,·10,·5) |
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 |
657 | ························today | 657 | ························today |
658 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 658 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 662, 19 lines modified | Offset 662, 19 lines modified | ||
662 | ··············Returns: | 662 | ··············Returns: |
663 | ··················Date | 663 | ··················Date |
Max diff block lines reached; 27365/34185 bytes (80.05%) of diff not shown. |
Offset 1054, 18 lines modified | Offset 1054, 18 lines modified | ||
1054 | <dd·class="field-odd"><p></p></dd> | 1054 | <dd·class="field-odd"><p></p></dd> |
1055 | </dl> | 1055 | </dl> |
1056 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1056 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1057 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1057 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1058 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1058 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1059 | <span·class="gp">...</span> | 1059 | <span·class="gp">...</span> |
1060 | <span·class="go">'PM'</span> | 1060 | <span·class="go">'PM'</span> |
1061 | <span·class="go">' | 1061 | <span·class="go">'PM'</span> |
1062 | <span·class="go">' | 1062 | <span·class="go">'PM'</span> |
1063 | <span·class="go">' | 1063 | <span·class="go">'PM'</span> |
1064 | <span·class="go">' | 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, 15 lines modified | Offset 1106, 15 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-05- | 1113 | <span·class="go">'2016-05-30'</span> |
1114 | <span·class="go">'2011-08-29'</span> | 1114 | <span·class="go">'2011-08-29'</span> |
1115 | <span·class="go">'1993-02-11'</span> | 1115 | <span·class="go">'1993-02-11'</span> |
1116 | <span·class="go">'1984-03-25'</span> | 1116 | <span·class="go">'1984-03-25'</span> |
1117 | <span·class="go">'1998-02-06'</span> | 1117 | <span·class="go">'1998-02-06'</span> |
1118 | </pre></div> | 1118 | </pre></div> |
1119 | </div> | 1119 | </div> |
1120 | </dd></dl> | 1120 | </dd></dl> |
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,·4,·1 | 1147 | <span·class="go">datetime.date(2020,·4,·17)</span> |
1148 | <span·class="go">datetime.date(2017,·9,·1 | 1148 | <span·class="go">datetime.date(2017,·9,·12)</span> |
1149 | <span·class="go">datetime.date(2007,·7,· | 1149 | <span·class="go">datetime.date(2007,·7,·30)</span> |
1150 | <span·class="go">datetime.date(2002,·9,·2 | 1150 | <span·class="go">datetime.date(2002,·9,·23)</span> |
1151 | <span·class="go">datetime.date(2010,·4,·1 | 1151 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 1178 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1179 | <span·class="go">datetime.date(2024,·12,·1 | 1179 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1180 | <span·class="go">datetime.date(2024,·12,·1 | 1180 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1181 | <span·class="go">datetime.date(2024,·12,·1 | 1181 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1182 | <span·class="go">datetime.date(2024,·12,·1 | 1182 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 1195, 15 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,·5,· | 1202 | <span·class="go">datetime.date(2016,·5,·30)</span> |
1203 | <span·class="go">datetime.date(2011,·8,·29)</span> | 1203 | <span·class="go">datetime.date(2011,·8,·29)</span> |
1204 | <span·class="go">datetime.date(1993,·2,·11)</span> | 1204 | <span·class="go">datetime.date(1993,·2,·11)</span> |
1205 | <span·class="go">datetime.date(1984,·3,·25)</span> | 1205 | <span·class="go">datetime.date(1984,·3,·25)</span> |
1206 | <span·class="go">datetime.date(1998,·2,·6)</span> | 1206 | <span·class="go">datetime.date(1998,·2,·6)</span> |
1207 | </pre></div> | 1207 | </pre></div> |
1208 | </div> | 1208 | </div> |
1209 | </dd></dl> | 1209 | </dd></dl> |
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,·11,· | 1238 | <span·class="go">datetime.date(2006,·11,·30)</span> |
1239 | <span·class="go">datetime.date(1996,·11,·1 | 1239 | <span·class="go">datetime.date(1996,·11,·18)</span> |
1240 | <span·class="go">datetime.date(1957,·9,· | 1240 | <span·class="go">datetime.date(1957,·9,·30)</span> |
1241 | <span·class="go">datetime.date(1938,·12,· | 1241 | <span·class="go">datetime.date(1938,·12,·30)</span> |
1242 | <span·class="go">datetime.date(1968,·4,· | 1242 | <span·class="go">datetime.date(1968,·4,·8)</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(2021,·1,·2 | 1271 | <span·class="go">datetime.date(2021,·1,·28)</span> |
1272 | <span·class="go">datetime.date(2018,·12,· | 1272 | <span·class="go">datetime.date(2018,·12,·2)</span> |
1273 | <span·class="go">datetime.date(2010,· | 1273 | <span·class="go">datetime.date(2010,·7,·1)</span> |
1274 | <span·class="go">datetime.date(2006,·6,·18)</span> | 1274 | <span·class="go">datetime.date(2006,·6,·18)</span> |
1275 | <span·class="go">datetime.date(2012,·10,· | 1275 | <span·class="go">datetime.date(2012,·10,·5)</span> |
1276 | </pre></div> | 1276 | </pre></div> |
1277 | </div> | 1277 | </div> |
1278 | </dd></dl> | 1278 | </dd></dl> |
Max diff block lines reached; 89002/105898 bytes (84.05%) of diff not shown. |
Offset 596, 18 lines modified | Offset 596, 18 lines modified | ||
596 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 596 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
597 | ··············Examples: | 597 | ··············Examples: |
598 | ············>>>·Faker.seed(0) | 598 | ············>>>·Faker.seed(0) |
599 | ············>>>·for·_·in·range(5): | 599 | ············>>>·for·_·in·range(5): |
600 | ············...·····fake.am_pm() | 600 | ············...·····fake.am_pm() |
601 | ············... | 601 | ············... |
602 | ············'PM' | 602 | ············'PM' |
603 | ············' | 603 | ············'PM' |
604 | ············' | 604 | ············'PM' |
605 | ············' | 605 | ············'PM' |
606 | ············' | 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, 15 lines modified | Offset 627, 15 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-05- | 634 | ············'2016-05-30' |
635 | ············'2011-08-29' | 635 | ············'2011-08-29' |
636 | ············'1993-02-11' | 636 | ············'1993-02-11' |
637 | ············'1984-03-25' | 637 | ············'1984-03-25' |
638 | ············'1998-02-06' | 638 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 656 | ············datetime.date(2020,·4,·17) |
657 | ············datetime.date(2017,·9,·1 | 657 | ············datetime.date(2017,·9,·12) |
658 | ············datetime.date(2007,·7,· | 658 | ············datetime.date(2007,·7,·30) |
659 | ············datetime.date(2002,·9,·2 | 659 | ············datetime.date(2002,·9,·23) |
660 | ············datetime.date(2010,·4,·1 | 660 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 669, 29 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,·12,·1 | 676 | ············datetime.date(2024,·12,·17) |
677 | ············datetime.date(2024,·12,·1 | 677 | ············datetime.date(2024,·12,·17) |
678 | ············datetime.date(2024,·12,·1 | 678 | ············datetime.date(2024,·12,·17) |
679 | ············datetime.date(2024,·12,·1 | 679 | ············datetime.date(2024,·12,·17) |
680 | ············datetime.date(2024,·12,·1 | 680 | ············datetime.date(2024,·12,·17) |
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,·5,· | 690 | ············datetime.date(2016,·5,·30) |
691 | ············datetime.date(2011,·8,·29) | 691 | ············datetime.date(2011,·8,·29) |
692 | ············datetime.date(1993,·2,·11) | 692 | ············datetime.date(1993,·2,·11) |
693 | ············datetime.date(1984,·3,·25) | 693 | ············datetime.date(1984,·3,·25) |
694 | ············datetime.date(1998,·2,·6) | 694 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 712 | ············datetime.date(2006,·11,·30) |
713 | ············datetime.date(1996,·11,·1 | 713 | ············datetime.date(1996,·11,·18) |
714 | ············datetime.date(1957,·9,· | 714 | ············datetime.date(1957,·9,·30) |
715 | ············datetime.date(1938,·12,· | 715 | ············datetime.date(1938,·12,·30) |
716 | ············datetime.date(1968,·4,· | 716 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 734 | ············datetime.date(2021,·1,·28) |
735 | ············datetime.date(2018,·12,· | 735 | ············datetime.date(2018,·12,·2) |
736 | ············datetime.date(2010,· | 736 | ············datetime.date(2010,·7,·1) |
737 | ············datetime.date(2006,·6,·18) | 737 | ············datetime.date(2006,·6,·18) |
738 | ············datetime.date(2012,·10,· | 738 | ············datetime.date(2012,·10,·5) |
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 |
744 | ························today | 744 | ························today |
745 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 745 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 749, 19 lines modified | Offset 749, 19 lines modified | ||
749 | ··············Returns: | 749 | ··············Returns: |
750 | ··················Date | 750 | ··················Date |
Max diff block lines reached; 27380/34200 bytes (80.06%) of diff not shown. |
Offset 1386, 18 lines modified | Offset 1386, 18 lines modified | ||
1386 | <dd·class="field-odd"><p></p></dd> | 1386 | <dd·class="field-odd"><p></p></dd> |
1387 | </dl> | 1387 | </dl> |
1388 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1388 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1389 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1389 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1390 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1390 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1391 | <span·class="gp">...</span> | 1391 | <span·class="gp">...</span> |
1392 | <span·class="go">'PM'</span> | 1392 | <span·class="go">'PM'</span> |
1393 | <span·class="go">' | 1393 | <span·class="go">'PM'</span> |
1394 | <span·class="go">' | 1394 | <span·class="go">'PM'</span> |
1395 | <span·class="go">' | 1395 | <span·class="go">'PM'</span> |
1396 | <span·class="go">' | 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, 15 lines modified | Offset 1438, 15 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-05- | 1445 | <span·class="go">'2016-05-30'</span> |
1446 | <span·class="go">'2011-08-29'</span> | 1446 | <span·class="go">'2011-08-29'</span> |
1447 | <span·class="go">'1993-02-11'</span> | 1447 | <span·class="go">'1993-02-11'</span> |
1448 | <span·class="go">'1984-03-25'</span> | 1448 | <span·class="go">'1984-03-25'</span> |
1449 | <span·class="go">'1998-02-06'</span> | 1449 | <span·class="go">'1998-02-06'</span> |
1450 | </pre></div> | 1450 | </pre></div> |
1451 | </div> | 1451 | </div> |
1452 | </dd></dl> | 1452 | </dd></dl> |
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,·4,·1 | 1479 | <span·class="go">datetime.date(2020,·4,·17)</span> |
1480 | <span·class="go">datetime.date(2017,·9,·1 | 1480 | <span·class="go">datetime.date(2017,·9,·12)</span> |
1481 | <span·class="go">datetime.date(2007,·7,· | 1481 | <span·class="go">datetime.date(2007,·7,·30)</span> |
1482 | <span·class="go">datetime.date(2002,·9,·2 | 1482 | <span·class="go">datetime.date(2002,·9,·23)</span> |
1483 | <span·class="go">datetime.date(2010,·4,·1 | 1483 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 1510 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1511 | <span·class="go">datetime.date(2024,·12,·1 | 1511 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1512 | <span·class="go">datetime.date(2024,·12,·1 | 1512 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1513 | <span·class="go">datetime.date(2024,·12,·1 | 1513 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1514 | <span·class="go">datetime.date(2024,·12,·1 | 1514 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 1527, 15 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,·5,· | 1534 | <span·class="go">datetime.date(2016,·5,·30)</span> |
1535 | <span·class="go">datetime.date(2011,·8,·29)</span> | 1535 | <span·class="go">datetime.date(2011,·8,·29)</span> |
1536 | <span·class="go">datetime.date(1993,·2,·11)</span> | 1536 | <span·class="go">datetime.date(1993,·2,·11)</span> |
1537 | <span·class="go">datetime.date(1984,·3,·25)</span> | 1537 | <span·class="go">datetime.date(1984,·3,·25)</span> |
1538 | <span·class="go">datetime.date(1998,·2,·6)</span> | 1538 | <span·class="go">datetime.date(1998,·2,·6)</span> |
1539 | </pre></div> | 1539 | </pre></div> |
1540 | </div> | 1540 | </div> |
1541 | </dd></dl> | 1541 | </dd></dl> |
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,·11,· | 1570 | <span·class="go">datetime.date(2006,·11,·30)</span> |
1571 | <span·class="go">datetime.date(1996,·11,·1 | 1571 | <span·class="go">datetime.date(1996,·11,·18)</span> |
1572 | <span·class="go">datetime.date(1957,·9,· | 1572 | <span·class="go">datetime.date(1957,·9,·30)</span> |
1573 | <span·class="go">datetime.date(1938,·12,· | 1573 | <span·class="go">datetime.date(1938,·12,·30)</span> |
1574 | <span·class="go">datetime.date(1968,·4,· | 1574 | <span·class="go">datetime.date(1968,·4,·8)</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(2021,·1,·2 | 1603 | <span·class="go">datetime.date(2021,·1,·28)</span> |
1604 | <span·class="go">datetime.date(2018,·12,· | 1604 | <span·class="go">datetime.date(2018,·12,·2)</span> |
1605 | <span·class="go">datetime.date(2010,· | 1605 | <span·class="go">datetime.date(2010,·7,·1)</span> |
1606 | <span·class="go">datetime.date(2006,·6,·18)</span> | 1606 | <span·class="go">datetime.date(2006,·6,·18)</span> |
1607 | <span·class="go">datetime.date(2012,·10,· | 1607 | <span·class="go">datetime.date(2012,·10,·5)</span> |
1608 | </pre></div> | 1608 | </pre></div> |
1609 | </div> | 1609 | </div> |
1610 | </dd></dl> | 1610 | </dd></dl> |
Max diff block lines reached; 94412/111308 bytes (84.82%) of diff not shown. |
Offset 812, 18 lines modified | Offset 812, 18 lines modified | ||
812 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 812 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
813 | ··············Examples: | 813 | ··············Examples: |
814 | ············>>>·Faker.seed(0) | 814 | ············>>>·Faker.seed(0) |
815 | ············>>>·for·_·in·range(5): | 815 | ············>>>·for·_·in·range(5): |
816 | ············...·····fake.am_pm() | 816 | ············...·····fake.am_pm() |
817 | ············... | 817 | ············... |
818 | ············'PM' | 818 | ············'PM' |
819 | ············' | 819 | ············'PM' |
820 | ············' | 820 | ············'PM' |
821 | ············' | 821 | ············'PM' |
822 | ············' | 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, 15 lines modified | Offset 843, 15 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-05- | 850 | ············'2016-05-30' |
851 | ············'2011-08-29' | 851 | ············'2011-08-29' |
852 | ············'1993-02-11' | 852 | ············'1993-02-11' |
853 | ············'1984-03-25' | 853 | ············'1984-03-25' |
854 | ············'1998-02-06' | 854 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 872 | ············datetime.date(2020,·4,·17) |
873 | ············datetime.date(2017,·9,·1 | 873 | ············datetime.date(2017,·9,·12) |
874 | ············datetime.date(2007,·7,· | 874 | ············datetime.date(2007,·7,·30) |
875 | ············datetime.date(2002,·9,·2 | 875 | ············datetime.date(2002,·9,·23) |
876 | ············datetime.date(2010,·4,·1 | 876 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 885, 29 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,·12,·1 | 892 | ············datetime.date(2024,·12,·17) |
893 | ············datetime.date(2024,·12,·1 | 893 | ············datetime.date(2024,·12,·17) |
894 | ············datetime.date(2024,·12,·1 | 894 | ············datetime.date(2024,·12,·17) |
895 | ············datetime.date(2024,·12,·1 | 895 | ············datetime.date(2024,·12,·17) |
896 | ············datetime.date(2024,·12,·1 | 896 | ············datetime.date(2024,·12,·17) |
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,·5,· | 906 | ············datetime.date(2016,·5,·30) |
907 | ············datetime.date(2011,·8,·29) | 907 | ············datetime.date(2011,·8,·29) |
908 | ············datetime.date(1993,·2,·11) | 908 | ············datetime.date(1993,·2,·11) |
909 | ············datetime.date(1984,·3,·25) | 909 | ············datetime.date(1984,·3,·25) |
910 | ············datetime.date(1998,·2,·6) | 910 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 928 | ············datetime.date(2006,·11,·30) |
929 | ············datetime.date(1996,·11,·1 | 929 | ············datetime.date(1996,·11,·18) |
930 | ············datetime.date(1957,·9,· | 930 | ············datetime.date(1957,·9,·30) |
931 | ············datetime.date(1938,·12,· | 931 | ············datetime.date(1938,·12,·30) |
932 | ············datetime.date(1968,·4,· | 932 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 950 | ············datetime.date(2021,·1,·28) |
951 | ············datetime.date(2018,·12,· | 951 | ············datetime.date(2018,·12,·2) |
952 | ············datetime.date(2010,· | 952 | ············datetime.date(2010,·7,·1) |
953 | ············datetime.date(2006,·6,·18) | 953 | ············datetime.date(2006,·6,·18) |
954 | ············datetime.date(2012,·10,· | 954 | ············datetime.date(2012,·10,·5) |
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 |
960 | ························today | 960 | ························today |
961 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 961 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 965, 19 lines modified | Offset 965, 19 lines modified | ||
965 | ··············Returns: | 965 | ··············Returns: |
966 | ··················Date | 966 | ··················Date |
Max diff block lines reached; 29630/36450 bytes (81.29%) of diff not shown. |
Offset 1595, 18 lines modified | Offset 1595, 18 lines modified | ||
1595 | <dd·class="field-odd"><p></p></dd> | 1595 | <dd·class="field-odd"><p></p></dd> |
1596 | </dl> | 1596 | </dl> |
1597 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1597 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1598 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1598 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1599 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1599 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1600 | <span·class="gp">...</span> | 1600 | <span·class="gp">...</span> |
1601 | <span·class="go">'PM'</span> | 1601 | <span·class="go">'PM'</span> |
1602 | <span·class="go">' | 1602 | <span·class="go">'PM'</span> |
1603 | <span·class="go">' | 1603 | <span·class="go">'PM'</span> |
1604 | <span·class="go">' | 1604 | <span·class="go">'PM'</span> |
1605 | <span·class="go">' | 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, 15 lines modified | Offset 1647, 15 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-05- | 1654 | <span·class="go">'2016-05-30'</span> |
1655 | <span·class="go">'2011-08-29'</span> | 1655 | <span·class="go">'2011-08-29'</span> |
1656 | <span·class="go">'1993-02-11'</span> | 1656 | <span·class="go">'1993-02-11'</span> |
1657 | <span·class="go">'1984-03-25'</span> | 1657 | <span·class="go">'1984-03-25'</span> |
1658 | <span·class="go">'1998-02-06'</span> | 1658 | <span·class="go">'1998-02-06'</span> |
1659 | </pre></div> | 1659 | </pre></div> |
1660 | </div> | 1660 | </div> |
1661 | </dd></dl> | 1661 | </dd></dl> |
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,·4,·1 | 1688 | <span·class="go">datetime.date(2020,·4,·17)</span> |
1689 | <span·class="go">datetime.date(2017,·9,·1 | 1689 | <span·class="go">datetime.date(2017,·9,·12)</span> |
1690 | <span·class="go">datetime.date(2007,·7,· | 1690 | <span·class="go">datetime.date(2007,·7,·30)</span> |
1691 | <span·class="go">datetime.date(2002,·9,·2 | 1691 | <span·class="go">datetime.date(2002,·9,·23)</span> |
1692 | <span·class="go">datetime.date(2010,·4,·1 | 1692 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 1719 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1720 | <span·class="go">datetime.date(2024,·12,·1 | 1720 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1721 | <span·class="go">datetime.date(2024,·12,·1 | 1721 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1722 | <span·class="go">datetime.date(2024,·12,·1 | 1722 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1723 | <span·class="go">datetime.date(2024,·12,·1 | 1723 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 1736, 15 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,·5,· | 1743 | <span·class="go">datetime.date(2016,·5,·30)</span> |
1744 | <span·class="go">datetime.date(2011,·8,·29)</span> | 1744 | <span·class="go">datetime.date(2011,·8,·29)</span> |
1745 | <span·class="go">datetime.date(1993,·2,·11)</span> | 1745 | <span·class="go">datetime.date(1993,·2,·11)</span> |
1746 | <span·class="go">datetime.date(1984,·3,·25)</span> | 1746 | <span·class="go">datetime.date(1984,·3,·25)</span> |
1747 | <span·class="go">datetime.date(1998,·2,·6)</span> | 1747 | <span·class="go">datetime.date(1998,·2,·6)</span> |
1748 | </pre></div> | 1748 | </pre></div> |
1749 | </div> | 1749 | </div> |
1750 | </dd></dl> | 1750 | </dd></dl> |
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,·11,· | 1779 | <span·class="go">datetime.date(2006,·11,·30)</span> |
1780 | <span·class="go">datetime.date(1996,·11,·1 | 1780 | <span·class="go">datetime.date(1996,·11,·18)</span> |
1781 | <span·class="go">datetime.date(1957,·9,· | 1781 | <span·class="go">datetime.date(1957,·9,·30)</span> |
1782 | <span·class="go">datetime.date(1938,·12,· | 1782 | <span·class="go">datetime.date(1938,·12,·30)</span> |
1783 | <span·class="go">datetime.date(1968,·4,· | 1783 | <span·class="go">datetime.date(1968,·4,·8)</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(2021,·1,·2 | 1812 | <span·class="go">datetime.date(2021,·1,·28)</span> |
1813 | <span·class="go">datetime.date(2018,·12,· | 1813 | <span·class="go">datetime.date(2018,·12,·2)</span> |
1814 | <span·class="go">datetime.date(2010,· | 1814 | <span·class="go">datetime.date(2010,·7,·1)</span> |
1815 | <span·class="go">datetime.date(2006,·6,·18)</span> | 1815 | <span·class="go">datetime.date(2006,·6,·18)</span> |
1816 | <span·class="go">datetime.date(2012,·10,· | 1816 | <span·class="go">datetime.date(2012,·10,·5)</span> |
1817 | </pre></div> | 1817 | </pre></div> |
1818 | </div> | 1818 | </div> |
1819 | </dd></dl> | 1819 | </dd></dl> |
Max diff block lines reached; 292981/309877 bytes (94.55%) of diff not shown. |
Offset 960, 18 lines modified | Offset 960, 18 lines modified | ||
960 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 960 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
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 | ············'PM' | 966 | ············'PM' |
967 | ············' | 967 | ············'PM' |
968 | ············' | 968 | ············'PM' |
969 | ············' | 969 | ············'PM' |
970 | ············' | 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, 15 lines modified | Offset 991, 15 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-05- | 998 | ············'2016-05-30' |
999 | ············'2011-08-29' | 999 | ············'2011-08-29' |
1000 | ············'1993-02-11' | 1000 | ············'1993-02-11' |
1001 | ············'1984-03-25' | 1001 | ············'1984-03-25' |
1002 | ············'1998-02-06' | 1002 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 1020 | ············datetime.date(2020,·4,·17) |
1021 | ············datetime.date(2017,·9,·1 | 1021 | ············datetime.date(2017,·9,·12) |
1022 | ············datetime.date(2007,·7,· | 1022 | ············datetime.date(2007,·7,·30) |
1023 | ············datetime.date(2002,·9,·2 | 1023 | ············datetime.date(2002,·9,·23) |
1024 | ············datetime.date(2010,·4,·1 | 1024 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 1033, 29 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,·12,·1 | 1040 | ············datetime.date(2024,·12,·17) |
1041 | ············datetime.date(2024,·12,·1 | 1041 | ············datetime.date(2024,·12,·17) |
1042 | ············datetime.date(2024,·12,·1 | 1042 | ············datetime.date(2024,·12,·17) |
1043 | ············datetime.date(2024,·12,·1 | 1043 | ············datetime.date(2024,·12,·17) |
1044 | ············datetime.date(2024,·12,·1 | 1044 | ············datetime.date(2024,·12,·17) |
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,·5,· | 1054 | ············datetime.date(2016,·5,·30) |
1055 | ············datetime.date(2011,·8,·29) | 1055 | ············datetime.date(2011,·8,·29) |
1056 | ············datetime.date(1993,·2,·11) | 1056 | ············datetime.date(1993,·2,·11) |
1057 | ············datetime.date(1984,·3,·25) | 1057 | ············datetime.date(1984,·3,·25) |
1058 | ············datetime.date(1998,·2,·6) | 1058 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 1076 | ············datetime.date(2006,·11,·30) |
1077 | ············datetime.date(1996,·11,·1 | 1077 | ············datetime.date(1996,·11,·18) |
1078 | ············datetime.date(1957,·9,· | 1078 | ············datetime.date(1957,·9,·30) |
1079 | ············datetime.date(1938,·12,· | 1079 | ············datetime.date(1938,·12,·30) |
1080 | ············datetime.date(1968,·4,· | 1080 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 1098 | ············datetime.date(2021,·1,·28) |
1099 | ············datetime.date(2018,·12,· | 1099 | ············datetime.date(2018,·12,·2) |
1100 | ············datetime.date(2010,· | 1100 | ············datetime.date(2010,·7,·1) |
1101 | ············datetime.date(2006,·6,·18) | 1101 | ············datetime.date(2006,·6,·18) |
1102 | ············datetime.date(2012,·10,· | 1102 | ············datetime.date(2012,·10,·5) |
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 |
1108 | ························today | 1108 | ························today |
1109 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 1109 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 1113, 19 lines modified | Offset 1113, 19 lines modified | ||
1113 | ··············Returns: | 1113 | ··············Returns: |
1114 | ··················Date | 1114 | ··················Date |
Max diff block lines reached; 195913/202743 bytes (96.63%) of diff not shown. |
Offset 1993, 18 lines modified | Offset 1993, 18 lines modified | ||
1993 | <dd·class="field-odd"><p></p></dd> | 1993 | <dd·class="field-odd"><p></p></dd> |
1994 | </dl> | 1994 | </dl> |
1995 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1995 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1996 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1996 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1997 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1997 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1998 | <span·class="gp">...</span> | 1998 | <span·class="gp">...</span> |
1999 | <span·class="go">'PM'</span> | 1999 | <span·class="go">'PM'</span> |
2000 | <span·class="go">' | 2000 | <span·class="go">'PM'</span> |
2001 | <span·class="go">' | 2001 | <span·class="go">'PM'</span> |
2002 | <span·class="go">' | 2002 | <span·class="go">'PM'</span> |
2003 | <span·class="go">' | 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, 15 lines modified | Offset 2045, 15 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-05- | 2052 | <span·class="go">'2016-05-30'</span> |
2053 | <span·class="go">'2011-08-29'</span> | 2053 | <span·class="go">'2011-08-29'</span> |
2054 | <span·class="go">'1993-02-11'</span> | 2054 | <span·class="go">'1993-02-11'</span> |
2055 | <span·class="go">'1984-03-25'</span> | 2055 | <span·class="go">'1984-03-25'</span> |
2056 | <span·class="go">'1998-02-06'</span> | 2056 | <span·class="go">'1998-02-06'</span> |
2057 | </pre></div> | 2057 | </pre></div> |
2058 | </div> | 2058 | </div> |
2059 | </dd></dl> | 2059 | </dd></dl> |
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,·4,·1 | 2086 | <span·class="go">datetime.date(2020,·4,·17)</span> |
2087 | <span·class="go">datetime.date(2017,·9,·1 | 2087 | <span·class="go">datetime.date(2017,·9,·12)</span> |
2088 | <span·class="go">datetime.date(2007,·7,· | 2088 | <span·class="go">datetime.date(2007,·7,·30)</span> |
2089 | <span·class="go">datetime.date(2002,·9,·2 | 2089 | <span·class="go">datetime.date(2002,·9,·23)</span> |
2090 | <span·class="go">datetime.date(2010,·4,·1 | 2090 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 2117 | <span·class="go">datetime.date(2024,·12,·17)</span> |
2118 | <span·class="go">datetime.date(2024,·12,·1 | 2118 | <span·class="go">datetime.date(2024,·12,·17)</span> |
2119 | <span·class="go">datetime.date(2024,·12,·1 | 2119 | <span·class="go">datetime.date(2024,·12,·17)</span> |
2120 | <span·class="go">datetime.date(2024,·12,·1 | 2120 | <span·class="go">datetime.date(2024,·12,·17)</span> |
2121 | <span·class="go">datetime.date(2024,·12,·1 | 2121 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 2134, 15 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,·5,· | 2141 | <span·class="go">datetime.date(2016,·5,·30)</span> |
2142 | <span·class="go">datetime.date(2011,·8,·29)</span> | 2142 | <span·class="go">datetime.date(2011,·8,·29)</span> |
2143 | <span·class="go">datetime.date(1993,·2,·11)</span> | 2143 | <span·class="go">datetime.date(1993,·2,·11)</span> |
2144 | <span·class="go">datetime.date(1984,·3,·25)</span> | 2144 | <span·class="go">datetime.date(1984,·3,·25)</span> |
2145 | <span·class="go">datetime.date(1998,·2,·6)</span> | 2145 | <span·class="go">datetime.date(1998,·2,·6)</span> |
2146 | </pre></div> | 2146 | </pre></div> |
2147 | </div> | 2147 | </div> |
2148 | </dd></dl> | 2148 | </dd></dl> |
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,·11,· | 2177 | <span·class="go">datetime.date(2006,·11,·30)</span> |
2178 | <span·class="go">datetime.date(1996,·11,·1 | 2178 | <span·class="go">datetime.date(1996,·11,·18)</span> |
2179 | <span·class="go">datetime.date(1957,·9,· | 2179 | <span·class="go">datetime.date(1957,·9,·30)</span> |
2180 | <span·class="go">datetime.date(1938,·12,· | 2180 | <span·class="go">datetime.date(1938,·12,·30)</span> |
2181 | <span·class="go">datetime.date(1968,·4,· | 2181 | <span·class="go">datetime.date(1968,·4,·8)</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(2021,·1,·2 | 2210 | <span·class="go">datetime.date(2021,·1,·28)</span> |
2211 | <span·class="go">datetime.date(2018,·12,· | 2211 | <span·class="go">datetime.date(2018,·12,·2)</span> |
2212 | <span·class="go">datetime.date(2010,· | 2212 | <span·class="go">datetime.date(2010,·7,·1)</span> |
2213 | <span·class="go">datetime.date(2006,·6,·18)</span> | 2213 | <span·class="go">datetime.date(2006,·6,·18)</span> |
2214 | <span·class="go">datetime.date(2012,·10,· | 2214 | <span·class="go">datetime.date(2012,·10,·5)</span> |
2215 | </pre></div> | 2215 | </pre></div> |
2216 | </div> | 2216 | </div> |
2217 | </dd></dl> | 2217 | </dd></dl> |
Max diff block lines reached; 405834/422730 bytes (96.00%) of diff not shown. |
Offset 1241, 18 lines modified | Offset 1241, 18 lines modified | ||
1241 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 1241 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
1242 | ··············Examples: | 1242 | ··············Examples: |
1243 | ············>>>·Faker.seed(0) | 1243 | ············>>>·Faker.seed(0) |
1244 | ············>>>·for·_·in·range(5): | 1244 | ············>>>·for·_·in·range(5): |
1245 | ············...·····fake.am_pm() | 1245 | ············...·····fake.am_pm() |
1246 | ············... | 1246 | ············... |
1247 | ············'PM' | 1247 | ············'PM' |
1248 | ············' | 1248 | ············'PM' |
1249 | ············' | 1249 | ············'PM' |
1250 | ············' | 1250 | ············'PM' |
1251 | ············' | 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, 15 lines modified | Offset 1272, 15 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-05- | 1279 | ············'2016-05-30' |
1280 | ············'2011-08-29' | 1280 | ············'2011-08-29' |
1281 | ············'1993-02-11' | 1281 | ············'1993-02-11' |
1282 | ············'1984-03-25' | 1282 | ············'1984-03-25' |
1283 | ············'1998-02-06' | 1283 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 1301 | ············datetime.date(2020,·4,·17) |
1302 | ············datetime.date(2017,·9,·1 | 1302 | ············datetime.date(2017,·9,·12) |
1303 | ············datetime.date(2007,·7,· | 1303 | ············datetime.date(2007,·7,·30) |
1304 | ············datetime.date(2002,·9,·2 | 1304 | ············datetime.date(2002,·9,·23) |
1305 | ············datetime.date(2010,·4,·1 | 1305 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 1314, 29 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,·12,·1 | 1321 | ············datetime.date(2024,·12,·17) |
1322 | ············datetime.date(2024,·12,·1 | 1322 | ············datetime.date(2024,·12,·17) |
1323 | ············datetime.date(2024,·12,·1 | 1323 | ············datetime.date(2024,·12,·17) |
1324 | ············datetime.date(2024,·12,·1 | 1324 | ············datetime.date(2024,·12,·17) |
1325 | ············datetime.date(2024,·12,·1 | 1325 | ············datetime.date(2024,·12,·17) |
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,·5,· | 1335 | ············datetime.date(2016,·5,·30) |
1336 | ············datetime.date(2011,·8,·29) | 1336 | ············datetime.date(2011,·8,·29) |
1337 | ············datetime.date(1993,·2,·11) | 1337 | ············datetime.date(1993,·2,·11) |
1338 | ············datetime.date(1984,·3,·25) | 1338 | ············datetime.date(1984,·3,·25) |
1339 | ············datetime.date(1998,·2,·6) | 1339 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 1357 | ············datetime.date(2006,·11,·30) |
1358 | ············datetime.date(1996,·11,·1 | 1358 | ············datetime.date(1996,·11,·18) |
1359 | ············datetime.date(1957,·9,· | 1359 | ············datetime.date(1957,·9,·30) |
1360 | ············datetime.date(1938,·12,· | 1360 | ············datetime.date(1938,·12,·30) |
1361 | ············datetime.date(1968,·4,· | 1361 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 1379 | ············datetime.date(2021,·1,·28) |
1380 | ············datetime.date(2018,·12,· | 1380 | ············datetime.date(2018,·12,·2) |
1381 | ············datetime.date(2010,· | 1381 | ············datetime.date(2010,·7,·1) |
1382 | ············datetime.date(2006,·6,·18) | 1382 | ············datetime.date(2006,·6,·18) |
1383 | ············datetime.date(2012,·10,· | 1383 | ············datetime.date(2012,·10,·5) |
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 |
1389 | ························today | 1389 | ························today |
1390 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 1390 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 1394, 19 lines modified | Offset 1394, 19 lines modified | ||
1394 | ··············Returns: | 1394 | ··············Returns: |
1395 | ··················Date | 1395 | ··················Date |
Max diff block lines reached; 249369/256203 bytes (97.33%) of diff not shown. |
Offset 1123, 18 lines modified | Offset 1123, 18 lines modified | ||
1123 | <dd·class="field-odd"><p></p></dd> | 1123 | <dd·class="field-odd"><p></p></dd> |
1124 | </dl> | 1124 | </dl> |
1125 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1125 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1126 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1126 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1127 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1127 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1128 | <span·class="gp">...</span> | 1128 | <span·class="gp">...</span> |
1129 | <span·class="go">'PM'</span> | 1129 | <span·class="go">'PM'</span> |
1130 | <span·class="go">' | 1130 | <span·class="go">'PM'</span> |
1131 | <span·class="go">' | 1131 | <span·class="go">'PM'</span> |
1132 | <span·class="go">' | 1132 | <span·class="go">'PM'</span> |
1133 | <span·class="go">' | 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, 15 lines modified | Offset 1175, 15 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-05- | 1182 | <span·class="go">'2016-05-30'</span> |
1183 | <span·class="go">'2011-08-29'</span> | 1183 | <span·class="go">'2011-08-29'</span> |
1184 | <span·class="go">'1993-02-11'</span> | 1184 | <span·class="go">'1993-02-11'</span> |
1185 | <span·class="go">'1984-03-25'</span> | 1185 | <span·class="go">'1984-03-25'</span> |
1186 | <span·class="go">'1998-02-06'</span> | 1186 | <span·class="go">'1998-02-06'</span> |
1187 | </pre></div> | 1187 | </pre></div> |
1188 | </div> | 1188 | </div> |
1189 | </dd></dl> | 1189 | </dd></dl> |
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,·4,·1 | 1216 | <span·class="go">datetime.date(2020,·4,·17)</span> |
1217 | <span·class="go">datetime.date(2017,·9,·1 | 1217 | <span·class="go">datetime.date(2017,·9,·12)</span> |
1218 | <span·class="go">datetime.date(2007,·7,· | 1218 | <span·class="go">datetime.date(2007,·7,·30)</span> |
1219 | <span·class="go">datetime.date(2002,·9,·2 | 1219 | <span·class="go">datetime.date(2002,·9,·23)</span> |
1220 | <span·class="go">datetime.date(2010,·4,·1 | 1220 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 1247 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1248 | <span·class="go">datetime.date(2024,·12,·1 | 1248 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1249 | <span·class="go">datetime.date(2024,·12,·1 | 1249 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1250 | <span·class="go">datetime.date(2024,·12,·1 | 1250 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1251 | <span·class="go">datetime.date(2024,·12,·1 | 1251 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 1264, 15 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,·5,· | 1271 | <span·class="go">datetime.date(2016,·5,·30)</span> |
1272 | <span·class="go">datetime.date(2011,·8,·29)</span> | 1272 | <span·class="go">datetime.date(2011,·8,·29)</span> |
1273 | <span·class="go">datetime.date(1993,·2,·11)</span> | 1273 | <span·class="go">datetime.date(1993,·2,·11)</span> |
1274 | <span·class="go">datetime.date(1984,·3,·25)</span> | 1274 | <span·class="go">datetime.date(1984,·3,·25)</span> |
1275 | <span·class="go">datetime.date(1998,·2,·6)</span> | 1275 | <span·class="go">datetime.date(1998,·2,·6)</span> |
1276 | </pre></div> | 1276 | </pre></div> |
1277 | </div> | 1277 | </div> |
1278 | </dd></dl> | 1278 | </dd></dl> |
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,·11,· | 1307 | <span·class="go">datetime.date(2006,·11,·30)</span> |
1308 | <span·class="go">datetime.date(1996,·11,·1 | 1308 | <span·class="go">datetime.date(1996,·11,·18)</span> |
1309 | <span·class="go">datetime.date(1957,·9,· | 1309 | <span·class="go">datetime.date(1957,·9,·30)</span> |
1310 | <span·class="go">datetime.date(1938,·12,· | 1310 | <span·class="go">datetime.date(1938,·12,·30)</span> |
1311 | <span·class="go">datetime.date(1968,·4,· | 1311 | <span·class="go">datetime.date(1968,·4,·8)</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(2021,·1,·2 | 1340 | <span·class="go">datetime.date(2021,·1,·28)</span> |
1341 | <span·class="go">datetime.date(2018,·12,· | 1341 | <span·class="go">datetime.date(2018,·12,·2)</span> |
1342 | <span·class="go">datetime.date(2010,· | 1342 | <span·class="go">datetime.date(2010,·7,·1)</span> |
1343 | <span·class="go">datetime.date(2006,·6,·18)</span> | 1343 | <span·class="go">datetime.date(2006,·6,·18)</span> |
1344 | <span·class="go">datetime.date(2012,·10,· | 1344 | <span·class="go">datetime.date(2012,·10,·5)</span> |
1345 | </pre></div> | 1345 | </pre></div> |
1346 | </div> | 1346 | </div> |
1347 | </dd></dl> | 1347 | </dd></dl> |
Max diff block lines reached; 88992/105888 bytes (84.04%) of diff not shown. |
Offset 644, 18 lines modified | Offset 644, 18 lines modified | ||
644 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 644 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
645 | ··············Examples: | 645 | ··············Examples: |
646 | ············>>>·Faker.seed(0) | 646 | ············>>>·Faker.seed(0) |
647 | ············>>>·for·_·in·range(5): | 647 | ············>>>·for·_·in·range(5): |
648 | ············...·····fake.am_pm() | 648 | ············...·····fake.am_pm() |
649 | ············... | 649 | ············... |
650 | ············'PM' | 650 | ············'PM' |
651 | ············' | 651 | ············'PM' |
652 | ············' | 652 | ············'PM' |
653 | ············' | 653 | ············'PM' |
654 | ············' | 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, 15 lines modified | Offset 675, 15 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-05- | 682 | ············'2016-05-30' |
683 | ············'2011-08-29' | 683 | ············'2011-08-29' |
684 | ············'1993-02-11' | 684 | ············'1993-02-11' |
685 | ············'1984-03-25' | 685 | ············'1984-03-25' |
686 | ············'1998-02-06' | 686 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 704 | ············datetime.date(2020,·4,·17) |
705 | ············datetime.date(2017,·9,·1 | 705 | ············datetime.date(2017,·9,·12) |
706 | ············datetime.date(2007,·7,· | 706 | ············datetime.date(2007,·7,·30) |
707 | ············datetime.date(2002,·9,·2 | 707 | ············datetime.date(2002,·9,·23) |
708 | ············datetime.date(2010,·4,·1 | 708 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 717, 29 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,·12,·1 | 724 | ············datetime.date(2024,·12,·17) |
725 | ············datetime.date(2024,·12,·1 | 725 | ············datetime.date(2024,·12,·17) |
726 | ············datetime.date(2024,·12,·1 | 726 | ············datetime.date(2024,·12,·17) |
727 | ············datetime.date(2024,·12,·1 | 727 | ············datetime.date(2024,·12,·17) |
728 | ············datetime.date(2024,·12,·1 | 728 | ············datetime.date(2024,·12,·17) |
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,·5,· | 738 | ············datetime.date(2016,·5,·30) |
739 | ············datetime.date(2011,·8,·29) | 739 | ············datetime.date(2011,·8,·29) |
740 | ············datetime.date(1993,·2,·11) | 740 | ············datetime.date(1993,·2,·11) |
741 | ············datetime.date(1984,·3,·25) | 741 | ············datetime.date(1984,·3,·25) |
742 | ············datetime.date(1998,·2,·6) | 742 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 760 | ············datetime.date(2006,·11,·30) |
761 | ············datetime.date(1996,·11,·1 | 761 | ············datetime.date(1996,·11,·18) |
762 | ············datetime.date(1957,·9,· | 762 | ············datetime.date(1957,·9,·30) |
763 | ············datetime.date(1938,·12,· | 763 | ············datetime.date(1938,·12,·30) |
764 | ············datetime.date(1968,·4,· | 764 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 782 | ············datetime.date(2021,·1,·28) |
783 | ············datetime.date(2018,·12,· | 783 | ············datetime.date(2018,·12,·2) |
784 | ············datetime.date(2010,· | 784 | ············datetime.date(2010,·7,·1) |
785 | ············datetime.date(2006,·6,·18) | 785 | ············datetime.date(2006,·6,·18) |
786 | ············datetime.date(2012,·10,· | 786 | ············datetime.date(2012,·10,·5) |
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 |
792 | ························today | 792 | ························today |
793 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 793 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 797, 19 lines modified | Offset 797, 19 lines modified | ||
797 | ··············Returns: | 797 | ··············Returns: |
798 | ··················Date | 798 | ··················Date |
Max diff block lines reached; 27372/34192 bytes (80.05%) 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">'U2228762G'</span> | ||
503 | <span·class="go">' | 502 | <span·class="go">'H83303081'</span> |
504 | <span·class="go">' | 503 | <span·class="go">'C67215202'</span> |
505 | <span·class="go">' | 504 | <span·class="go">'Q5083629E'</span> |
506 | <span·class="go">'P3 | 505 | <span·class="go">'P3477116B'</span> |
506 | <span·class="go">'S3241858D'</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">'84915972H'</span> |
525 | <span·class="go">'97501616Q'</span> | ||
526 | <span·class="go">'15348101V'</span> | ||
527 | <span·class="go">' | 525 | <span·class="go">'D35174069'</span> |
526 | <span·class="go">'A78639721'</span> | ||
528 | <span·class="go">' | 527 | <span·class="go">'Q1084881J'</span> |
528 | <span·class="go">'47539516B'</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">' | 546 | <span·class="go">'Y8058850D'</span> |
547 | <span·class="go">'Z9451590K'</span> | ||
547 | <span·class="go">' | 548 | <span·class="go">'Z3531333X'</span> |
549 | <span·class="go">'X1584827N'</span> | ||
548 | <span·class="go">' | 550 | <span·class="go">'Z8040683A'</span> |
549 | <span·class="go">'X7256301P'</span> | ||
550 | <span·class="go">'Y4336858S'</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">'46050153J'</span> |
569 | <span·class="go">' | 569 | <span·class="go">'12886863D'</span> |
570 | <span·class="go">'92564028E'</span> | ||
571 | <span·class="go">' | 570 | <span·class="go">'66823863P'</span> |
572 | <span·class="go">' | 571 | <span·class="go">'65370290N'</span> |
572 | <span·class="go">'18609302W'</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">' | 594 | <span·class="go">'211649889523'</span> |
595 | <span·class="go">' | 595 | <span·class="go">'092092233264'</span> |
596 | <span·class="go">'360075212287'</span> | ||
597 | <span·class="go">' | 596 | <span·class="go">'276948011538'</span> |
597 | <span·class="go">'026606757062'</span> | ||
598 | <span·class="go">' | 598 | <span·class="go">'536187859387'</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 | ············'H83303081' | ||
262 | ············'U2228762G' | ||
263 | ············'N0142430H' | ||
264 | ············' | 263 | ············'C67215202' |
265 | ············' | 264 | ············'Q5083629E' |
266 | ············'P3 | 265 | ············'P3477116B' |
266 | ············'S3241858D' | ||
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 | ············'84915972H' | ||
275 | ············'A58995424' | ||
276 | ············'97501616Q' | ||
277 | ············'15348101V' | ||
278 | ············' | 276 | ············'D35174069' |
279 | ············' | 277 | ············'A78639721' |
278 | ············'Q1084881J' | ||
279 | ············'47539516B' | ||
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 | ············'X2683594T' | ||
290 | ············' | 289 | ············'Y8058850D' |
290 | ············'Z9451590K' | ||
291 | ············'Z3531333X' | ||
292 | ············'X1584827N' | ||
291 | ············' | 293 | ············'Z8040683A' |
292 | ············'X7256301P' | ||
293 | ············'Y4336858S' | ||
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 | ············'46050153J' |
303 | ············' | 303 | ············'12886863D' |
304 | ············'92564028E' | ||
305 | ············' | 304 | ············'66823863P' |
306 | ············' | 305 | ············'65370290N' |
306 | ············'18609302W' | ||
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 | ············'211649889523' | ||
320 | ············'092092233264' | ||
319 | ············'459707818761' | ||
320 | ············'342569133146' | ||
321 | ············'360075212287' | ||
322 | ············' | 321 | ············'276948011538' |
323 | ············' | 322 | ············'026606757062' |
323 | ············'536187859387' | ||
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 1401, 18 lines modified | Offset 1401, 18 lines modified | ||
1401 | <dd·class="field-odd"><p></p></dd> | 1401 | <dd·class="field-odd"><p></p></dd> |
1402 | </dl> | 1402 | </dl> |
1403 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1403 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1404 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1404 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1405 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1405 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1406 | <span·class="gp">...</span> | 1406 | <span·class="gp">...</span> |
1407 | <span·class="go">'PM'</span> | 1407 | <span·class="go">'PM'</span> |
1408 | <span·class="go">' | 1408 | <span·class="go">'PM'</span> |
1409 | <span·class="go">' | 1409 | <span·class="go">'PM'</span> |
1410 | <span·class="go">' | 1410 | <span·class="go">'PM'</span> |
1411 | <span·class="go">' | 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, 15 lines modified | Offset 1453, 15 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-05- | 1460 | <span·class="go">'2016-05-30'</span> |
1461 | <span·class="go">'2011-08-29'</span> | 1461 | <span·class="go">'2011-08-29'</span> |
1462 | <span·class="go">'1993-02-11'</span> | 1462 | <span·class="go">'1993-02-11'</span> |
1463 | <span·class="go">'1984-03-25'</span> | 1463 | <span·class="go">'1984-03-25'</span> |
1464 | <span·class="go">'1998-02-06'</span> | 1464 | <span·class="go">'1998-02-06'</span> |
1465 | </pre></div> | 1465 | </pre></div> |
1466 | </div> | 1466 | </div> |
1467 | </dd></dl> | 1467 | </dd></dl> |
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,·4,·1 | 1494 | <span·class="go">datetime.date(2020,·4,·17)</span> |
1495 | <span·class="go">datetime.date(2017,·9,·1 | 1495 | <span·class="go">datetime.date(2017,·9,·12)</span> |
1496 | <span·class="go">datetime.date(2007,·7,· | 1496 | <span·class="go">datetime.date(2007,·7,·30)</span> |
1497 | <span·class="go">datetime.date(2002,·9,·2 | 1497 | <span·class="go">datetime.date(2002,·9,·23)</span> |
1498 | <span·class="go">datetime.date(2010,·4,·1 | 1498 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 1525 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1526 | <span·class="go">datetime.date(2024,·12,·1 | 1526 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1527 | <span·class="go">datetime.date(2024,·12,·1 | 1527 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1528 | <span·class="go">datetime.date(2024,·12,·1 | 1528 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1529 | <span·class="go">datetime.date(2024,·12,·1 | 1529 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 1542, 15 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,·5,· | 1549 | <span·class="go">datetime.date(2016,·5,·30)</span> |
1550 | <span·class="go">datetime.date(2011,·8,·29)</span> | 1550 | <span·class="go">datetime.date(2011,·8,·29)</span> |
1551 | <span·class="go">datetime.date(1993,·2,·11)</span> | 1551 | <span·class="go">datetime.date(1993,·2,·11)</span> |
1552 | <span·class="go">datetime.date(1984,·3,·25)</span> | 1552 | <span·class="go">datetime.date(1984,·3,·25)</span> |
1553 | <span·class="go">datetime.date(1998,·2,·6)</span> | 1553 | <span·class="go">datetime.date(1998,·2,·6)</span> |
1554 | </pre></div> | 1554 | </pre></div> |
1555 | </div> | 1555 | </div> |
1556 | </dd></dl> | 1556 | </dd></dl> |
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,·11,· | 1585 | <span·class="go">datetime.date(2006,·11,·30)</span> |
1586 | <span·class="go">datetime.date(1996,·11,·1 | 1586 | <span·class="go">datetime.date(1996,·11,·18)</span> |
1587 | <span·class="go">datetime.date(1957,·9,· | 1587 | <span·class="go">datetime.date(1957,·9,·30)</span> |
1588 | <span·class="go">datetime.date(1938,·12,· | 1588 | <span·class="go">datetime.date(1938,·12,·30)</span> |
1589 | <span·class="go">datetime.date(1968,·4,· | 1589 | <span·class="go">datetime.date(1968,·4,·8)</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(2021,·1,·2 | 1618 | <span·class="go">datetime.date(2021,·1,·28)</span> |
1619 | <span·class="go">datetime.date(2018,·12,· | 1619 | <span·class="go">datetime.date(2018,·12,·2)</span> |
1620 | <span·class="go">datetime.date(2010,· | 1620 | <span·class="go">datetime.date(2010,·7,·1)</span> |
1621 | <span·class="go">datetime.date(2006,·6,·18)</span> | 1621 | <span·class="go">datetime.date(2006,·6,·18)</span> |
1622 | <span·class="go">datetime.date(2012,·10,· | 1622 | <span·class="go">datetime.date(2012,·10,·5)</span> |
1623 | </pre></div> | 1623 | </pre></div> |
1624 | </div> | 1624 | </div> |
1625 | </dd></dl> | 1625 | </dd></dl> |
Max diff block lines reached; 88987/105883 bytes (84.04%) of diff not shown. |
Offset 785, 18 lines modified | Offset 785, 18 lines modified | ||
785 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 785 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
786 | ··············Examples: | 786 | ··············Examples: |
787 | ············>>>·Faker.seed(0) | 787 | ············>>>·Faker.seed(0) |
788 | ············>>>·for·_·in·range(5): | 788 | ············>>>·for·_·in·range(5): |
789 | ············...·····fake.am_pm() | 789 | ············...·····fake.am_pm() |
790 | ············... | 790 | ············... |
791 | ············'PM' | 791 | ············'PM' |
792 | ············' | 792 | ············'PM' |
793 | ············' | 793 | ············'PM' |
794 | ············' | 794 | ············'PM' |
795 | ············' | 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, 15 lines modified | Offset 816, 15 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-05- | 823 | ············'2016-05-30' |
824 | ············'2011-08-29' | 824 | ············'2011-08-29' |
825 | ············'1993-02-11' | 825 | ············'1993-02-11' |
826 | ············'1984-03-25' | 826 | ············'1984-03-25' |
827 | ············'1998-02-06' | 827 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 845 | ············datetime.date(2020,·4,·17) |
846 | ············datetime.date(2017,·9,·1 | 846 | ············datetime.date(2017,·9,·12) |
847 | ············datetime.date(2007,·7,· | 847 | ············datetime.date(2007,·7,·30) |
848 | ············datetime.date(2002,·9,·2 | 848 | ············datetime.date(2002,·9,·23) |
849 | ············datetime.date(2010,·4,·1 | 849 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 858, 29 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,·12,·1 | 865 | ············datetime.date(2024,·12,·17) |
866 | ············datetime.date(2024,·12,·1 | 866 | ············datetime.date(2024,·12,·17) |
867 | ············datetime.date(2024,·12,·1 | 867 | ············datetime.date(2024,·12,·17) |
868 | ············datetime.date(2024,·12,·1 | 868 | ············datetime.date(2024,·12,·17) |
869 | ············datetime.date(2024,·12,·1 | 869 | ············datetime.date(2024,·12,·17) |
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,·5,· | 879 | ············datetime.date(2016,·5,·30) |
880 | ············datetime.date(2011,·8,·29) | 880 | ············datetime.date(2011,·8,·29) |
881 | ············datetime.date(1993,·2,·11) | 881 | ············datetime.date(1993,·2,·11) |
882 | ············datetime.date(1984,·3,·25) | 882 | ············datetime.date(1984,·3,·25) |
883 | ············datetime.date(1998,·2,·6) | 883 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 901 | ············datetime.date(2006,·11,·30) |
902 | ············datetime.date(1996,·11,·1 | 902 | ············datetime.date(1996,·11,·18) |
903 | ············datetime.date(1957,·9,· | 903 | ············datetime.date(1957,·9,·30) |
904 | ············datetime.date(1938,·12,· | 904 | ············datetime.date(1938,·12,·30) |
905 | ············datetime.date(1968,·4,· | 905 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 923 | ············datetime.date(2021,·1,·28) |
924 | ············datetime.date(2018,·12,· | 924 | ············datetime.date(2018,·12,·2) |
925 | ············datetime.date(2010,· | 925 | ············datetime.date(2010,·7,·1) |
926 | ············datetime.date(2006,·6,·18) | 926 | ············datetime.date(2006,·6,·18) |
927 | ············datetime.date(2012,·10,· | 927 | ············datetime.date(2012,·10,·5) |
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 |
933 | ························today | 933 | ························today |
934 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 934 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 938, 19 lines modified | Offset 938, 19 lines modified | ||
938 | ··············Returns: | 938 | ··············Returns: |
939 | ··················Date | 939 | ··················Date |
Max diff block lines reached; 27379/34199 bytes (80.06%) of diff not shown. |
Offset 1806, 18 lines modified | Offset 1806, 18 lines modified | ||
1806 | <dd·class="field-odd"><p></p></dd> | 1806 | <dd·class="field-odd"><p></p></dd> |
1807 | </dl> | 1807 | </dl> |
1808 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1808 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1809 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1809 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1810 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1810 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1811 | <span·class="gp">...</span> | 1811 | <span·class="gp">...</span> |
1812 | <span·class="go">'PM'</span> | 1812 | <span·class="go">'PM'</span> |
1813 | <span·class="go">' | 1813 | <span·class="go">'PM'</span> |
1814 | <span·class="go">' | 1814 | <span·class="go">'PM'</span> |
1815 | <span·class="go">' | 1815 | <span·class="go">'PM'</span> |
1816 | <span·class="go">' | 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, 15 lines modified | Offset 1858, 15 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-05- | 1865 | <span·class="go">'2016-05-30'</span> |
1866 | <span·class="go">'2011-08-29'</span> | 1866 | <span·class="go">'2011-08-29'</span> |
1867 | <span·class="go">'1993-02-11'</span> | 1867 | <span·class="go">'1993-02-11'</span> |
1868 | <span·class="go">'1984-03-25'</span> | 1868 | <span·class="go">'1984-03-25'</span> |
1869 | <span·class="go">'1998-02-06'</span> | 1869 | <span·class="go">'1998-02-06'</span> |
1870 | </pre></div> | 1870 | </pre></div> |
1871 | </div> | 1871 | </div> |
1872 | </dd></dl> | 1872 | </dd></dl> |
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,·4,·1 | 1899 | <span·class="go">datetime.date(2020,·4,·17)</span> |
1900 | <span·class="go">datetime.date(2017,·9,·1 | 1900 | <span·class="go">datetime.date(2017,·9,·12)</span> |
1901 | <span·class="go">datetime.date(2007,·7,· | 1901 | <span·class="go">datetime.date(2007,·7,·30)</span> |
1902 | <span·class="go">datetime.date(2002,·9,·2 | 1902 | <span·class="go">datetime.date(2002,·9,·23)</span> |
1903 | <span·class="go">datetime.date(2010,·4,·1 | 1903 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 1930 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1931 | <span·class="go">datetime.date(2024,·12,·1 | 1931 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1932 | <span·class="go">datetime.date(2024,·12,·1 | 1932 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1933 | <span·class="go">datetime.date(2024,·12,·1 | 1933 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1934 | <span·class="go">datetime.date(2024,·12,·1 | 1934 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 1947, 15 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,·5,· | 1954 | <span·class="go">datetime.date(2016,·5,·30)</span> |
1955 | <span·class="go">datetime.date(2011,·8,·29)</span> | 1955 | <span·class="go">datetime.date(2011,·8,·29)</span> |
1956 | <span·class="go">datetime.date(1993,·2,·11)</span> | 1956 | <span·class="go">datetime.date(1993,·2,·11)</span> |
1957 | <span·class="go">datetime.date(1984,·3,·25)</span> | 1957 | <span·class="go">datetime.date(1984,·3,·25)</span> |
1958 | <span·class="go">datetime.date(1998,·2,·6)</span> | 1958 | <span·class="go">datetime.date(1998,·2,·6)</span> |
1959 | </pre></div> | 1959 | </pre></div> |
1960 | </div> | 1960 | </div> |
1961 | </dd></dl> | 1961 | </dd></dl> |
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,·11,· | 1990 | <span·class="go">datetime.date(2006,·11,·30)</span> |
1991 | <span·class="go">datetime.date(1996,·11,·1 | 1991 | <span·class="go">datetime.date(1996,·11,·18)</span> |
1992 | <span·class="go">datetime.date(1957,·9,· | 1992 | <span·class="go">datetime.date(1957,·9,·30)</span> |
1993 | <span·class="go">datetime.date(1938,·12,· | 1993 | <span·class="go">datetime.date(1938,·12,·30)</span> |
1994 | <span·class="go">datetime.date(1968,·4,· | 1994 | <span·class="go">datetime.date(1968,·4,·8)</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(2021,·1,·2 | 2023 | <span·class="go">datetime.date(2021,·1,·28)</span> |
2024 | <span·class="go">datetime.date(2018,·12,· | 2024 | <span·class="go">datetime.date(2018,·12,·2)</span> |
2025 | <span·class="go">datetime.date(2010,· | 2025 | <span·class="go">datetime.date(2010,·7,·1)</span> |
2026 | <span·class="go">datetime.date(2006,·6,·18)</span> | 2026 | <span·class="go">datetime.date(2006,·6,·18)</span> |
2027 | <span·class="go">datetime.date(2012,·10,· | 2027 | <span·class="go">datetime.date(2012,·10,·5)</span> |
2028 | </pre></div> | 2028 | </pre></div> |
2029 | </div> | 2029 | </div> |
2030 | </dd></dl> | 2030 | </dd></dl> |
Max diff block lines reached; 99032/115928 bytes (85.43%) of diff not shown. |
Offset 1089, 18 lines modified | Offset 1089, 18 lines modified | ||
1089 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 1089 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
1090 | ··············Examples: | 1090 | ··············Examples: |
1091 | ············>>>·Faker.seed(0) | 1091 | ············>>>·Faker.seed(0) |
1092 | ············>>>·for·_·in·range(5): | 1092 | ············>>>·for·_·in·range(5): |
1093 | ············...·····fake.am_pm() | 1093 | ············...·····fake.am_pm() |
1094 | ············... | 1094 | ············... |
1095 | ············'PM' | 1095 | ············'PM' |
1096 | ············' | 1096 | ············'PM' |
1097 | ············' | 1097 | ············'PM' |
1098 | ············' | 1098 | ············'PM' |
1099 | ············' | 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, 15 lines modified | Offset 1120, 15 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-05- | 1127 | ············'2016-05-30' |
1128 | ············'2011-08-29' | 1128 | ············'2011-08-29' |
1129 | ············'1993-02-11' | 1129 | ············'1993-02-11' |
1130 | ············'1984-03-25' | 1130 | ············'1984-03-25' |
1131 | ············'1998-02-06' | 1131 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 1149 | ············datetime.date(2020,·4,·17) |
1150 | ············datetime.date(2017,·9,·1 | 1150 | ············datetime.date(2017,·9,·12) |
1151 | ············datetime.date(2007,·7,· | 1151 | ············datetime.date(2007,·7,·30) |
1152 | ············datetime.date(2002,·9,·2 | 1152 | ············datetime.date(2002,·9,·23) |
1153 | ············datetime.date(2010,·4,·1 | 1153 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 1162, 29 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,·12,·1 | 1169 | ············datetime.date(2024,·12,·17) |
1170 | ············datetime.date(2024,·12,·1 | 1170 | ············datetime.date(2024,·12,·17) |
1171 | ············datetime.date(2024,·12,·1 | 1171 | ············datetime.date(2024,·12,·17) |
1172 | ············datetime.date(2024,·12,·1 | 1172 | ············datetime.date(2024,·12,·17) |
1173 | ············datetime.date(2024,·12,·1 | 1173 | ············datetime.date(2024,·12,·17) |
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,·5,· | 1183 | ············datetime.date(2016,·5,·30) |
1184 | ············datetime.date(2011,·8,·29) | 1184 | ············datetime.date(2011,·8,·29) |
1185 | ············datetime.date(1993,·2,·11) | 1185 | ············datetime.date(1993,·2,·11) |
1186 | ············datetime.date(1984,·3,·25) | 1186 | ············datetime.date(1984,·3,·25) |
1187 | ············datetime.date(1998,·2,·6) | 1187 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 1205 | ············datetime.date(2006,·11,·30) |
1206 | ············datetime.date(1996,·11,·1 | 1206 | ············datetime.date(1996,·11,·18) |
1207 | ············datetime.date(1957,·9,· | 1207 | ············datetime.date(1957,·9,·30) |
1208 | ············datetime.date(1938,·12,· | 1208 | ············datetime.date(1938,·12,·30) |
1209 | ············datetime.date(1968,·4,· | 1209 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 1227 | ············datetime.date(2021,·1,·28) |
1228 | ············datetime.date(2018,·12,· | 1228 | ············datetime.date(2018,·12,·2) |
1229 | ············datetime.date(2010,· | 1229 | ············datetime.date(2010,·7,·1) |
1230 | ············datetime.date(2006,·6,·18) | 1230 | ············datetime.date(2006,·6,·18) |
1231 | ············datetime.date(2012,·10,· | 1231 | ············datetime.date(2012,·10,·5) |
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 |
1237 | ························today | 1237 | ························today |
1238 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 1238 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 1242, 19 lines modified | Offset 1242, 19 lines modified | ||
1242 | ··············Returns: | 1242 | ··············Returns: |
1243 | ··················Date | 1243 | ··················Date |
Max diff block lines reached; 31013/37847 bytes (81.94%) of diff not shown. |
Offset 1509, 19 lines modified | Offset 1509, 19 lines modified | ||
1509 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1509 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1510 | <dd·class="field-even"><p></p></dd> | 1510 | <dd·class="field-even"><p></p></dd> |
1511 | </dl> | 1511 | </dl> |
1512 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1512 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1513 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1513 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1514 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">curp</span><span·class="p">()</span> | 1514 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">curp</span><span·class="p">()</span> |
1515 | <span·class="gp">...</span> | 1515 | <span·class="gp">...</span> |
1516 | <span·class="go">'K | 1516 | <span·class="go">'KIUX061130MASMCAA9'</span> |
1517 | <span·class="go">' | 1517 | <span·class="go">'EEFP961118MPLVDA05'</span> |
1518 | <span·class="go">' | 1518 | <span·class="go">'LUFX570930HMSYTZ08'</span> |
1519 | <span·class="go">' | 1519 | <span·class="go">'AATO381230HQONFS08'</span> |
1520 | <span·class="go">' | 1520 | <span·class="go">'JUBC680408MSLVYU03'</span> |
1521 | </pre></div> | 1521 | </pre></div> |
1522 | </div> | 1522 | </div> |
1523 | </dd></dl> | 1523 | </dd></dl> |
1524 | <dl·class="py·method"> | 1524 | <dl·class="py·method"> |
1525 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.es_MX.Provider.elector_code"> | 1525 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.es_MX.Provider.elector_code"> |
1526 | <span·class="sig-name·descname"><span·class="pre">elector_code</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">gender</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Literal"·title="(in·Python·v3.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> | 1526 | <span·class="sig-name·descname"><span·class="pre">elector_code</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">gender</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Literal"·title="(in·Python·v3.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 1537, 30 lines modified | Offset 1537, 30 lines modified | ||
1537 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1537 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1538 | <dd·class="field-odd"><p></p></dd> | 1538 | <dd·class="field-odd"><p></p></dd> |
1539 | </dl> | 1539 | </dl> |
1540 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1540 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1541 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1541 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1542 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">elector_code</span><span·class="p">()</span> | 1542 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">elector_code</span><span·class="p">()</span> |
1543 | <span·class="gp">...</span> | 1543 | <span·class="gp">...</span> |
1544 | <span·class="go">' | 1544 | <span·class="go">'LKMMNJ06113031M394'</span> |
1545 | <span·class="go">' | 1545 | <span·class="go">'DJJRZX96111823H498'</span> |
1546 | <span·class="go">' | 1546 | <span·class="go">'FSRJSC57093015M555'</span> |
1547 | <span·class="go">' | 1547 | <span·class="go">'RSQJJZ38123012M150'</span> |
1548 | <span·class="go">' | 1548 | <span·class="go">'WGMDLF68040818M346'</span> |
1549 | </pre></div> | 1549 | </pre></div> |
1550 | </div> | 1550 | </div> |
1551 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1551 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1552 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1552 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1553 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">elector_code</span><span·class="p">(</span><span·class="n">gender</span><span·class="o">=</span><span·class="s1">'M'</span><span·class="p">)</span> | 1553 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">elector_code</span><span·class="p">(</span><span·class="n">gender</span><span·class="o">=</span><span·class="s1">'M'</span><span·class="p">)</span> |
1554 | <span·class="gp">...</span> | 1554 | <span·class="gp">...</span> |
1555 | <span·class="go">' | 1555 | <span·class="go">'MBSYDZ06113026M334'</span> |
1556 | <span·class="go">' | 1556 | <span·class="go">'HZSXYW96111821M102'</span> |
1557 | <span·class="go">' | 1557 | <span·class="go">'PRZQPS57093028M716'</span> |
1558 | <span·class="go">' | 1558 | <span·class="go">'BHKXHY38123015M718'</span> |
1559 | <span·class="go">' | 1559 | <span·class="go">'GLCWMS68040823M468'</span> |
1560 | </pre></div> | 1560 | </pre></div> |
1561 | </div> | 1561 | </div> |
1562 | </dd></dl> | 1562 | </dd></dl> |
1563 | <dl·class="py·method"> | 1563 | <dl·class="py·method"> |
1564 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.es_MX.Provider.rfc"> | 1564 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.es_MX.Provider.rfc"> |
1565 | <span·class="sig-name·descname"><span·class="pre">rfc</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">natural</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.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> | 1565 | <span·class="sig-name·descname"><span·class="pre">rfc</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">natural</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.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 1576, 19 lines modified | Offset 1576, 19 lines modified | ||
1576 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1576 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1577 | <dd·class="field-odd"><p></p></dd> | 1577 | <dd·class="field-odd"><p></p></dd> |
1578 | </dl> | 1578 | </dl> |
1579 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1579 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1580 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1580 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1581 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">rfc</span><span·class="p">()</span> | 1581 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">rfc</span><span·class="p">()</span> |
1582 | <span·class="gp">...</span> | 1582 | <span·class="gp">...</span> |
1583 | <span·class="go">' | 1583 | <span·class="go">'REBD061130TGF'</span> |
1584 | <span·class="go">' | 1584 | <span·class="go">'ZOUI96111819M'</span> |
1585 | <span·class="go">' | 1585 | <span·class="go">'QAMU5709301BY'</span> |
1586 | <span·class="go">' | 1586 | <span·class="go">'GAXP381230VB1'</span> |
1587 | <span·class="go">' | 1587 | <span·class="go">'TICJ680408NJ5'</span> |
1588 | </pre></div> | 1588 | </pre></div> |
1589 | </div> | 1589 | </div> |
1590 | </dd></dl> | 1590 | </dd></dl> |
1591 | <dl·class="py·method"> | 1591 | <dl·class="py·method"> |
1592 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.es_MX.Provider.ssn"> | 1592 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.es_MX.Provider.ssn"> |
1593 | <span·class="sig-name·descname"><span·class="pre">ssn</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.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> | 1593 | <span·class="sig-name·descname"><span·class="pre">ssn</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.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 860, 64 lines modified | Offset 860, 64 lines modified | ||
860 | ··············Returns: | 860 | ··············Returns: |
861 | ··················a·random·Mexican·CURP·(Unique·Population·Registry·Code) | 861 | ··················a·random·Mexican·CURP·(Unique·Population·Registry·Code) |
862 | ··············Examples: | 862 | ··············Examples: |
863 | ············>>>·Faker.seed(0) | 863 | ············>>>·Faker.seed(0) |
864 | ············>>>·for·_·in·range(5): | 864 | ············>>>·for·_·in·range(5): |
865 | ············...·····fake.curp() | 865 | ············...·····fake.curp() |
866 | ············... | 866 | ············... |
867 | ············'KUDA061129HNLFRYA8' | ||
868 | ············'KUZZ961117HTSYNB07' | ||
869 | ············'AUDB570929HBSCCX02' | ||
870 | ············'ZIIE381229MNETRI00' | ||
871 | ············' | 867 | ············'KIUX061130MASMCAA9' |
868 | ············'EEFP961118MPLVDA05' | ||
869 | ············'LUFX570930HMSYTZ08' | ||
870 | ············'AATO381230HQONFS08' | ||
871 | ············'JUBC680408MSLVYU03' | ||
872 | ········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¶ | 872 | ········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¶ |
873 | ············Unique·elector·code·issued·by·INE·(Instituto·Nacional·Electoral)·in | 873 | ············Unique·elector·code·issued·by·INE·(Instituto·Nacional·Electoral)·in |
874 | ············Mexico. | 874 | ············Mexico. |
875 | ··············Parameters: | 875 | ··············Parameters: |
876 | ··················g\x8ge\x8en\x8nd\x8de\x8er\x8r·(_\x8s\x8s_\x8t\x8t_\x8r\x8r)·–·Gender·for·which·to·generate·the·code.·Will·be | 876 | ··················g\x8ge\x8en\x8nd\x8de\x8er\x8r·(_\x8s\x8s_\x8t\x8t_\x8r\x8r)·–·Gender·for·which·to·generate·the·code.·Will·be |
877 | ··················randomly·selected·if·not·provided. | 877 | ··················randomly·selected·if·not·provided. |
878 | ··············Returns: | 878 | ··············Returns: |
879 | ··················a·random·INE·elector·code | 879 | ··················a·random·INE·elector·code |
880 | ··············Examples: | 880 | ··············Examples: |
881 | ············>>>·Faker.seed(0) | 881 | ············>>>·Faker.seed(0) |
882 | ············>>>·for·_·in·range(5): | 882 | ············>>>·for·_·in·range(5): |
883 | ············...·····fake.elector_code() | 883 | ············...·····fake.elector_code() |
884 | ············... | 884 | ············... |
885 | ············'DPXVTP06112910M406' | ||
886 | ············'SQQFHR96111707H473' | ||
887 | ············'BDJHND57092929M784' | ||
888 | ············'PPHSSL38122902H126' | ||
889 | ············' | 885 | ············'LKMMNJ06113031M394' |
886 | ············'DJJRZX96111823H498' | ||
887 | ············'FSRJSC57093015M555' | ||
888 | ············'RSQJJZ38123012M150' | ||
889 | ············'WGMDLF68040818M346' | ||
890 | ············>>>·Faker.seed(0) | 890 | ············>>>·Faker.seed(0) |
891 | ············>>>·for·_·in·range(5): | 891 | ············>>>·for·_·in·range(5): |
892 | ············...·····fake.elector_code(gender='M') | 892 | ············...·····fake.elector_code(gender='M') |
893 | ············... | 893 | ············... |
894 | ············' | 894 | ············'MBSYDZ06113026M334' |
895 | ············' | 895 | ············'HZSXYW96111821M102' |
896 | ············'WTRSZD57092905M835' | ||
897 | ············'MCRVQQ38122908M113' | ||
898 | ············' | 896 | ············'PRZQPS57093028M716' |
897 | ············'BHKXHY38123015M718' | ||
898 | ············'GLCWMS68040823M468' | ||
899 | ········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¶ | 899 | ········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¶ |
900 | ············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/ | 900 | ············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/ |
901 | ············_\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 | 901 | ············_\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 |
902 | ··············Parameters: | 902 | ··············Parameters: |
903 | ··················n\x8na\x8at\x8tu\x8ur\x8ra\x8al\x8l·(_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l)·–·Whether·to·return·the·RFC·of·a·natural | 903 | ··················n\x8na\x8at\x8tu\x8ur\x8ra\x8al\x8l·(_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l)·–·Whether·to·return·the·RFC·of·a·natural |
904 | ··················person.·Otherwise·return·the·RFC·of·a·legal·person. | 904 | ··················person.·Otherwise·return·the·RFC·of·a·legal·person. |
905 | ··············Returns: | 905 | ··············Returns: |
906 | ··················a·random·Mexican·RFC | 906 | ··················a·random·Mexican·RFC |
907 | ··············Examples: | 907 | ··············Examples: |
908 | ············>>>·Faker.seed(0) | 908 | ············>>>·Faker.seed(0) |
909 | ············>>>·for·_·in·range(5): | 909 | ············>>>·for·_·in·range(5): |
910 | ············...·····fake.rfc() | 910 | ············...·····fake.rfc() |
911 | ············... | 911 | ············... |
912 | ············'VEKF061129MHM' | ||
913 | ············' | 912 | ············'REBD061130TGF' |
913 | ············'ZOUI96111819M' | ||
914 | ············' | 914 | ············'QAMU5709301BY' |
915 | ············'LELB381229JPY' | ||
916 | ············' | 915 | ············'GAXP381230VB1' |
916 | ············'TICJ680408NJ5' | ||
917 | ········ssn()·→·_\x8s_\x8t_\x8r_\x8¶ | 917 | ········ssn()·→·_\x8s_\x8t_\x8r_\x8¶ |
918 | ············Mexican·Social·Security·Number,·as·given·by·IMSS. | 918 | ············Mexican·Social·Security·Number,·as·given·by·IMSS. |
919 | ··············Returns: | 919 | ··············Returns: |
920 | ··················a·random·Mexican·SSN | 920 | ··················a·random·Mexican·SSN |
921 | ··············Examples: | 921 | ··············Examples: |
922 | ············>>>·Faker.seed(0) | 922 | ············>>>·Faker.seed(0) |
923 | ············>>>·for·_·in·range(5): | 923 | ············>>>·for·_·in·range(5): |
Offset 715, 19 lines modified | Offset 715, 19 lines modified | ||
715 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 715 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
716 | <dd·class="field-odd"><p></p></dd> | 716 | <dd·class="field-odd"><p></p></dd> |
717 | </dl> | 717 | </dl> |
718 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 718 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
719 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 719 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
720 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">ssn</span><span·class="p">()</span> | 720 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">ssn</span><span·class="p">()</span> |
721 | <span·class="gp">...</span> | 721 | <span·class="gp">...</span> |
722 | <span·class="go">'474053 | 722 | <span·class="go">'47405310417'</span> |
723 | <span·class="go">'485092 | 723 | <span·class="go">'48509294142'</span> |
724 | <span·class="go">'438082 | 724 | <span·class="go">'43808289917'</span> |
725 | <span·class="go">'46603 | 725 | <span·class="go">'46603205972'</span> |
726 | <span·class="go">'389051 | 726 | <span·class="go">'38905182889'</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 | ············'474053 | 386 | ············'47405310417' |
387 | ············'485092 | 387 | ············'48509294142' |
388 | ············'438082 | 388 | ············'43808289917' |
389 | ············'46603 | 389 | ············'46603205972' |
390 | ············'389051 | 390 | ············'38905182889' |
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 2348, 19 lines modified | Offset 2348, 19 lines modified | ||
2348 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 2348 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
2349 | <dd·class="field-odd"><p></p></dd> | 2349 | <dd·class="field-odd"><p></p></dd> |
2350 | </dl> | 2350 | </dl> |
2351 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 2351 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
2352 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 2352 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
2353 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">ssn</span><span·class="p">()</span> | 2353 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">ssn</span><span·class="p">()</span> |
2354 | <span·class="gp">...</span> | 2354 | <span·class="gp">...</span> |
2355 | <span·class="go">'0 | 2355 | <span·class="go">'031155-7783'</span> |
2356 | <span·class="go">'0 | 2356 | <span·class="go">'020749-043Y'</span> |
2357 | <span·class="go">'0 | 2357 | <span·class="go">'040778-5259'</span> |
2358 | <span·class="go">' | 2358 | <span·class="go">'101037-416F'</span> |
2359 | <span·class="go">'1 | 2359 | <span·class="go">'170770-490F'</span> |
2360 | </pre></div> | 2360 | </pre></div> |
2361 | </div> | 2361 | </div> |
2362 | </dd></dl> | 2362 | </dd></dl> |
2363 | <dl·class="py·method"> | 2363 | <dl·class="py·method"> |
2364 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.fi_FI.Provider.vat_id"> | 2364 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.fi_FI.Provider.vat_id"> |
2365 | <span·class="sig-name·descname"><span·class="pre">vat_id</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.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> | 2365 | <span·class="sig-name·descname"><span·class="pre">vat_id</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.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 1348, 19 lines modified | Offset 1348, 19 lines modified | ||
1348 | ············_\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/ | 1348 | ············_\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/ |
1349 | ············_\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 | 1349 | ············_\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 |
1350 | ··············Examples: | 1350 | ··············Examples: |
1351 | ············>>>·Faker.seed(0) | 1351 | ············>>>·Faker.seed(0) |
1352 | ············>>>·for·_·in·range(5): | 1352 | ············>>>·for·_·in·range(5): |
1353 | ············...·····fake.ssn() | 1353 | ············...·····fake.ssn() |
1354 | ············... | 1354 | ············... |
1355 | ············'0 | 1355 | ············'031155-7783' |
1356 | ············'0 | 1356 | ············'020749-043Y' |
1357 | ············'0 | 1357 | ············'040778-5259' |
1358 | ············' | 1358 | ············'101037-416F' |
1359 | ············'1 | 1359 | ············'170770-490F' |
1360 | ········vat_id()·→·_\x8s_\x8t_\x8r_\x8¶ | 1360 | ········vat_id()·→·_\x8s_\x8t_\x8r_\x8¶ |
1361 | ············_\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: | 1361 | ············_\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: |
1362 | ············A·random·Finnish·VAT·ID | 1362 | ············A·random·Finnish·VAT·ID |
1363 | ··············Examples: | 1363 | ··············Examples: |
1364 | ············>>>·Faker.seed(0) | 1364 | ············>>>·Faker.seed(0) |
1365 | ············>>>·for·_·in·range(5): | 1365 | ············>>>·for·_·in·range(5): |
1366 | ············...·····fake.vat_id() | 1366 | ············...·····fake.vat_id() |
Offset 1645, 18 lines modified | Offset 1645, 18 lines modified | ||
1645 | <dd·class="field-odd"><p></p></dd> | 1645 | <dd·class="field-odd"><p></p></dd> |
1646 | </dl> | 1646 | </dl> |
1647 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1647 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1648 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1648 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1649 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1649 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1650 | <span·class="gp">...</span> | 1650 | <span·class="gp">...</span> |
1651 | <span·class="go">'PM'</span> | 1651 | <span·class="go">'PM'</span> |
1652 | <span·class="go">' | 1652 | <span·class="go">'PM'</span> |
1653 | <span·class="go">' | 1653 | <span·class="go">'PM'</span> |
1654 | <span·class="go">' | 1654 | <span·class="go">'PM'</span> |
1655 | <span·class="go">' | 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, 15 lines modified | Offset 1697, 15 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-05- | 1704 | <span·class="go">'2016-05-30'</span> |
1705 | <span·class="go">'2011-08-29'</span> | 1705 | <span·class="go">'2011-08-29'</span> |
1706 | <span·class="go">'1993-02-11'</span> | 1706 | <span·class="go">'1993-02-11'</span> |
1707 | <span·class="go">'1984-03-25'</span> | 1707 | <span·class="go">'1984-03-25'</span> |
1708 | <span·class="go">'1998-02-06'</span> | 1708 | <span·class="go">'1998-02-06'</span> |
1709 | </pre></div> | 1709 | </pre></div> |
1710 | </div> | 1710 | </div> |
1711 | </dd></dl> | 1711 | </dd></dl> |
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,·4,·1 | 1738 | <span·class="go">datetime.date(2020,·4,·17)</span> |
1739 | <span·class="go">datetime.date(2017,·9,·1 | 1739 | <span·class="go">datetime.date(2017,·9,·12)</span> |
1740 | <span·class="go">datetime.date(2007,·7,· | 1740 | <span·class="go">datetime.date(2007,·7,·30)</span> |
1741 | <span·class="go">datetime.date(2002,·9,·2 | 1741 | <span·class="go">datetime.date(2002,·9,·23)</span> |
1742 | <span·class="go">datetime.date(2010,·4,·1 | 1742 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 1769 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1770 | <span·class="go">datetime.date(2024,·12,·1 | 1770 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1771 | <span·class="go">datetime.date(2024,·12,·1 | 1771 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1772 | <span·class="go">datetime.date(2024,·12,·1 | 1772 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1773 | <span·class="go">datetime.date(2024,·12,·1 | 1773 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 1786, 15 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,·5,· | 1793 | <span·class="go">datetime.date(2016,·5,·30)</span> |
1794 | <span·class="go">datetime.date(2011,·8,·29)</span> | 1794 | <span·class="go">datetime.date(2011,·8,·29)</span> |
1795 | <span·class="go">datetime.date(1993,·2,·11)</span> | 1795 | <span·class="go">datetime.date(1993,·2,·11)</span> |
1796 | <span·class="go">datetime.date(1984,·3,·25)</span> | 1796 | <span·class="go">datetime.date(1984,·3,·25)</span> |
1797 | <span·class="go">datetime.date(1998,·2,·6)</span> | 1797 | <span·class="go">datetime.date(1998,·2,·6)</span> |
1798 | </pre></div> | 1798 | </pre></div> |
1799 | </div> | 1799 | </div> |
1800 | </dd></dl> | 1800 | </dd></dl> |
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,·11,· | 1829 | <span·class="go">datetime.date(2006,·11,·30)</span> |
1830 | <span·class="go">datetime.date(1996,·11,·1 | 1830 | <span·class="go">datetime.date(1996,·11,·18)</span> |
1831 | <span·class="go">datetime.date(1957,·9,· | 1831 | <span·class="go">datetime.date(1957,·9,·30)</span> |
1832 | <span·class="go">datetime.date(1938,·12,· | 1832 | <span·class="go">datetime.date(1938,·12,·30)</span> |
1833 | <span·class="go">datetime.date(1968,·4,· | 1833 | <span·class="go">datetime.date(1968,·4,·8)</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(2021,·1,·2 | 1862 | <span·class="go">datetime.date(2021,·1,·28)</span> |
1863 | <span·class="go">datetime.date(2018,·12,· | 1863 | <span·class="go">datetime.date(2018,·12,·2)</span> |
1864 | <span·class="go">datetime.date(2010,· | 1864 | <span·class="go">datetime.date(2010,·7,·1)</span> |
1865 | <span·class="go">datetime.date(2006,·6,·18)</span> | 1865 | <span·class="go">datetime.date(2006,·6,·18)</span> |
1866 | <span·class="go">datetime.date(2012,·10,· | 1866 | <span·class="go">datetime.date(2012,·10,·5)</span> |
1867 | </pre></div> | 1867 | </pre></div> |
1868 | </div> | 1868 | </div> |
1869 | </dd></dl> | 1869 | </dd></dl> |
Max diff block lines reached; 293488/310392 bytes (94.55%) of diff not shown. |
Offset 951, 18 lines modified | Offset 951, 18 lines modified | ||
951 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 951 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
952 | ··············Examples: | 952 | ··············Examples: |
953 | ············>>>·Faker.seed(0) | 953 | ············>>>·Faker.seed(0) |
954 | ············>>>·for·_·in·range(5): | 954 | ············>>>·for·_·in·range(5): |
955 | ············...·····fake.am_pm() | 955 | ············...·····fake.am_pm() |
956 | ············... | 956 | ············... |
957 | ············'PM' | 957 | ············'PM' |
958 | ············' | 958 | ············'PM' |
959 | ············' | 959 | ············'PM' |
960 | ············' | 960 | ············'PM' |
961 | ············' | 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, 15 lines modified | Offset 982, 15 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-05- | 989 | ············'2016-05-30' |
990 | ············'2011-08-29' | 990 | ············'2011-08-29' |
991 | ············'1993-02-11' | 991 | ············'1993-02-11' |
992 | ············'1984-03-25' | 992 | ············'1984-03-25' |
993 | ············'1998-02-06' | 993 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 1011 | ············datetime.date(2020,·4,·17) |
1012 | ············datetime.date(2017,·9,·1 | 1012 | ············datetime.date(2017,·9,·12) |
1013 | ············datetime.date(2007,·7,· | 1013 | ············datetime.date(2007,·7,·30) |
1014 | ············datetime.date(2002,·9,·2 | 1014 | ············datetime.date(2002,·9,·23) |
1015 | ············datetime.date(2010,·4,·1 | 1015 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 1024, 29 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,·12,·1 | 1031 | ············datetime.date(2024,·12,·17) |
1032 | ············datetime.date(2024,·12,·1 | 1032 | ············datetime.date(2024,·12,·17) |
1033 | ············datetime.date(2024,·12,·1 | 1033 | ············datetime.date(2024,·12,·17) |
1034 | ············datetime.date(2024,·12,·1 | 1034 | ············datetime.date(2024,·12,·17) |
1035 | ············datetime.date(2024,·12,·1 | 1035 | ············datetime.date(2024,·12,·17) |
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,·5,· | 1045 | ············datetime.date(2016,·5,·30) |
1046 | ············datetime.date(2011,·8,·29) | 1046 | ············datetime.date(2011,·8,·29) |
1047 | ············datetime.date(1993,·2,·11) | 1047 | ············datetime.date(1993,·2,·11) |
1048 | ············datetime.date(1984,·3,·25) | 1048 | ············datetime.date(1984,·3,·25) |
1049 | ············datetime.date(1998,·2,·6) | 1049 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 1067 | ············datetime.date(2006,·11,·30) |
1068 | ············datetime.date(1996,·11,·1 | 1068 | ············datetime.date(1996,·11,·18) |
1069 | ············datetime.date(1957,·9,· | 1069 | ············datetime.date(1957,·9,·30) |
1070 | ············datetime.date(1938,·12,· | 1070 | ············datetime.date(1938,·12,·30) |
1071 | ············datetime.date(1968,·4,· | 1071 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 1089 | ············datetime.date(2021,·1,·28) |
1090 | ············datetime.date(2018,·12,· | 1090 | ············datetime.date(2018,·12,·2) |
1091 | ············datetime.date(2010,· | 1091 | ············datetime.date(2010,·7,·1) |
1092 | ············datetime.date(2006,·6,·18) | 1092 | ············datetime.date(2006,·6,·18) |
1093 | ············datetime.date(2012,·10,· | 1093 | ············datetime.date(2012,·10,·5) |
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 |
1099 | ························today | 1099 | ························today |
1100 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 1100 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 1104, 19 lines modified | Offset 1104, 19 lines modified | ||
1104 | ··············Returns: | 1104 | ··············Returns: |
1105 | ··················Date | 1105 | ··················Date |
Max diff block lines reached; 196421/203251 bytes (96.64%) of diff not shown. |
Offset 1245, 18 lines modified | Offset 1245, 18 lines modified | ||
1245 | <dd·class="field-odd"><p></p></dd> | 1245 | <dd·class="field-odd"><p></p></dd> |
1246 | </dl> | 1246 | </dl> |
1247 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1247 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1248 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1248 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1249 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1249 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1250 | <span·class="gp">...</span> | 1250 | <span·class="gp">...</span> |
1251 | <span·class="go">'PM'</span> | 1251 | <span·class="go">'PM'</span> |
1252 | <span·class="go">' | 1252 | <span·class="go">'PM'</span> |
1253 | <span·class="go">' | 1253 | <span·class="go">'PM'</span> |
1254 | <span·class="go">' | 1254 | <span·class="go">'PM'</span> |
1255 | <span·class="go">' | 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, 15 lines modified | Offset 1297, 15 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-05- | 1304 | <span·class="go">'2016-05-30'</span> |
1305 | <span·class="go">'2011-08-29'</span> | 1305 | <span·class="go">'2011-08-29'</span> |
1306 | <span·class="go">'1993-02-11'</span> | 1306 | <span·class="go">'1993-02-11'</span> |
1307 | <span·class="go">'1984-03-25'</span> | 1307 | <span·class="go">'1984-03-25'</span> |
1308 | <span·class="go">'1998-02-06'</span> | 1308 | <span·class="go">'1998-02-06'</span> |
1309 | </pre></div> | 1309 | </pre></div> |
1310 | </div> | 1310 | </div> |
1311 | </dd></dl> | 1311 | </dd></dl> |
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,·4,·1 | 1338 | <span·class="go">datetime.date(2020,·4,·17)</span> |
1339 | <span·class="go">datetime.date(2017,·9,·1 | 1339 | <span·class="go">datetime.date(2017,·9,·12)</span> |
1340 | <span·class="go">datetime.date(2007,·7,· | 1340 | <span·class="go">datetime.date(2007,·7,·30)</span> |
1341 | <span·class="go">datetime.date(2002,·9,·2 | 1341 | <span·class="go">datetime.date(2002,·9,·23)</span> |
1342 | <span·class="go">datetime.date(2010,·4,·1 | 1342 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 1369 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1370 | <span·class="go">datetime.date(2024,·12,·1 | 1370 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1371 | <span·class="go">datetime.date(2024,·12,·1 | 1371 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1372 | <span·class="go">datetime.date(2024,·12,·1 | 1372 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1373 | <span·class="go">datetime.date(2024,·12,·1 | 1373 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 1386, 15 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,·5,· | 1393 | <span·class="go">datetime.date(2016,·5,·30)</span> |
1394 | <span·class="go">datetime.date(2011,·8,·29)</span> | 1394 | <span·class="go">datetime.date(2011,·8,·29)</span> |
1395 | <span·class="go">datetime.date(1993,·2,·11)</span> | 1395 | <span·class="go">datetime.date(1993,·2,·11)</span> |
1396 | <span·class="go">datetime.date(1984,·3,·25)</span> | 1396 | <span·class="go">datetime.date(1984,·3,·25)</span> |
1397 | <span·class="go">datetime.date(1998,·2,·6)</span> | 1397 | <span·class="go">datetime.date(1998,·2,·6)</span> |
1398 | </pre></div> | 1398 | </pre></div> |
1399 | </div> | 1399 | </div> |
1400 | </dd></dl> | 1400 | </dd></dl> |
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,·11,· | 1429 | <span·class="go">datetime.date(2006,·11,·30)</span> |
1430 | <span·class="go">datetime.date(1996,·11,·1 | 1430 | <span·class="go">datetime.date(1996,·11,·18)</span> |
1431 | <span·class="go">datetime.date(1957,·9,· | 1431 | <span·class="go">datetime.date(1957,·9,·30)</span> |
1432 | <span·class="go">datetime.date(1938,·12,· | 1432 | <span·class="go">datetime.date(1938,·12,·30)</span> |
1433 | <span·class="go">datetime.date(1968,·4,· | 1433 | <span·class="go">datetime.date(1968,·4,·8)</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(2021,·1,·2 | 1462 | <span·class="go">datetime.date(2021,·1,·28)</span> |
1463 | <span·class="go">datetime.date(2018,·12,· | 1463 | <span·class="go">datetime.date(2018,·12,·2)</span> |
1464 | <span·class="go">datetime.date(2010,· | 1464 | <span·class="go">datetime.date(2010,·7,·1)</span> |
1465 | <span·class="go">datetime.date(2006,·6,·18)</span> | 1465 | <span·class="go">datetime.date(2006,·6,·18)</span> |
1466 | <span·class="go">datetime.date(2012,·10,· | 1466 | <span·class="go">datetime.date(2012,·10,·5)</span> |
1467 | </pre></div> | 1467 | </pre></div> |
1468 | </div> | 1468 | </div> |
1469 | </dd></dl> | 1469 | </dd></dl> |
Max diff block lines reached; 88992/105888 bytes (84.04%) of diff not shown. |
Offset 788, 18 lines modified | Offset 788, 18 lines modified | ||
788 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 788 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
789 | ··············Examples: | 789 | ··············Examples: |
790 | ············>>>·Faker.seed(0) | 790 | ············>>>·Faker.seed(0) |
791 | ············>>>·for·_·in·range(5): | 791 | ············>>>·for·_·in·range(5): |
792 | ············...·····fake.am_pm() | 792 | ············...·····fake.am_pm() |
793 | ············... | 793 | ············... |
794 | ············'PM' | 794 | ············'PM' |
795 | ············' | 795 | ············'PM' |
796 | ············' | 796 | ············'PM' |
797 | ············' | 797 | ············'PM' |
798 | ············' | 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, 15 lines modified | Offset 819, 15 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-05- | 826 | ············'2016-05-30' |
827 | ············'2011-08-29' | 827 | ············'2011-08-29' |
828 | ············'1993-02-11' | 828 | ············'1993-02-11' |
829 | ············'1984-03-25' | 829 | ············'1984-03-25' |
830 | ············'1998-02-06' | 830 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 848 | ············datetime.date(2020,·4,·17) |
849 | ············datetime.date(2017,·9,·1 | 849 | ············datetime.date(2017,·9,·12) |
850 | ············datetime.date(2007,·7,· | 850 | ············datetime.date(2007,·7,·30) |
851 | ············datetime.date(2002,·9,·2 | 851 | ············datetime.date(2002,·9,·23) |
852 | ············datetime.date(2010,·4,·1 | 852 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 861, 29 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,·12,·1 | 868 | ············datetime.date(2024,·12,·17) |
869 | ············datetime.date(2024,·12,·1 | 869 | ············datetime.date(2024,·12,·17) |
870 | ············datetime.date(2024,·12,·1 | 870 | ············datetime.date(2024,·12,·17) |
871 | ············datetime.date(2024,·12,·1 | 871 | ············datetime.date(2024,·12,·17) |
872 | ············datetime.date(2024,·12,·1 | 872 | ············datetime.date(2024,·12,·17) |
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,·5,· | 882 | ············datetime.date(2016,·5,·30) |
883 | ············datetime.date(2011,·8,·29) | 883 | ············datetime.date(2011,·8,·29) |
884 | ············datetime.date(1993,·2,·11) | 884 | ············datetime.date(1993,·2,·11) |
885 | ············datetime.date(1984,·3,·25) | 885 | ············datetime.date(1984,·3,·25) |
886 | ············datetime.date(1998,·2,·6) | 886 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 904 | ············datetime.date(2006,·11,·30) |
905 | ············datetime.date(1996,·11,·1 | 905 | ············datetime.date(1996,·11,·18) |
906 | ············datetime.date(1957,·9,· | 906 | ············datetime.date(1957,·9,·30) |
907 | ············datetime.date(1938,·12,· | 907 | ············datetime.date(1938,·12,·30) |
908 | ············datetime.date(1968,·4,· | 908 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 926 | ············datetime.date(2021,·1,·28) |
927 | ············datetime.date(2018,·12,· | 927 | ············datetime.date(2018,·12,·2) |
928 | ············datetime.date(2010,· | 928 | ············datetime.date(2010,·7,·1) |
929 | ············datetime.date(2006,·6,·18) | 929 | ············datetime.date(2006,·6,·18) |
930 | ············datetime.date(2012,·10,· | 930 | ············datetime.date(2012,·10,·5) |
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 |
936 | ························today | 936 | ························today |
937 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 937 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 941, 19 lines modified | Offset 941, 19 lines modified | ||
941 | ··············Returns: | 941 | ··············Returns: |
942 | ··················Date | 942 | ··················Date |
Max diff block lines reached; 27396/34216 bytes (80.07%) of diff not shown. |
Offset 1518, 18 lines modified | Offset 1518, 18 lines modified | ||
1518 | <dd·class="field-odd"><p></p></dd> | 1518 | <dd·class="field-odd"><p></p></dd> |
1519 | </dl> | 1519 | </dl> |
1520 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1520 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1521 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1521 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1522 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1522 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1523 | <span·class="gp">...</span> | 1523 | <span·class="gp">...</span> |
1524 | <span·class="go">'PM'</span> | 1524 | <span·class="go">'PM'</span> |
1525 | <span·class="go">' | 1525 | <span·class="go">'PM'</span> |
1526 | <span·class="go">' | 1526 | <span·class="go">'PM'</span> |
1527 | <span·class="go">' | 1527 | <span·class="go">'PM'</span> |
1528 | <span·class="go">' | 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, 15 lines modified | Offset 1570, 15 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-05- | 1577 | <span·class="go">'2016-05-30'</span> |
1578 | <span·class="go">'2011-08-29'</span> | 1578 | <span·class="go">'2011-08-29'</span> |
1579 | <span·class="go">'1993-02-11'</span> | 1579 | <span·class="go">'1993-02-11'</span> |
1580 | <span·class="go">'1984-03-25'</span> | 1580 | <span·class="go">'1984-03-25'</span> |
1581 | <span·class="go">'1998-02-06'</span> | 1581 | <span·class="go">'1998-02-06'</span> |
1582 | </pre></div> | 1582 | </pre></div> |
1583 | </div> | 1583 | </div> |
1584 | </dd></dl> | 1584 | </dd></dl> |
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,·4,·1 | 1611 | <span·class="go">datetime.date(2020,·4,·17)</span> |
1612 | <span·class="go">datetime.date(2017,·9,·1 | 1612 | <span·class="go">datetime.date(2017,·9,·12)</span> |
1613 | <span·class="go">datetime.date(2007,·7,· | 1613 | <span·class="go">datetime.date(2007,·7,·30)</span> |
1614 | <span·class="go">datetime.date(2002,·9,·2 | 1614 | <span·class="go">datetime.date(2002,·9,·23)</span> |
1615 | <span·class="go">datetime.date(2010,·4,·1 | 1615 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 1642 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1643 | <span·class="go">datetime.date(2024,·12,·1 | 1643 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1644 | <span·class="go">datetime.date(2024,·12,·1 | 1644 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1645 | <span·class="go">datetime.date(2024,·12,·1 | 1645 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1646 | <span·class="go">datetime.date(2024,·12,·1 | 1646 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 1659, 15 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,·5,· | 1666 | <span·class="go">datetime.date(2016,·5,·30)</span> |
1667 | <span·class="go">datetime.date(2011,·8,·29)</span> | 1667 | <span·class="go">datetime.date(2011,·8,·29)</span> |
1668 | <span·class="go">datetime.date(1993,·2,·11)</span> | 1668 | <span·class="go">datetime.date(1993,·2,·11)</span> |
1669 | <span·class="go">datetime.date(1984,·3,·25)</span> | 1669 | <span·class="go">datetime.date(1984,·3,·25)</span> |
1670 | <span·class="go">datetime.date(1998,·2,·6)</span> | 1670 | <span·class="go">datetime.date(1998,·2,·6)</span> |
1671 | </pre></div> | 1671 | </pre></div> |
1672 | </div> | 1672 | </div> |
1673 | </dd></dl> | 1673 | </dd></dl> |
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,·11,· | 1702 | <span·class="go">datetime.date(2006,·11,·30)</span> |
1703 | <span·class="go">datetime.date(1996,·11,·1 | 1703 | <span·class="go">datetime.date(1996,·11,·18)</span> |
1704 | <span·class="go">datetime.date(1957,·9,· | 1704 | <span·class="go">datetime.date(1957,·9,·30)</span> |
1705 | <span·class="go">datetime.date(1938,·12,· | 1705 | <span·class="go">datetime.date(1938,·12,·30)</span> |
1706 | <span·class="go">datetime.date(1968,·4,· | 1706 | <span·class="go">datetime.date(1968,·4,·8)</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(2021,·1,·2 | 1735 | <span·class="go">datetime.date(2021,·1,·28)</span> |
1736 | <span·class="go">datetime.date(2018,·12,· | 1736 | <span·class="go">datetime.date(2018,·12,·2)</span> |
1737 | <span·class="go">datetime.date(2010,· | 1737 | <span·class="go">datetime.date(2010,·7,·1)</span> |
1738 | <span·class="go">datetime.date(2006,·6,·18)</span> | 1738 | <span·class="go">datetime.date(2006,·6,·18)</span> |
1739 | <span·class="go">datetime.date(2012,·10,· | 1739 | <span·class="go">datetime.date(2012,·10,·5)</span> |
1740 | </pre></div> | 1740 | </pre></div> |
1741 | </div> | 1741 | </div> |
1742 | </dd></dl> | 1742 | </dd></dl> |
Max diff block lines reached; 88984/105880 bytes (84.04%) of diff not shown. |
Offset 893, 18 lines modified | Offset 893, 18 lines modified | ||
893 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 893 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
894 | ··············Examples: | 894 | ··············Examples: |
895 | ············>>>·Faker.seed(0) | 895 | ············>>>·Faker.seed(0) |
896 | ············>>>·for·_·in·range(5): | 896 | ············>>>·for·_·in·range(5): |
897 | ············...·····fake.am_pm() | 897 | ············...·····fake.am_pm() |
898 | ············... | 898 | ············... |
899 | ············'PM' | 899 | ············'PM' |
900 | ············' | 900 | ············'PM' |
901 | ············' | 901 | ············'PM' |
902 | ············' | 902 | ············'PM' |
903 | ············' | 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, 15 lines modified | Offset 924, 15 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-05- | 931 | ············'2016-05-30' |
932 | ············'2011-08-29' | 932 | ············'2011-08-29' |
933 | ············'1993-02-11' | 933 | ············'1993-02-11' |
934 | ············'1984-03-25' | 934 | ············'1984-03-25' |
935 | ············'1998-02-06' | 935 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 953 | ············datetime.date(2020,·4,·17) |
954 | ············datetime.date(2017,·9,·1 | 954 | ············datetime.date(2017,·9,·12) |
955 | ············datetime.date(2007,·7,· | 955 | ············datetime.date(2007,·7,·30) |
956 | ············datetime.date(2002,·9,·2 | 956 | ············datetime.date(2002,·9,·23) |
957 | ············datetime.date(2010,·4,·1 | 957 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 966, 29 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,·12,·1 | 973 | ············datetime.date(2024,·12,·17) |
974 | ············datetime.date(2024,·12,·1 | 974 | ············datetime.date(2024,·12,·17) |
975 | ············datetime.date(2024,·12,·1 | 975 | ············datetime.date(2024,·12,·17) |
976 | ············datetime.date(2024,·12,·1 | 976 | ············datetime.date(2024,·12,·17) |
977 | ············datetime.date(2024,·12,·1 | 977 | ············datetime.date(2024,·12,·17) |
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,·5,· | 987 | ············datetime.date(2016,·5,·30) |
988 | ············datetime.date(2011,·8,·29) | 988 | ············datetime.date(2011,·8,·29) |
989 | ············datetime.date(1993,·2,·11) | 989 | ············datetime.date(1993,·2,·11) |
990 | ············datetime.date(1984,·3,·25) | 990 | ············datetime.date(1984,·3,·25) |
991 | ············datetime.date(1998,·2,·6) | 991 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 1009 | ············datetime.date(2006,·11,·30) |
1010 | ············datetime.date(1996,·11,·1 | 1010 | ············datetime.date(1996,·11,·18) |
1011 | ············datetime.date(1957,·9,· | 1011 | ············datetime.date(1957,·9,·30) |
1012 | ············datetime.date(1938,·12,· | 1012 | ············datetime.date(1938,·12,·30) |
1013 | ············datetime.date(1968,·4,· | 1013 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 1031 | ············datetime.date(2021,·1,·28) |
1032 | ············datetime.date(2018,·12,· | 1032 | ············datetime.date(2018,·12,·2) |
1033 | ············datetime.date(2010,· | 1033 | ············datetime.date(2010,·7,·1) |
1034 | ············datetime.date(2006,·6,·18) | 1034 | ············datetime.date(2006,·6,·18) |
1035 | ············datetime.date(2012,·10,· | 1035 | ············datetime.date(2012,·10,·5) |
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 |
1041 | ························today | 1041 | ························today |
1042 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 1042 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 1046, 19 lines modified | Offset 1046, 19 lines modified | ||
1046 | ··············Returns: | 1046 | ··············Returns: |
1047 | ··················Date | 1047 | ··················Date |
Max diff block lines reached; 27392/34218 bytes (80.05%) of diff not shown. |
Offset 57, 18 lines modified | Offset 57, 18 lines modified | ||
57 | <dd·class="field-odd"><p></p></dd> | 57 | <dd·class="field-odd"><p></p></dd> |
58 | </dl> | 58 | </dl> |
59 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 59 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
60 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 60 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
61 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 61 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
62 | <span·class="gp">...</span> | 62 | <span·class="gp">...</span> |
63 | <span·class="go">'PM'</span> | 63 | <span·class="go">'PM'</span> |
64 | <span·class="go">' | 64 | <span·class="go">'PM'</span> |
65 | <span·class="go">' | 65 | <span·class="go">'PM'</span> |
66 | <span·class="go">' | 66 | <span·class="go">'PM'</span> |
67 | <span·class="go">' | 67 | <span·class="go">'PM'</span> |
68 | </pre></div> | 68 | </pre></div> |
69 | </div> | 69 | </div> |
70 | </dd></dl> | 70 | </dd></dl> |
71 | <dl·class="py·method"> | 71 | <dl·class="py·method"> |
72 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.gu_IN.Provider.century"> | 72 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.gu_IN.Provider.century"> |
73 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.gu_IN.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 73 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.gu_IN.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
Offset 109, 15 lines modified | Offset 109, 15 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-05- | 116 | <span·class="go">'2016-05-30'</span> |
117 | <span·class="go">'2011-08-29'</span> | 117 | <span·class="go">'2011-08-29'</span> |
118 | <span·class="go">'1993-02-11'</span> | 118 | <span·class="go">'1993-02-11'</span> |
119 | <span·class="go">'1984-03-25'</span> | 119 | <span·class="go">'1984-03-25'</span> |
120 | <span·class="go">'1998-02-06'</span> | 120 | <span·class="go">'1998-02-06'</span> |
121 | </pre></div> | 121 | </pre></div> |
122 | </div> | 122 | </div> |
123 | </dd></dl> | 123 | </dd></dl> |
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,·4,·1 | 150 | <span·class="go">datetime.date(2020,·4,·17)</span> |
151 | <span·class="go">datetime.date(2017,·9,·1 | 151 | <span·class="go">datetime.date(2017,·9,·12)</span> |
152 | <span·class="go">datetime.date(2007,·7,· | 152 | <span·class="go">datetime.date(2007,·7,·30)</span> |
153 | <span·class="go">datetime.date(2002,·9,·2 | 153 | <span·class="go">datetime.date(2002,·9,·23)</span> |
154 | <span·class="go">datetime.date(2010,·4,·1 | 154 | <span·class="go">datetime.date(2010,·4,·19)</span> |
155 | </pre></div> | 155 | </pre></div> |
156 | </div> | 156 | </div> |
157 | </dd></dl> | 157 | </dd></dl> |
158 | <dl·class="py·method"> | 158 | <dl·class="py·method"> |
159 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.gu_IN.Provider.date_between_dates"> | 159 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.gu_IN.Provider.date_between_dates"> |
160 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.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.gu_IN.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 160 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.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.gu_IN.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
Offset 174, 19 lines modified | Offset 174, 19 lines modified | ||
174 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 174 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
175 | <dd·class="field-odd"><p></p></dd> | 175 | <dd·class="field-odd"><p></p></dd> |
176 | </dl> | 176 | </dl> |
177 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 177 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
178 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 178 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
179 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 179 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
180 | <span·class="gp">...</span> | 180 | <span·class="gp">...</span> |
181 | <span·class="go">datetime.date(2024,·12,·1 | 181 | <span·class="go">datetime.date(2024,·12,·17)</span> |
182 | <span·class="go">datetime.date(2024,·12,·1 | 182 | <span·class="go">datetime.date(2024,·12,·17)</span> |
183 | <span·class="go">datetime.date(2024,·12,·1 | 183 | <span·class="go">datetime.date(2024,·12,·17)</span> |
184 | <span·class="go">datetime.date(2024,·12,·1 | 184 | <span·class="go">datetime.date(2024,·12,·17)</span> |
185 | <span·class="go">datetime.date(2024,·12,·1 | 185 | <span·class="go">datetime.date(2024,·12,·17)</span> |
186 | </pre></div> | 186 | </pre></div> |
187 | </div> | 187 | </div> |
188 | </dd></dl> | 188 | </dd></dl> |
189 | <dl·class="py·method"> | 189 | <dl·class="py·method"> |
190 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.gu_IN.Provider.date_object"> | 190 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.gu_IN.Provider.date_object"> |
191 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.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.gu_IN.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 191 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.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.gu_IN.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
Offset 198, 15 lines modified | Offset 198, 15 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,·5,· | 205 | <span·class="go">datetime.date(2016,·5,·30)</span> |
206 | <span·class="go">datetime.date(2011,·8,·29)</span> | 206 | <span·class="go">datetime.date(2011,·8,·29)</span> |
207 | <span·class="go">datetime.date(1993,·2,·11)</span> | 207 | <span·class="go">datetime.date(1993,·2,·11)</span> |
208 | <span·class="go">datetime.date(1984,·3,·25)</span> | 208 | <span·class="go">datetime.date(1984,·3,·25)</span> |
209 | <span·class="go">datetime.date(1998,·2,·6)</span> | 209 | <span·class="go">datetime.date(1998,·2,·6)</span> |
210 | </pre></div> | 210 | </pre></div> |
211 | </div> | 211 | </div> |
212 | </dd></dl> | 212 | </dd></dl> |
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,·11,· | 241 | <span·class="go">datetime.date(2006,·11,·30)</span> |
242 | <span·class="go">datetime.date(1996,·11,·1 | 242 | <span·class="go">datetime.date(1996,·11,·18)</span> |
243 | <span·class="go">datetime.date(1957,·9,· | 243 | <span·class="go">datetime.date(1957,·9,·30)</span> |
244 | <span·class="go">datetime.date(1938,·12,· | 244 | <span·class="go">datetime.date(1938,·12,·30)</span> |
245 | <span·class="go">datetime.date(1968,·4,· | 245 | <span·class="go">datetime.date(1968,·4,·8)</span> |
246 | </pre></div> | 246 | </pre></div> |
247 | </div> | 247 | </div> |
248 | </dd></dl> | 248 | </dd></dl> |
249 | <dl·class="py·method"> | 249 | <dl·class="py·method"> |
250 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.gu_IN.Provider.date_this_century"> | 250 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.gu_IN.Provider.date_this_century"> |
251 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.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.gu_IN.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 251 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.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.gu_IN.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
Offset 267, 19 lines modified | Offset 267, 19 lines modified | ||
267 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 267 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
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(2021,·1,·2 | 274 | <span·class="go">datetime.date(2021,·1,·28)</span> |
275 | <span·class="go">datetime.date(2018,·12,· | 275 | <span·class="go">datetime.date(2018,·12,·2)</span> |
276 | <span·class="go">datetime.date(2010,· | 276 | <span·class="go">datetime.date(2010,·7,·1)</span> |
277 | <span·class="go">datetime.date(2006,·6,·18)</span> | 277 | <span·class="go">datetime.date(2006,·6,·18)</span> |
278 | <span·class="go">datetime.date(2012,·10,· | 278 | <span·class="go">datetime.date(2012,·10,·5)</span> |
279 | </pre></div> | 279 | </pre></div> |
280 | </div> | 280 | </div> |
281 | </dd></dl> | 281 | </dd></dl> |
Max diff block lines reached; 90065/106945 bytes (84.22%) of diff not shown. |
Offset 12, 18 lines modified | Offset 12, 18 lines modified | ||
12 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 12 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
13 | ··············Examples: | 13 | ··············Examples: |
14 | ············>>>·Faker.seed(0) | 14 | ············>>>·Faker.seed(0) |
15 | ············>>>·for·_·in·range(5): | 15 | ············>>>·for·_·in·range(5): |
16 | ············...·····fake.am_pm() | 16 | ············...·····fake.am_pm() |
17 | ············... | 17 | ············... |
18 | ············'PM' | 18 | ············'PM' |
19 | ············' | 19 | ············'PM' |
20 | ············' | 20 | ············'PM' |
21 | ············' | 21 | ············'PM' |
22 | ············' | 22 | ············'PM' |
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, 15 lines modified | Offset 43, 15 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-05- | 50 | ············'2016-05-30' |
51 | ············'2011-08-29' | 51 | ············'2011-08-29' |
52 | ············'1993-02-11' | 52 | ············'1993-02-11' |
53 | ············'1984-03-25' | 53 | ············'1984-03-25' |
54 | ············'1998-02-06' | 54 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 72 | ············datetime.date(2020,·4,·17) |
73 | ············datetime.date(2017,·9,·1 | 73 | ············datetime.date(2017,·9,·12) |
74 | ············datetime.date(2007,·7,· | 74 | ············datetime.date(2007,·7,·30) |
75 | ············datetime.date(2002,·9,·2 | 75 | ············datetime.date(2002,·9,·23) |
76 | ············datetime.date(2010,·4,·1 | 76 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 85, 29 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,·12,·1 | 92 | ············datetime.date(2024,·12,·17) |
93 | ············datetime.date(2024,·12,·1 | 93 | ············datetime.date(2024,·12,·17) |
94 | ············datetime.date(2024,·12,·1 | 94 | ············datetime.date(2024,·12,·17) |
95 | ············datetime.date(2024,·12,·1 | 95 | ············datetime.date(2024,·12,·17) |
96 | ············datetime.date(2024,·12,·1 | 96 | ············datetime.date(2024,·12,·17) |
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,·5,· | 106 | ············datetime.date(2016,·5,·30) |
107 | ············datetime.date(2011,·8,·29) | 107 | ············datetime.date(2011,·8,·29) |
108 | ············datetime.date(1993,·2,·11) | 108 | ············datetime.date(1993,·2,·11) |
109 | ············datetime.date(1984,·3,·25) | 109 | ············datetime.date(1984,·3,·25) |
110 | ············datetime.date(1998,·2,·6) | 110 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 128 | ············datetime.date(2006,·11,·30) |
129 | ············datetime.date(1996,·11,·1 | 129 | ············datetime.date(1996,·11,·18) |
130 | ············datetime.date(1957,·9,· | 130 | ············datetime.date(1957,·9,·30) |
131 | ············datetime.date(1938,·12,· | 131 | ············datetime.date(1938,·12,·30) |
132 | ············datetime.date(1968,·4,· | 132 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 150 | ············datetime.date(2021,·1,·28) |
151 | ············datetime.date(2018,·12,· | 151 | ············datetime.date(2018,·12,·2) |
152 | ············datetime.date(2010,· | 152 | ············datetime.date(2010,·7,·1) |
153 | ············datetime.date(2006,·6,·18) | 153 | ············datetime.date(2006,·6,·18) |
154 | ············datetime.date(2012,·10,· | 154 | ············datetime.date(2012,·10,·5) |
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 |
160 | ························today | 160 | ························today |
161 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 161 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 165, 19 lines modified | Offset 165, 19 lines modified | ||
165 | ··············Returns: | 165 | ··············Returns: |
166 | ··················Date | 166 | ··················Date |
Max diff block lines reached; 27756/34568 bytes (80.29%) of diff not shown. |
Offset 390, 18 lines modified | Offset 390, 18 lines modified | ||
390 | <dd·class="field-odd"><p></p></dd> | 390 | <dd·class="field-odd"><p></p></dd> |
391 | </dl> | 391 | </dl> |
392 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 392 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
393 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 393 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
394 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 394 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
395 | <span·class="gp">...</span> | 395 | <span·class="gp">...</span> |
396 | <span·class="go">'PM'</span> | 396 | <span·class="go">'PM'</span> |
397 | <span·class="go">' | 397 | <span·class="go">'PM'</span> |
398 | <span·class="go">' | 398 | <span·class="go">'PM'</span> |
399 | <span·class="go">' | 399 | <span·class="go">'PM'</span> |
400 | <span·class="go">' | 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, 15 lines modified | Offset 442, 15 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-05- | 449 | <span·class="go">'2016-05-30'</span> |
450 | <span·class="go">'2011-08-29'</span> | 450 | <span·class="go">'2011-08-29'</span> |
451 | <span·class="go">'1993-02-11'</span> | 451 | <span·class="go">'1993-02-11'</span> |
452 | <span·class="go">'1984-03-25'</span> | 452 | <span·class="go">'1984-03-25'</span> |
453 | <span·class="go">'1998-02-06'</span> | 453 | <span·class="go">'1998-02-06'</span> |
454 | </pre></div> | 454 | </pre></div> |
455 | </div> | 455 | </div> |
456 | </dd></dl> | 456 | </dd></dl> |
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,·4,·1 | 483 | <span·class="go">datetime.date(2020,·4,·17)</span> |
484 | <span·class="go">datetime.date(2017,·9,·1 | 484 | <span·class="go">datetime.date(2017,·9,·12)</span> |
485 | <span·class="go">datetime.date(2007,·7,· | 485 | <span·class="go">datetime.date(2007,·7,·30)</span> |
486 | <span·class="go">datetime.date(2002,·9,·2 | 486 | <span·class="go">datetime.date(2002,·9,·23)</span> |
487 | <span·class="go">datetime.date(2010,·4,·1 | 487 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 514 | <span·class="go">datetime.date(2024,·12,·17)</span> |
515 | <span·class="go">datetime.date(2024,·12,·1 | 515 | <span·class="go">datetime.date(2024,·12,·17)</span> |
516 | <span·class="go">datetime.date(2024,·12,·1 | 516 | <span·class="go">datetime.date(2024,·12,·17)</span> |
517 | <span·class="go">datetime.date(2024,·12,·1 | 517 | <span·class="go">datetime.date(2024,·12,·17)</span> |
518 | <span·class="go">datetime.date(2024,·12,·1 | 518 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 531, 15 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,·5,· | 538 | <span·class="go">datetime.date(2016,·5,·30)</span> |
539 | <span·class="go">datetime.date(2011,·8,·29)</span> | 539 | <span·class="go">datetime.date(2011,·8,·29)</span> |
540 | <span·class="go">datetime.date(1993,·2,·11)</span> | 540 | <span·class="go">datetime.date(1993,·2,·11)</span> |
541 | <span·class="go">datetime.date(1984,·3,·25)</span> | 541 | <span·class="go">datetime.date(1984,·3,·25)</span> |
542 | <span·class="go">datetime.date(1998,·2,·6)</span> | 542 | <span·class="go">datetime.date(1998,·2,·6)</span> |
543 | </pre></div> | 543 | </pre></div> |
544 | </div> | 544 | </div> |
545 | </dd></dl> | 545 | </dd></dl> |
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,·11,· | 574 | <span·class="go">datetime.date(2006,·11,·30)</span> |
575 | <span·class="go">datetime.date(1996,·11,·1 | 575 | <span·class="go">datetime.date(1996,·11,·18)</span> |
576 | <span·class="go">datetime.date(1957,·9,· | 576 | <span·class="go">datetime.date(1957,·9,·30)</span> |
577 | <span·class="go">datetime.date(1938,·12,· | 577 | <span·class="go">datetime.date(1938,·12,·30)</span> |
578 | <span·class="go">datetime.date(1968,·4,· | 578 | <span·class="go">datetime.date(1968,·4,·8)</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(2021,·1,·2 | 607 | <span·class="go">datetime.date(2021,·1,·28)</span> |
608 | <span·class="go">datetime.date(2018,·12,· | 608 | <span·class="go">datetime.date(2018,·12,·2)</span> |
609 | <span·class="go">datetime.date(2010,· | 609 | <span·class="go">datetime.date(2010,·7,·1)</span> |
610 | <span·class="go">datetime.date(2006,·6,·18)</span> | 610 | <span·class="go">datetime.date(2006,·6,·18)</span> |
611 | <span·class="go">datetime.date(2012,·10,· | 611 | <span·class="go">datetime.date(2012,·10,·5)</span> |
612 | </pre></div> | 612 | </pre></div> |
613 | </div> | 613 | </div> |
614 | </dd></dl> | 614 | </dd></dl> |
Max diff block lines reached; 88964/105846 bytes (84.05%) of diff not shown. |
Offset 196, 18 lines modified | Offset 196, 18 lines modified | ||
196 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 196 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
197 | ··············Examples: | 197 | ··············Examples: |
198 | ············>>>·Faker.seed(0) | 198 | ············>>>·Faker.seed(0) |
199 | ············>>>·for·_·in·range(5): | 199 | ············>>>·for·_·in·range(5): |
200 | ············...·····fake.am_pm() | 200 | ············...·····fake.am_pm() |
201 | ············... | 201 | ············... |
202 | ············'PM' | 202 | ············'PM' |
203 | ············' | 203 | ············'PM' |
204 | ············' | 204 | ············'PM' |
205 | ············' | 205 | ············'PM' |
206 | ············' | 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, 15 lines modified | Offset 227, 15 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-05- | 234 | ············'2016-05-30' |
235 | ············'2011-08-29' | 235 | ············'2011-08-29' |
236 | ············'1993-02-11' | 236 | ············'1993-02-11' |
237 | ············'1984-03-25' | 237 | ············'1984-03-25' |
238 | ············'1998-02-06' | 238 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 256 | ············datetime.date(2020,·4,·17) |
257 | ············datetime.date(2017,·9,·1 | 257 | ············datetime.date(2017,·9,·12) |
258 | ············datetime.date(2007,·7,· | 258 | ············datetime.date(2007,·7,·30) |
259 | ············datetime.date(2002,·9,·2 | 259 | ············datetime.date(2002,·9,·23) |
260 | ············datetime.date(2010,·4,·1 | 260 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 269, 29 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,·12,·1 | 276 | ············datetime.date(2024,·12,·17) |
277 | ············datetime.date(2024,·12,·1 | 277 | ············datetime.date(2024,·12,·17) |
278 | ············datetime.date(2024,·12,·1 | 278 | ············datetime.date(2024,·12,·17) |
279 | ············datetime.date(2024,·12,·1 | 279 | ············datetime.date(2024,·12,·17) |
280 | ············datetime.date(2024,·12,·1 | 280 | ············datetime.date(2024,·12,·17) |
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,·5,· | 290 | ············datetime.date(2016,·5,·30) |
291 | ············datetime.date(2011,·8,·29) | 291 | ············datetime.date(2011,·8,·29) |
292 | ············datetime.date(1993,·2,·11) | 292 | ············datetime.date(1993,·2,·11) |
293 | ············datetime.date(1984,·3,·25) | 293 | ············datetime.date(1984,·3,·25) |
294 | ············datetime.date(1998,·2,·6) | 294 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 312 | ············datetime.date(2006,·11,·30) |
313 | ············datetime.date(1996,·11,·1 | 313 | ············datetime.date(1996,·11,·18) |
314 | ············datetime.date(1957,·9,· | 314 | ············datetime.date(1957,·9,·30) |
315 | ············datetime.date(1938,·12,· | 315 | ············datetime.date(1938,·12,·30) |
316 | ············datetime.date(1968,·4,· | 316 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 334 | ············datetime.date(2021,·1,·28) |
335 | ············datetime.date(2018,·12,· | 335 | ············datetime.date(2018,·12,·2) |
336 | ············datetime.date(2010,· | 336 | ············datetime.date(2010,·7,·1) |
337 | ············datetime.date(2006,·6,·18) | 337 | ············datetime.date(2006,·6,·18) |
338 | ············datetime.date(2012,·10,· | 338 | ············datetime.date(2012,·10,·5) |
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 |
344 | ························today | 344 | ························today |
345 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 345 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 349, 19 lines modified | Offset 349, 19 lines modified | ||
349 | ··············Returns: | 349 | ··············Returns: |
350 | ··················Date | 350 | ··················Date |
Max diff block lines reached; 27362/34182 bytes (80.05%) of diff not shown. |
Offset 810, 18 lines modified | Offset 810, 18 lines modified | ||
810 | <dd·class="field-odd"><p></p></dd> | 810 | <dd·class="field-odd"><p></p></dd> |
811 | </dl> | 811 | </dl> |
812 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 812 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
813 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 813 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
814 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 814 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
815 | <span·class="gp">...</span> | 815 | <span·class="gp">...</span> |
816 | <span·class="go">'PM'</span> | 816 | <span·class="go">'PM'</span> |
817 | <span·class="go">' | 817 | <span·class="go">'PM'</span> |
818 | <span·class="go">' | 818 | <span·class="go">'PM'</span> |
819 | <span·class="go">' | 819 | <span·class="go">'PM'</span> |
820 | <span·class="go">' | 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, 15 lines modified | Offset 862, 15 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-05- | 869 | <span·class="go">'2016-05-30'</span> |
870 | <span·class="go">'2011-08-29'</span> | 870 | <span·class="go">'2011-08-29'</span> |
871 | <span·class="go">'1993-02-11'</span> | 871 | <span·class="go">'1993-02-11'</span> |
872 | <span·class="go">'1984-03-25'</span> | 872 | <span·class="go">'1984-03-25'</span> |
873 | <span·class="go">'1998-02-06'</span> | 873 | <span·class="go">'1998-02-06'</span> |
874 | </pre></div> | 874 | </pre></div> |
875 | </div> | 875 | </div> |
876 | </dd></dl> | 876 | </dd></dl> |
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,·4,·1 | 903 | <span·class="go">datetime.date(2020,·4,·17)</span> |
904 | <span·class="go">datetime.date(2017,·9,·1 | 904 | <span·class="go">datetime.date(2017,·9,·12)</span> |
905 | <span·class="go">datetime.date(2007,·7,· | 905 | <span·class="go">datetime.date(2007,·7,·30)</span> |
906 | <span·class="go">datetime.date(2002,·9,·2 | 906 | <span·class="go">datetime.date(2002,·9,·23)</span> |
907 | <span·class="go">datetime.date(2010,·4,·1 | 907 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 934 | <span·class="go">datetime.date(2024,·12,·17)</span> |
935 | <span·class="go">datetime.date(2024,·12,·1 | 935 | <span·class="go">datetime.date(2024,·12,·17)</span> |
936 | <span·class="go">datetime.date(2024,·12,·1 | 936 | <span·class="go">datetime.date(2024,·12,·17)</span> |
937 | <span·class="go">datetime.date(2024,·12,·1 | 937 | <span·class="go">datetime.date(2024,·12,·17)</span> |
938 | <span·class="go">datetime.date(2024,·12,·1 | 938 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 951, 15 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,·5,· | 958 | <span·class="go">datetime.date(2016,·5,·30)</span> |
959 | <span·class="go">datetime.date(2011,·8,·29)</span> | 959 | <span·class="go">datetime.date(2011,·8,·29)</span> |
960 | <span·class="go">datetime.date(1993,·2,·11)</span> | 960 | <span·class="go">datetime.date(1993,·2,·11)</span> |
961 | <span·class="go">datetime.date(1984,·3,·25)</span> | 961 | <span·class="go">datetime.date(1984,·3,·25)</span> |
962 | <span·class="go">datetime.date(1998,·2,·6)</span> | 962 | <span·class="go">datetime.date(1998,·2,·6)</span> |
963 | </pre></div> | 963 | </pre></div> |
964 | </div> | 964 | </div> |
965 | </dd></dl> | 965 | </dd></dl> |
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,·11,· | 994 | <span·class="go">datetime.date(2006,·11,·30)</span> |
995 | <span·class="go">datetime.date(1996,·11,·1 | 995 | <span·class="go">datetime.date(1996,·11,·18)</span> |
996 | <span·class="go">datetime.date(1957,·9,· | 996 | <span·class="go">datetime.date(1957,·9,·30)</span> |
997 | <span·class="go">datetime.date(1938,·12,· | 997 | <span·class="go">datetime.date(1938,·12,·30)</span> |
998 | <span·class="go">datetime.date(1968,·4,· | 998 | <span·class="go">datetime.date(1968,·4,·8)</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(2021,·1,·2 | 1027 | <span·class="go">datetime.date(2021,·1,·28)</span> |
1028 | <span·class="go">datetime.date(2018,·12,· | 1028 | <span·class="go">datetime.date(2018,·12,·2)</span> |
1029 | <span·class="go">datetime.date(2010,· | 1029 | <span·class="go">datetime.date(2010,·7,·1)</span> |
1030 | <span·class="go">datetime.date(2006,·6,·18)</span> | 1030 | <span·class="go">datetime.date(2006,·6,·18)</span> |
1031 | <span·class="go">datetime.date(2012,·10,· | 1031 | <span·class="go">datetime.date(2012,·10,·5)</span> |
1032 | </pre></div> | 1032 | </pre></div> |
1033 | </div> | 1033 | </div> |
1034 | </dd></dl> | 1034 | </dd></dl> |
Max diff block lines reached; 88988/105872 bytes (84.05%) of diff not shown. |
Offset 459, 18 lines modified | Offset 459, 18 lines modified | ||
459 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 459 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
460 | ··············Examples: | 460 | ··············Examples: |
461 | ············>>>·Faker.seed(0) | 461 | ············>>>·Faker.seed(0) |
462 | ············>>>·for·_·in·range(5): | 462 | ············>>>·for·_·in·range(5): |
463 | ············...·····fake.am_pm() | 463 | ············...·····fake.am_pm() |
464 | ············... | 464 | ············... |
465 | ············'PM' | 465 | ············'PM' |
466 | ············' | 466 | ············'PM' |
467 | ············' | 467 | ············'PM' |
468 | ············' | 468 | ············'PM' |
469 | ············' | 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, 15 lines modified | Offset 490, 15 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-05- | 497 | ············'2016-05-30' |
498 | ············'2011-08-29' | 498 | ············'2011-08-29' |
499 | ············'1993-02-11' | 499 | ············'1993-02-11' |
500 | ············'1984-03-25' | 500 | ············'1984-03-25' |
501 | ············'1998-02-06' | 501 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 519 | ············datetime.date(2020,·4,·17) |
520 | ············datetime.date(2017,·9,·1 | 520 | ············datetime.date(2017,·9,·12) |
521 | ············datetime.date(2007,·7,· | 521 | ············datetime.date(2007,·7,·30) |
522 | ············datetime.date(2002,·9,·2 | 522 | ············datetime.date(2002,·9,·23) |
523 | ············datetime.date(2010,·4,·1 | 523 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 532, 29 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,·12,·1 | 539 | ············datetime.date(2024,·12,·17) |
540 | ············datetime.date(2024,·12,·1 | 540 | ············datetime.date(2024,·12,·17) |
541 | ············datetime.date(2024,·12,·1 | 541 | ············datetime.date(2024,·12,·17) |
542 | ············datetime.date(2024,·12,·1 | 542 | ············datetime.date(2024,·12,·17) |
543 | ············datetime.date(2024,·12,·1 | 543 | ············datetime.date(2024,·12,·17) |
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,·5,· | 553 | ············datetime.date(2016,·5,·30) |
554 | ············datetime.date(2011,·8,·29) | 554 | ············datetime.date(2011,·8,·29) |
555 | ············datetime.date(1993,·2,·11) | 555 | ············datetime.date(1993,·2,·11) |
556 | ············datetime.date(1984,·3,·25) | 556 | ············datetime.date(1984,·3,·25) |
557 | ············datetime.date(1998,·2,·6) | 557 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 575 | ············datetime.date(2006,·11,·30) |
576 | ············datetime.date(1996,·11,·1 | 576 | ············datetime.date(1996,·11,·18) |
577 | ············datetime.date(1957,·9,· | 577 | ············datetime.date(1957,·9,·30) |
578 | ············datetime.date(1938,·12,· | 578 | ············datetime.date(1938,·12,·30) |
579 | ············datetime.date(1968,·4,· | 579 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 597 | ············datetime.date(2021,·1,·28) |
598 | ············datetime.date(2018,·12,· | 598 | ············datetime.date(2018,·12,·2) |
599 | ············datetime.date(2010,· | 599 | ············datetime.date(2010,·7,·1) |
600 | ············datetime.date(2006,·6,·18) | 600 | ············datetime.date(2006,·6,·18) |
601 | ············datetime.date(2012,·10,· | 601 | ············datetime.date(2012,·10,·5) |
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 |
607 | ························today | 607 | ························today |
608 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 608 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 612, 19 lines modified | Offset 612, 19 lines modified | ||
612 | ··············Returns: | 612 | ··············Returns: |
613 | ··················Date | 613 | ··················Date |
Max diff block lines reached; 27368/34188 bytes (80.05%) of diff not shown. |
Offset 946, 18 lines modified | Offset 946, 18 lines modified | ||
946 | <dd·class="field-odd"><p></p></dd> | 946 | <dd·class="field-odd"><p></p></dd> |
947 | </dl> | 947 | </dl> |
948 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 948 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
949 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 949 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
950 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 950 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
951 | <span·class="gp">...</span> | 951 | <span·class="gp">...</span> |
952 | <span·class="go">'PM'</span> | 952 | <span·class="go">'PM'</span> |
953 | <span·class="go">' | 953 | <span·class="go">'PM'</span> |
954 | <span·class="go">' | 954 | <span·class="go">'PM'</span> |
955 | <span·class="go">' | 955 | <span·class="go">'PM'</span> |
956 | <span·class="go">' | 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, 15 lines modified | Offset 998, 15 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-05- | 1005 | <span·class="go">'2016-05-30'</span> |
1006 | <span·class="go">'2011-08-29'</span> | 1006 | <span·class="go">'2011-08-29'</span> |
1007 | <span·class="go">'1993-02-11'</span> | 1007 | <span·class="go">'1993-02-11'</span> |
1008 | <span·class="go">'1984-03-25'</span> | 1008 | <span·class="go">'1984-03-25'</span> |
1009 | <span·class="go">'1998-02-06'</span> | 1009 | <span·class="go">'1998-02-06'</span> |
1010 | </pre></div> | 1010 | </pre></div> |
1011 | </div> | 1011 | </div> |
1012 | </dd></dl> | 1012 | </dd></dl> |
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,·4,·1 | 1039 | <span·class="go">datetime.date(2020,·4,·17)</span> |
1040 | <span·class="go">datetime.date(2017,·9,·1 | 1040 | <span·class="go">datetime.date(2017,·9,·12)</span> |
1041 | <span·class="go">datetime.date(2007,·7,· | 1041 | <span·class="go">datetime.date(2007,·7,·30)</span> |
1042 | <span·class="go">datetime.date(2002,·9,·2 | 1042 | <span·class="go">datetime.date(2002,·9,·23)</span> |
1043 | <span·class="go">datetime.date(2010,·4,·1 | 1043 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 1070 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1071 | <span·class="go">datetime.date(2024,·12,·1 | 1071 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1072 | <span·class="go">datetime.date(2024,·12,·1 | 1072 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1073 | <span·class="go">datetime.date(2024,·12,·1 | 1073 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1074 | <span·class="go">datetime.date(2024,·12,·1 | 1074 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 1087, 15 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,·5,· | 1094 | <span·class="go">datetime.date(2016,·5,·30)</span> |
1095 | <span·class="go">datetime.date(2011,·8,·29)</span> | 1095 | <span·class="go">datetime.date(2011,·8,·29)</span> |
1096 | <span·class="go">datetime.date(1993,·2,·11)</span> | 1096 | <span·class="go">datetime.date(1993,·2,·11)</span> |
1097 | <span·class="go">datetime.date(1984,·3,·25)</span> | 1097 | <span·class="go">datetime.date(1984,·3,·25)</span> |
1098 | <span·class="go">datetime.date(1998,·2,·6)</span> | 1098 | <span·class="go">datetime.date(1998,·2,·6)</span> |
1099 | </pre></div> | 1099 | </pre></div> |
1100 | </div> | 1100 | </div> |
1101 | </dd></dl> | 1101 | </dd></dl> |
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,·11,· | 1130 | <span·class="go">datetime.date(2006,·11,·30)</span> |
1131 | <span·class="go">datetime.date(1996,·11,·1 | 1131 | <span·class="go">datetime.date(1996,·11,·18)</span> |
1132 | <span·class="go">datetime.date(1957,·9,· | 1132 | <span·class="go">datetime.date(1957,·9,·30)</span> |
1133 | <span·class="go">datetime.date(1938,·12,· | 1133 | <span·class="go">datetime.date(1938,·12,·30)</span> |
1134 | <span·class="go">datetime.date(1968,·4,· | 1134 | <span·class="go">datetime.date(1968,·4,·8)</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(2021,·1,·2 | 1163 | <span·class="go">datetime.date(2021,·1,·28)</span> |
1164 | <span·class="go">datetime.date(2018,·12,· | 1164 | <span·class="go">datetime.date(2018,·12,·2)</span> |
1165 | <span·class="go">datetime.date(2010,· | 1165 | <span·class="go">datetime.date(2010,·7,·1)</span> |
1166 | <span·class="go">datetime.date(2006,·6,·18)</span> | 1166 | <span·class="go">datetime.date(2006,·6,·18)</span> |
1167 | <span·class="go">datetime.date(2012,·10,· | 1167 | <span·class="go">datetime.date(2012,·10,·5)</span> |
1168 | </pre></div> | 1168 | </pre></div> |
1169 | </div> | 1169 | </div> |
1170 | </dd></dl> | 1170 | </dd></dl> |
Max diff block lines reached; 88953/105845 bytes (84.04%) of diff not shown. |
Offset 535, 18 lines modified | Offset 535, 18 lines modified | ||
535 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 535 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
536 | ··············Examples: | 536 | ··············Examples: |
537 | ············>>>·Faker.seed(0) | 537 | ············>>>·Faker.seed(0) |
538 | ············>>>·for·_·in·range(5): | 538 | ············>>>·for·_·in·range(5): |
539 | ············...·····fake.am_pm() | 539 | ············...·····fake.am_pm() |
540 | ············... | 540 | ············... |
541 | ············'PM' | 541 | ············'PM' |
542 | ············' | 542 | ············'PM' |
543 | ············' | 543 | ············'PM' |
544 | ············' | 544 | ············'PM' |
545 | ············' | 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, 15 lines modified | Offset 566, 15 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-05- | 573 | ············'2016-05-30' |
574 | ············'2011-08-29' | 574 | ············'2011-08-29' |
575 | ············'1993-02-11' | 575 | ············'1993-02-11' |
576 | ············'1984-03-25' | 576 | ············'1984-03-25' |
577 | ············'1998-02-06' | 577 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 595 | ············datetime.date(2020,·4,·17) |
596 | ············datetime.date(2017,·9,·1 | 596 | ············datetime.date(2017,·9,·12) |
597 | ············datetime.date(2007,·7,· | 597 | ············datetime.date(2007,·7,·30) |
598 | ············datetime.date(2002,·9,·2 | 598 | ············datetime.date(2002,·9,·23) |
599 | ············datetime.date(2010,·4,·1 | 599 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 608, 29 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,·12,·1 | 615 | ············datetime.date(2024,·12,·17) |
616 | ············datetime.date(2024,·12,·1 | 616 | ············datetime.date(2024,·12,·17) |
617 | ············datetime.date(2024,·12,·1 | 617 | ············datetime.date(2024,·12,·17) |
618 | ············datetime.date(2024,·12,·1 | 618 | ············datetime.date(2024,·12,·17) |
619 | ············datetime.date(2024,·12,·1 | 619 | ············datetime.date(2024,·12,·17) |
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,·5,· | 629 | ············datetime.date(2016,·5,·30) |
630 | ············datetime.date(2011,·8,·29) | 630 | ············datetime.date(2011,·8,·29) |
631 | ············datetime.date(1993,·2,·11) | 631 | ············datetime.date(1993,·2,·11) |
632 | ············datetime.date(1984,·3,·25) | 632 | ············datetime.date(1984,·3,·25) |
633 | ············datetime.date(1998,·2,·6) | 633 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 651 | ············datetime.date(2006,·11,·30) |
652 | ············datetime.date(1996,·11,·1 | 652 | ············datetime.date(1996,·11,·18) |
653 | ············datetime.date(1957,·9,· | 653 | ············datetime.date(1957,·9,·30) |
654 | ············datetime.date(1938,·12,· | 654 | ············datetime.date(1938,·12,·30) |
655 | ············datetime.date(1968,·4,· | 655 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 673 | ············datetime.date(2021,·1,·28) |
674 | ············datetime.date(2018,·12,· | 674 | ············datetime.date(2018,·12,·2) |
675 | ············datetime.date(2010,· | 675 | ············datetime.date(2010,·7,·1) |
676 | ············datetime.date(2006,·6,·18) | 676 | ············datetime.date(2006,·6,·18) |
677 | ············datetime.date(2012,·10,· | 677 | ············datetime.date(2012,·10,·5) |
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 |
683 | ························today | 683 | ························today |
684 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 684 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 688, 19 lines modified | Offset 688, 19 lines modified | ||
688 | ··············Returns: | 688 | ··············Returns: |
689 | ··················Date | 689 | ··················Date |
Max diff block lines reached; 27337/34157 bytes (80.03%) of diff not shown. |
Offset 980, 18 lines modified | Offset 980, 18 lines modified | ||
980 | <dd·class="field-odd"><p></p></dd> | 980 | <dd·class="field-odd"><p></p></dd> |
981 | </dl> | 981 | </dl> |
982 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 982 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
983 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 983 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
984 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 984 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
985 | <span·class="gp">...</span> | 985 | <span·class="gp">...</span> |
986 | <span·class="go">'PM'</span> | 986 | <span·class="go">'PM'</span> |
987 | <span·class="go">' | 987 | <span·class="go">'PM'</span> |
988 | <span·class="go">' | 988 | <span·class="go">'PM'</span> |
989 | <span·class="go">' | 989 | <span·class="go">'PM'</span> |
990 | <span·class="go">' | 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, 15 lines modified | Offset 1032, 15 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-05- | 1039 | <span·class="go">'2016-05-30'</span> |
1040 | <span·class="go">'2011-08-29'</span> | 1040 | <span·class="go">'2011-08-29'</span> |
1041 | <span·class="go">'1993-02-11'</span> | 1041 | <span·class="go">'1993-02-11'</span> |
1042 | <span·class="go">'1984-03-25'</span> | 1042 | <span·class="go">'1984-03-25'</span> |
1043 | <span·class="go">'1998-02-06'</span> | 1043 | <span·class="go">'1998-02-06'</span> |
1044 | </pre></div> | 1044 | </pre></div> |
1045 | </div> | 1045 | </div> |
1046 | </dd></dl> | 1046 | </dd></dl> |
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,·4,·1 | 1073 | <span·class="go">datetime.date(2020,·4,·17)</span> |
1074 | <span·class="go">datetime.date(2017,·9,·1 | 1074 | <span·class="go">datetime.date(2017,·9,·12)</span> |
1075 | <span·class="go">datetime.date(2007,·7,· | 1075 | <span·class="go">datetime.date(2007,·7,·30)</span> |
1076 | <span·class="go">datetime.date(2002,·9,·2 | 1076 | <span·class="go">datetime.date(2002,·9,·23)</span> |
1077 | <span·class="go">datetime.date(2010,·4,·1 | 1077 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 1104 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1105 | <span·class="go">datetime.date(2024,·12,·1 | 1105 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1106 | <span·class="go">datetime.date(2024,·12,·1 | 1106 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1107 | <span·class="go">datetime.date(2024,·12,·1 | 1107 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1108 | <span·class="go">datetime.date(2024,·12,·1 | 1108 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 1121, 15 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,·5,· | 1128 | <span·class="go">datetime.date(2016,·5,·30)</span> |
1129 | <span·class="go">datetime.date(2011,·8,·29)</span> | 1129 | <span·class="go">datetime.date(2011,·8,·29)</span> |
1130 | <span·class="go">datetime.date(1993,·2,·11)</span> | 1130 | <span·class="go">datetime.date(1993,·2,·11)</span> |
1131 | <span·class="go">datetime.date(1984,·3,·25)</span> | 1131 | <span·class="go">datetime.date(1984,·3,·25)</span> |
1132 | <span·class="go">datetime.date(1998,·2,·6)</span> | 1132 | <span·class="go">datetime.date(1998,·2,·6)</span> |
1133 | </pre></div> | 1133 | </pre></div> |
1134 | </div> | 1134 | </div> |
1135 | </dd></dl> | 1135 | </dd></dl> |
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,·11,· | 1164 | <span·class="go">datetime.date(2006,·11,·30)</span> |
1165 | <span·class="go">datetime.date(1996,·11,·1 | 1165 | <span·class="go">datetime.date(1996,·11,·18)</span> |
1166 | <span·class="go">datetime.date(1957,·9,· | 1166 | <span·class="go">datetime.date(1957,·9,·30)</span> |
1167 | <span·class="go">datetime.date(1938,·12,· | 1167 | <span·class="go">datetime.date(1938,·12,·30)</span> |
1168 | <span·class="go">datetime.date(1968,·4,· | 1168 | <span·class="go">datetime.date(1968,·4,·8)</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(2021,·1,·2 | 1197 | <span·class="go">datetime.date(2021,·1,·28)</span> |
1198 | <span·class="go">datetime.date(2018,·12,· | 1198 | <span·class="go">datetime.date(2018,·12,·2)</span> |
1199 | <span·class="go">datetime.date(2010,· | 1199 | <span·class="go">datetime.date(2010,·7,·1)</span> |
1200 | <span·class="go">datetime.date(2006,·6,·18)</span> | 1200 | <span·class="go">datetime.date(2006,·6,·18)</span> |
1201 | <span·class="go">datetime.date(2012,·10,· | 1201 | <span·class="go">datetime.date(2012,·10,·5)</span> |
1202 | </pre></div> | 1202 | </pre></div> |
1203 | </div> | 1203 | </div> |
1204 | </dd></dl> | 1204 | </dd></dl> |
Max diff block lines reached; 89000/105894 bytes (84.05%) of diff not shown. |
Offset 556, 18 lines modified | Offset 556, 18 lines modified | ||
556 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 556 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
557 | ··············Examples: | 557 | ··············Examples: |
558 | ············>>>·Faker.seed(0) | 558 | ············>>>·Faker.seed(0) |
559 | ············>>>·for·_·in·range(5): | 559 | ············>>>·for·_·in·range(5): |
560 | ············...·····fake.am_pm() | 560 | ············...·····fake.am_pm() |
561 | ············... | 561 | ············... |
562 | ············'PM' | 562 | ············'PM' |
563 | ············' | 563 | ············'PM' |
564 | ············' | 564 | ············'PM' |
565 | ············' | 565 | ············'PM' |
566 | ············' | 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, 15 lines modified | Offset 587, 15 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-05- | 594 | ············'2016-05-30' |
595 | ············'2011-08-29' | 595 | ············'2011-08-29' |
596 | ············'1993-02-11' | 596 | ············'1993-02-11' |
597 | ············'1984-03-25' | 597 | ············'1984-03-25' |
598 | ············'1998-02-06' | 598 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 616 | ············datetime.date(2020,·4,·17) |
617 | ············datetime.date(2017,·9,·1 | 617 | ············datetime.date(2017,·9,·12) |
618 | ············datetime.date(2007,·7,· | 618 | ············datetime.date(2007,·7,·30) |
619 | ············datetime.date(2002,·9,·2 | 619 | ············datetime.date(2002,·9,·23) |
620 | ············datetime.date(2010,·4,·1 | 620 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 629, 29 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,·12,·1 | 636 | ············datetime.date(2024,·12,·17) |
637 | ············datetime.date(2024,·12,·1 | 637 | ············datetime.date(2024,·12,·17) |
638 | ············datetime.date(2024,·12,·1 | 638 | ············datetime.date(2024,·12,·17) |
639 | ············datetime.date(2024,·12,·1 | 639 | ············datetime.date(2024,·12,·17) |
640 | ············datetime.date(2024,·12,·1 | 640 | ············datetime.date(2024,·12,·17) |
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,·5,· | 650 | ············datetime.date(2016,·5,·30) |
651 | ············datetime.date(2011,·8,·29) | 651 | ············datetime.date(2011,·8,·29) |
652 | ············datetime.date(1993,·2,·11) | 652 | ············datetime.date(1993,·2,·11) |
653 | ············datetime.date(1984,·3,·25) | 653 | ············datetime.date(1984,·3,·25) |
654 | ············datetime.date(1998,·2,·6) | 654 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 672 | ············datetime.date(2006,·11,·30) |
673 | ············datetime.date(1996,·11,·1 | 673 | ············datetime.date(1996,·11,·18) |
674 | ············datetime.date(1957,·9,· | 674 | ············datetime.date(1957,·9,·30) |
675 | ············datetime.date(1938,·12,· | 675 | ············datetime.date(1938,·12,·30) |
676 | ············datetime.date(1968,·4,· | 676 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 694 | ············datetime.date(2021,·1,·28) |
695 | ············datetime.date(2018,·12,· | 695 | ············datetime.date(2018,·12,·2) |
696 | ············datetime.date(2010,· | 696 | ············datetime.date(2010,·7,·1) |
697 | ············datetime.date(2006,·6,·18) | 697 | ············datetime.date(2006,·6,·18) |
698 | ············datetime.date(2012,·10,· | 698 | ············datetime.date(2012,·10,·5) |
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 |
704 | ························today | 704 | ························today |
705 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 705 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 709, 19 lines modified | Offset 709, 19 lines modified | ||
709 | ··············Returns: | 709 | ··············Returns: |
710 | ··················Date | 710 | ··················Date |
Max diff block lines reached; 27374/34194 bytes (80.05%) of diff not shown. |
Offset 964, 18 lines modified | Offset 964, 18 lines modified | ||
964 | <dd·class="field-odd"><p></p></dd> | 964 | <dd·class="field-odd"><p></p></dd> |
965 | </dl> | 965 | </dl> |
966 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 966 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
967 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 967 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
968 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 968 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
969 | <span·class="gp">...</span> | 969 | <span·class="gp">...</span> |
970 | <span·class="go">'PM'</span> | 970 | <span·class="go">'PM'</span> |
971 | <span·class="go">' | 971 | <span·class="go">'PM'</span> |
972 | <span·class="go">' | 972 | <span·class="go">'PM'</span> |
973 | <span·class="go">' | 973 | <span·class="go">'PM'</span> |
974 | <span·class="go">' | 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, 15 lines modified | Offset 1016, 15 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-05- | 1023 | <span·class="go">'2016-05-30'</span> |
1024 | <span·class="go">'2011-08-29'</span> | 1024 | <span·class="go">'2011-08-29'</span> |
1025 | <span·class="go">'1993-02-11'</span> | 1025 | <span·class="go">'1993-02-11'</span> |
1026 | <span·class="go">'1984-03-25'</span> | 1026 | <span·class="go">'1984-03-25'</span> |
1027 | <span·class="go">'1998-02-06'</span> | 1027 | <span·class="go">'1998-02-06'</span> |
1028 | </pre></div> | 1028 | </pre></div> |
1029 | </div> | 1029 | </div> |
1030 | </dd></dl> | 1030 | </dd></dl> |
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,·4,·1 | 1057 | <span·class="go">datetime.date(2020,·4,·17)</span> |
1058 | <span·class="go">datetime.date(2017,·9,·1 | 1058 | <span·class="go">datetime.date(2017,·9,·12)</span> |
1059 | <span·class="go">datetime.date(2007,·7,· | 1059 | <span·class="go">datetime.date(2007,·7,·30)</span> |
1060 | <span·class="go">datetime.date(2002,·9,·2 | 1060 | <span·class="go">datetime.date(2002,·9,·23)</span> |
1061 | <span·class="go">datetime.date(2010,·4,·1 | 1061 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 1088 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1089 | <span·class="go">datetime.date(2024,·12,·1 | 1089 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1090 | <span·class="go">datetime.date(2024,·12,·1 | 1090 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1091 | <span·class="go">datetime.date(2024,·12,·1 | 1091 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1092 | <span·class="go">datetime.date(2024,·12,·1 | 1092 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 1105, 15 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,·5,· | 1112 | <span·class="go">datetime.date(2016,·5,·30)</span> |
1113 | <span·class="go">datetime.date(2011,·8,·29)</span> | 1113 | <span·class="go">datetime.date(2011,·8,·29)</span> |
1114 | <span·class="go">datetime.date(1993,·2,·11)</span> | 1114 | <span·class="go">datetime.date(1993,·2,·11)</span> |
1115 | <span·class="go">datetime.date(1984,·3,·25)</span> | 1115 | <span·class="go">datetime.date(1984,·3,·25)</span> |
1116 | <span·class="go">datetime.date(1998,·2,·6)</span> | 1116 | <span·class="go">datetime.date(1998,·2,·6)</span> |
1117 | </pre></div> | 1117 | </pre></div> |
1118 | </div> | 1118 | </div> |
1119 | </dd></dl> | 1119 | </dd></dl> |
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,·11,· | 1148 | <span·class="go">datetime.date(2006,·11,·30)</span> |
1149 | <span·class="go">datetime.date(1996,·11,·1 | 1149 | <span·class="go">datetime.date(1996,·11,·18)</span> |
1150 | <span·class="go">datetime.date(1957,·9,· | 1150 | <span·class="go">datetime.date(1957,·9,·30)</span> |
1151 | <span·class="go">datetime.date(1938,·12,· | 1151 | <span·class="go">datetime.date(1938,·12,·30)</span> |
1152 | <span·class="go">datetime.date(1968,·4,· | 1152 | <span·class="go">datetime.date(1968,·4,·8)</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(2021,·1,·2 | 1181 | <span·class="go">datetime.date(2021,·1,·28)</span> |
1182 | <span·class="go">datetime.date(2018,·12,· | 1182 | <span·class="go">datetime.date(2018,·12,·2)</span> |
1183 | <span·class="go">datetime.date(2010,· | 1183 | <span·class="go">datetime.date(2010,·7,·1)</span> |
1184 | <span·class="go">datetime.date(2006,·6,·18)</span> | 1184 | <span·class="go">datetime.date(2006,·6,·18)</span> |
1185 | <span·class="go">datetime.date(2012,·10,· | 1185 | <span·class="go">datetime.date(2012,·10,·5)</span> |
1186 | </pre></div> | 1186 | </pre></div> |
1187 | </div> | 1187 | </div> |
1188 | </dd></dl> | 1188 | </dd></dl> |
Max diff block lines reached; 88986/105880 bytes (84.04%) of diff not shown. |
Offset 543, 18 lines modified | Offset 543, 18 lines modified | ||
543 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 543 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
544 | ··············Examples: | 544 | ··············Examples: |
545 | ············>>>·Faker.seed(0) | 545 | ············>>>·Faker.seed(0) |
546 | ············>>>·for·_·in·range(5): | 546 | ············>>>·for·_·in·range(5): |
547 | ············...·····fake.am_pm() | 547 | ············...·····fake.am_pm() |
548 | ············... | 548 | ············... |
549 | ············'PM' | 549 | ············'PM' |
550 | ············' | 550 | ············'PM' |
551 | ············' | 551 | ············'PM' |
552 | ············' | 552 | ············'PM' |
553 | ············' | 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, 15 lines modified | Offset 574, 15 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-05- | 581 | ············'2016-05-30' |
582 | ············'2011-08-29' | 582 | ············'2011-08-29' |
583 | ············'1993-02-11' | 583 | ············'1993-02-11' |
584 | ············'1984-03-25' | 584 | ············'1984-03-25' |
585 | ············'1998-02-06' | 585 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 603 | ············datetime.date(2020,·4,·17) |
604 | ············datetime.date(2017,·9,·1 | 604 | ············datetime.date(2017,·9,·12) |
605 | ············datetime.date(2007,·7,· | 605 | ············datetime.date(2007,·7,·30) |
606 | ············datetime.date(2002,·9,·2 | 606 | ············datetime.date(2002,·9,·23) |
607 | ············datetime.date(2010,·4,·1 | 607 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 616, 29 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,·12,·1 | 623 | ············datetime.date(2024,·12,·17) |
624 | ············datetime.date(2024,·12,·1 | 624 | ············datetime.date(2024,·12,·17) |
625 | ············datetime.date(2024,·12,·1 | 625 | ············datetime.date(2024,·12,·17) |
626 | ············datetime.date(2024,·12,·1 | 626 | ············datetime.date(2024,·12,·17) |
627 | ············datetime.date(2024,·12,·1 | 627 | ············datetime.date(2024,·12,·17) |
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,·5,· | 637 | ············datetime.date(2016,·5,·30) |
638 | ············datetime.date(2011,·8,·29) | 638 | ············datetime.date(2011,·8,·29) |
639 | ············datetime.date(1993,·2,·11) | 639 | ············datetime.date(1993,·2,·11) |
640 | ············datetime.date(1984,·3,·25) | 640 | ············datetime.date(1984,·3,·25) |
641 | ············datetime.date(1998,·2,·6) | 641 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 659 | ············datetime.date(2006,·11,·30) |
660 | ············datetime.date(1996,·11,·1 | 660 | ············datetime.date(1996,·11,·18) |
661 | ············datetime.date(1957,·9,· | 661 | ············datetime.date(1957,·9,·30) |
662 | ············datetime.date(1938,·12,· | 662 | ············datetime.date(1938,·12,·30) |
663 | ············datetime.date(1968,·4,· | 663 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 681 | ············datetime.date(2021,·1,·28) |
682 | ············datetime.date(2018,·12,· | 682 | ············datetime.date(2018,·12,·2) |
683 | ············datetime.date(2010,· | 683 | ············datetime.date(2010,·7,·1) |
684 | ············datetime.date(2006,·6,·18) | 684 | ············datetime.date(2006,·6,·18) |
685 | ············datetime.date(2012,·10,· | 685 | ············datetime.date(2012,·10,·5) |
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 |
691 | ························today | 691 | ························today |
692 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 692 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 696, 19 lines modified | Offset 696, 19 lines modified | ||
696 | ··············Returns: | 696 | ··············Returns: |
697 | ··················Date | 697 | ··················Date |
Max diff block lines reached; 27370/34190 bytes (80.05%) 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">"Sant'Apollinare·Con·Selva"</span> | ||
132 | <span·class="go">'Serravalle·A·Po'</span> | ||
133 | <span·class="go">'Margherita·Di·Savoia'</span> | ||
134 | <span·class="go">"Albaredo·D'Adige"</span> | ||
135 | <span·class="go">' | 133 | <span·class="go">'Cino'</span> |
134 | <span·class="go">'Scigliano'</span> | ||
135 | <span·class="go">'Morigerati'</span> | ||
136 | <span·class="go">' | 136 | <span·class="go">'Viverone'</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 1071, 18 lines modified | Offset 1071, 18 lines modified | ||
1071 | <dd·class="field-odd"><p></p></dd> | 1071 | <dd·class="field-odd"><p></p></dd> |
1072 | </dl> | 1072 | </dl> |
1073 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1073 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1074 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1074 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1075 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1075 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1076 | <span·class="gp">...</span> | 1076 | <span·class="gp">...</span> |
1077 | <span·class="go">'PM'</span> | 1077 | <span·class="go">'PM'</span> |
1078 | <span·class="go">' | 1078 | <span·class="go">'PM'</span> |
1079 | <span·class="go">' | 1079 | <span·class="go">'PM'</span> |
1080 | <span·class="go">' | 1080 | <span·class="go">'PM'</span> |
1081 | <span·class="go">' | 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, 15 lines modified | Offset 1123, 15 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-05- | 1130 | <span·class="go">'2016-05-30'</span> |
1131 | <span·class="go">'2011-08-29'</span> | 1131 | <span·class="go">'2011-08-29'</span> |
1132 | <span·class="go">'1993-02-11'</span> | 1132 | <span·class="go">'1993-02-11'</span> |
1133 | <span·class="go">'1984-03-25'</span> | 1133 | <span·class="go">'1984-03-25'</span> |
1134 | <span·class="go">'1998-02-06'</span> | 1134 | <span·class="go">'1998-02-06'</span> |
1135 | </pre></div> | 1135 | </pre></div> |
1136 | </div> | 1136 | </div> |
1137 | </dd></dl> | 1137 | </dd></dl> |
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,·4,·1 | 1164 | <span·class="go">datetime.date(2020,·4,·17)</span> |
1165 | <span·class="go">datetime.date(2017,·9,·1 | 1165 | <span·class="go">datetime.date(2017,·9,·12)</span> |
1166 | <span·class="go">datetime.date(2007,·7,· | 1166 | <span·class="go">datetime.date(2007,·7,·30)</span> |
1167 | <span·class="go">datetime.date(2002,·9,·2 | 1167 | <span·class="go">datetime.date(2002,·9,·23)</span> |
1168 | <span·class="go">datetime.date(2010,·4,·1 | 1168 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 1195 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1196 | <span·class="go">datetime.date(2024,·12,·1 | 1196 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1197 | <span·class="go">datetime.date(2024,·12,·1 | 1197 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1198 | <span·class="go">datetime.date(2024,·12,·1 | 1198 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1199 | <span·class="go">datetime.date(2024,·12,·1 | 1199 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 1212, 15 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,·5,· | 1219 | <span·class="go">datetime.date(2016,·5,·30)</span> |
1220 | <span·class="go">datetime.date(2011,·8,·29)</span> | 1220 | <span·class="go">datetime.date(2011,·8,·29)</span> |
1221 | <span·class="go">datetime.date(1993,·2,·11)</span> | 1221 | <span·class="go">datetime.date(1993,·2,·11)</span> |
1222 | <span·class="go">datetime.date(1984,·3,·25)</span> | 1222 | <span·class="go">datetime.date(1984,·3,·25)</span> |
1223 | <span·class="go">datetime.date(1998,·2,·6)</span> | 1223 | <span·class="go">datetime.date(1998,·2,·6)</span> |
1224 | </pre></div> | 1224 | </pre></div> |
1225 | </div> | 1225 | </div> |
1226 | </dd></dl> | 1226 | </dd></dl> |
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,·11,· | 1255 | <span·class="go">datetime.date(2006,·11,·30)</span> |
1256 | <span·class="go">datetime.date(1996,·11,·1 | 1256 | <span·class="go">datetime.date(1996,·11,·18)</span> |
1257 | <span·class="go">datetime.date(1957,·9,· | 1257 | <span·class="go">datetime.date(1957,·9,·30)</span> |
1258 | <span·class="go">datetime.date(1938,·12,· | 1258 | <span·class="go">datetime.date(1938,·12,·30)</span> |
1259 | <span·class="go">datetime.date(1968,·4,· | 1259 | <span·class="go">datetime.date(1968,·4,·8)</span> |
1260 | </pre></div> | 1260 | </pre></div> |
Max diff block lines reached; 92043/107878 bytes (85.32%) 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 | ············"Sant'Apollinare·Con·Selva" | ||
58 | ············'Serravalle·A·Po' | ||
59 | ············'Margherita·Di·Savoia' | ||
60 | ············"Albaredo·D'Adige" | ||
61 | ············' | 59 | ············'Cino' |
62 | ············' | 60 | ············'Scigliano' |
61 | ············'Morigerati' | ||
62 | ············'Viverone' | ||
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 607, 18 lines modified | Offset 607, 18 lines modified | ||
607 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 607 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
608 | ··············Examples: | 608 | ··············Examples: |
609 | ············>>>·Faker.seed(0) | 609 | ············>>>·Faker.seed(0) |
610 | ············>>>·for·_·in·range(5): | 610 | ············>>>·for·_·in·range(5): |
611 | ············...·····fake.am_pm() | 611 | ············...·····fake.am_pm() |
612 | ············... | 612 | ············... |
613 | ············'PM' | 613 | ············'PM' |
614 | ············' | 614 | ············'PM' |
615 | ············' | 615 | ············'PM' |
616 | ············' | 616 | ············'PM' |
617 | ············' | 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, 15 lines modified | Offset 638, 15 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-05- | 645 | ············'2016-05-30' |
646 | ············'2011-08-29' | 646 | ············'2011-08-29' |
647 | ············'1993-02-11' | 647 | ············'1993-02-11' |
648 | ············'1984-03-25' | 648 | ············'1984-03-25' |
649 | ············'1998-02-06' | 649 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 667 | ············datetime.date(2020,·4,·17) |
668 | ············datetime.date(2017,·9,·1 | 668 | ············datetime.date(2017,·9,·12) |
669 | ············datetime.date(2007,·7,· | 669 | ············datetime.date(2007,·7,·30) |
670 | ············datetime.date(2002,·9,·2 | 670 | ············datetime.date(2002,·9,·23) |
671 | ············datetime.date(2010,·4,·1 | 671 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 680, 29 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,·12,·1 | 687 | ············datetime.date(2024,·12,·17) |
688 | ············datetime.date(2024,·12,·1 | 688 | ············datetime.date(2024,·12,·17) |
689 | ············datetime.date(2024,·12,·1 | 689 | ············datetime.date(2024,·12,·17) |
690 | ············datetime.date(2024,·12,·1 | 690 | ············datetime.date(2024,·12,·17) |
691 | ············datetime.date(2024,·12,·1 | 691 | ············datetime.date(2024,·12,·17) |
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,·5,· | 701 | ············datetime.date(2016,·5,·30) |
702 | ············datetime.date(2011,·8,·29) | 702 | ············datetime.date(2011,·8,·29) |
703 | ············datetime.date(1993,·2,·11) | 703 | ············datetime.date(1993,·2,·11) |
704 | ············datetime.date(1984,·3,·25) | 704 | ············datetime.date(1984,·3,·25) |
705 | ············datetime.date(1998,·2,·6) | 705 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 723 | ············datetime.date(2006,·11,·30) |
724 | ············datetime.date(1996,·11,·1 | 724 | ············datetime.date(1996,·11,·18) |
725 | ············datetime.date(1957,·9,· | 725 | ············datetime.date(1957,·9,·30) |
726 | ············datetime.date(1938,·12,· | 726 | ············datetime.date(1938,·12,·30) |
727 | ············datetime.date(1968,·4,· | 727 | ············datetime.date(1968,·4,·8) |
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) |
729 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 729 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
730 | ············Gets·a·Date·object·for·the·current·century. | 730 | ············Gets·a·Date·object·for·the·current·century. |
731 | ··············Parameters: | 731 | ··············Parameters: |
732 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 732 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
733 | ························today | 733 | ························today |
734 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 734 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Max diff block lines reached; 28558/34907 bytes (81.81%) of diff not shown. |
Offset 1008, 18 lines modified | Offset 1008, 18 lines modified | ||
1008 | <dd·class="field-odd"><p></p></dd> | 1008 | <dd·class="field-odd"><p></p></dd> |
1009 | </dl> | 1009 | </dl> |
1010 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1010 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1011 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1011 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1012 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1012 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1013 | <span·class="gp">...</span> | 1013 | <span·class="gp">...</span> |
1014 | <span·class="go">'PM'</span> | 1014 | <span·class="go">'PM'</span> |
1015 | <span·class="go">' | 1015 | <span·class="go">'PM'</span> |
1016 | <span·class="go">' | 1016 | <span·class="go">'PM'</span> |
1017 | <span·class="go">' | 1017 | <span·class="go">'PM'</span> |
1018 | <span·class="go">' | 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, 15 lines modified | Offset 1060, 15 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-05- | 1067 | <span·class="go">'2016-05-30'</span> |
1068 | <span·class="go">'2011-08-29'</span> | 1068 | <span·class="go">'2011-08-29'</span> |
1069 | <span·class="go">'1993-02-11'</span> | 1069 | <span·class="go">'1993-02-11'</span> |
1070 | <span·class="go">'1984-03-25'</span> | 1070 | <span·class="go">'1984-03-25'</span> |
1071 | <span·class="go">'1998-02-06'</span> | 1071 | <span·class="go">'1998-02-06'</span> |
1072 | </pre></div> | 1072 | </pre></div> |
1073 | </div> | 1073 | </div> |
1074 | </dd></dl> | 1074 | </dd></dl> |
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,·4,·1 | 1101 | <span·class="go">datetime.date(2020,·4,·17)</span> |
1102 | <span·class="go">datetime.date(2017,·9,·1 | 1102 | <span·class="go">datetime.date(2017,·9,·12)</span> |
1103 | <span·class="go">datetime.date(2007,·7,· | 1103 | <span·class="go">datetime.date(2007,·7,·30)</span> |
1104 | <span·class="go">datetime.date(2002,·9,·2 | 1104 | <span·class="go">datetime.date(2002,·9,·23)</span> |
1105 | <span·class="go">datetime.date(2010,·4,·1 | 1105 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 1132 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1133 | <span·class="go">datetime.date(2024,·12,·1 | 1133 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1134 | <span·class="go">datetime.date(2024,·12,·1 | 1134 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1135 | <span·class="go">datetime.date(2024,·12,·1 | 1135 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1136 | <span·class="go">datetime.date(2024,·12,·1 | 1136 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 1149, 15 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,·5,· | 1156 | <span·class="go">datetime.date(2016,·5,·30)</span> |
1157 | <span·class="go">datetime.date(2011,·8,·29)</span> | 1157 | <span·class="go">datetime.date(2011,·8,·29)</span> |
1158 | <span·class="go">datetime.date(1993,·2,·11)</span> | 1158 | <span·class="go">datetime.date(1993,·2,·11)</span> |
1159 | <span·class="go">datetime.date(1984,·3,·25)</span> | 1159 | <span·class="go">datetime.date(1984,·3,·25)</span> |
1160 | <span·class="go">datetime.date(1998,·2,·6)</span> | 1160 | <span·class="go">datetime.date(1998,·2,·6)</span> |
1161 | </pre></div> | 1161 | </pre></div> |
1162 | </div> | 1162 | </div> |
1163 | </dd></dl> | 1163 | </dd></dl> |
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,·11,· | 1192 | <span·class="go">datetime.date(2006,·11,·30)</span> |
1193 | <span·class="go">datetime.date(1996,·11,·1 | 1193 | <span·class="go">datetime.date(1996,·11,·18)</span> |
1194 | <span·class="go">datetime.date(1957,·9,· | 1194 | <span·class="go">datetime.date(1957,·9,·30)</span> |
1195 | <span·class="go">datetime.date(1938,·12,· | 1195 | <span·class="go">datetime.date(1938,·12,·30)</span> |
1196 | <span·class="go">datetime.date(1968,·4,· | 1196 | <span·class="go">datetime.date(1968,·4,·8)</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(2021,·1,·2 | 1225 | <span·class="go">datetime.date(2021,·1,·28)</span> |
1226 | <span·class="go">datetime.date(2018,·12,· | 1226 | <span·class="go">datetime.date(2018,·12,·2)</span> |
1227 | <span·class="go">datetime.date(2010,· | 1227 | <span·class="go">datetime.date(2010,·7,·1)</span> |
1228 | <span·class="go">datetime.date(2006,·6,·18)</span> | 1228 | <span·class="go">datetime.date(2006,·6,·18)</span> |
1229 | <span·class="go">datetime.date(2012,·10,· | 1229 | <span·class="go">datetime.date(2012,·10,·5)</span> |
1230 | </pre></div> | 1230 | </pre></div> |
1231 | </div> | 1231 | </div> |
1232 | </dd></dl> | 1232 | </dd></dl> |
Max diff block lines reached; 88985/105881 bytes (84.04%) of diff not shown. |
Offset 588, 18 lines modified | Offset 588, 18 lines modified | ||
588 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 588 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
589 | ··············Examples: | 589 | ··············Examples: |
590 | ············>>>·Faker.seed(0) | 590 | ············>>>·Faker.seed(0) |
591 | ············>>>·for·_·in·range(5): | 591 | ············>>>·for·_·in·range(5): |
592 | ············...·····fake.am_pm() | 592 | ············...·····fake.am_pm() |
593 | ············... | 593 | ············... |
594 | ············'PM' | 594 | ············'PM' |
595 | ············' | 595 | ············'PM' |
596 | ············' | 596 | ············'PM' |
597 | ············' | 597 | ············'PM' |
598 | ············' | 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, 15 lines modified | Offset 619, 15 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-05- | 626 | ············'2016-05-30' |
627 | ············'2011-08-29' | 627 | ············'2011-08-29' |
628 | ············'1993-02-11' | 628 | ············'1993-02-11' |
629 | ············'1984-03-25' | 629 | ············'1984-03-25' |
630 | ············'1998-02-06' | 630 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 648 | ············datetime.date(2020,·4,·17) |
649 | ············datetime.date(2017,·9,·1 | 649 | ············datetime.date(2017,·9,·12) |
650 | ············datetime.date(2007,·7,· | 650 | ············datetime.date(2007,·7,·30) |
651 | ············datetime.date(2002,·9,·2 | 651 | ············datetime.date(2002,·9,·23) |
652 | ············datetime.date(2010,·4,·1 | 652 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 661, 29 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,·12,·1 | 668 | ············datetime.date(2024,·12,·17) |
669 | ············datetime.date(2024,·12,·1 | 669 | ············datetime.date(2024,·12,·17) |
670 | ············datetime.date(2024,·12,·1 | 670 | ············datetime.date(2024,·12,·17) |
671 | ············datetime.date(2024,·12,·1 | 671 | ············datetime.date(2024,·12,·17) |
672 | ············datetime.date(2024,·12,·1 | 672 | ············datetime.date(2024,·12,·17) |
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,·5,· | 682 | ············datetime.date(2016,·5,·30) |
683 | ············datetime.date(2011,·8,·29) | 683 | ············datetime.date(2011,·8,·29) |
684 | ············datetime.date(1993,·2,·11) | 684 | ············datetime.date(1993,·2,·11) |
685 | ············datetime.date(1984,·3,·25) | 685 | ············datetime.date(1984,·3,·25) |
686 | ············datetime.date(1998,·2,·6) | 686 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 704 | ············datetime.date(2006,·11,·30) |
705 | ············datetime.date(1996,·11,·1 | 705 | ············datetime.date(1996,·11,·18) |
706 | ············datetime.date(1957,·9,· | 706 | ············datetime.date(1957,·9,·30) |
707 | ············datetime.date(1938,·12,· | 707 | ············datetime.date(1938,·12,·30) |
708 | ············datetime.date(1968,·4,· | 708 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 726 | ············datetime.date(2021,·1,·28) |
727 | ············datetime.date(2018,·12,· | 727 | ············datetime.date(2018,·12,·2) |
728 | ············datetime.date(2010,· | 728 | ············datetime.date(2010,·7,·1) |
729 | ············datetime.date(2006,·6,·18) | 729 | ············datetime.date(2006,·6,·18) |
730 | ············datetime.date(2012,·10,· | 730 | ············datetime.date(2012,·10,·5) |
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 |
736 | ························today | 736 | ························today |
737 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 737 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 741, 19 lines modified | Offset 741, 19 lines modified | ||
741 | ··············Returns: | 741 | ··············Returns: |
742 | ··················Date | 742 | ··················Date |
Max diff block lines reached; 27373/34193 bytes (80.05%) of diff not shown. |
Offset 689, 18 lines modified | Offset 689, 18 lines modified | ||
689 | <dd·class="field-odd"><p></p></dd> | 689 | <dd·class="field-odd"><p></p></dd> |
690 | </dl> | 690 | </dl> |
691 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 691 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
692 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 692 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
693 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 693 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
694 | <span·class="gp">...</span> | 694 | <span·class="gp">...</span> |
695 | <span·class="go">'PM'</span> | 695 | <span·class="go">'PM'</span> |
696 | <span·class="go">' | 696 | <span·class="go">'PM'</span> |
697 | <span·class="go">' | 697 | <span·class="go">'PM'</span> |
698 | <span·class="go">' | 698 | <span·class="go">'PM'</span> |
699 | <span·class="go">' | 699 | <span·class="go">'PM'</span> |
700 | </pre></div> | 700 | </pre></div> |
701 | </div> | 701 | </div> |
702 | </dd></dl> | 702 | </dd></dl> |
703 | <dl·class="py·method"> | 703 | <dl·class="py·method"> |
704 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ka_GE.Provider.century"> | 704 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ka_GE.Provider.century"> |
705 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ka_GE.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 705 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ka_GE.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
Offset 741, 15 lines modified | Offset 741, 15 lines modified | ||
741 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 741 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
742 | <dd·class="field-even"><p></p></dd> | 742 | <dd·class="field-even"><p></p></dd> |
743 | </dl> | 743 | </dl> |
744 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 744 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
745 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 745 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
746 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 746 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
747 | <span·class="gp">...</span> | 747 | <span·class="gp">...</span> |
748 | <span·class="go">'2016-05- | 748 | <span·class="go">'2016-05-30'</span> |
749 | <span·class="go">'2011-08-29'</span> | 749 | <span·class="go">'2011-08-29'</span> |
750 | <span·class="go">'1993-02-11'</span> | 750 | <span·class="go">'1993-02-11'</span> |
751 | <span·class="go">'1984-03-25'</span> | 751 | <span·class="go">'1984-03-25'</span> |
752 | <span·class="go">'1998-02-06'</span> | 752 | <span·class="go">'1998-02-06'</span> |
753 | </pre></div> | 753 | </pre></div> |
754 | </div> | 754 | </div> |
755 | </dd></dl> | 755 | </dd></dl> |
Offset 775, 19 lines modified | Offset 775, 19 lines modified | ||
775 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 775 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
776 | <dd·class="field-even"><p></p></dd> | 776 | <dd·class="field-even"><p></p></dd> |
777 | </dl> | 777 | </dl> |
778 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 778 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
779 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 779 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
780 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 780 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
781 | <span·class="gp">...</span> | 781 | <span·class="gp">...</span> |
782 | <span·class="go">datetime.date(2020,·4,·1 | 782 | <span·class="go">datetime.date(2020,·4,·17)</span> |
783 | <span·class="go">datetime.date(2017,·9,·1 | 783 | <span·class="go">datetime.date(2017,·9,·12)</span> |
784 | <span·class="go">datetime.date(2007,·7,· | 784 | <span·class="go">datetime.date(2007,·7,·30)</span> |
785 | <span·class="go">datetime.date(2002,·9,·2 | 785 | <span·class="go">datetime.date(2002,·9,·23)</span> |
786 | <span·class="go">datetime.date(2010,·4,·1 | 786 | <span·class="go">datetime.date(2010,·4,·19)</span> |
787 | </pre></div> | 787 | </pre></div> |
788 | </div> | 788 | </div> |
789 | </dd></dl> | 789 | </dd></dl> |
790 | <dl·class="py·method"> | 790 | <dl·class="py·method"> |
791 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ka_GE.Provider.date_between_dates"> | 791 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ka_GE.Provider.date_between_dates"> |
792 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.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.ka_GE.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 792 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.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.ka_GE.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
Offset 806, 19 lines modified | Offset 806, 19 lines modified | ||
806 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 806 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
807 | <dd·class="field-odd"><p></p></dd> | 807 | <dd·class="field-odd"><p></p></dd> |
808 | </dl> | 808 | </dl> |
809 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 809 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
810 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 810 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
811 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 811 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
812 | <span·class="gp">...</span> | 812 | <span·class="gp">...</span> |
813 | <span·class="go">datetime.date(2024,·12,·1 | 813 | <span·class="go">datetime.date(2024,·12,·17)</span> |
814 | <span·class="go">datetime.date(2024,·12,·1 | 814 | <span·class="go">datetime.date(2024,·12,·17)</span> |
815 | <span·class="go">datetime.date(2024,·12,·1 | 815 | <span·class="go">datetime.date(2024,·12,·17)</span> |
816 | <span·class="go">datetime.date(2024,·12,·1 | 816 | <span·class="go">datetime.date(2024,·12,·17)</span> |
817 | <span·class="go">datetime.date(2024,·12,·1 | 817 | <span·class="go">datetime.date(2024,·12,·17)</span> |
818 | </pre></div> | 818 | </pre></div> |
819 | </div> | 819 | </div> |
820 | </dd></dl> | 820 | </dd></dl> |
821 | <dl·class="py·method"> | 821 | <dl·class="py·method"> |
822 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ka_GE.Provider.date_object"> | 822 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ka_GE.Provider.date_object"> |
823 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.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.ka_GE.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 823 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.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.ka_GE.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
Offset 830, 15 lines modified | Offset 830, 15 lines modified | ||
830 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 830 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
831 | <dd·class="field-even"><p></p></dd> | 831 | <dd·class="field-even"><p></p></dd> |
832 | </dl> | 832 | </dl> |
833 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 833 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
834 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 834 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
835 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 835 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
836 | <span·class="gp">...</span> | 836 | <span·class="gp">...</span> |
837 | <span·class="go">datetime.date(2016,·5,· | 837 | <span·class="go">datetime.date(2016,·5,·30)</span> |
838 | <span·class="go">datetime.date(2011,·8,·29)</span> | 838 | <span·class="go">datetime.date(2011,·8,·29)</span> |
839 | <span·class="go">datetime.date(1993,·2,·11)</span> | 839 | <span·class="go">datetime.date(1993,·2,·11)</span> |
840 | <span·class="go">datetime.date(1984,·3,·25)</span> | 840 | <span·class="go">datetime.date(1984,·3,·25)</span> |
841 | <span·class="go">datetime.date(1998,·2,·6)</span> | 841 | <span·class="go">datetime.date(1998,·2,·6)</span> |
842 | </pre></div> | 842 | </pre></div> |
843 | </div> | 843 | </div> |
844 | </dd></dl> | 844 | </dd></dl> |
Offset 866, 19 lines modified | Offset 866, 19 lines modified | ||
866 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 866 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
867 | <dd·class="field-even"><p></p></dd> | 867 | <dd·class="field-even"><p></p></dd> |
868 | </dl> | 868 | </dl> |
869 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 869 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
870 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 870 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
871 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 871 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
872 | <span·class="gp">...</span> | 872 | <span·class="gp">...</span> |
873 | <span·class="go">datetime.date(2006,·11,· | 873 | <span·class="go">datetime.date(2006,·11,·30)</span> |
874 | <span·class="go">datetime.date(1996,·11,·1 | 874 | <span·class="go">datetime.date(1996,·11,·18)</span> |
875 | <span·class="go">datetime.date(1957,·9,· | 875 | <span·class="go">datetime.date(1957,·9,·30)</span> |
876 | <span·class="go">datetime.date(1938,·12,· | 876 | <span·class="go">datetime.date(1938,·12,·30)</span> |
877 | <span·class="go">datetime.date(1968,·4,· | 877 | <span·class="go">datetime.date(1968,·4,·8)</span> |
878 | </pre></div> | 878 | </pre></div> |
879 | </div> | 879 | </div> |
880 | </dd></dl> | 880 | </dd></dl> |
881 | <dl·class="py·method"> | 881 | <dl·class="py·method"> |
882 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ka_GE.Provider.date_this_century"> | 882 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ka_GE.Provider.date_this_century"> |
883 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.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.ka_GE.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 883 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.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.ka_GE.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
Offset 899, 19 lines modified | Offset 899, 19 lines modified | ||
899 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 899 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
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_this_century</span><span·class="p">()</span> | 904 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
905 | <span·class="gp">...</span> | 905 | <span·class="gp">...</span> |
906 | <span·class="go">datetime.date(2021,·1,·2 | 906 | <span·class="go">datetime.date(2021,·1,·28)</span> |
907 | <span·class="go">datetime.date(2018,·12,· | 907 | <span·class="go">datetime.date(2018,·12,·2)</span> |
908 | <span·class="go">datetime.date(2010,· | 908 | <span·class="go">datetime.date(2010,·7,·1)</span> |
909 | <span·class="go">datetime.date(2006,·6,·18)</span> | 909 | <span·class="go">datetime.date(2006,·6,·18)</span> |
910 | <span·class="go">datetime.date(2012,·10,· | 910 | <span·class="go">datetime.date(2012,·10,·5)</span> |
911 | </pre></div> | 911 | </pre></div> |
912 | </div> | 912 | </div> |
913 | </dd></dl> | 913 | </dd></dl> |
Max diff block lines reached; 88985/105867 bytes (84.05%) of diff not shown. |
Offset 393, 18 lines modified | Offset 393, 18 lines modified | ||
393 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 393 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
394 | ··············Examples: | 394 | ··············Examples: |
395 | ············>>>·Faker.seed(0) | 395 | ············>>>·Faker.seed(0) |
396 | ············>>>·for·_·in·range(5): | 396 | ············>>>·for·_·in·range(5): |
397 | ············...·····fake.am_pm() | 397 | ············...·····fake.am_pm() |
398 | ············... | 398 | ············... |
399 | ············'PM' | 399 | ············'PM' |
400 | ············' | 400 | ············'PM' |
401 | ············' | 401 | ············'PM' |
402 | ············' | 402 | ············'PM' |
403 | ············' | 403 | ············'PM' |
404 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 404 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
405 | ··············Example: | 405 | ··············Example: |
406 | ··················‘XVII’ | 406 | ··················‘XVII’ |
407 | ··············Examples: | 407 | ··············Examples: |
408 | ············>>>·Faker.seed(0) | 408 | ············>>>·Faker.seed(0) |
409 | ············>>>·for·_·in·range(5): | 409 | ············>>>·for·_·in·range(5): |
410 | ············...·····fake.century() | 410 | ············...·····fake.century() |
Offset 424, 15 lines modified | Offset 424, 15 lines modified | ||
424 | ··············Returns: | 424 | ··············Returns: |
425 | ··················Date | 425 | ··················Date |
426 | ··············Examples: | 426 | ··············Examples: |
427 | ············>>>·Faker.seed(0) | 427 | ············>>>·Faker.seed(0) |
428 | ············>>>·for·_·in·range(5): | 428 | ············>>>·for·_·in·range(5): |
429 | ············...·····fake.date() | 429 | ············...·····fake.date() |
430 | ············... | 430 | ············... |
431 | ············'2016-05- | 431 | ············'2016-05-30' |
432 | ············'2011-08-29' | 432 | ············'2011-08-29' |
433 | ············'1993-02-11' | 433 | ············'1993-02-11' |
434 | ············'1984-03-25' | 434 | ············'1984-03-25' |
435 | ············'1998-02-06' | 435 | ············'1998-02-06' |
436 | ········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- | 436 | ········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- |
437 | ········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')·→ | 437 | ········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')·→ |
438 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 438 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
Offset 446, 19 lines modified | Offset 446, 19 lines modified | ||
446 | ··············Returns: | 446 | ··············Returns: |
447 | ··················Date | 447 | ··················Date |
448 | ··············Examples: | 448 | ··············Examples: |
449 | ············>>>·Faker.seed(0) | 449 | ············>>>·Faker.seed(0) |
450 | ············>>>·for·_·in·range(5): | 450 | ············>>>·for·_·in·range(5): |
451 | ············...·····fake.date_between() | 451 | ············...·····fake.date_between() |
452 | ············... | 452 | ············... |
453 | ············datetime.date(2020,·4,·1 | 453 | ············datetime.date(2020,·4,·17) |
454 | ············datetime.date(2017,·9,·1 | 454 | ············datetime.date(2017,·9,·12) |
455 | ············datetime.date(2007,·7,· | 455 | ············datetime.date(2007,·7,·30) |
456 | ············datetime.date(2002,·9,·2 | 456 | ············datetime.date(2002,·9,·23) |
457 | ············datetime.date(2010,·4,·1 | 457 | ············datetime.date(2010,·4,·19) |
458 | ········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 | 458 | ········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 |
459 | ········|\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 | 459 | ········|\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 |
460 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 460 | ········=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
461 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two | 461 | ············Takes·two·Date·objects·and·returns·a·random·date·between·the·two |
462 | ············given·dates.·Accepts·Date·or·datetime·objects | 462 | ············given·dates.·Accepts·Date·or·datetime·objects |
463 | ··············Parameters: | 463 | ··············Parameters: |
464 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date | 464 | ······················*·d\x8da\x8at\x8te\x8e_\x8_s\x8st\x8ta\x8ar\x8rt\x8t·–·Date |
Offset 466, 29 lines modified | Offset 466, 29 lines modified | ||
466 | ··············Returns: | 466 | ··············Returns: |
467 | ··················Date | 467 | ··················Date |
468 | ··············Examples: | 468 | ··············Examples: |
469 | ············>>>·Faker.seed(0) | 469 | ············>>>·Faker.seed(0) |
470 | ············>>>·for·_·in·range(5): | 470 | ············>>>·for·_·in·range(5): |
471 | ············...·····fake.date_between_dates() | 471 | ············...·····fake.date_between_dates() |
472 | ············... | 472 | ············... |
473 | ············datetime.date(2024,·12,·1 | 473 | ············datetime.date(2024,·12,·17) |
474 | ············datetime.date(2024,·12,·1 | 474 | ············datetime.date(2024,·12,·17) |
475 | ············datetime.date(2024,·12,·1 | 475 | ············datetime.date(2024,·12,·17) |
476 | ············datetime.date(2024,·12,·1 | 476 | ············datetime.date(2024,·12,·17) |
477 | ············datetime.date(2024,·12,·1 | 477 | ············datetime.date(2024,·12,·17) |
478 | ········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¶ | 478 | ········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¶ |
479 | ············Get·a·date·object·between·January·1,·1970·and·now | 479 | ············Get·a·date·object·between·January·1,·1970·and·now |
480 | ··············Example: | 480 | ··············Example: |
481 | ··················datetime.date(2016,·9,·20) | 481 | ··················datetime.date(2016,·9,·20) |
482 | ··············Examples: | 482 | ··············Examples: |
483 | ············>>>·Faker.seed(0) | 483 | ············>>>·Faker.seed(0) |
484 | ············>>>·for·_·in·range(5): | 484 | ············>>>·for·_·in·range(5): |
485 | ············...·····fake.date_object() | 485 | ············...·····fake.date_object() |
486 | ············... | 486 | ············... |
487 | ············datetime.date(2016,·5,· | 487 | ············datetime.date(2016,·5,·30) |
488 | ············datetime.date(2011,·8,·29) | 488 | ············datetime.date(2011,·8,·29) |
489 | ············datetime.date(1993,·2,·11) | 489 | ············datetime.date(1993,·2,·11) |
490 | ············datetime.date(1984,·3,·25) | 490 | ············datetime.date(1984,·3,·25) |
491 | ············datetime.date(1998,·2,·6) | 491 | ············datetime.date(1998,·2,·6) |
492 | ········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, | 492 | ········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, |
493 | ········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¶ | 493 | ········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¶ |
494 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 494 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
Offset 502, 19 lines modified | Offset 502, 19 lines modified | ||
502 | ··············Returns: | 502 | ··············Returns: |
503 | ··················Date | 503 | ··················Date |
504 | ··············Examples: | 504 | ··············Examples: |
505 | ············>>>·Faker.seed(0) | 505 | ············>>>·Faker.seed(0) |
506 | ············>>>·for·_·in·range(5): | 506 | ············>>>·for·_·in·range(5): |
507 | ············...·····fake.date_of_birth() | 507 | ············...·····fake.date_of_birth() |
508 | ············... | 508 | ············... |
509 | ············datetime.date(2006,·11,· | 509 | ············datetime.date(2006,·11,·30) |
510 | ············datetime.date(1996,·11,·1 | 510 | ············datetime.date(1996,·11,·18) |
511 | ············datetime.date(1957,·9,· | 511 | ············datetime.date(1957,·9,·30) |
512 | ············datetime.date(1938,·12,· | 512 | ············datetime.date(1938,·12,·30) |
513 | ············datetime.date(1968,·4,· | 513 | ············datetime.date(1968,·4,·8) |
514 | ········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) | 514 | ········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) |
515 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 515 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
516 | ············Gets·a·Date·object·for·the·current·century. | 516 | ············Gets·a·Date·object·for·the·current·century. |
517 | ··············Parameters: | 517 | ··············Parameters: |
518 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 518 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
519 | ························today | 519 | ························today |
520 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 520 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 524, 19 lines modified | Offset 524, 19 lines modified | ||
524 | ··············Returns: | 524 | ··············Returns: |
525 | ··················Date | 525 | ··················Date |
526 | ··············Examples: | 526 | ··············Examples: |
527 | ············>>>·Faker.seed(0) | 527 | ············>>>·Faker.seed(0) |
528 | ············>>>·for·_·in·range(5): | 528 | ············>>>·for·_·in·range(5): |
529 | ············...·····fake.date_this_century() | 529 | ············...·····fake.date_this_century() |
530 | ············... | 530 | ············... |
531 | ············datetime.date(2021,·1,·2 | 531 | ············datetime.date(2021,·1,·28) |
532 | ············datetime.date(2018,·12,· | 532 | ············datetime.date(2018,·12,·2) |
533 | ············datetime.date(2010,· | 533 | ············datetime.date(2010,·7,·1) |
534 | ············datetime.date(2006,·6,·18) | 534 | ············datetime.date(2006,·6,·18) |
535 | ············datetime.date(2012,·10,· | 535 | ············datetime.date(2012,·10,·5) |
536 | ········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) | 536 | ········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) |
537 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 537 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
538 | ············Gets·a·Date·object·for·the·decade·year. | 538 | ············Gets·a·Date·object·for·the·decade·year. |
539 | ··············Parameters: | 539 | ··············Parameters: |
540 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 540 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
541 | ························today | 541 | ························today |
542 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 542 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 546, 19 lines modified | Offset 546, 19 lines modified | ||
546 | ··············Returns: | 546 | ··············Returns: |
547 | ··················Date | 547 | ··················Date |
Max diff block lines reached; 27355/34175 bytes (80.04%) of diff not shown. |
Offset 899, 18 lines modified | Offset 899, 18 lines modified | ||
899 | <dd·class="field-odd"><p></p></dd> | 899 | <dd·class="field-odd"><p></p></dd> |
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">'PM'</span> | 905 | <span·class="go">'PM'</span> |
906 | <span·class="go">' | 906 | <span·class="go">'PM'</span> |
907 | <span·class="go">' | 907 | <span·class="go">'PM'</span> |
908 | <span·class="go">' | 908 | <span·class="go">'PM'</span> |
909 | <span·class="go">' | 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, 15 lines modified | Offset 951, 15 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-05- | 958 | <span·class="go">'2016-05-30'</span> |
959 | <span·class="go">'2011-08-29'</span> | 959 | <span·class="go">'2011-08-29'</span> |
960 | <span·class="go">'1993-02-11'</span> | 960 | <span·class="go">'1993-02-11'</span> |
961 | <span·class="go">'1984-03-25'</span> | 961 | <span·class="go">'1984-03-25'</span> |
962 | <span·class="go">'1998-02-06'</span> | 962 | <span·class="go">'1998-02-06'</span> |
963 | </pre></div> | 963 | </pre></div> |
964 | </div> | 964 | </div> |
965 | </dd></dl> | 965 | </dd></dl> |
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,·4,·1 | 992 | <span·class="go">datetime.date(2020,·4,·17)</span> |
993 | <span·class="go">datetime.date(2017,·9,·1 | 993 | <span·class="go">datetime.date(2017,·9,·12)</span> |
994 | <span·class="go">datetime.date(2007,·7,· | 994 | <span·class="go">datetime.date(2007,·7,·30)</span> |
995 | <span·class="go">datetime.date(2002,·9,·2 | 995 | <span·class="go">datetime.date(2002,·9,·23)</span> |
996 | <span·class="go">datetime.date(2010,·4,·1 | 996 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 1023 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1024 | <span·class="go">datetime.date(2024,·12,·1 | 1024 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1025 | <span·class="go">datetime.date(2024,·12,·1 | 1025 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1026 | <span·class="go">datetime.date(2024,·12,·1 | 1026 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1027 | <span·class="go">datetime.date(2024,·12,·1 | 1027 | <span·class="go">datetime.date(2024,·12,·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"> |
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, 15 lines modified | Offset 1040, 15 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,·5,· | 1047 | <span·class="go">datetime.date(2016,·5,·30)</span> |
1048 | <span·class="go">datetime.date(2011,·8,·29)</span> | 1048 | <span·class="go">datetime.date(2011,·8,·29)</span> |
1049 | <span·class="go">datetime.date(1993,·2,·11)</span> | 1049 | <span·class="go">datetime.date(1993,·2,·11)</span> |
1050 | <span·class="go">datetime.date(1984,·3,·25)</span> | 1050 | <span·class="go">datetime.date(1984,·3,·25)</span> |
1051 | <span·class="go">datetime.date(1998,·2,·6)</span> | 1051 | <span·class="go">datetime.date(1998,·2,·6)</span> |
1052 | </pre></div> | 1052 | </pre></div> |
1053 | </div> | 1053 | </div> |
1054 | </dd></dl> | 1054 | </dd></dl> |
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,·11,· | 1083 | <span·class="go">datetime.date(2006,·11,·30)</span> |
1084 | <span·class="go">datetime.date(1996,·11,·1 | 1084 | <span·class="go">datetime.date(1996,·11,·18)</span> |
1085 | <span·class="go">datetime.date(1957,·9,· | 1085 | <span·class="go">datetime.date(1957,·9,·30)</span> |
1086 | <span·class="go">datetime.date(1938,·12,· | 1086 | <span·class="go">datetime.date(1938,·12,·30)</span> |
1087 | <span·class="go">datetime.date(1968,·4,· | 1087 | <span·class="go">datetime.date(1968,·4,·8)</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(2021,·1,·2 | 1116 | <span·class="go">datetime.date(2021,·1,·28)</span> |
1117 | <span·class="go">datetime.date(2018,·12,· | 1117 | <span·class="go">datetime.date(2018,·12,·2)</span> |
1118 | <span·class="go">datetime.date(2010,· | 1118 | <span·class="go">datetime.date(2010,·7,·1)</span> |
1119 | <span·class="go">datetime.date(2006,·6,·18)</span> | 1119 | <span·class="go">datetime.date(2006,·6,·18)</span> |
1120 | <span·class="go">datetime.date(2012,·10,· | 1120 | <span·class="go">datetime.date(2012,·10,·5)</span> |
1121 | </pre></div> | 1121 | </pre></div> |
1122 | </div> | 1122 | </div> |
1123 | </dd></dl> | 1123 | </dd></dl> |
Max diff block lines reached; 88971/105861 bytes (84.05%) of diff not shown. |
Offset 482, 18 lines modified | Offset 482, 18 lines modified | ||
482 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 482 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
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 | ············'PM' | 488 | ············'PM' |
489 | ············' | 489 | ············'PM' |
490 | ············' | 490 | ············'PM' |
491 | ············' | 491 | ············'PM' |
492 | ············' | 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, 15 lines modified | Offset 513, 15 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-05- | 520 | ············'2016-05-30' |
521 | ············'2011-08-29' | 521 | ············'2011-08-29' |
522 | ············'1993-02-11' | 522 | ············'1993-02-11' |
523 | ············'1984-03-25' | 523 | ············'1984-03-25' |
524 | ············'1998-02-06' | 524 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 542 | ············datetime.date(2020,·4,·17) |
543 | ············datetime.date(2017,·9,·1 | 543 | ············datetime.date(2017,·9,·12) |
544 | ············datetime.date(2007,·7,· | 544 | ············datetime.date(2007,·7,·30) |
545 | ············datetime.date(2002,·9,·2 | 545 | ············datetime.date(2002,·9,·23) |
546 | ············datetime.date(2010,·4,·1 | 546 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 555, 29 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,·12,·1 | 562 | ············datetime.date(2024,·12,·17) |
563 | ············datetime.date(2024,·12,·1 | 563 | ············datetime.date(2024,·12,·17) |
564 | ············datetime.date(2024,·12,·1 | 564 | ············datetime.date(2024,·12,·17) |
565 | ············datetime.date(2024,·12,·1 | 565 | ············datetime.date(2024,·12,·17) |
566 | ············datetime.date(2024,·12,·1 | 566 | ············datetime.date(2024,·12,·17) |
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,·5,· | 576 | ············datetime.date(2016,·5,·30) |
577 | ············datetime.date(2011,·8,·29) | 577 | ············datetime.date(2011,·8,·29) |
578 | ············datetime.date(1993,·2,·11) | 578 | ············datetime.date(1993,·2,·11) |
579 | ············datetime.date(1984,·3,·25) | 579 | ············datetime.date(1984,·3,·25) |
580 | ············datetime.date(1998,·2,·6) | 580 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 598 | ············datetime.date(2006,·11,·30) |
599 | ············datetime.date(1996,·11,·1 | 599 | ············datetime.date(1996,·11,·18) |
600 | ············datetime.date(1957,·9,· | 600 | ············datetime.date(1957,·9,·30) |
601 | ············datetime.date(1938,·12,· | 601 | ············datetime.date(1938,·12,·30) |
602 | ············datetime.date(1968,·4,· | 602 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 620 | ············datetime.date(2021,·1,·28) |
621 | ············datetime.date(2018,·12,· | 621 | ············datetime.date(2018,·12,·2) |
622 | ············datetime.date(2010,· | 622 | ············datetime.date(2010,·7,·1) |
623 | ············datetime.date(2006,·6,·18) | 623 | ············datetime.date(2006,·6,·18) |
624 | ············datetime.date(2012,·10,· | 624 | ············datetime.date(2012,·10,·5) |
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 |
630 | ························today | 630 | ························today |
631 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 631 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 635, 19 lines modified | Offset 635, 19 lines modified | ||
635 | ··············Returns: | 635 | ··············Returns: |
636 | ··················Date | 636 | ··················Date |
Max diff block lines reached; 27353/34173 bytes (80.04%) 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">'0 | 572 | <span·class="go">'031155-18875'</span> |
573 | <span·class="go">'0 | 573 | <span·class="go">'020749-11528'</span> |
574 | <span·class="go">'0 | 574 | <span·class="go">'040778-16349'</span> |
575 | <span·class="go">' | 575 | <span·class="go">'101037-15252'</span> |
576 | <span·class="go">'1 | 576 | <span·class="go">'170770-15990'</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 | ············'0 | 299 | ············'031155-18875' |
300 | ············'0 | 300 | ············'020749-11528' |
301 | ············'0 | 301 | ············'040778-16349' |
302 | ············' | 302 | ············'101037-15252' |
303 | ············'1 | 303 | ············'170770-15990' |
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">'1605 | 1804 | <span·class="go">'16053077781'</span> |
1805 | <span·class="go">'18120 | 1805 | <span·class="go">'18120604275'</span> |
1806 | <span·class="go">'84032552426'</span> | 1806 | <span·class="go">'84032552426'</span> |
1807 | <span·class="go">'96091594109'</span> | 1807 | <span·class="go">'96091594109'</span> |
1808 | <span·class="go">'13012 | 1808 | <span·class="go">'13012931101'</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 | ············'1605 | 1344 | ············'16053077781' |
1345 | ············'18120 | 1345 | ············'18120604275' |
1346 | ············'84032552426' | 1346 | ············'84032552426' |
1347 | ············'96091594109' | 1347 | ············'96091594109' |
1348 | ············'13012 | 1348 | ············'13012931101' |
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 1059, 18 lines modified | Offset 1059, 18 lines modified | ||
1059 | <dd·class="field-odd"><p></p></dd> | 1059 | <dd·class="field-odd"><p></p></dd> |
1060 | </dl> | 1060 | </dl> |
1061 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1061 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1062 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1062 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1063 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1063 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1064 | <span·class="gp">...</span> | 1064 | <span·class="gp">...</span> |
1065 | <span·class="go">'PM'</span> | 1065 | <span·class="go">'PM'</span> |
1066 | <span·class="go">' | 1066 | <span·class="go">'PM'</span> |
1067 | <span·class="go">' | 1067 | <span·class="go">'PM'</span> |
1068 | <span·class="go">' | 1068 | <span·class="go">'PM'</span> |
1069 | <span·class="go">' | 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, 15 lines modified | Offset 1111, 15 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-05- | 1118 | <span·class="go">'2016-05-30'</span> |
1119 | <span·class="go">'2011-08-29'</span> | 1119 | <span·class="go">'2011-08-29'</span> |
1120 | <span·class="go">'1993-02-11'</span> | 1120 | <span·class="go">'1993-02-11'</span> |
1121 | <span·class="go">'1984-03-25'</span> | 1121 | <span·class="go">'1984-03-25'</span> |
1122 | <span·class="go">'1998-02-06'</span> | 1122 | <span·class="go">'1998-02-06'</span> |
1123 | </pre></div> | 1123 | </pre></div> |
1124 | </div> | 1124 | </div> |
1125 | </dd></dl> | 1125 | </dd></dl> |
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,·4,·1 | 1152 | <span·class="go">datetime.date(2020,·4,·17)</span> |
1153 | <span·class="go">datetime.date(2017,·9,·1 | 1153 | <span·class="go">datetime.date(2017,·9,·12)</span> |
1154 | <span·class="go">datetime.date(2007,·7,· | 1154 | <span·class="go">datetime.date(2007,·7,·30)</span> |
1155 | <span·class="go">datetime.date(2002,·9,·2 | 1155 | <span·class="go">datetime.date(2002,·9,·23)</span> |
1156 | <span·class="go">datetime.date(2010,·4,·1 | 1156 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 1183 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1184 | <span·class="go">datetime.date(2024,·12,·1 | 1184 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1185 | <span·class="go">datetime.date(2024,·12,·1 | 1185 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1186 | <span·class="go">datetime.date(2024,·12,·1 | 1186 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1187 | <span·class="go">datetime.date(2024,·12,·1 | 1187 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 1200, 15 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,·5,· | 1207 | <span·class="go">datetime.date(2016,·5,·30)</span> |
1208 | <span·class="go">datetime.date(2011,·8,·29)</span> | 1208 | <span·class="go">datetime.date(2011,·8,·29)</span> |
1209 | <span·class="go">datetime.date(1993,·2,·11)</span> | 1209 | <span·class="go">datetime.date(1993,·2,·11)</span> |
1210 | <span·class="go">datetime.date(1984,·3,·25)</span> | 1210 | <span·class="go">datetime.date(1984,·3,·25)</span> |
1211 | <span·class="go">datetime.date(1998,·2,·6)</span> | 1211 | <span·class="go">datetime.date(1998,·2,·6)</span> |
1212 | </pre></div> | 1212 | </pre></div> |
1213 | </div> | 1213 | </div> |
1214 | </dd></dl> | 1214 | </dd></dl> |
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,·11,· | 1243 | <span·class="go">datetime.date(2006,·11,·30)</span> |
1244 | <span·class="go">datetime.date(1996,·11,·1 | 1244 | <span·class="go">datetime.date(1996,·11,·18)</span> |
1245 | <span·class="go">datetime.date(1957,·9,· | 1245 | <span·class="go">datetime.date(1957,·9,·30)</span> |
1246 | <span·class="go">datetime.date(1938,·12,· | 1246 | <span·class="go">datetime.date(1938,·12,·30)</span> |
1247 | <span·class="go">datetime.date(1968,·4,· | 1247 | <span·class="go">datetime.date(1968,·4,·8)</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(2021,·1,·2 | 1276 | <span·class="go">datetime.date(2021,·1,·28)</span> |
1277 | <span·class="go">datetime.date(2018,·12,· | 1277 | <span·class="go">datetime.date(2018,·12,·2)</span> |
1278 | <span·class="go">datetime.date(2010,· | 1278 | <span·class="go">datetime.date(2010,·7,·1)</span> |
1279 | <span·class="go">datetime.date(2006,·6,·18)</span> | 1279 | <span·class="go">datetime.date(2006,·6,·18)</span> |
1280 | <span·class="go">datetime.date(2012,·10,· | 1280 | <span·class="go">datetime.date(2012,·10,·5)</span> |
1281 | </pre></div> | 1281 | </pre></div> |
1282 | </div> | 1282 | </div> |
1283 | </dd></dl> | 1283 | </dd></dl> |
Max diff block lines reached; 88984/105880 bytes (84.04%) of diff not shown. |
Offset 603, 18 lines modified | Offset 603, 18 lines modified | ||
603 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 603 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
604 | ··············Examples: | 604 | ··············Examples: |
605 | ············>>>·Faker.seed(0) | 605 | ············>>>·Faker.seed(0) |
606 | ············>>>·for·_·in·range(5): | 606 | ············>>>·for·_·in·range(5): |
607 | ············...·····fake.am_pm() | 607 | ············...·····fake.am_pm() |
608 | ············... | 608 | ············... |
609 | ············'PM' | 609 | ············'PM' |
610 | ············' | 610 | ············'PM' |
611 | ············' | 611 | ············'PM' |
612 | ············' | 612 | ············'PM' |
613 | ············' | 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, 15 lines modified | Offset 634, 15 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-05- | 641 | ············'2016-05-30' |
642 | ············'2011-08-29' | 642 | ············'2011-08-29' |
643 | ············'1993-02-11' | 643 | ············'1993-02-11' |
644 | ············'1984-03-25' | 644 | ············'1984-03-25' |
645 | ············'1998-02-06' | 645 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 663 | ············datetime.date(2020,·4,·17) |
664 | ············datetime.date(2017,·9,·1 | 664 | ············datetime.date(2017,·9,·12) |
665 | ············datetime.date(2007,·7,· | 665 | ············datetime.date(2007,·7,·30) |
666 | ············datetime.date(2002,·9,·2 | 666 | ············datetime.date(2002,·9,·23) |
667 | ············datetime.date(2010,·4,·1 | 667 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 676, 29 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,·12,·1 | 683 | ············datetime.date(2024,·12,·17) |
684 | ············datetime.date(2024,·12,·1 | 684 | ············datetime.date(2024,·12,·17) |
685 | ············datetime.date(2024,·12,·1 | 685 | ············datetime.date(2024,·12,·17) |
686 | ············datetime.date(2024,·12,·1 | 686 | ············datetime.date(2024,·12,·17) |
687 | ············datetime.date(2024,·12,·1 | 687 | ············datetime.date(2024,·12,·17) |
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,·5,· | 697 | ············datetime.date(2016,·5,·30) |
698 | ············datetime.date(2011,·8,·29) | 698 | ············datetime.date(2011,·8,·29) |
699 | ············datetime.date(1993,·2,·11) | 699 | ············datetime.date(1993,·2,·11) |
700 | ············datetime.date(1984,·3,·25) | 700 | ············datetime.date(1984,·3,·25) |
701 | ············datetime.date(1998,·2,·6) | 701 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 719 | ············datetime.date(2006,·11,·30) |
720 | ············datetime.date(1996,·11,·1 | 720 | ············datetime.date(1996,·11,·18) |
721 | ············datetime.date(1957,·9,· | 721 | ············datetime.date(1957,·9,·30) |
722 | ············datetime.date(1938,·12,· | 722 | ············datetime.date(1938,·12,·30) |
723 | ············datetime.date(1968,·4,· | 723 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 741 | ············datetime.date(2021,·1,·28) |
742 | ············datetime.date(2018,·12,· | 742 | ············datetime.date(2018,·12,·2) |
743 | ············datetime.date(2010,· | 743 | ············datetime.date(2010,·7,·1) |
744 | ············datetime.date(2006,·6,·18) | 744 | ············datetime.date(2006,·6,·18) |
745 | ············datetime.date(2012,·10,· | 745 | ············datetime.date(2012,·10,·5) |
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 |
751 | ························today | 751 | ························today |
752 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 752 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 756, 19 lines modified | Offset 756, 19 lines modified | ||
756 | ··············Returns: | 756 | ··············Returns: |
757 | ··················Date | 757 | ··················Date |
Max diff block lines reached; 27362/34182 bytes (80.05%) of diff not shown. |
Offset 758, 18 lines modified | Offset 758, 18 lines modified | ||
758 | <dd·class="field-odd"><p></p></dd> | 758 | <dd·class="field-odd"><p></p></dd> |
759 | </dl> | 759 | </dl> |
760 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 760 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
761 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 761 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
762 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 762 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
763 | <span·class="gp">...</span> | 763 | <span·class="gp">...</span> |
764 | <span·class="go">'PM'</span> | 764 | <span·class="go">'PM'</span> |
765 | <span·class="go">' | 765 | <span·class="go">'PM'</span> |
766 | <span·class="go">' | 766 | <span·class="go">'PM'</span> |
767 | <span·class="go">' | 767 | <span·class="go">'PM'</span> |
768 | <span·class="go">' | 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, 15 lines modified | Offset 810, 15 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-05- | 817 | <span·class="go">'2016-05-30'</span> |
818 | <span·class="go">'2011-08-29'</span> | 818 | <span·class="go">'2011-08-29'</span> |
819 | <span·class="go">'1993-02-11'</span> | 819 | <span·class="go">'1993-02-11'</span> |
820 | <span·class="go">'1984-03-25'</span> | 820 | <span·class="go">'1984-03-25'</span> |
821 | <span·class="go">'1998-02-06'</span> | 821 | <span·class="go">'1998-02-06'</span> |
822 | </pre></div> | 822 | </pre></div> |
823 | </div> | 823 | </div> |
824 | </dd></dl> | 824 | </dd></dl> |
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,·4,·1 | 851 | <span·class="go">datetime.date(2020,·4,·17)</span> |
852 | <span·class="go">datetime.date(2017,·9,·1 | 852 | <span·class="go">datetime.date(2017,·9,·12)</span> |
853 | <span·class="go">datetime.date(2007,·7,· | 853 | <span·class="go">datetime.date(2007,·7,·30)</span> |
854 | <span·class="go">datetime.date(2002,·9,·2 | 854 | <span·class="go">datetime.date(2002,·9,·23)</span> |
855 | <span·class="go">datetime.date(2010,·4,·1 | 855 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 882 | <span·class="go">datetime.date(2024,·12,·17)</span> |
883 | <span·class="go">datetime.date(2024,·12,·1 | 883 | <span·class="go">datetime.date(2024,·12,·17)</span> |
884 | <span·class="go">datetime.date(2024,·12,·1 | 884 | <span·class="go">datetime.date(2024,·12,·17)</span> |
885 | <span·class="go">datetime.date(2024,·12,·1 | 885 | <span·class="go">datetime.date(2024,·12,·17)</span> |
886 | <span·class="go">datetime.date(2024,·12,·1 | 886 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 899, 15 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,·5,· | 906 | <span·class="go">datetime.date(2016,·5,·30)</span> |
907 | <span·class="go">datetime.date(2011,·8,·29)</span> | 907 | <span·class="go">datetime.date(2011,·8,·29)</span> |
908 | <span·class="go">datetime.date(1993,·2,·11)</span> | 908 | <span·class="go">datetime.date(1993,·2,·11)</span> |
909 | <span·class="go">datetime.date(1984,·3,·25)</span> | 909 | <span·class="go">datetime.date(1984,·3,·25)</span> |
910 | <span·class="go">datetime.date(1998,·2,·6)</span> | 910 | <span·class="go">datetime.date(1998,·2,·6)</span> |
911 | </pre></div> | 911 | </pre></div> |
912 | </div> | 912 | </div> |
913 | </dd></dl> | 913 | </dd></dl> |
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,·11,· | 942 | <span·class="go">datetime.date(2006,·11,·30)</span> |
943 | <span·class="go">datetime.date(1996,·11,·1 | 943 | <span·class="go">datetime.date(1996,·11,·18)</span> |
944 | <span·class="go">datetime.date(1957,·9,· | 944 | <span·class="go">datetime.date(1957,·9,·30)</span> |
945 | <span·class="go">datetime.date(1938,·12,· | 945 | <span·class="go">datetime.date(1938,·12,·30)</span> |
946 | <span·class="go">datetime.date(1968,·4,· | 946 | <span·class="go">datetime.date(1968,·4,·8)</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(2021,·1,·2 | 975 | <span·class="go">datetime.date(2021,·1,·28)</span> |
976 | <span·class="go">datetime.date(2018,·12,· | 976 | <span·class="go">datetime.date(2018,·12,·2)</span> |
977 | <span·class="go">datetime.date(2010,· | 977 | <span·class="go">datetime.date(2010,·7,·1)</span> |
978 | <span·class="go">datetime.date(2006,·6,·18)</span> | 978 | <span·class="go">datetime.date(2006,·6,·18)</span> |
979 | <span·class="go">datetime.date(2012,·10,· | 979 | <span·class="go">datetime.date(2012,·10,·5)</span> |
980 | </pre></div> | 980 | </pre></div> |
981 | </div> | 981 | </div> |
982 | </dd></dl> | 982 | </dd></dl> |
Max diff block lines reached; 90323/107205 bytes (84.25%) of diff not shown. |
Offset 435, 18 lines modified | Offset 435, 18 lines modified | ||
435 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 435 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
436 | ··············Examples: | 436 | ··············Examples: |
437 | ············>>>·Faker.seed(0) | 437 | ············>>>·Faker.seed(0) |
438 | ············>>>·for·_·in·range(5): | 438 | ············>>>·for·_·in·range(5): |
439 | ············...·····fake.am_pm() | 439 | ············...·····fake.am_pm() |
440 | ············... | 440 | ············... |
441 | ············'PM' | 441 | ············'PM' |
442 | ············' | 442 | ············'PM' |
443 | ············' | 443 | ············'PM' |
444 | ············' | 444 | ············'PM' |
445 | ············' | 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, 15 lines modified | Offset 466, 15 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-05- | 473 | ············'2016-05-30' |
474 | ············'2011-08-29' | 474 | ············'2011-08-29' |
475 | ············'1993-02-11' | 475 | ············'1993-02-11' |
476 | ············'1984-03-25' | 476 | ············'1984-03-25' |
477 | ············'1998-02-06' | 477 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 495 | ············datetime.date(2020,·4,·17) |
496 | ············datetime.date(2017,·9,·1 | 496 | ············datetime.date(2017,·9,·12) |
497 | ············datetime.date(2007,·7,· | 497 | ············datetime.date(2007,·7,·30) |
498 | ············datetime.date(2002,·9,·2 | 498 | ············datetime.date(2002,·9,·23) |
499 | ············datetime.date(2010,·4,·1 | 499 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 508, 29 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,·12,·1 | 515 | ············datetime.date(2024,·12,·17) |
516 | ············datetime.date(2024,·12,·1 | 516 | ············datetime.date(2024,·12,·17) |
517 | ············datetime.date(2024,·12,·1 | 517 | ············datetime.date(2024,·12,·17) |
518 | ············datetime.date(2024,·12,·1 | 518 | ············datetime.date(2024,·12,·17) |
519 | ············datetime.date(2024,·12,·1 | 519 | ············datetime.date(2024,·12,·17) |
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,·5,· | 529 | ············datetime.date(2016,·5,·30) |
530 | ············datetime.date(2011,·8,·29) | 530 | ············datetime.date(2011,·8,·29) |
531 | ············datetime.date(1993,·2,·11) | 531 | ············datetime.date(1993,·2,·11) |
532 | ············datetime.date(1984,·3,·25) | 532 | ············datetime.date(1984,·3,·25) |
533 | ············datetime.date(1998,·2,·6) | 533 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 551 | ············datetime.date(2006,·11,·30) |
552 | ············datetime.date(1996,·11,·1 | 552 | ············datetime.date(1996,·11,·18) |
553 | ············datetime.date(1957,·9,· | 553 | ············datetime.date(1957,·9,·30) |
554 | ············datetime.date(1938,·12,· | 554 | ············datetime.date(1938,·12,·30) |
555 | ············datetime.date(1968,·4,· | 555 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 573 | ············datetime.date(2021,·1,·28) |
574 | ············datetime.date(2018,·12,· | 574 | ············datetime.date(2018,·12,·2) |
575 | ············datetime.date(2010,· | 575 | ············datetime.date(2010,·7,·1) |
576 | ············datetime.date(2006,·6,·18) | 576 | ············datetime.date(2006,·6,·18) |
577 | ············datetime.date(2012,·10,· | 577 | ············datetime.date(2012,·10,·5) |
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 |
583 | ························today | 583 | ························today |
584 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 584 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 588, 19 lines modified | Offset 588, 19 lines modified | ||
588 | ··············Returns: | 588 | ··············Returns: |
589 | ··················Date | 589 | ··················Date |
Max diff block lines reached; 28393/35213 bytes (80.63%) of diff not shown. |
Offset 1181, 18 lines modified | Offset 1181, 18 lines modified | ||
1181 | <dd·class="field-odd"><p></p></dd> | 1181 | <dd·class="field-odd"><p></p></dd> |
1182 | </dl> | 1182 | </dl> |
1183 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1183 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1184 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1184 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1185 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1185 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1186 | <span·class="gp">...</span> | 1186 | <span·class="gp">...</span> |
1187 | <span·class="go">'PM'</span> | 1187 | <span·class="go">'PM'</span> |
1188 | <span·class="go">' | 1188 | <span·class="go">'PM'</span> |
1189 | <span·class="go">' | 1189 | <span·class="go">'PM'</span> |
1190 | <span·class="go">' | 1190 | <span·class="go">'PM'</span> |
1191 | <span·class="go">' | 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, 15 lines modified | Offset 1233, 15 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-05- | 1240 | <span·class="go">'2016-05-30'</span> |
1241 | <span·class="go">'2011-08-29'</span> | 1241 | <span·class="go">'2011-08-29'</span> |
1242 | <span·class="go">'1993-02-11'</span> | 1242 | <span·class="go">'1993-02-11'</span> |
1243 | <span·class="go">'1984-03-25'</span> | 1243 | <span·class="go">'1984-03-25'</span> |
1244 | <span·class="go">'1998-02-06'</span> | 1244 | <span·class="go">'1998-02-06'</span> |
1245 | </pre></div> | 1245 | </pre></div> |
1246 | </div> | 1246 | </div> |
1247 | </dd></dl> | 1247 | </dd></dl> |
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,·4,·1 | 1274 | <span·class="go">datetime.date(2020,·4,·17)</span> |
1275 | <span·class="go">datetime.date(2017,·9,·1 | 1275 | <span·class="go">datetime.date(2017,·9,·12)</span> |
1276 | <span·class="go">datetime.date(2007,·7,· | 1276 | <span·class="go">datetime.date(2007,·7,·30)</span> |
1277 | <span·class="go">datetime.date(2002,·9,·2 | 1277 | <span·class="go">datetime.date(2002,·9,·23)</span> |
1278 | <span·class="go">datetime.date(2010,·4,·1 | 1278 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 1305 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1306 | <span·class="go">datetime.date(2024,·12,·1 | 1306 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1307 | <span·class="go">datetime.date(2024,·12,·1 | 1307 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1308 | <span·class="go">datetime.date(2024,·12,·1 | 1308 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1309 | <span·class="go">datetime.date(2024,·12,·1 | 1309 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 1322, 15 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,·5,· | 1329 | <span·class="go">datetime.date(2016,·5,·30)</span> |
1330 | <span·class="go">datetime.date(2011,·8,·29)</span> | 1330 | <span·class="go">datetime.date(2011,·8,·29)</span> |
1331 | <span·class="go">datetime.date(1993,·2,·11)</span> | 1331 | <span·class="go">datetime.date(1993,·2,·11)</span> |
1332 | <span·class="go">datetime.date(1984,·3,·25)</span> | 1332 | <span·class="go">datetime.date(1984,·3,·25)</span> |
1333 | <span·class="go">datetime.date(1998,·2,·6)</span> | 1333 | <span·class="go">datetime.date(1998,·2,·6)</span> |
1334 | </pre></div> | 1334 | </pre></div> |
1335 | </div> | 1335 | </div> |
1336 | </dd></dl> | 1336 | </dd></dl> |
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,·11,· | 1365 | <span·class="go">datetime.date(2006,·11,·30)</span> |
1366 | <span·class="go">datetime.date(1996,·11,·1 | 1366 | <span·class="go">datetime.date(1996,·11,·18)</span> |
1367 | <span·class="go">datetime.date(1957,·9,· | 1367 | <span·class="go">datetime.date(1957,·9,·30)</span> |
1368 | <span·class="go">datetime.date(1938,·12,· | 1368 | <span·class="go">datetime.date(1938,·12,·30)</span> |
1369 | <span·class="go">datetime.date(1968,·4,· | 1369 | <span·class="go">datetime.date(1968,·4,·8)</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(2021,·1,·2 | 1398 | <span·class="go">datetime.date(2021,·1,·28)</span> |
1399 | <span·class="go">datetime.date(2018,·12,· | 1399 | <span·class="go">datetime.date(2018,·12,·2)</span> |
1400 | <span·class="go">datetime.date(2010,· | 1400 | <span·class="go">datetime.date(2010,·7,·1)</span> |
1401 | <span·class="go">datetime.date(2006,·6,·18)</span> | 1401 | <span·class="go">datetime.date(2006,·6,·18)</span> |
1402 | <span·class="go">datetime.date(2012,·10,· | 1402 | <span·class="go">datetime.date(2012,·10,·5)</span> |
1403 | </pre></div> | 1403 | </pre></div> |
1404 | </div> | 1404 | </div> |
1405 | </dd></dl> | 1405 | </dd></dl> |
Max diff block lines reached; 93166/110062 bytes (84.65%) of diff not shown. |
Offset 713, 18 lines modified | Offset 713, 18 lines modified | ||
713 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 713 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
714 | ··············Examples: | 714 | ··············Examples: |
715 | ············>>>·Faker.seed(0) | 715 | ············>>>·Faker.seed(0) |
716 | ············>>>·for·_·in·range(5): | 716 | ············>>>·for·_·in·range(5): |
717 | ············...·····fake.am_pm() | 717 | ············...·····fake.am_pm() |
718 | ············... | 718 | ············... |
719 | ············'PM' | 719 | ············'PM' |
720 | ············' | 720 | ············'PM' |
721 | ············' | 721 | ············'PM' |
722 | ············' | 722 | ············'PM' |
723 | ············' | 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, 15 lines modified | Offset 744, 15 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-05- | 751 | ············'2016-05-30' |
752 | ············'2011-08-29' | 752 | ············'2011-08-29' |
753 | ············'1993-02-11' | 753 | ············'1993-02-11' |
754 | ············'1984-03-25' | 754 | ············'1984-03-25' |
755 | ············'1998-02-06' | 755 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 773 | ············datetime.date(2020,·4,·17) |
774 | ············datetime.date(2017,·9,·1 | 774 | ············datetime.date(2017,·9,·12) |
775 | ············datetime.date(2007,·7,· | 775 | ············datetime.date(2007,·7,·30) |
776 | ············datetime.date(2002,·9,·2 | 776 | ············datetime.date(2002,·9,·23) |
777 | ············datetime.date(2010,·4,·1 | 777 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 786, 29 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,·12,·1 | 793 | ············datetime.date(2024,·12,·17) |
794 | ············datetime.date(2024,·12,·1 | 794 | ············datetime.date(2024,·12,·17) |
795 | ············datetime.date(2024,·12,·1 | 795 | ············datetime.date(2024,·12,·17) |
796 | ············datetime.date(2024,·12,·1 | 796 | ············datetime.date(2024,·12,·17) |
797 | ············datetime.date(2024,·12,·1 | 797 | ············datetime.date(2024,·12,·17) |
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,·5,· | 807 | ············datetime.date(2016,·5,·30) |
808 | ············datetime.date(2011,·8,·29) | 808 | ············datetime.date(2011,·8,·29) |
809 | ············datetime.date(1993,·2,·11) | 809 | ············datetime.date(1993,·2,·11) |
810 | ············datetime.date(1984,·3,·25) | 810 | ············datetime.date(1984,·3,·25) |
811 | ············datetime.date(1998,·2,·6) | 811 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 829 | ············datetime.date(2006,·11,·30) |
830 | ············datetime.date(1996,·11,·1 | 830 | ············datetime.date(1996,·11,·18) |
831 | ············datetime.date(1957,·9,· | 831 | ············datetime.date(1957,·9,·30) |
832 | ············datetime.date(1938,·12,· | 832 | ············datetime.date(1938,·12,·30) |
833 | ············datetime.date(1968,·4,· | 833 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 851 | ············datetime.date(2021,·1,·28) |
852 | ············datetime.date(2018,·12,· | 852 | ············datetime.date(2018,·12,·2) |
853 | ············datetime.date(2010,· | 853 | ············datetime.date(2010,·7,·1) |
854 | ············datetime.date(2006,·6,·18) | 854 | ············datetime.date(2006,·6,·18) |
855 | ············datetime.date(2012,·10,· | 855 | ············datetime.date(2012,·10,·5) |
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 |
861 | ························today | 861 | ························today |
862 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 862 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 866, 19 lines modified | Offset 866, 19 lines modified | ||
866 | ··············Returns: | 866 | ··············Returns: |
867 | ··················Date | 867 | ··················Date |
Max diff block lines reached; 29267/36087 bytes (81.10%) of diff not shown. |
Offset 1270, 18 lines modified | Offset 1270, 18 lines modified | ||
1270 | <dd·class="field-odd"><p></p></dd> | 1270 | <dd·class="field-odd"><p></p></dd> |
1271 | </dl> | 1271 | </dl> |
1272 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1272 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1273 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1273 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1274 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1274 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1275 | <span·class="gp">...</span> | 1275 | <span·class="gp">...</span> |
1276 | <span·class="go">'PM'</span> | 1276 | <span·class="go">'PM'</span> |
1277 | <span·class="go">' | 1277 | <span·class="go">'PM'</span> |
1278 | <span·class="go">' | 1278 | <span·class="go">'PM'</span> |
1279 | <span·class="go">' | 1279 | <span·class="go">'PM'</span> |
1280 | <span·class="go">' | 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, 15 lines modified | Offset 1322, 15 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-05- | 1329 | <span·class="go">'2016-05-30'</span> |
1330 | <span·class="go">'2011-08-29'</span> | 1330 | <span·class="go">'2011-08-29'</span> |
1331 | <span·class="go">'1993-02-11'</span> | 1331 | <span·class="go">'1993-02-11'</span> |
1332 | <span·class="go">'1984-03-25'</span> | 1332 | <span·class="go">'1984-03-25'</span> |
1333 | <span·class="go">'1998-02-06'</span> | 1333 | <span·class="go">'1998-02-06'</span> |
1334 | </pre></div> | 1334 | </pre></div> |
1335 | </div> | 1335 | </div> |
1336 | </dd></dl> | 1336 | </dd></dl> |
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,·4,·1 | 1363 | <span·class="go">datetime.date(2020,·4,·17)</span> |
1364 | <span·class="go">datetime.date(2017,·9,·1 | 1364 | <span·class="go">datetime.date(2017,·9,·12)</span> |
1365 | <span·class="go">datetime.date(2007,·7,· | 1365 | <span·class="go">datetime.date(2007,·7,·30)</span> |
1366 | <span·class="go">datetime.date(2002,·9,·2 | 1366 | <span·class="go">datetime.date(2002,·9,·23)</span> |
1367 | <span·class="go">datetime.date(2010,·4,·1 | 1367 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 1394 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1395 | <span·class="go">datetime.date(2024,·12,·1 | 1395 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1396 | <span·class="go">datetime.date(2024,·12,·1 | 1396 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1397 | <span·class="go">datetime.date(2024,·12,·1 | 1397 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1398 | <span·class="go">datetime.date(2024,·12,·1 | 1398 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 1411, 15 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,·5,· | 1418 | <span·class="go">datetime.date(2016,·5,·30)</span> |
1419 | <span·class="go">datetime.date(2011,·8,·29)</span> | 1419 | <span·class="go">datetime.date(2011,·8,·29)</span> |
1420 | <span·class="go">datetime.date(1993,·2,·11)</span> | 1420 | <span·class="go">datetime.date(1993,·2,·11)</span> |
1421 | <span·class="go">datetime.date(1984,·3,·25)</span> | 1421 | <span·class="go">datetime.date(1984,·3,·25)</span> |
1422 | <span·class="go">datetime.date(1998,·2,·6)</span> | 1422 | <span·class="go">datetime.date(1998,·2,·6)</span> |
1423 | </pre></div> | 1423 | </pre></div> |
1424 | </div> | 1424 | </div> |
1425 | </dd></dl> | 1425 | </dd></dl> |
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,·11,· | 1454 | <span·class="go">datetime.date(2006,·11,·30)</span> |
1455 | <span·class="go">datetime.date(1996,·11,·1 | 1455 | <span·class="go">datetime.date(1996,·11,·18)</span> |
1456 | <span·class="go">datetime.date(1957,·9,· | 1456 | <span·class="go">datetime.date(1957,·9,·30)</span> |
1457 | <span·class="go">datetime.date(1938,·12,· | 1457 | <span·class="go">datetime.date(1938,·12,·30)</span> |
1458 | <span·class="go">datetime.date(1968,·4,· | 1458 | <span·class="go">datetime.date(1968,·4,·8)</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(2021,·1,·2 | 1487 | <span·class="go">datetime.date(2021,·1,·28)</span> |
1488 | <span·class="go">datetime.date(2018,·12,· | 1488 | <span·class="go">datetime.date(2018,·12,·2)</span> |
1489 | <span·class="go">datetime.date(2010,· | 1489 | <span·class="go">datetime.date(2010,·7,·1)</span> |
1490 | <span·class="go">datetime.date(2006,·6,·18)</span> | 1490 | <span·class="go">datetime.date(2006,·6,·18)</span> |
1491 | <span·class="go">datetime.date(2012,·10,· | 1491 | <span·class="go">datetime.date(2012,·10,·5)</span> |
1492 | </pre></div> | 1492 | </pre></div> |
1493 | </div> | 1493 | </div> |
1494 | </dd></dl> | 1494 | </dd></dl> |
Max diff block lines reached; 89021/105917 bytes (84.05%) of diff not shown. |
Offset 717, 18 lines modified | Offset 717, 18 lines modified | ||
717 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 717 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
718 | ··············Examples: | 718 | ··············Examples: |
719 | ············>>>·Faker.seed(0) | 719 | ············>>>·Faker.seed(0) |
720 | ············>>>·for·_·in·range(5): | 720 | ············>>>·for·_·in·range(5): |
721 | ············...·····fake.am_pm() | 721 | ············...·····fake.am_pm() |
722 | ············... | 722 | ············... |
723 | ············'PM' | 723 | ············'PM' |
724 | ············' | 724 | ············'PM' |
725 | ············' | 725 | ············'PM' |
726 | ············' | 726 | ············'PM' |
727 | ············' | 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, 15 lines modified | Offset 748, 15 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-05- | 755 | ············'2016-05-30' |
756 | ············'2011-08-29' | 756 | ············'2011-08-29' |
757 | ············'1993-02-11' | 757 | ············'1993-02-11' |
758 | ············'1984-03-25' | 758 | ············'1984-03-25' |
759 | ············'1998-02-06' | 759 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 777 | ············datetime.date(2020,·4,·17) |
778 | ············datetime.date(2017,·9,·1 | 778 | ············datetime.date(2017,·9,·12) |
779 | ············datetime.date(2007,·7,· | 779 | ············datetime.date(2007,·7,·30) |
780 | ············datetime.date(2002,·9,·2 | 780 | ············datetime.date(2002,·9,·23) |
781 | ············datetime.date(2010,·4,·1 | 781 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 790, 29 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,·12,·1 | 797 | ············datetime.date(2024,·12,·17) |
798 | ············datetime.date(2024,·12,·1 | 798 | ············datetime.date(2024,·12,·17) |
799 | ············datetime.date(2024,·12,·1 | 799 | ············datetime.date(2024,·12,·17) |
800 | ············datetime.date(2024,·12,·1 | 800 | ············datetime.date(2024,·12,·17) |
801 | ············datetime.date(2024,·12,·1 | 801 | ············datetime.date(2024,·12,·17) |
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,·5,· | 811 | ············datetime.date(2016,·5,·30) |
812 | ············datetime.date(2011,·8,·29) | 812 | ············datetime.date(2011,·8,·29) |
813 | ············datetime.date(1993,·2,·11) | 813 | ············datetime.date(1993,·2,·11) |
814 | ············datetime.date(1984,·3,·25) | 814 | ············datetime.date(1984,·3,·25) |
815 | ············datetime.date(1998,·2,·6) | 815 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 833 | ············datetime.date(2006,·11,·30) |
834 | ············datetime.date(1996,·11,·1 | 834 | ············datetime.date(1996,·11,·18) |
835 | ············datetime.date(1957,·9,· | 835 | ············datetime.date(1957,·9,·30) |
836 | ············datetime.date(1938,·12,· | 836 | ············datetime.date(1938,·12,·30) |
837 | ············datetime.date(1968,·4,· | 837 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 855 | ············datetime.date(2021,·1,·28) |
856 | ············datetime.date(2018,·12,· | 856 | ············datetime.date(2018,·12,·2) |
857 | ············datetime.date(2010,· | 857 | ············datetime.date(2010,·7,·1) |
858 | ············datetime.date(2006,·6,·18) | 858 | ············datetime.date(2006,·6,·18) |
859 | ············datetime.date(2012,·10,· | 859 | ············datetime.date(2012,·10,·5) |
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 |
865 | ························today | 865 | ························today |
866 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 866 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 870, 19 lines modified | Offset 870, 19 lines modified | ||
870 | ··············Returns: | 870 | ··············Returns: |
871 | ··················Date | 871 | ··················Date |
Max diff block lines reached; 27407/34227 bytes (80.07%) of diff not shown. |
Offset 1043, 18 lines modified | Offset 1043, 18 lines modified | ||
1043 | <dd·class="field-odd"><p></p></dd> | 1043 | <dd·class="field-odd"><p></p></dd> |
1044 | </dl> | 1044 | </dl> |
1045 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1045 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1046 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1046 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1047 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1047 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1048 | <span·class="gp">...</span> | 1048 | <span·class="gp">...</span> |
1049 | <span·class="go">'PM'</span> | 1049 | <span·class="go">'PM'</span> |
1050 | <span·class="go">' | 1050 | <span·class="go">'PM'</span> |
1051 | <span·class="go">' | 1051 | <span·class="go">'PM'</span> |
1052 | <span·class="go">' | 1052 | <span·class="go">'PM'</span> |
1053 | <span·class="go">' | 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, 15 lines modified | Offset 1095, 15 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-05- | 1102 | <span·class="go">'2016-05-30'</span> |
1103 | <span·class="go">'2011-08-29'</span> | 1103 | <span·class="go">'2011-08-29'</span> |
1104 | <span·class="go">'1993-02-11'</span> | 1104 | <span·class="go">'1993-02-11'</span> |
1105 | <span·class="go">'1984-03-25'</span> | 1105 | <span·class="go">'1984-03-25'</span> |
1106 | <span·class="go">'1998-02-06'</span> | 1106 | <span·class="go">'1998-02-06'</span> |
1107 | </pre></div> | 1107 | </pre></div> |
1108 | </div> | 1108 | </div> |
1109 | </dd></dl> | 1109 | </dd></dl> |
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,·4,·1 | 1136 | <span·class="go">datetime.date(2020,·4,·17)</span> |
1137 | <span·class="go">datetime.date(2017,·9,·1 | 1137 | <span·class="go">datetime.date(2017,·9,·12)</span> |
1138 | <span·class="go">datetime.date(2007,·7,· | 1138 | <span·class="go">datetime.date(2007,·7,·30)</span> |
1139 | <span·class="go">datetime.date(2002,·9,·2 | 1139 | <span·class="go">datetime.date(2002,·9,·23)</span> |
1140 | <span·class="go">datetime.date(2010,·4,·1 | 1140 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 1167 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1168 | <span·class="go">datetime.date(2024,·12,·1 | 1168 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1169 | <span·class="go">datetime.date(2024,·12,·1 | 1169 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1170 | <span·class="go">datetime.date(2024,·12,·1 | 1170 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1171 | <span·class="go">datetime.date(2024,·12,·1 | 1171 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 1184, 15 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,·5,· | 1191 | <span·class="go">datetime.date(2016,·5,·30)</span> |
1192 | <span·class="go">datetime.date(2011,·8,·29)</span> | 1192 | <span·class="go">datetime.date(2011,·8,·29)</span> |
1193 | <span·class="go">datetime.date(1993,·2,·11)</span> | 1193 | <span·class="go">datetime.date(1993,·2,·11)</span> |
1194 | <span·class="go">datetime.date(1984,·3,·25)</span> | 1194 | <span·class="go">datetime.date(1984,·3,·25)</span> |
1195 | <span·class="go">datetime.date(1998,·2,·6)</span> | 1195 | <span·class="go">datetime.date(1998,·2,·6)</span> |
1196 | </pre></div> | 1196 | </pre></div> |
1197 | </div> | 1197 | </div> |
1198 | </dd></dl> | 1198 | </dd></dl> |
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,·11,· | 1227 | <span·class="go">datetime.date(2006,·11,·30)</span> |
1228 | <span·class="go">datetime.date(1996,·11,·1 | 1228 | <span·class="go">datetime.date(1996,·11,·18)</span> |
1229 | <span·class="go">datetime.date(1957,·9,· | 1229 | <span·class="go">datetime.date(1957,·9,·30)</span> |
1230 | <span·class="go">datetime.date(1938,·12,· | 1230 | <span·class="go">datetime.date(1938,·12,·30)</span> |
1231 | <span·class="go">datetime.date(1968,·4,· | 1231 | <span·class="go">datetime.date(1968,·4,·8)</span> |
1232 | </pre></div> | 1232 | </pre></div> |
1233 | </div> | 1233 | </div> |
1234 | </dd></dl> | 1234 | </dd></dl> |
1235 | <dl·class="py·method"> | 1235 | <dl·class="py·method"> |
1236 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pt_PT.Provider.date_this_century"> | 1236 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pt_PT.Provider.date_this_century"> |
1237 | <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_PT.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 1237 | <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_PT.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
Offset 1253, 19 lines modified | Offset 1253, 19 lines modified | ||
1253 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1253 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1254 | <dd·class="field-even"><p></p></dd> | 1254 | <dd·class="field-even"><p></p></dd> |
1255 | </dl> | 1255 | </dl> |
1256 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1256 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1257 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1257 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1258 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> | 1258 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
1259 | <span·class="gp">...</span> | 1259 | <span·class="gp">...</span> |
1260 | <span·class="go">datetime.date(2021,·1,·2 | 1260 | <span·class="go">datetime.date(2021,·1,·28)</span> |
1261 | <span·class="go">datetime.date(2018,·12,· | 1261 | <span·class="go">datetime.date(2018,·12,·2)</span> |
1262 | <span·class="go">datetime.date(2010,· | 1262 | <span·class="go">datetime.date(2010,·7,·1)</span> |
1263 | <span·class="go">datetime.date(2006,·6,·18)</span> | 1263 | <span·class="go">datetime.date(2006,·6,·18)</span> |
1264 | <span·class="go">datetime.date(2012,·10,· | 1264 | <span·class="go">datetime.date(2012,·10,·5)</span> |
1265 | </pre></div> | 1265 | </pre></div> |
1266 | </div> | 1266 | </div> |
1267 | </dd></dl> | 1267 | </dd></dl> |
Max diff block lines reached; 89015/105911 bytes (84.05%) of diff not shown. |
Offset 603, 18 lines modified | Offset 603, 18 lines modified | ||
603 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 603 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
604 | ··············Examples: | 604 | ··············Examples: |
605 | ············>>>·Faker.seed(0) | 605 | ············>>>·Faker.seed(0) |
606 | ············>>>·for·_·in·range(5): | 606 | ············>>>·for·_·in·range(5): |
607 | ············...·····fake.am_pm() | 607 | ············...·····fake.am_pm() |
608 | ············... | 608 | ············... |
609 | ············'PM' | 609 | ············'PM' |
610 | ············' | 610 | ············'PM' |
611 | ············' | 611 | ············'PM' |
612 | ············' | 612 | ············'PM' |
613 | ············' | 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, 15 lines modified | Offset 634, 15 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-05- | 641 | ············'2016-05-30' |
642 | ············'2011-08-29' | 642 | ············'2011-08-29' |
643 | ············'1993-02-11' | 643 | ············'1993-02-11' |
644 | ············'1984-03-25' | 644 | ············'1984-03-25' |
645 | ············'1998-02-06' | 645 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 663 | ············datetime.date(2020,·4,·17) |
664 | ············datetime.date(2017,·9,·1 | 664 | ············datetime.date(2017,·9,·12) |
665 | ············datetime.date(2007,·7,· | 665 | ············datetime.date(2007,·7,·30) |
666 | ············datetime.date(2002,·9,·2 | 666 | ············datetime.date(2002,·9,·23) |
667 | ············datetime.date(2010,·4,·1 | 667 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 676, 29 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,·12,·1 | 683 | ············datetime.date(2024,·12,·17) |
684 | ············datetime.date(2024,·12,·1 | 684 | ············datetime.date(2024,·12,·17) |
685 | ············datetime.date(2024,·12,·1 | 685 | ············datetime.date(2024,·12,·17) |
686 | ············datetime.date(2024,·12,·1 | 686 | ············datetime.date(2024,·12,·17) |
687 | ············datetime.date(2024,·12,·1 | 687 | ············datetime.date(2024,·12,·17) |
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,·5,· | 697 | ············datetime.date(2016,·5,·30) |
698 | ············datetime.date(2011,·8,·29) | 698 | ············datetime.date(2011,·8,·29) |
699 | ············datetime.date(1993,·2,·11) | 699 | ············datetime.date(1993,·2,·11) |
700 | ············datetime.date(1984,·3,·25) | 700 | ············datetime.date(1984,·3,·25) |
701 | ············datetime.date(1998,·2,·6) | 701 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 719 | ············datetime.date(2006,·11,·30) |
720 | ············datetime.date(1996,·11,·1 | 720 | ············datetime.date(1996,·11,·18) |
721 | ············datetime.date(1957,·9,· | 721 | ············datetime.date(1957,·9,·30) |
722 | ············datetime.date(1938,·12,· | 722 | ············datetime.date(1938,·12,·30) |
723 | ············datetime.date(1968,·4,· | 723 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 741 | ············datetime.date(2021,·1,·28) |
742 | ············datetime.date(2018,·12,· | 742 | ············datetime.date(2018,·12,·2) |
743 | ············datetime.date(2010,· | 743 | ············datetime.date(2010,·7,·1) |
744 | ············datetime.date(2006,·6,·18) | 744 | ············datetime.date(2006,·6,·18) |
745 | ············datetime.date(2012,·10,· | 745 | ············datetime.date(2012,·10,·5) |
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 |
751 | ························today | 751 | ························today |
752 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 752 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 756, 19 lines modified | Offset 756, 19 lines modified | ||
756 | ··············Returns: | 756 | ··············Returns: |
757 | ··················Date | 757 | ··················Date |
Max diff block lines reached; 27393/34213 bytes (80.07%) of diff not shown. |
Offset 1081, 18 lines modified | Offset 1081, 18 lines modified | ||
1081 | <dd·class="field-odd"><p></p></dd> | 1081 | <dd·class="field-odd"><p></p></dd> |
1082 | </dl> | 1082 | </dl> |
1083 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1083 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1084 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1084 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1085 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1085 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1086 | <span·class="gp">...</span> | 1086 | <span·class="gp">...</span> |
1087 | <span·class="go">'PM'</span> | 1087 | <span·class="go">'PM'</span> |
1088 | <span·class="go">' | 1088 | <span·class="go">'PM'</span> |
1089 | <span·class="go">' | 1089 | <span·class="go">'PM'</span> |
1090 | <span·class="go">' | 1090 | <span·class="go">'PM'</span> |
1091 | <span·class="go">' | 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, 15 lines modified | Offset 1133, 15 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-05- | 1140 | <span·class="go">'2016-05-30'</span> |
1141 | <span·class="go">'2011-08-29'</span> | 1141 | <span·class="go">'2011-08-29'</span> |
1142 | <span·class="go">'1993-02-11'</span> | 1142 | <span·class="go">'1993-02-11'</span> |
1143 | <span·class="go">'1984-03-25'</span> | 1143 | <span·class="go">'1984-03-25'</span> |
1144 | <span·class="go">'1998-02-06'</span> | 1144 | <span·class="go">'1998-02-06'</span> |
1145 | </pre></div> | 1145 | </pre></div> |
1146 | </div> | 1146 | </div> |
1147 | </dd></dl> | 1147 | </dd></dl> |
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,·4,·1 | 1174 | <span·class="go">datetime.date(2020,·4,·17)</span> |
1175 | <span·class="go">datetime.date(2017,·9,·1 | 1175 | <span·class="go">datetime.date(2017,·9,·12)</span> |
1176 | <span·class="go">datetime.date(2007,·7,· | 1176 | <span·class="go">datetime.date(2007,·7,·30)</span> |
1177 | <span·class="go">datetime.date(2002,·9,·2 | 1177 | <span·class="go">datetime.date(2002,·9,·23)</span> |
1178 | <span·class="go">datetime.date(2010,·4,·1 | 1178 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 1205 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1206 | <span·class="go">datetime.date(2024,·12,·1 | 1206 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1207 | <span·class="go">datetime.date(2024,·12,·1 | 1207 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1208 | <span·class="go">datetime.date(2024,·12,·1 | 1208 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1209 | <span·class="go">datetime.date(2024,·12,·1 | 1209 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 1222, 15 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,·5,· | 1229 | <span·class="go">datetime.date(2016,·5,·30)</span> |
1230 | <span·class="go">datetime.date(2011,·8,·29)</span> | 1230 | <span·class="go">datetime.date(2011,·8,·29)</span> |
1231 | <span·class="go">datetime.date(1993,·2,·11)</span> | 1231 | <span·class="go">datetime.date(1993,·2,·11)</span> |
1232 | <span·class="go">datetime.date(1984,·3,·25)</span> | 1232 | <span·class="go">datetime.date(1984,·3,·25)</span> |
1233 | <span·class="go">datetime.date(1998,·2,·6)</span> | 1233 | <span·class="go">datetime.date(1998,·2,·6)</span> |
1234 | </pre></div> | 1234 | </pre></div> |
1235 | </div> | 1235 | </div> |
1236 | </dd></dl> | 1236 | </dd></dl> |
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,·11,· | 1265 | <span·class="go">datetime.date(2006,·11,·30)</span> |
1266 | <span·class="go">datetime.date(1996,·11,·1 | 1266 | <span·class="go">datetime.date(1996,·11,·18)</span> |
1267 | <span·class="go">datetime.date(1957,·9,· | 1267 | <span·class="go">datetime.date(1957,·9,·30)</span> |
1268 | <span·class="go">datetime.date(1938,·12,· | 1268 | <span·class="go">datetime.date(1938,·12,·30)</span> |
1269 | <span·class="go">datetime.date(1968,·4,· | 1269 | <span·class="go">datetime.date(1968,·4,·8)</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(2021,·1,·2 | 1298 | <span·class="go">datetime.date(2021,·1,·28)</span> |
1299 | <span·class="go">datetime.date(2018,·12,· | 1299 | <span·class="go">datetime.date(2018,·12,·2)</span> |
1300 | <span·class="go">datetime.date(2010,· | 1300 | <span·class="go">datetime.date(2010,·7,·1)</span> |
1301 | <span·class="go">datetime.date(2006,·6,·18)</span> | 1301 | <span·class="go">datetime.date(2006,·6,·18)</span> |
1302 | <span·class="go">datetime.date(2012,·10,· | 1302 | <span·class="go">datetime.date(2012,·10,·5)</span> |
1303 | </pre></div> | 1303 | </pre></div> |
1304 | </div> | 1304 | </div> |
1305 | </dd></dl> | 1305 | </dd></dl> |
Max diff block lines reached; 88956/105852 bytes (84.04%) of diff not shown. |
Offset 613, 18 lines modified | Offset 613, 18 lines modified | ||
613 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 613 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
614 | ··············Examples: | 614 | ··············Examples: |
615 | ············>>>·Faker.seed(0) | 615 | ············>>>·Faker.seed(0) |
616 | ············>>>·for·_·in·range(5): | 616 | ············>>>·for·_·in·range(5): |
617 | ············...·····fake.am_pm() | 617 | ············...·····fake.am_pm() |
618 | ············... | 618 | ············... |
619 | ············'PM' | 619 | ············'PM' |
620 | ············' | 620 | ············'PM' |
621 | ············' | 621 | ············'PM' |
622 | ············' | 622 | ············'PM' |
623 | ············' | 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, 15 lines modified | Offset 644, 15 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-05- | 651 | ············'2016-05-30' |
652 | ············'2011-08-29' | 652 | ············'2011-08-29' |
653 | ············'1993-02-11' | 653 | ············'1993-02-11' |
654 | ············'1984-03-25' | 654 | ············'1984-03-25' |
655 | ············'1998-02-06' | 655 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 673 | ············datetime.date(2020,·4,·17) |
674 | ············datetime.date(2017,·9,·1 | 674 | ············datetime.date(2017,·9,·12) |
675 | ············datetime.date(2007,·7,· | 675 | ············datetime.date(2007,·7,·30) |
676 | ············datetime.date(2002,·9,·2 | 676 | ············datetime.date(2002,·9,·23) |
677 | ············datetime.date(2010,·4,·1 | 677 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 686, 29 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,·12,·1 | 693 | ············datetime.date(2024,·12,·17) |
694 | ············datetime.date(2024,·12,·1 | 694 | ············datetime.date(2024,·12,·17) |
695 | ············datetime.date(2024,·12,·1 | 695 | ············datetime.date(2024,·12,·17) |
696 | ············datetime.date(2024,·12,·1 | 696 | ············datetime.date(2024,·12,·17) |
697 | ············datetime.date(2024,·12,·1 | 697 | ············datetime.date(2024,·12,·17) |
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,·5,· | 707 | ············datetime.date(2016,·5,·30) |
708 | ············datetime.date(2011,·8,·29) | 708 | ············datetime.date(2011,·8,·29) |
709 | ············datetime.date(1993,·2,·11) | 709 | ············datetime.date(1993,·2,·11) |
710 | ············datetime.date(1984,·3,·25) | 710 | ············datetime.date(1984,·3,·25) |
711 | ············datetime.date(1998,·2,·6) | 711 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 729 | ············datetime.date(2006,·11,·30) |
730 | ············datetime.date(1996,·11,·1 | 730 | ············datetime.date(1996,·11,·18) |
731 | ············datetime.date(1957,·9,· | 731 | ············datetime.date(1957,·9,·30) |
732 | ············datetime.date(1938,·12,· | 732 | ············datetime.date(1938,·12,·30) |
733 | ············datetime.date(1968,·4,· | 733 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 751 | ············datetime.date(2021,·1,·28) |
752 | ············datetime.date(2018,·12,· | 752 | ············datetime.date(2018,·12,·2) |
753 | ············datetime.date(2010,· | 753 | ············datetime.date(2010,·7,·1) |
754 | ············datetime.date(2006,·6,·18) | 754 | ············datetime.date(2006,·6,·18) |
755 | ············datetime.date(2012,·10,· | 755 | ············datetime.date(2012,·10,·5) |
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 |
761 | ························today | 761 | ························today |
762 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 762 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 766, 19 lines modified | Offset 766, 19 lines modified | ||
766 | ··············Returns: | 766 | ··············Returns: |
767 | ··················Date | 767 | ··················Date |
Max diff block lines reached; 27334/34154 bytes (80.03%) of diff not shown. |
Offset 1855, 18 lines modified | Offset 1855, 18 lines modified | ||
1855 | <dd·class="field-odd"><p></p></dd> | 1855 | <dd·class="field-odd"><p></p></dd> |
1856 | </dl> | 1856 | </dl> |
1857 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1857 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1858 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1858 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1859 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1859 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1860 | <span·class="gp">...</span> | 1860 | <span·class="gp">...</span> |
1861 | <span·class="go">'PM'</span> | 1861 | <span·class="go">'PM'</span> |
1862 | <span·class="go">' | 1862 | <span·class="go">'PM'</span> |
1863 | <span·class="go">' | 1863 | <span·class="go">'PM'</span> |
1864 | <span·class="go">' | 1864 | <span·class="go">'PM'</span> |
1865 | <span·class="go">' | 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, 15 lines modified | Offset 1907, 15 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-05- | 1914 | <span·class="go">'2016-05-30'</span> |
1915 | <span·class="go">'2011-08-29'</span> | 1915 | <span·class="go">'2011-08-29'</span> |
1916 | <span·class="go">'1993-02-11'</span> | 1916 | <span·class="go">'1993-02-11'</span> |
1917 | <span·class="go">'1984-03-25'</span> | 1917 | <span·class="go">'1984-03-25'</span> |
1918 | <span·class="go">'1998-02-06'</span> | 1918 | <span·class="go">'1998-02-06'</span> |
1919 | </pre></div> | 1919 | </pre></div> |
1920 | </div> | 1920 | </div> |
1921 | </dd></dl> | 1921 | </dd></dl> |
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,·4,·1 | 1948 | <span·class="go">datetime.date(2020,·4,·17)</span> |
1949 | <span·class="go">datetime.date(2017,·9,·1 | 1949 | <span·class="go">datetime.date(2017,·9,·12)</span> |
1950 | <span·class="go">datetime.date(2007,·7,· | 1950 | <span·class="go">datetime.date(2007,·7,·30)</span> |
1951 | <span·class="go">datetime.date(2002,·9,·2 | 1951 | <span·class="go">datetime.date(2002,·9,·23)</span> |
1952 | <span·class="go">datetime.date(2010,·4,·1 | 1952 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 1979 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1980 | <span·class="go">datetime.date(2024,·12,·1 | 1980 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1981 | <span·class="go">datetime.date(2024,·12,·1 | 1981 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1982 | <span·class="go">datetime.date(2024,·12,·1 | 1982 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1983 | <span·class="go">datetime.date(2024,·12,·1 | 1983 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 1996, 15 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,·5,· | 2003 | <span·class="go">datetime.date(2016,·5,·30)</span> |
2004 | <span·class="go">datetime.date(2011,·8,·29)</span> | 2004 | <span·class="go">datetime.date(2011,·8,·29)</span> |
2005 | <span·class="go">datetime.date(1993,·2,·11)</span> | 2005 | <span·class="go">datetime.date(1993,·2,·11)</span> |
2006 | <span·class="go">datetime.date(1984,·3,·25)</span> | 2006 | <span·class="go">datetime.date(1984,·3,·25)</span> |
2007 | <span·class="go">datetime.date(1998,·2,·6)</span> | 2007 | <span·class="go">datetime.date(1998,·2,·6)</span> |
2008 | </pre></div> | 2008 | </pre></div> |
2009 | </div> | 2009 | </div> |
2010 | </dd></dl> | 2010 | </dd></dl> |
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,·11,· | 2039 | <span·class="go">datetime.date(2006,·11,·30)</span> |
2040 | <span·class="go">datetime.date(1996,·11,·1 | 2040 | <span·class="go">datetime.date(1996,·11,·18)</span> |
2041 | <span·class="go">datetime.date(1957,·9,· | 2041 | <span·class="go">datetime.date(1957,·9,·30)</span> |
2042 | <span·class="go">datetime.date(1938,·12,· | 2042 | <span·class="go">datetime.date(1938,·12,·30)</span> |
2043 | <span·class="go">datetime.date(1968,·4,· | 2043 | <span·class="go">datetime.date(1968,·4,·8)</span> |
2044 | </pre></div> | 2044 | </pre></div> |
2045 | </div> | 2045 | </div> |
2046 | </dd></dl> | 2046 | </dd></dl> |
2047 | <dl·class="py·method"> | 2047 | <dl·class="py·method"> |
2048 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ru_RU.Provider.date_this_century"> | 2048 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ru_RU.Provider.date_this_century"> |
2049 | <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.ru_RU.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 2049 | <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.ru_RU.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
Offset 2065, 19 lines modified | Offset 2065, 19 lines modified | ||
2065 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 2065 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
2066 | <dd·class="field-even"><p></p></dd> | 2066 | <dd·class="field-even"><p></p></dd> |
2067 | </dl> | 2067 | </dl> |
2068 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 2068 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
2069 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 2069 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
2070 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> | 2070 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
2071 | <span·class="gp">...</span> | 2071 | <span·class="gp">...</span> |
2072 | <span·class="go">datetime.date(2021,·1,·2 | 2072 | <span·class="go">datetime.date(2021,·1,·28)</span> |
2073 | <span·class="go">datetime.date(2018,·12,· | 2073 | <span·class="go">datetime.date(2018,·12,·2)</span> |
2074 | <span·class="go">datetime.date(2010,· | 2074 | <span·class="go">datetime.date(2010,·7,·1)</span> |
2075 | <span·class="go">datetime.date(2006,·6,·18)</span> | 2075 | <span·class="go">datetime.date(2006,·6,·18)</span> |
2076 | <span·class="go">datetime.date(2012,·10,· | 2076 | <span·class="go">datetime.date(2012,·10,·5)</span> |
2077 | </pre></div> | 2077 | </pre></div> |
2078 | </div> | 2078 | </div> |
2079 | </dd></dl> | 2079 | </dd></dl> |
Max diff block lines reached; 91052/107948 bytes (84.35%) of diff not shown. |
Offset 1095, 18 lines modified | Offset 1095, 18 lines modified | ||
1095 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 1095 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
1096 | ··············Examples: | 1096 | ··············Examples: |
1097 | ············>>>·Faker.seed(0) | 1097 | ············>>>·Faker.seed(0) |
1098 | ············>>>·for·_·in·range(5): | 1098 | ············>>>·for·_·in·range(5): |
1099 | ············...·····fake.am_pm() | 1099 | ············...·····fake.am_pm() |
1100 | ············... | 1100 | ············... |
1101 | ············'PM' | 1101 | ············'PM' |
1102 | ············' | 1102 | ············'PM' |
1103 | ············' | 1103 | ············'PM' |
1104 | ············' | 1104 | ············'PM' |
1105 | ············' | 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, 15 lines modified | Offset 1126, 15 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-05- | 1133 | ············'2016-05-30' |
1134 | ············'2011-08-29' | 1134 | ············'2011-08-29' |
1135 | ············'1993-02-11' | 1135 | ············'1993-02-11' |
1136 | ············'1984-03-25' | 1136 | ············'1984-03-25' |
1137 | ············'1998-02-06' | 1137 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 1155 | ············datetime.date(2020,·4,·17) |
1156 | ············datetime.date(2017,·9,·1 | 1156 | ············datetime.date(2017,·9,·12) |
1157 | ············datetime.date(2007,·7,· | 1157 | ············datetime.date(2007,·7,·30) |
1158 | ············datetime.date(2002,·9,·2 | 1158 | ············datetime.date(2002,·9,·23) |
1159 | ············datetime.date(2010,·4,·1 | 1159 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 1168, 29 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,·12,·1 | 1175 | ············datetime.date(2024,·12,·17) |
1176 | ············datetime.date(2024,·12,·1 | 1176 | ············datetime.date(2024,·12,·17) |
1177 | ············datetime.date(2024,·12,·1 | 1177 | ············datetime.date(2024,·12,·17) |
1178 | ············datetime.date(2024,·12,·1 | 1178 | ············datetime.date(2024,·12,·17) |
1179 | ············datetime.date(2024,·12,·1 | 1179 | ············datetime.date(2024,·12,·17) |
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,·5,· | 1189 | ············datetime.date(2016,·5,·30) |
1190 | ············datetime.date(2011,·8,·29) | 1190 | ············datetime.date(2011,·8,·29) |
1191 | ············datetime.date(1993,·2,·11) | 1191 | ············datetime.date(1993,·2,·11) |
1192 | ············datetime.date(1984,·3,·25) | 1192 | ············datetime.date(1984,·3,·25) |
1193 | ············datetime.date(1998,·2,·6) | 1193 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 1211 | ············datetime.date(2006,·11,·30) |
1212 | ············datetime.date(1996,·11,·1 | 1212 | ············datetime.date(1996,·11,·18) |
1213 | ············datetime.date(1957,·9,· | 1213 | ············datetime.date(1957,·9,·30) |
1214 | ············datetime.date(1938,·12,· | 1214 | ············datetime.date(1938,·12,·30) |
1215 | ············datetime.date(1968,·4,· | 1215 | ············datetime.date(1968,·4,·8) |
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: |
1227 | ··················Date | 1227 | ··················Date |
1228 | ··············Examples: | 1228 | ··············Examples: |
1229 | ············>>>·Faker.seed(0) | 1229 | ············>>>·Faker.seed(0) |
1230 | ············>>>·for·_·in·range(5): | 1230 | ············>>>·for·_·in·range(5): |
1231 | ············...·····fake.date_this_century() | 1231 | ············...·····fake.date_this_century() |
1232 | ············... | 1232 | ············... |
1233 | ············datetime.date(2021,·1,·2 | 1233 | ············datetime.date(2021,·1,·28) |
1234 | ············datetime.date(2018,·12,· | 1234 | ············datetime.date(2018,·12,·2) |
1235 | ············datetime.date(2010,· | 1235 | ············datetime.date(2010,·7,·1) |
1236 | ············datetime.date(2006,·6,·18) | 1236 | ············datetime.date(2006,·6,·18) |
1237 | ············datetime.date(2012,·10,· | 1237 | ············datetime.date(2012,·10,·5) |
1238 | ········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) | 1238 | ········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) |
1239 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1239 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
1240 | ············Gets·a·Date·object·for·the·decade·year. | 1240 | ············Gets·a·Date·object·for·the·decade·year. |
1241 | ··············Parameters: | 1241 | ··············Parameters: |
1242 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before | 1242 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·before |
1243 | ························today | 1243 | ························today |
1244 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 1244 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 1248, 19 lines modified | Offset 1248, 19 lines modified | ||
1248 | ··············Returns: | 1248 | ··············Returns: |
1249 | ··················Date | 1249 | ··················Date |
Max diff block lines reached; 28656/35490 bytes (80.74%) of diff not shown. |
Offset 1370, 18 lines modified | Offset 1370, 18 lines modified | ||
1370 | <dd·class="field-odd"><p></p></dd> | 1370 | <dd·class="field-odd"><p></p></dd> |
1371 | </dl> | 1371 | </dl> |
1372 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1372 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1373 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1373 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1374 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1374 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1375 | <span·class="gp">...</span> | 1375 | <span·class="gp">...</span> |
1376 | <span·class="go">'PM'</span> | 1376 | <span·class="go">'PM'</span> |
1377 | <span·class="go">' | 1377 | <span·class="go">'PM'</span> |
1378 | <span·class="go">' | 1378 | <span·class="go">'PM'</span> |
1379 | <span·class="go">' | 1379 | <span·class="go">'PM'</span> |
1380 | <span·class="go">' | 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, 15 lines modified | Offset 1422, 15 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-05- | 1429 | <span·class="go">'2016-05-30'</span> |
1430 | <span·class="go">'2011-08-29'</span> | 1430 | <span·class="go">'2011-08-29'</span> |
1431 | <span·class="go">'1993-02-11'</span> | 1431 | <span·class="go">'1993-02-11'</span> |
1432 | <span·class="go">'1984-03-25'</span> | 1432 | <span·class="go">'1984-03-25'</span> |
1433 | <span·class="go">'1998-02-06'</span> | 1433 | <span·class="go">'1998-02-06'</span> |
1434 | </pre></div> | 1434 | </pre></div> |
1435 | </div> | 1435 | </div> |
1436 | </dd></dl> | 1436 | </dd></dl> |
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,·4,·1 | 1463 | <span·class="go">datetime.date(2020,·4,·17)</span> |
1464 | <span·class="go">datetime.date(2017,·9,·1 | 1464 | <span·class="go">datetime.date(2017,·9,·12)</span> |
1465 | <span·class="go">datetime.date(2007,·7,· | 1465 | <span·class="go">datetime.date(2007,·7,·30)</span> |
1466 | <span·class="go">datetime.date(2002,·9,·2 | 1466 | <span·class="go">datetime.date(2002,·9,·23)</span> |
1467 | <span·class="go">datetime.date(2010,·4,·1 | 1467 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 1494 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1495 | <span·class="go">datetime.date(2024,·12,·1 | 1495 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1496 | <span·class="go">datetime.date(2024,·12,·1 | 1496 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1497 | <span·class="go">datetime.date(2024,·12,·1 | 1497 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1498 | <span·class="go">datetime.date(2024,·12,·1 | 1498 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 1511, 15 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,·5,· | 1518 | <span·class="go">datetime.date(2016,·5,·30)</span> |
1519 | <span·class="go">datetime.date(2011,·8,·29)</span> | 1519 | <span·class="go">datetime.date(2011,·8,·29)</span> |
1520 | <span·class="go">datetime.date(1993,·2,·11)</span> | 1520 | <span·class="go">datetime.date(1993,·2,·11)</span> |
1521 | <span·class="go">datetime.date(1984,·3,·25)</span> | 1521 | <span·class="go">datetime.date(1984,·3,·25)</span> |
1522 | <span·class="go">datetime.date(1998,·2,·6)</span> | 1522 | <span·class="go">datetime.date(1998,·2,·6)</span> |
1523 | </pre></div> | 1523 | </pre></div> |
1524 | </div> | 1524 | </div> |
1525 | </dd></dl> | 1525 | </dd></dl> |
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,·11,· | 1554 | <span·class="go">datetime.date(2006,·11,·30)</span> |
1555 | <span·class="go">datetime.date(1996,·11,·1 | 1555 | <span·class="go">datetime.date(1996,·11,·18)</span> |
1556 | <span·class="go">datetime.date(1957,·9,· | 1556 | <span·class="go">datetime.date(1957,·9,·30)</span> |
1557 | <span·class="go">datetime.date(1938,·12,· | 1557 | <span·class="go">datetime.date(1938,·12,·30)</span> |
1558 | <span·class="go">datetime.date(1968,·4,· | 1558 | <span·class="go">datetime.date(1968,·4,·8)</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(2021,·1,·2 | 1587 | <span·class="go">datetime.date(2021,·1,·28)</span> |
1588 | <span·class="go">datetime.date(2018,·12,· | 1588 | <span·class="go">datetime.date(2018,·12,·2)</span> |
1589 | <span·class="go">datetime.date(2010,· | 1589 | <span·class="go">datetime.date(2010,·7,·1)</span> |
1590 | <span·class="go">datetime.date(2006,·6,·18)</span> | 1590 | <span·class="go">datetime.date(2006,·6,·18)</span> |
1591 | <span·class="go">datetime.date(2012,·10,· | 1591 | <span·class="go">datetime.date(2012,·10,·5)</span> |
1592 | </pre></div> | 1592 | </pre></div> |
1593 | </div> | 1593 | </div> |
1594 | </dd></dl> | 1594 | </dd></dl> |
Max diff block lines reached; 90926/107822 bytes (84.33%) of diff not shown. |
Offset 804, 18 lines modified | Offset 804, 18 lines modified | ||
804 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 804 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
805 | ··············Examples: | 805 | ··············Examples: |
806 | ············>>>·Faker.seed(0) | 806 | ············>>>·Faker.seed(0) |
807 | ············>>>·for·_·in·range(5): | 807 | ············>>>·for·_·in·range(5): |
808 | ············...·····fake.am_pm() | 808 | ············...·····fake.am_pm() |
809 | ············... | 809 | ············... |
810 | ············'PM' | 810 | ············'PM' |
811 | ············' | 811 | ············'PM' |
812 | ············' | 812 | ············'PM' |
813 | ············' | 813 | ············'PM' |
814 | ············' | 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, 15 lines modified | Offset 835, 15 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-05- | 842 | ············'2016-05-30' |
843 | ············'2011-08-29' | 843 | ············'2011-08-29' |
844 | ············'1993-02-11' | 844 | ············'1993-02-11' |
845 | ············'1984-03-25' | 845 | ············'1984-03-25' |
846 | ············'1998-02-06' | 846 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 864 | ············datetime.date(2020,·4,·17) |
865 | ············datetime.date(2017,·9,·1 | 865 | ············datetime.date(2017,·9,·12) |
866 | ············datetime.date(2007,·7,· | 866 | ············datetime.date(2007,·7,·30) |
867 | ············datetime.date(2002,·9,·2 | 867 | ············datetime.date(2002,·9,·23) |
868 | ············datetime.date(2010,·4,·1 | 868 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 877, 29 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,·12,·1 | 884 | ············datetime.date(2024,·12,·17) |
885 | ············datetime.date(2024,·12,·1 | 885 | ············datetime.date(2024,·12,·17) |
886 | ············datetime.date(2024,·12,·1 | 886 | ············datetime.date(2024,·12,·17) |
887 | ············datetime.date(2024,·12,·1 | 887 | ············datetime.date(2024,·12,·17) |
888 | ············datetime.date(2024,·12,·1 | 888 | ············datetime.date(2024,·12,·17) |
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,·5,· | 898 | ············datetime.date(2016,·5,·30) |
899 | ············datetime.date(2011,·8,·29) | 899 | ············datetime.date(2011,·8,·29) |
900 | ············datetime.date(1993,·2,·11) | 900 | ············datetime.date(1993,·2,·11) |
901 | ············datetime.date(1984,·3,·25) | 901 | ············datetime.date(1984,·3,·25) |
902 | ············datetime.date(1998,·2,·6) | 902 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 920 | ············datetime.date(2006,·11,·30) |
921 | ············datetime.date(1996,·11,·1 | 921 | ············datetime.date(1996,·11,·18) |
922 | ············datetime.date(1957,·9,· | 922 | ············datetime.date(1957,·9,·30) |
923 | ············datetime.date(1938,·12,· | 923 | ············datetime.date(1938,·12,·30) |
924 | ············datetime.date(1968,·4,· | 924 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 942 | ············datetime.date(2021,·1,·28) |
943 | ············datetime.date(2018,·12,· | 943 | ············datetime.date(2018,·12,·2) |
944 | ············datetime.date(2010,· | 944 | ············datetime.date(2010,·7,·1) |
945 | ············datetime.date(2006,·6,·18) | 945 | ············datetime.date(2006,·6,·18) |
946 | ············datetime.date(2012,·10,· | 946 | ············datetime.date(2012,·10,·5) |
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 |
952 | ························today | 952 | ························today |
953 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 953 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 957, 19 lines modified | Offset 957, 19 lines modified | ||
957 | ··············Returns: | 957 | ··············Returns: |
958 | ··················Date | 958 | ··················Date |
Max diff block lines reached; 28295/35115 bytes (80.58%) of diff not shown. |
Offset 491, 18 lines modified | Offset 491, 18 lines modified | ||
491 | <dd·class="field-odd"><p></p></dd> | 491 | <dd·class="field-odd"><p></p></dd> |
492 | </dl> | 492 | </dl> |
493 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 493 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
494 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 494 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
495 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 495 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
496 | <span·class="gp">...</span> | 496 | <span·class="gp">...</span> |
497 | <span·class="go">'PM'</span> | 497 | <span·class="go">'PM'</span> |
498 | <span·class="go">' | 498 | <span·class="go">'PM'</span> |
499 | <span·class="go">' | 499 | <span·class="go">'PM'</span> |
500 | <span·class="go">' | 500 | <span·class="go">'PM'</span> |
501 | <span·class="go">' | 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, 15 lines modified | Offset 543, 15 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-05- | 550 | <span·class="go">'2016-05-30'</span> |
551 | <span·class="go">'2011-08-29'</span> | 551 | <span·class="go">'2011-08-29'</span> |
552 | <span·class="go">'1993-02-11'</span> | 552 | <span·class="go">'1993-02-11'</span> |
553 | <span·class="go">'1984-03-25'</span> | 553 | <span·class="go">'1984-03-25'</span> |
554 | <span·class="go">'1998-02-06'</span> | 554 | <span·class="go">'1998-02-06'</span> |
555 | </pre></div> | 555 | </pre></div> |
556 | </div> | 556 | </div> |
557 | </dd></dl> | 557 | </dd></dl> |
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,·4,·1 | 584 | <span·class="go">datetime.date(2020,·4,·17)</span> |
585 | <span·class="go">datetime.date(2017,·9,·1 | 585 | <span·class="go">datetime.date(2017,·9,·12)</span> |
586 | <span·class="go">datetime.date(2007,·7,· | 586 | <span·class="go">datetime.date(2007,·7,·30)</span> |
587 | <span·class="go">datetime.date(2002,·9,·2 | 587 | <span·class="go">datetime.date(2002,·9,·23)</span> |
588 | <span·class="go">datetime.date(2010,·4,·1 | 588 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 615 | <span·class="go">datetime.date(2024,·12,·17)</span> |
616 | <span·class="go">datetime.date(2024,·12,·1 | 616 | <span·class="go">datetime.date(2024,·12,·17)</span> |
617 | <span·class="go">datetime.date(2024,·12,·1 | 617 | <span·class="go">datetime.date(2024,·12,·17)</span> |
618 | <span·class="go">datetime.date(2024,·12,·1 | 618 | <span·class="go">datetime.date(2024,·12,·17)</span> |
619 | <span·class="go">datetime.date(2024,·12,·1 | 619 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 632, 15 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,·5,· | 639 | <span·class="go">datetime.date(2016,·5,·30)</span> |
640 | <span·class="go">datetime.date(2011,·8,·29)</span> | 640 | <span·class="go">datetime.date(2011,·8,·29)</span> |
641 | <span·class="go">datetime.date(1993,·2,·11)</span> | 641 | <span·class="go">datetime.date(1993,·2,·11)</span> |
642 | <span·class="go">datetime.date(1984,·3,·25)</span> | 642 | <span·class="go">datetime.date(1984,·3,·25)</span> |
643 | <span·class="go">datetime.date(1998,·2,·6)</span> | 643 | <span·class="go">datetime.date(1998,·2,·6)</span> |
644 | </pre></div> | 644 | </pre></div> |
645 | </div> | 645 | </div> |
646 | </dd></dl> | 646 | </dd></dl> |
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,·11,· | 675 | <span·class="go">datetime.date(2006,·11,·30)</span> |
676 | <span·class="go">datetime.date(1996,·11,·1 | 676 | <span·class="go">datetime.date(1996,·11,·18)</span> |
677 | <span·class="go">datetime.date(1957,·9,· | 677 | <span·class="go">datetime.date(1957,·9,·30)</span> |
678 | <span·class="go">datetime.date(1938,·12,· | 678 | <span·class="go">datetime.date(1938,·12,·30)</span> |
679 | <span·class="go">datetime.date(1968,·4,· | 679 | <span·class="go">datetime.date(1968,·4,·8)</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(2021,·1,·2 | 708 | <span·class="go">datetime.date(2021,·1,·28)</span> |
709 | <span·class="go">datetime.date(2018,·12,· | 709 | <span·class="go">datetime.date(2018,·12,·2)</span> |
710 | <span·class="go">datetime.date(2010,· | 710 | <span·class="go">datetime.date(2010,·7,·1)</span> |
711 | <span·class="go">datetime.date(2006,·6,·18)</span> | 711 | <span·class="go">datetime.date(2006,·6,·18)</span> |
712 | <span·class="go">datetime.date(2012,·10,· | 712 | <span·class="go">datetime.date(2012,·10,·5)</span> |
713 | </pre></div> | 713 | </pre></div> |
714 | </div> | 714 | </div> |
715 | </dd></dl> | 715 | </dd></dl> |
Max diff block lines reached; 88979/105861 bytes (84.05%) of diff not shown. |
Offset 251, 18 lines modified | Offset 251, 18 lines modified | ||
251 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 251 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
252 | ··············Examples: | 252 | ··············Examples: |
253 | ············>>>·Faker.seed(0) | 253 | ············>>>·Faker.seed(0) |
254 | ············>>>·for·_·in·range(5): | 254 | ············>>>·for·_·in·range(5): |
255 | ············...·····fake.am_pm() | 255 | ············...·····fake.am_pm() |
256 | ············... | 256 | ············... |
257 | ············'PM' | 257 | ············'PM' |
258 | ············' | 258 | ············'PM' |
259 | ············' | 259 | ············'PM' |
260 | ············' | 260 | ············'PM' |
261 | ············' | 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, 15 lines modified | Offset 282, 15 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-05- | 289 | ············'2016-05-30' |
290 | ············'2011-08-29' | 290 | ············'2011-08-29' |
291 | ············'1993-02-11' | 291 | ············'1993-02-11' |
292 | ············'1984-03-25' | 292 | ············'1984-03-25' |
293 | ············'1998-02-06' | 293 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 311 | ············datetime.date(2020,·4,·17) |
312 | ············datetime.date(2017,·9,·1 | 312 | ············datetime.date(2017,·9,·12) |
313 | ············datetime.date(2007,·7,· | 313 | ············datetime.date(2007,·7,·30) |
314 | ············datetime.date(2002,·9,·2 | 314 | ············datetime.date(2002,·9,·23) |
315 | ············datetime.date(2010,·4,·1 | 315 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 324, 29 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,·12,·1 | 331 | ············datetime.date(2024,·12,·17) |
332 | ············datetime.date(2024,·12,·1 | 332 | ············datetime.date(2024,·12,·17) |
333 | ············datetime.date(2024,·12,·1 | 333 | ············datetime.date(2024,·12,·17) |
334 | ············datetime.date(2024,·12,·1 | 334 | ············datetime.date(2024,·12,·17) |
335 | ············datetime.date(2024,·12,·1 | 335 | ············datetime.date(2024,·12,·17) |
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,·5,· | 345 | ············datetime.date(2016,·5,·30) |
346 | ············datetime.date(2011,·8,·29) | 346 | ············datetime.date(2011,·8,·29) |
347 | ············datetime.date(1993,·2,·11) | 347 | ············datetime.date(1993,·2,·11) |
348 | ············datetime.date(1984,·3,·25) | 348 | ············datetime.date(1984,·3,·25) |
349 | ············datetime.date(1998,·2,·6) | 349 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 367 | ············datetime.date(2006,·11,·30) |
368 | ············datetime.date(1996,·11,·1 | 368 | ············datetime.date(1996,·11,·18) |
369 | ············datetime.date(1957,·9,· | 369 | ············datetime.date(1957,·9,·30) |
370 | ············datetime.date(1938,·12,· | 370 | ············datetime.date(1938,·12,·30) |
371 | ············datetime.date(1968,·4,· | 371 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 389 | ············datetime.date(2021,·1,·28) |
390 | ············datetime.date(2018,·12,· | 390 | ············datetime.date(2018,·12,·2) |
391 | ············datetime.date(2010,· | 391 | ············datetime.date(2010,·7,·1) |
392 | ············datetime.date(2006,·6,·18) | 392 | ············datetime.date(2006,·6,·18) |
393 | ············datetime.date(2012,·10,· | 393 | ············datetime.date(2012,·10,·5) |
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 |
399 | ························today | 399 | ························today |
400 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 400 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 404, 19 lines modified | Offset 404, 19 lines modified | ||
404 | ··············Returns: | 404 | ··············Returns: |
405 | ··················Date | 405 | ··················Date |
Max diff block lines reached; 27371/34191 bytes (80.05%) 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">('167305-2658',·'SE16167305265801')</span> |
2130 | <span·class="go">(' | 2130 | <span·class="go">('288251-9404',·'SE16288251940401')</span> |
2131 | <span·class="go">(' | 2131 | <span·class="go">('948145-5971',·'SE16948145597101')</span> |
2132 | <span·class="go">(' | 2132 | <span·class="go">('538417-2887',·'SE16538417288701')</span> |
2133 | <span·class="go">(' | 2133 | <span·class="go">('923279-8182',·'SE16923279818201')</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">'867305-2653'</span> |
2153 | <span·class="go">' | 2153 | <span·class="go">'588251-9407'</span> |
2154 | <span·class="go">' | 2154 | <span·class="go">'648145-5977'</span> |
2155 | <span·class="go">' | 2155 | <span·class="go">'538417-2887'</span> |
2156 | <span·class="go">' | 2156 | <span·class="go">'123279-8189'</span> |
2157 | </pre></div> | 2157 | </pre></div> |
2158 | </div> | 2158 | </div> |
2159 | </dd></dl> | 2159 | </dd></dl> |
2160 | <dl·class="py·method"> | 2160 | <dl·class="py·method"> |
2161 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.sv_SE.Provider.ssn"> | 2161 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.sv_SE.Provider.ssn"> |
2162 | <span·class="sig-name·descname"><span·class="pre">ssn</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">min_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">'72053 | 2179 | <span·class="go">'720531-7766'</span> |
2180 | <span·class="go">'6903 | 2180 | <span·class="go">'690330-0413'</span> |
2181 | <span·class="go">'8309 | 2181 | <span·class="go">'830930-9881'</span> |
2182 | <span·class="go">'61020 | 2182 | <span·class="go">'610208-4974'</span> |
2183 | <span·class="go">'70082 | 2183 | <span·class="go">'700825-9405'</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 2194, 19 lines modified | Offset 2194, 19 lines modified | ||
2194 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 2194 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
2195 | <dd·class="field-odd"><p></p></dd> | 2195 | <dd·class="field-odd"><p></p></dd> |
2196 | </dl> | 2196 | </dl> |
2197 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 2197 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
2198 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 2198 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
2199 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">vat_id</span><span·class="p">()</span> | 2199 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">vat_id</span><span·class="p">()</span> |
2200 | <span·class="gp">...</span> | 2200 | <span·class="gp">...</span> |
2201 | <span·class="go">'SE16 | 2201 | <span·class="go">'SE16567305265901'</span> |
2202 | <span·class="go">'SE16 | 2202 | <span·class="go">'SE16688251940501'</span> |
2203 | <span·class="go">'SE16348145597401'</span> | 2203 | <span·class="go">'SE16348145597401'</span> |
2204 | <span·class="go">'SE16838417288101'</span> | 2204 | <span·class="go">'SE16838417288101'</span> |
2205 | <span·class="go">'SE16 | 2205 | <span·class="go">'SE16223279818701'</span> |
2206 | </pre></div> | 2206 | </pre></div> |
2207 | </div> | 2207 | </div> |
2208 | </dd></dl> | 2208 | </dd></dl> |
2209 | </dd></dl> | 2209 | </dd></dl> |
2210 | </section> | 2210 | </section> |
Offset 1176, 64 lines modified | Offset 1176, 64 lines modified | ||
1176 | ········_\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 | ············('167305-2658',·'SE16167305265801') |
1184 | ············(' | 1184 | ············('288251-9404',·'SE16288251940401') |
1185 | ············(' | 1185 | ············('948145-5971',·'SE16948145597101') |
1186 | ············(' | 1186 | ············('538417-2887',·'SE16538417288701') |
1187 | ············(' | 1187 | ············('923279-8182',·'SE16923279818201') |
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 | ············'867305-2653' |
1197 | ············' | 1197 | ············'588251-9407' |
1198 | ············' | 1198 | ············'648145-5977' |
1199 | ············' | 1199 | ············'538417-2887' |
1200 | ············' | 1200 | ············'123279-8189' |
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 | ············'72053 | 1215 | ············'720531-7766' |
1216 | ············'6903 | 1216 | ············'690330-0413' |
1217 | ············'8309 | 1217 | ············'830930-9881' |
1218 | ············'61020 | 1218 | ············'610208-4974' |
1219 | ············'70082 | 1219 | ············'700825-9405' |
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 | ············'SE16 | 1228 | ············'SE16567305265901' |
1229 | ············'SE16 | 1229 | ············'SE16688251940501' |
1230 | ············'SE16348145597401' | 1230 | ············'SE16348145597401' |
1231 | ············'SE16838417288101' | 1231 | ············'SE16838417288101' |
1232 | ············'SE16 | 1232 | ············'SE16223279818701' |
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) |
1239 | ······················#·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8._\x8b_\x8u_\x8i_\x8l_\x8d_\x8i_\x8n_\x8g_\x8__\x8n_\x8u_\x8m_\x8b_\x8e_\x8r_\x8(_\x8) | 1239 | ······················#·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8._\x8b_\x8u_\x8i_\x8l_\x8d_\x8i_\x8n_\x8g_\x8__\x8n_\x8u_\x8m_\x8b_\x8e_\x8r_\x8(_\x8) |
Offset 390, 18 lines modified | Offset 390, 18 lines modified | ||
390 | <dd·class="field-odd"><p></p></dd> | 390 | <dd·class="field-odd"><p></p></dd> |
391 | </dl> | 391 | </dl> |
392 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 392 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
393 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 393 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
394 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 394 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
395 | <span·class="gp">...</span> | 395 | <span·class="gp">...</span> |
396 | <span·class="go">'PM'</span> | 396 | <span·class="go">'PM'</span> |
397 | <span·class="go">' | 397 | <span·class="go">'PM'</span> |
398 | <span·class="go">' | 398 | <span·class="go">'PM'</span> |
399 | <span·class="go">' | 399 | <span·class="go">'PM'</span> |
400 | <span·class="go">' | 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, 15 lines modified | Offset 442, 15 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-05- | 449 | <span·class="go">'2016-05-30'</span> |
450 | <span·class="go">'2011-08-29'</span> | 450 | <span·class="go">'2011-08-29'</span> |
451 | <span·class="go">'1993-02-11'</span> | 451 | <span·class="go">'1993-02-11'</span> |
452 | <span·class="go">'1984-03-25'</span> | 452 | <span·class="go">'1984-03-25'</span> |
453 | <span·class="go">'1998-02-06'</span> | 453 | <span·class="go">'1998-02-06'</span> |
454 | </pre></div> | 454 | </pre></div> |
455 | </div> | 455 | </div> |
456 | </dd></dl> | 456 | </dd></dl> |
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,·4,·1 | 483 | <span·class="go">datetime.date(2020,·4,·17)</span> |
484 | <span·class="go">datetime.date(2017,·9,·1 | 484 | <span·class="go">datetime.date(2017,·9,·12)</span> |
485 | <span·class="go">datetime.date(2007,·7,· | 485 | <span·class="go">datetime.date(2007,·7,·30)</span> |
486 | <span·class="go">datetime.date(2002,·9,·2 | 486 | <span·class="go">datetime.date(2002,·9,·23)</span> |
487 | <span·class="go">datetime.date(2010,·4,·1 | 487 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 514 | <span·class="go">datetime.date(2024,·12,·17)</span> |
515 | <span·class="go">datetime.date(2024,·12,·1 | 515 | <span·class="go">datetime.date(2024,·12,·17)</span> |
516 | <span·class="go">datetime.date(2024,·12,·1 | 516 | <span·class="go">datetime.date(2024,·12,·17)</span> |
517 | <span·class="go">datetime.date(2024,·12,·1 | 517 | <span·class="go">datetime.date(2024,·12,·17)</span> |
518 | <span·class="go">datetime.date(2024,·12,·1 | 518 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 531, 15 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,·5,· | 538 | <span·class="go">datetime.date(2016,·5,·30)</span> |
539 | <span·class="go">datetime.date(2011,·8,·29)</span> | 539 | <span·class="go">datetime.date(2011,·8,·29)</span> |
540 | <span·class="go">datetime.date(1993,·2,·11)</span> | 540 | <span·class="go">datetime.date(1993,·2,·11)</span> |
541 | <span·class="go">datetime.date(1984,·3,·25)</span> | 541 | <span·class="go">datetime.date(1984,·3,·25)</span> |
542 | <span·class="go">datetime.date(1998,·2,·6)</span> | 542 | <span·class="go">datetime.date(1998,·2,·6)</span> |
543 | </pre></div> | 543 | </pre></div> |
544 | </div> | 544 | </div> |
545 | </dd></dl> | 545 | </dd></dl> |
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,·11,· | 574 | <span·class="go">datetime.date(2006,·11,·30)</span> |
575 | <span·class="go">datetime.date(1996,·11,·1 | 575 | <span·class="go">datetime.date(1996,·11,·18)</span> |
576 | <span·class="go">datetime.date(1957,·9,· | 576 | <span·class="go">datetime.date(1957,·9,·30)</span> |
577 | <span·class="go">datetime.date(1938,·12,· | 577 | <span·class="go">datetime.date(1938,·12,·30)</span> |
578 | <span·class="go">datetime.date(1968,·4,· | 578 | <span·class="go">datetime.date(1968,·4,·8)</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(2021,·1,·2 | 607 | <span·class="go">datetime.date(2021,·1,·28)</span> |
608 | <span·class="go">datetime.date(2018,·12,· | 608 | <span·class="go">datetime.date(2018,·12,·2)</span> |
609 | <span·class="go">datetime.date(2010,· | 609 | <span·class="go">datetime.date(2010,·7,·1)</span> |
610 | <span·class="go">datetime.date(2006,·6,·18)</span> | 610 | <span·class="go">datetime.date(2006,·6,·18)</span> |
611 | <span·class="go">datetime.date(2012,·10,· | 611 | <span·class="go">datetime.date(2012,·10,·5)</span> |
612 | </pre></div> | 612 | </pre></div> |
613 | </div> | 613 | </div> |
614 | </dd></dl> | 614 | </dd></dl> |
Max diff block lines reached; 88970/105852 bytes (84.05%) of diff not shown. |
Offset 196, 18 lines modified | Offset 196, 18 lines modified | ||
196 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 196 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
197 | ··············Examples: | 197 | ··············Examples: |
198 | ············>>>·Faker.seed(0) | 198 | ············>>>·Faker.seed(0) |
199 | ············>>>·for·_·in·range(5): | 199 | ············>>>·for·_·in·range(5): |
200 | ············...·····fake.am_pm() | 200 | ············...·····fake.am_pm() |
201 | ············... | 201 | ············... |
202 | ············'PM' | 202 | ············'PM' |
203 | ············' | 203 | ············'PM' |
204 | ············' | 204 | ············'PM' |
205 | ············' | 205 | ············'PM' |
206 | ············' | 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, 15 lines modified | Offset 227, 15 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-05- | 234 | ············'2016-05-30' |
235 | ············'2011-08-29' | 235 | ············'2011-08-29' |
236 | ············'1993-02-11' | 236 | ············'1993-02-11' |
237 | ············'1984-03-25' | 237 | ············'1984-03-25' |
238 | ············'1998-02-06' | 238 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 256 | ············datetime.date(2020,·4,·17) |
257 | ············datetime.date(2017,·9,·1 | 257 | ············datetime.date(2017,·9,·12) |
258 | ············datetime.date(2007,·7,· | 258 | ············datetime.date(2007,·7,·30) |
259 | ············datetime.date(2002,·9,·2 | 259 | ············datetime.date(2002,·9,·23) |
260 | ············datetime.date(2010,·4,·1 | 260 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 269, 29 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,·12,·1 | 276 | ············datetime.date(2024,·12,·17) |
277 | ············datetime.date(2024,·12,·1 | 277 | ············datetime.date(2024,·12,·17) |
278 | ············datetime.date(2024,·12,·1 | 278 | ············datetime.date(2024,·12,·17) |
279 | ············datetime.date(2024,·12,·1 | 279 | ············datetime.date(2024,·12,·17) |
280 | ············datetime.date(2024,·12,·1 | 280 | ············datetime.date(2024,·12,·17) |
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,·5,· | 290 | ············datetime.date(2016,·5,·30) |
291 | ············datetime.date(2011,·8,·29) | 291 | ············datetime.date(2011,·8,·29) |
292 | ············datetime.date(1993,·2,·11) | 292 | ············datetime.date(1993,·2,·11) |
293 | ············datetime.date(1984,·3,·25) | 293 | ············datetime.date(1984,·3,·25) |
294 | ············datetime.date(1998,·2,·6) | 294 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 312 | ············datetime.date(2006,·11,·30) |
313 | ············datetime.date(1996,·11,·1 | 313 | ············datetime.date(1996,·11,·18) |
314 | ············datetime.date(1957,·9,· | 314 | ············datetime.date(1957,·9,·30) |
315 | ············datetime.date(1938,·12,· | 315 | ············datetime.date(1938,·12,·30) |
316 | ············datetime.date(1968,·4,· | 316 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 334 | ············datetime.date(2021,·1,·28) |
335 | ············datetime.date(2018,·12,· | 335 | ············datetime.date(2018,·12,·2) |
336 | ············datetime.date(2010,· | 336 | ············datetime.date(2010,·7,·1) |
337 | ············datetime.date(2006,·6,·18) | 337 | ············datetime.date(2006,·6,·18) |
338 | ············datetime.date(2012,·10,· | 338 | ············datetime.date(2012,·10,·5) |
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 |
344 | ························today | 344 | ························today |
345 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 345 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 349, 19 lines modified | Offset 349, 19 lines modified | ||
349 | ··············Returns: | 349 | ··············Returns: |
350 | ··················Date | 350 | ··················Date |
Max diff block lines reached; 27368/34188 bytes (80.05%) of diff not shown. |
Offset 1478, 18 lines modified | Offset 1478, 18 lines modified | ||
1478 | <dd·class="field-odd"><p></p></dd> | 1478 | <dd·class="field-odd"><p></p></dd> |
1479 | </dl> | 1479 | </dl> |
1480 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1480 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1481 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1481 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1482 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1482 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1483 | <span·class="gp">...</span> | 1483 | <span·class="gp">...</span> |
1484 | <span·class="go">'PM'</span> | 1484 | <span·class="go">'PM'</span> |
1485 | <span·class="go">' | 1485 | <span·class="go">'PM'</span> |
1486 | <span·class="go">' | 1486 | <span·class="go">'PM'</span> |
1487 | <span·class="go">' | 1487 | <span·class="go">'PM'</span> |
1488 | <span·class="go">' | 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, 15 lines modified | Offset 1534, 15 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">' | 1541 | <span·class="go">'30·พ.ค.·2559'</span> |
1542 | <span·class="go">'29·ส.ค.·2554'</span> | 1542 | <span·class="go">'29·ส.ค.·2554'</span> |
1543 | <span·class="go">'11·ก.พ.·2536'</span> | 1543 | <span·class="go">'11·ก.พ.·2536'</span> |
1544 | <span·class="go">'25·มี.ค.·2527'</span> | 1544 | <span·class="go">'25·มี.ค.·2527'</span> |
1545 | <span·class="go">'6·ก.พ.·2541'</span> | 1545 | <span·class="go">'6·ก.พ.·2541'</span> |
1546 | </pre></div> | 1546 | </pre></div> |
1547 | </div> | 1547 | </div> |
1548 | </dd></dl> | 1548 | </dd></dl> |
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,·4,·1 | 1575 | <span·class="go">datetime.date(2020,·4,·17)</span> |
1576 | <span·class="go">datetime.date(2017,·9,·1 | 1576 | <span·class="go">datetime.date(2017,·9,·12)</span> |
1577 | <span·class="go">datetime.date(2007,·7,· | 1577 | <span·class="go">datetime.date(2007,·7,·30)</span> |
1578 | <span·class="go">datetime.date(2002,·9,·2 | 1578 | <span·class="go">datetime.date(2002,·9,·23)</span> |
1579 | <span·class="go">datetime.date(2010,·4,·1 | 1579 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 1606 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1607 | <span·class="go">datetime.date(2024,·12,·1 | 1607 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1608 | <span·class="go">datetime.date(2024,·12,·1 | 1608 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1609 | <span·class="go">datetime.date(2024,·12,·1 | 1609 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1610 | <span·class="go">datetime.date(2024,·12,·1 | 1610 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 1623, 15 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,·5,· | 1630 | <span·class="go">datetime.date(2016,·5,·30)</span> |
1631 | <span·class="go">datetime.date(2011,·8,·29)</span> | 1631 | <span·class="go">datetime.date(2011,·8,·29)</span> |
1632 | <span·class="go">datetime.date(1993,·2,·11)</span> | 1632 | <span·class="go">datetime.date(1993,·2,·11)</span> |
1633 | <span·class="go">datetime.date(1984,·3,·25)</span> | 1633 | <span·class="go">datetime.date(1984,·3,·25)</span> |
1634 | <span·class="go">datetime.date(1998,·2,·6)</span> | 1634 | <span·class="go">datetime.date(1998,·2,·6)</span> |
1635 | </pre></div> | 1635 | </pre></div> |
1636 | </div> | 1636 | </div> |
1637 | </dd></dl> | 1637 | </dd></dl> |
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,·11,· | 1666 | <span·class="go">datetime.date(2006,·11,·30)</span> |
1667 | <span·class="go">datetime.date(1996,·11,·1 | 1667 | <span·class="go">datetime.date(1996,·11,·18)</span> |
1668 | <span·class="go">datetime.date(1957,·9,· | 1668 | <span·class="go">datetime.date(1957,·9,·30)</span> |
1669 | <span·class="go">datetime.date(1938,·12,· | 1669 | <span·class="go">datetime.date(1938,·12,·30)</span> |
1670 | <span·class="go">datetime.date(1968,·4,· | 1670 | <span·class="go">datetime.date(1968,·4,·8)</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(2021,·1,·2 | 1699 | <span·class="go">datetime.date(2021,·1,·28)</span> |
1700 | <span·class="go">datetime.date(2018,·12,· | 1700 | <span·class="go">datetime.date(2018,·12,·2)</span> |
1701 | <span·class="go">datetime.date(2010,· | 1701 | <span·class="go">datetime.date(2010,·7,·1)</span> |
1702 | <span·class="go">datetime.date(2006,·6,·18)</span> | 1702 | <span·class="go">datetime.date(2006,·6,·18)</span> |
1703 | <span·class="go">datetime.date(2012,·10,· | 1703 | <span·class="go">datetime.date(2012,·10,·5)</span> |
1704 | </pre></div> | 1704 | </pre></div> |
1705 | </div> | 1705 | </div> |
1706 | </dd></dl> | 1706 | </dd></dl> |
Max diff block lines reached; 92403/110310 bytes (83.77%) of diff not shown. |
Offset 868, 18 lines modified | Offset 868, 18 lines modified | ||
868 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 868 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
869 | ··············Examples: | 869 | ··············Examples: |
870 | ············>>>·Faker.seed(0) | 870 | ············>>>·Faker.seed(0) |
871 | ············>>>·for·_·in·range(5): | 871 | ············>>>·for·_·in·range(5): |
872 | ············...·····fake.am_pm() | 872 | ············...·····fake.am_pm() |
873 | ············... | 873 | ············... |
874 | ············'PM' | 874 | ············'PM' |
875 | ············' | 875 | ············'PM' |
876 | ············' | 876 | ············'PM' |
877 | ············' | 877 | ············'PM' |
878 | ············' | 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, 15 lines modified | Offset 903, 15 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 | ············' | 910 | ············'30·พ.ค.·2559' |
911 | ············'29·ส.ค.·2554' | 911 | ············'29·ส.ค.·2554' |
912 | ············'11·ก.พ.·2536' | 912 | ············'11·ก.พ.·2536' |
913 | ············'25·มี.ค.·2527' | 913 | ············'25·มี.ค.·2527' |
914 | ············'6·ก.พ.·2541' | 914 | ············'6·ก.พ.·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¶ |
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,·4,·1 | 932 | ············datetime.date(2020,·4,·17) |
933 | ············datetime.date(2017,·9,·1 | 933 | ············datetime.date(2017,·9,·12) |
934 | ············datetime.date(2007,·7,· | 934 | ············datetime.date(2007,·7,·30) |
935 | ············datetime.date(2002,·9,·2 | 935 | ············datetime.date(2002,·9,·23) |
936 | ············datetime.date(2010,·4,·1 | 936 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 945, 29 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,·12,·1 | 952 | ············datetime.date(2024,·12,·17) |
953 | ············datetime.date(2024,·12,·1 | 953 | ············datetime.date(2024,·12,·17) |
954 | ············datetime.date(2024,·12,·1 | 954 | ············datetime.date(2024,·12,·17) |
955 | ············datetime.date(2024,·12,·1 | 955 | ············datetime.date(2024,·12,·17) |
956 | ············datetime.date(2024,·12,·1 | 956 | ············datetime.date(2024,·12,·17) |
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,·5,· | 966 | ············datetime.date(2016,·5,·30) |
967 | ············datetime.date(2011,·8,·29) | 967 | ············datetime.date(2011,·8,·29) |
968 | ············datetime.date(1993,·2,·11) | 968 | ············datetime.date(1993,·2,·11) |
969 | ············datetime.date(1984,·3,·25) | 969 | ············datetime.date(1984,·3,·25) |
970 | ············datetime.date(1998,·2,·6) | 970 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 988 | ············datetime.date(2006,·11,·30) |
989 | ············datetime.date(1996,·11,·1 | 989 | ············datetime.date(1996,·11,·18) |
990 | ············datetime.date(1957,·9,· | 990 | ············datetime.date(1957,·9,·30) |
991 | ············datetime.date(1938,·12,· | 991 | ············datetime.date(1938,·12,·30) |
992 | ············datetime.date(1968,·4,· | 992 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 1010 | ············datetime.date(2021,·1,·28) |
1011 | ············datetime.date(2018,·12,· | 1011 | ············datetime.date(2018,·12,·2) |
1012 | ············datetime.date(2010,· | 1012 | ············datetime.date(2010,·7,·1) |
1013 | ············datetime.date(2006,·6,·18) | 1013 | ············datetime.date(2006,·6,·18) |
1014 | ············datetime.date(2012,·10,· | 1014 | ············datetime.date(2012,·10,·5) |
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 |
1020 | ························today | 1020 | ························today |
1021 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 1021 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 1025, 19 lines modified | Offset 1025, 19 lines modified | ||
1025 | ··············Returns: | 1025 | ··············Returns: |
1026 | ··················Date | 1026 | ··················Date |
Max diff block lines reached; 29193/36406 bytes (80.19%) of diff not shown. |
Offset 1640, 18 lines modified | Offset 1640, 18 lines modified | ||
1640 | <dd·class="field-odd"><p></p></dd> | 1640 | <dd·class="field-odd"><p></p></dd> |
1641 | </dl> | 1641 | </dl> |
1642 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1642 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1643 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1643 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1644 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1644 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1645 | <span·class="gp">...</span> | 1645 | <span·class="gp">...</span> |
1646 | <span·class="go">'PM'</span> | 1646 | <span·class="go">'PM'</span> |
1647 | <span·class="go">' | 1647 | <span·class="go">'PM'</span> |
1648 | <span·class="go">' | 1648 | <span·class="go">'PM'</span> |
1649 | <span·class="go">' | 1649 | <span·class="go">'PM'</span> |
1650 | <span·class="go">' | 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, 15 lines modified | Offset 1692, 15 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-05- | 1699 | <span·class="go">'2016-05-30'</span> |
1700 | <span·class="go">'2011-08-29'</span> | 1700 | <span·class="go">'2011-08-29'</span> |
1701 | <span·class="go">'1993-02-11'</span> | 1701 | <span·class="go">'1993-02-11'</span> |
1702 | <span·class="go">'1984-03-25'</span> | 1702 | <span·class="go">'1984-03-25'</span> |
1703 | <span·class="go">'1998-02-06'</span> | 1703 | <span·class="go">'1998-02-06'</span> |
1704 | </pre></div> | 1704 | </pre></div> |
1705 | </div> | 1705 | </div> |
1706 | </dd></dl> | 1706 | </dd></dl> |
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,·4,·1 | 1733 | <span·class="go">datetime.date(2020,·4,·17)</span> |
1734 | <span·class="go">datetime.date(2017,·9,·1 | 1734 | <span·class="go">datetime.date(2017,·9,·12)</span> |
1735 | <span·class="go">datetime.date(2007,·7,· | 1735 | <span·class="go">datetime.date(2007,·7,·30)</span> |
1736 | <span·class="go">datetime.date(2002,·9,·2 | 1736 | <span·class="go">datetime.date(2002,·9,·23)</span> |
1737 | <span·class="go">datetime.date(2010,·4,·1 | 1737 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 1764 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1765 | <span·class="go">datetime.date(2024,·12,·1 | 1765 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1766 | <span·class="go">datetime.date(2024,·12,·1 | 1766 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1767 | <span·class="go">datetime.date(2024,·12,·1 | 1767 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1768 | <span·class="go">datetime.date(2024,·12,·1 | 1768 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 1781, 15 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,·5,· | 1788 | <span·class="go">datetime.date(2016,·5,·30)</span> |
1789 | <span·class="go">datetime.date(2011,·8,·29)</span> | 1789 | <span·class="go">datetime.date(2011,·8,·29)</span> |
1790 | <span·class="go">datetime.date(1993,·2,·11)</span> | 1790 | <span·class="go">datetime.date(1993,·2,·11)</span> |
1791 | <span·class="go">datetime.date(1984,·3,·25)</span> | 1791 | <span·class="go">datetime.date(1984,·3,·25)</span> |
1792 | <span·class="go">datetime.date(1998,·2,·6)</span> | 1792 | <span·class="go">datetime.date(1998,·2,·6)</span> |
1793 | </pre></div> | 1793 | </pre></div> |
1794 | </div> | 1794 | </div> |
1795 | </dd></dl> | 1795 | </dd></dl> |
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,·11,· | 1824 | <span·class="go">datetime.date(2006,·11,·30)</span> |
1825 | <span·class="go">datetime.date(1996,·11,·1 | 1825 | <span·class="go">datetime.date(1996,·11,·18)</span> |
1826 | <span·class="go">datetime.date(1957,·9,· | 1826 | <span·class="go">datetime.date(1957,·9,·30)</span> |
1827 | <span·class="go">datetime.date(1938,·12,· | 1827 | <span·class="go">datetime.date(1938,·12,·30)</span> |
1828 | <span·class="go">datetime.date(1968,·4,· | 1828 | <span·class="go">datetime.date(1968,·4,·8)</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(2021,·1,·2 | 1857 | <span·class="go">datetime.date(2021,·1,·28)</span> |
1858 | <span·class="go">datetime.date(2018,·12,· | 1858 | <span·class="go">datetime.date(2018,·12,·2)</span> |
1859 | <span·class="go">datetime.date(2010,· | 1859 | <span·class="go">datetime.date(2010,·7,·1)</span> |
1860 | <span·class="go">datetime.date(2006,·6,·18)</span> | 1860 | <span·class="go">datetime.date(2006,·6,·18)</span> |
1861 | <span·class="go">datetime.date(2012,·10,· | 1861 | <span·class="go">datetime.date(2012,·10,·5)</span> |
1862 | </pre></div> | 1862 | </pre></div> |
1863 | </div> | 1863 | </div> |
1864 | </dd></dl> | 1864 | </dd></dl> |
Max diff block lines reached; 294527/311423 bytes (94.57%) of diff not shown. |
Offset 943, 18 lines modified | Offset 943, 18 lines modified | ||
943 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 943 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
944 | ··············Examples: | 944 | ··············Examples: |
945 | ············>>>·Faker.seed(0) | 945 | ············>>>·Faker.seed(0) |
946 | ············>>>·for·_·in·range(5): | 946 | ············>>>·for·_·in·range(5): |
947 | ············...·····fake.am_pm() | 947 | ············...·····fake.am_pm() |
948 | ············... | 948 | ············... |
949 | ············'PM' | 949 | ············'PM' |
950 | ············' | 950 | ············'PM' |
951 | ············' | 951 | ············'PM' |
952 | ············' | 952 | ············'PM' |
953 | ············' | 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, 15 lines modified | Offset 974, 15 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-05- | 981 | ············'2016-05-30' |
982 | ············'2011-08-29' | 982 | ············'2011-08-29' |
983 | ············'1993-02-11' | 983 | ············'1993-02-11' |
984 | ············'1984-03-25' | 984 | ············'1984-03-25' |
985 | ············'1998-02-06' | 985 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 1003 | ············datetime.date(2020,·4,·17) |
1004 | ············datetime.date(2017,·9,·1 | 1004 | ············datetime.date(2017,·9,·12) |
1005 | ············datetime.date(2007,·7,· | 1005 | ············datetime.date(2007,·7,·30) |
1006 | ············datetime.date(2002,·9,·2 | 1006 | ············datetime.date(2002,·9,·23) |
1007 | ············datetime.date(2010,·4,·1 | 1007 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 1016, 29 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,·12,·1 | 1023 | ············datetime.date(2024,·12,·17) |
1024 | ············datetime.date(2024,·12,·1 | 1024 | ············datetime.date(2024,·12,·17) |
1025 | ············datetime.date(2024,·12,·1 | 1025 | ············datetime.date(2024,·12,·17) |
1026 | ············datetime.date(2024,·12,·1 | 1026 | ············datetime.date(2024,·12,·17) |
1027 | ············datetime.date(2024,·12,·1 | 1027 | ············datetime.date(2024,·12,·17) |
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,·5,· | 1037 | ············datetime.date(2016,·5,·30) |
1038 | ············datetime.date(2011,·8,·29) | 1038 | ············datetime.date(2011,·8,·29) |
1039 | ············datetime.date(1993,·2,·11) | 1039 | ············datetime.date(1993,·2,·11) |
1040 | ············datetime.date(1984,·3,·25) | 1040 | ············datetime.date(1984,·3,·25) |
1041 | ············datetime.date(1998,·2,·6) | 1041 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 1059 | ············datetime.date(2006,·11,·30) |
1060 | ············datetime.date(1996,·11,·1 | 1060 | ············datetime.date(1996,·11,·18) |
1061 | ············datetime.date(1957,·9,· | 1061 | ············datetime.date(1957,·9,·30) |
1062 | ············datetime.date(1938,·12,· | 1062 | ············datetime.date(1938,·12,·30) |
1063 | ············datetime.date(1968,·4,· | 1063 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 1081 | ············datetime.date(2021,·1,·28) |
1082 | ············datetime.date(2018,·12,· | 1082 | ············datetime.date(2018,·12,·2) |
1083 | ············datetime.date(2010,· | 1083 | ············datetime.date(2010,·7,·1) |
1084 | ············datetime.date(2006,·6,·18) | 1084 | ············datetime.date(2006,·6,·18) |
1085 | ············datetime.date(2012,·10,· | 1085 | ············datetime.date(2012,·10,·5) |
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 |
1091 | ························today | 1091 | ························today |
1092 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 1092 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 1096, 19 lines modified | Offset 1096, 19 lines modified | ||
1096 | ··············Returns: | 1096 | ··············Returns: |
1097 | ··················Date | 1097 | ··················Date |
Max diff block lines reached; 197502/204330 bytes (96.66%) of diff not shown. |
Offset 680, 18 lines modified | Offset 680, 18 lines modified | ||
680 | <dd·class="field-odd"><p></p></dd> | 680 | <dd·class="field-odd"><p></p></dd> |
681 | </dl> | 681 | </dl> |
682 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 682 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
683 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 683 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
684 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 684 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
685 | <span·class="gp">...</span> | 685 | <span·class="gp">...</span> |
686 | <span·class="go">'PM'</span> | 686 | <span·class="go">'PM'</span> |
687 | <span·class="go">' | 687 | <span·class="go">'PM'</span> |
688 | <span·class="go">' | 688 | <span·class="go">'PM'</span> |
689 | <span·class="go">' | 689 | <span·class="go">'PM'</span> |
690 | <span·class="go">' | 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, 15 lines modified | Offset 732, 15 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-05- | 739 | <span·class="go">'2016-05-30'</span> |
740 | <span·class="go">'2011-08-29'</span> | 740 | <span·class="go">'2011-08-29'</span> |
741 | <span·class="go">'1993-02-11'</span> | 741 | <span·class="go">'1993-02-11'</span> |
742 | <span·class="go">'1984-03-25'</span> | 742 | <span·class="go">'1984-03-25'</span> |
743 | <span·class="go">'1998-02-06'</span> | 743 | <span·class="go">'1998-02-06'</span> |
744 | </pre></div> | 744 | </pre></div> |
745 | </div> | 745 | </div> |
746 | </dd></dl> | 746 | </dd></dl> |
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,·4,·1 | 773 | <span·class="go">datetime.date(2020,·4,·17)</span> |
774 | <span·class="go">datetime.date(2017,·9,·1 | 774 | <span·class="go">datetime.date(2017,·9,·12)</span> |
775 | <span·class="go">datetime.date(2007,·7,· | 775 | <span·class="go">datetime.date(2007,·7,·30)</span> |
776 | <span·class="go">datetime.date(2002,·9,·2 | 776 | <span·class="go">datetime.date(2002,·9,·23)</span> |
777 | <span·class="go">datetime.date(2010,·4,·1 | 777 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 804 | <span·class="go">datetime.date(2024,·12,·17)</span> |
805 | <span·class="go">datetime.date(2024,·12,·1 | 805 | <span·class="go">datetime.date(2024,·12,·17)</span> |
806 | <span·class="go">datetime.date(2024,·12,·1 | 806 | <span·class="go">datetime.date(2024,·12,·17)</span> |
807 | <span·class="go">datetime.date(2024,·12,·1 | 807 | <span·class="go">datetime.date(2024,·12,·17)</span> |
808 | <span·class="go">datetime.date(2024,·12,·1 | 808 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 821, 15 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,·5,· | 828 | <span·class="go">datetime.date(2016,·5,·30)</span> |
829 | <span·class="go">datetime.date(2011,·8,·29)</span> | 829 | <span·class="go">datetime.date(2011,·8,·29)</span> |
830 | <span·class="go">datetime.date(1993,·2,·11)</span> | 830 | <span·class="go">datetime.date(1993,·2,·11)</span> |
831 | <span·class="go">datetime.date(1984,·3,·25)</span> | 831 | <span·class="go">datetime.date(1984,·3,·25)</span> |
832 | <span·class="go">datetime.date(1998,·2,·6)</span> | 832 | <span·class="go">datetime.date(1998,·2,·6)</span> |
833 | </pre></div> | 833 | </pre></div> |
834 | </div> | 834 | </div> |
835 | </dd></dl> | 835 | </dd></dl> |
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,·11,· | 864 | <span·class="go">datetime.date(2006,·11,·30)</span> |
865 | <span·class="go">datetime.date(1996,·11,·1 | 865 | <span·class="go">datetime.date(1996,·11,·18)</span> |
866 | <span·class="go">datetime.date(1957,·9,· | 866 | <span·class="go">datetime.date(1957,·9,·30)</span> |
867 | <span·class="go">datetime.date(1938,·12,· | 867 | <span·class="go">datetime.date(1938,·12,·30)</span> |
868 | <span·class="go">datetime.date(1968,·4,· | 868 | <span·class="go">datetime.date(1968,·4,·8)</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(2021,·1,·2 | 897 | <span·class="go">datetime.date(2021,·1,·28)</span> |
898 | <span·class="go">datetime.date(2018,·12,· | 898 | <span·class="go">datetime.date(2018,·12,·2)</span> |
899 | <span·class="go">datetime.date(2010,· | 899 | <span·class="go">datetime.date(2010,·7,·1)</span> |
900 | <span·class="go">datetime.date(2006,·6,·18)</span> | 900 | <span·class="go">datetime.date(2006,·6,·18)</span> |
901 | <span·class="go">datetime.date(2012,·10,· | 901 | <span·class="go">datetime.date(2012,·10,·5)</span> |
902 | </pre></div> | 902 | </pre></div> |
903 | </div> | 903 | </div> |
904 | </dd></dl> | 904 | </dd></dl> |
Max diff block lines reached; 88975/105857 bytes (84.05%) of diff not shown. |
Offset 390, 18 lines modified | Offset 390, 18 lines modified | ||
390 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 390 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
391 | ··············Examples: | 391 | ··············Examples: |
392 | ············>>>·Faker.seed(0) | 392 | ············>>>·Faker.seed(0) |
393 | ············>>>·for·_·in·range(5): | 393 | ············>>>·for·_·in·range(5): |
394 | ············...·····fake.am_pm() | 394 | ············...·····fake.am_pm() |
395 | ············... | 395 | ············... |
396 | ············'PM' | 396 | ············'PM' |
397 | ············' | 397 | ············'PM' |
398 | ············' | 398 | ············'PM' |
399 | ············' | 399 | ············'PM' |
400 | ············' | 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, 15 lines modified | Offset 421, 15 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-05- | 428 | ············'2016-05-30' |
429 | ············'2011-08-29' | 429 | ············'2011-08-29' |
430 | ············'1993-02-11' | 430 | ············'1993-02-11' |
431 | ············'1984-03-25' | 431 | ············'1984-03-25' |
432 | ············'1998-02-06' | 432 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 450 | ············datetime.date(2020,·4,·17) |
451 | ············datetime.date(2017,·9,·1 | 451 | ············datetime.date(2017,·9,·12) |
452 | ············datetime.date(2007,·7,· | 452 | ············datetime.date(2007,·7,·30) |
453 | ············datetime.date(2002,·9,·2 | 453 | ············datetime.date(2002,·9,·23) |
454 | ············datetime.date(2010,·4,·1 | 454 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 463, 29 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,·12,·1 | 470 | ············datetime.date(2024,·12,·17) |
471 | ············datetime.date(2024,·12,·1 | 471 | ············datetime.date(2024,·12,·17) |
472 | ············datetime.date(2024,·12,·1 | 472 | ············datetime.date(2024,·12,·17) |
473 | ············datetime.date(2024,·12,·1 | 473 | ············datetime.date(2024,·12,·17) |
474 | ············datetime.date(2024,·12,·1 | 474 | ············datetime.date(2024,·12,·17) |
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,·5,· | 484 | ············datetime.date(2016,·5,·30) |
485 | ············datetime.date(2011,·8,·29) | 485 | ············datetime.date(2011,·8,·29) |
486 | ············datetime.date(1993,·2,·11) | 486 | ············datetime.date(1993,·2,·11) |
487 | ············datetime.date(1984,·3,·25) | 487 | ············datetime.date(1984,·3,·25) |
488 | ············datetime.date(1998,·2,·6) | 488 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 506 | ············datetime.date(2006,·11,·30) |
507 | ············datetime.date(1996,·11,·1 | 507 | ············datetime.date(1996,·11,·18) |
508 | ············datetime.date(1957,·9,· | 508 | ············datetime.date(1957,·9,·30) |
509 | ············datetime.date(1938,·12,· | 509 | ············datetime.date(1938,·12,·30) |
510 | ············datetime.date(1968,·4,· | 510 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 528 | ············datetime.date(2021,·1,·28) |
529 | ············datetime.date(2018,·12,· | 529 | ············datetime.date(2018,·12,·2) |
530 | ············datetime.date(2010,· | 530 | ············datetime.date(2010,·7,·1) |
531 | ············datetime.date(2006,·6,·18) | 531 | ············datetime.date(2006,·6,·18) |
532 | ············datetime.date(2012,·10,· | 532 | ············datetime.date(2012,·10,·5) |
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 |
538 | ························today | 538 | ························today |
539 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 539 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 543, 19 lines modified | Offset 543, 19 lines modified | ||
543 | ··············Returns: | 543 | ··············Returns: |
544 | ··················Date | 544 | ··················Date |
Max diff block lines reached; 27345/34165 bytes (80.04%) of diff not shown. |
Offset 431, 16 lines modified | Offset 431, 16 lines modified | ||
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">'CDP·876'</span> | 436 | <span·class="go">'CDP·876'</span> |
437 | <span·class="go">'DP·141·365'</span> | 437 | <span·class="go">'DP·141·365'</span> |
438 | <span·class="go">'DP·623 | 438 | <span·class="go">'CDP·623'</span> |
439 | <span·class="go">' | 439 | <span·class="go">'S·514·902'</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, 62 lines modified | Offset 456, 62 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">'EV6048HT'</span> |
464 | <span·class="go">' | 464 | <span·class="go">'TO4759MK'</span> |
465 | <span·class="go">' | 465 | <span·class="go">'AT4219HI'</span> |
466 | <span·class="go">' | 466 | <span·class="go">'TI4115AT'</span> |
467 | <span·class="go">' | 467 | <span·class="go">'SE5659HN'</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">'OK6048HT'</span> |
475 | <span·class="go">' | 475 | <span·class="go">'XA4759MK'</span> |
476 | <span·class="go">' | 476 | <span·class="go">'NS4219HI'</span> |
477 | <span·class="go">' | 477 | <span·class="go">'RN4115AT'</span> |
478 | <span·class="go">' | 478 | <span·class="go">'AI5659HN'</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">'03·SM6048'</span> |
486 | <span·class="go">'20· | 486 | <span·class="go">'20·NO6475'</span> |
487 | <span·class="go">' | 487 | <span·class="go">'20·NO8242'</span> |
488 | <span·class="go">' | 488 | <span·class="go">'24·SA9489'</span> |
489 | <span·class="go">' | 489 | <span·class="go">'17·XI4115'</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">'AA6048HT'</span> | 496 | <span·class="go">'AA6048HT'</span> |
497 | <span·class="go">'TT4759MK'</span> | 497 | <span·class="go">'TT4759MK'</span> |
498 | <span·class="go">'T | 498 | <span·class="go">'TA4219HI'</span> |
499 | <span·class="go">'TT4115AT'</span> | 499 | <span·class="go">'TT4115AT'</span> |
500 | <span·class="go">'T | 500 | <span·class="go">'TT5659HN'</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·T | 507 | <span·class="go">'11·TA6048'</span> |
508 | <span·class="go">'11·TT6475'</span> | 508 | <span·class="go">'11·TT6475'</span> |
509 | <span·class="go">'11·TA8242'</span> | 509 | <span·class="go">'11·TA8242'</span> |
510 | <span·class="go">'11· | 510 | <span·class="go">'11·AA9489'</span> |
511 | <span·class="go">'11·KA4115'</span> | 511 | <span·class="go">'11·KA4115'</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"> |
Offset 521, 30 lines modified | Offset 521, 30 lines modified | ||
521 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 521 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
522 | <dd·class="field-odd"><p></p></dd> | 522 | <dd·class="field-odd"><p></p></dd> |
523 | </dl> | 523 | </dl> |
524 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 524 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
525 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 525 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
526 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">plate_letter_prefix</span><span·class="p">()</span> | 526 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">plate_letter_prefix</span><span·class="p">()</span> |
527 | <span·class="gp">...</span> | 527 | <span·class="gp">...</span> |
528 | <span·class="go">'BM'</span> | ||
529 | <span·class="go">' | 528 | <span·class="go">'AN'</span> |
530 | <span·class="go">' | 529 | <span·class="go">'AT'</span> |
531 | <span·class="go">'NS'</span> | ||
532 | <span·class="go">'BN'</span> | 530 | <span·class="go">'BN'</span> |
531 | <span·class="go">'AN'</span> | ||
532 | <span·class="go">'ET'</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> | ||
540 | <span·class="go">'TA'</span> | ||
541 | <span·class="go">'TT'</span> | 539 | <span·class="go">'TT'</span> |
542 | <span·class="go">'KA'</span> | 540 | <span·class="go">'KA'</span> |
541 | <span·class="go">'TT'</span> | ||
543 | <span·class="go">' | 542 | <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"> |
548 | <dt·class="sig·sig-object·py"·id="faker.providers.automotive.uk_UA.Provider.plate_letter_suffix"> | 548 | <dt·class="sig·sig-object·py"·id="faker.providers.automotive.uk_UA.Provider.plate_letter_suffix"> |
549 | <span·class="sig-name·descname"><span·class="pre">plate_letter_suffix</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.automotive.uk_UA.Provider.plate_letter_suffix"·title="Link·to·this·definition">¶</a></dt> | 549 | <span·class="sig-name·descname"><span·class="pre">plate_letter_suffix</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.automotive.uk_UA.Provider.plate_letter_suffix"·title="Link·to·this·definition">¶</a></dt> |
Offset 595, 19 lines modified | Offset 595, 19 lines modified | ||
595 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 595 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
596 | <dd·class="field-odd"><p></p></dd> | 596 | <dd·class="field-odd"><p></p></dd> |
597 | </dl> | 597 | </dl> |
598 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 598 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
599 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 599 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
600 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">plate_region_code</span><span·class="p">()</span> | 600 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">plate_region_code</span><span·class="p">()</span> |
601 | <span·class="gp">...</span> | 601 | <span·class="gp">...</span> |
602 | <span·class="go">'1 | 602 | <span·class="go">'18'</span> |
603 | <span·class="go">'22'</span> | ||
604 | <span·class="go">'27'</span> | ||
603 | <span·class="go">' | 605 | <span·class="go">'02'</span> |
604 | <span·class="go">'0 | 606 | <span·class="go">'06'</span> |
Max diff block lines reached; 5617/19454 bytes (28.87%) of diff not shown. |
Offset 220, 16 lines modified | Offset 220, 16 lines modified | ||
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 | ············'CDP·876' | 225 | ············'CDP·876' |
226 | ············'DP·141·365' | 226 | ············'DP·141·365' |
227 | ············'DP·623 | 227 | ············'CDP·623' |
228 | ············' | 228 | ············'S·514·902' |
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, 78 lines modified | Offset 239, 78 lines modified | ||
239 | ··················01·AA0000 | 239 | ··················01·AA0000 |
240 | ············01·-·27·it’s·region·number | 240 | ············01·-·27·it’s·region·number |
241 | ··············Examples: | 241 | ··············Examples: |
242 | ············>>>·Faker.seed(0) | 242 | ············>>>·Faker.seed(0) |
243 | ············>>>·for·_·in·range(5): | 243 | ············>>>·for·_·in·range(5): |
244 | ············...·····fake.license_plate() | 244 | ············...·····fake.license_plate() |
245 | ············... | 245 | ············... |
246 | ············' | 246 | ············'EV6048HT' |
247 | ············' | 247 | ············'TO4759MK' |
248 | ············' | 248 | ············'AT4219HI' |
249 | ············' | 249 | ············'TI4115AT' |
250 | ············' | 250 | ············'SE5659HN' |
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 | ············'OK6048HT' |
256 | ············' | 256 | ············'XA4759MK' |
257 | ············' | 257 | ············'NS4219HI' |
258 | ············' | 258 | ············'RN4115AT' |
259 | ············' | 259 | ············'AI5659HN' |
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 | ············'03·SM6048' |
265 | ············'20· | 265 | ············'20·NO6475' |
266 | ············' | 266 | ············'20·NO8242' |
267 | ············' | 267 | ············'24·SA9489' |
268 | ············' | 268 | ············'17·XI4115' |
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 | ············'AA6048HT' | 274 | ············'AA6048HT' |
275 | ············'TT4759MK' | 275 | ············'TT4759MK' |
276 | ············'T | 276 | ············'TA4219HI' |
277 | ············'TT4115AT' | 277 | ············'TT4115AT' |
278 | ············'T | 278 | ············'TT5659HN' |
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·T | 284 | ············'11·TA6048' |
285 | ············'11·TT6475' | 285 | ············'11·TT6475' |
286 | ············'11·TA8242' | 286 | ············'11·TA8242' |
287 | ············'11· | 287 | ············'11·AA9489' |
288 | ············'11·KA4115' | 288 | ············'11·KA4115' |
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 | ············'BM' | ||
297 | ············' | 296 | ············'AN' |
298 | ············' | 297 | ············'AT' |
299 | ············'NS' | ||
300 | ············'BN' | 298 | ············'BN' |
299 | ············'AN' | ||
300 | ············'ET' | ||
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' | ||
306 | ············'TA' | ||
307 | ············'TT' | 305 | ············'TT' |
308 | ············'KA' | 306 | ············'KA' |
307 | ············'TT' | ||
309 | ············' | 308 | ············'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): |
315 | ············...·····fake.plate_letter_suffix() | 315 | ············...·····fake.plate_letter_suffix() |
316 | ············... | 316 | ············... |
Offset 334, 19 lines modified | Offset 334, 19 lines modified | ||
334 | ········plate_region_code(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 | ············'1 | 341 | ············'18' |
342 | ············'22' | ||
343 | ············'27' | ||
342 | ············' | 344 | ············'02' |
343 | ············'0 | 345 | ············'06' |
344 | ············'04' | ||
345 | ············'16' | ||
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 820, 15 lines modified | Offset 820, 15 lines modified | ||
820 | ············... | 820 | ············... |
821 | ············'Maestro\nAnastasiia·Konoplenko\n6762647593824215·02/31\nCVV: | 821 | ············'Maestro\nAnastasiia·Konoplenko\n6762647593824215·02/31\nCVV: |
822 | ············489\nБанк·Фамільний' | 822 | ············489\nБанк·Фамільний' |
823 | ············'ПРОСТІР\nPylyp·Vakulenko\n9781565938778402·01/33\nCVC2: | 823 | ············'ПРОСТІР\nPylyp·Vakulenko\n9781565938778402·01/33\nCVC2: |
824 | ············801\nПриватБанк' | 824 | ············801\nПриватБанк' |
Max diff block lines reached; 1870/6824 bytes (27.40%) of diff not shown. |
Offset 548, 18 lines modified | Offset 548, 18 lines modified | ||
548 | <dd·class="field-odd"><p></p></dd> | 548 | <dd·class="field-odd"><p></p></dd> |
549 | </dl> | 549 | </dl> |
550 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 550 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
551 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 551 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
552 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 552 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
553 | <span·class="gp">...</span> | 553 | <span·class="gp">...</span> |
554 | <span·class="go">'PM'</span> | 554 | <span·class="go">'PM'</span> |
555 | <span·class="go">' | 555 | <span·class="go">'PM'</span> |
556 | <span·class="go">' | 556 | <span·class="go">'PM'</span> |
557 | <span·class="go">' | 557 | <span·class="go">'PM'</span> |
558 | <span·class="go">' | 558 | <span·class="go">'PM'</span> |
559 | </pre></div> | 559 | </pre></div> |
560 | </div> | 560 | </div> |
561 | </dd></dl> | 561 | </dd></dl> |
562 | <dl·class="py·method"> | 562 | <dl·class="py·method"> |
563 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.uz_UZ.Provider.century"> | 563 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.uz_UZ.Provider.century"> |
564 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.uz_UZ.Provider.century"·title="Link·to·this·definition">¶</a></dt> | 564 | <span·class="sig-name·descname"><span·class="pre">century</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.uz_UZ.Provider.century"·title="Link·to·this·definition">¶</a></dt> |
Offset 600, 15 lines modified | Offset 600, 15 lines modified | ||
600 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 600 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
601 | <dd·class="field-even"><p></p></dd> | 601 | <dd·class="field-even"><p></p></dd> |
602 | </dl> | 602 | </dl> |
603 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 603 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
604 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 604 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
605 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 605 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
606 | <span·class="gp">...</span> | 606 | <span·class="gp">...</span> |
607 | <span·class="go">'2016-05- | 607 | <span·class="go">'2016-05-30'</span> |
608 | <span·class="go">'2011-08-29'</span> | 608 | <span·class="go">'2011-08-29'</span> |
609 | <span·class="go">'1993-02-11'</span> | 609 | <span·class="go">'1993-02-11'</span> |
610 | <span·class="go">'1984-03-25'</span> | 610 | <span·class="go">'1984-03-25'</span> |
611 | <span·class="go">'1998-02-06'</span> | 611 | <span·class="go">'1998-02-06'</span> |
612 | </pre></div> | 612 | </pre></div> |
613 | </div> | 613 | </div> |
614 | </dd></dl> | 614 | </dd></dl> |
Offset 634, 19 lines modified | Offset 634, 19 lines modified | ||
634 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 634 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
635 | <dd·class="field-even"><p></p></dd> | 635 | <dd·class="field-even"><p></p></dd> |
636 | </dl> | 636 | </dl> |
637 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 637 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
638 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 638 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
639 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 639 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
640 | <span·class="gp">...</span> | 640 | <span·class="gp">...</span> |
641 | <span·class="go">datetime.date(2020,·4,·1 | 641 | <span·class="go">datetime.date(2020,·4,·17)</span> |
642 | <span·class="go">datetime.date(2017,·9,·1 | 642 | <span·class="go">datetime.date(2017,·9,·12)</span> |
643 | <span·class="go">datetime.date(2007,·7,· | 643 | <span·class="go">datetime.date(2007,·7,·30)</span> |
644 | <span·class="go">datetime.date(2002,·9,·2 | 644 | <span·class="go">datetime.date(2002,·9,·23)</span> |
645 | <span·class="go">datetime.date(2010,·4,·1 | 645 | <span·class="go">datetime.date(2010,·4,·19)</span> |
646 | </pre></div> | 646 | </pre></div> |
647 | </div> | 647 | </div> |
648 | </dd></dl> | 648 | </dd></dl> |
649 | <dl·class="py·method"> | 649 | <dl·class="py·method"> |
650 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.uz_UZ.Provider.date_between_dates"> | 650 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.uz_UZ.Provider.date_between_dates"> |
651 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.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.uz_UZ.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> | 651 | <span·class="sig-name·descname"><span·class="pre">date_between_dates</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">date_start</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.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.uz_UZ.Provider.date_between_dates"·title="Link·to·this·definition">¶</a></dt> |
Offset 665, 19 lines modified | Offset 665, 19 lines modified | ||
665 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 665 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
666 | <dd·class="field-odd"><p></p></dd> | 666 | <dd·class="field-odd"><p></p></dd> |
667 | </dl> | 667 | </dl> |
668 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 668 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
669 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 669 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
670 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> | 670 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between_dates</span><span·class="p">()</span> |
671 | <span·class="gp">...</span> | 671 | <span·class="gp">...</span> |
672 | <span·class="go">datetime.date(2024,·12,·1 | 672 | <span·class="go">datetime.date(2024,·12,·17)</span> |
673 | <span·class="go">datetime.date(2024,·12,·1 | 673 | <span·class="go">datetime.date(2024,·12,·17)</span> |
674 | <span·class="go">datetime.date(2024,·12,·1 | 674 | <span·class="go">datetime.date(2024,·12,·17)</span> |
675 | <span·class="go">datetime.date(2024,·12,·1 | 675 | <span·class="go">datetime.date(2024,·12,·17)</span> |
676 | <span·class="go">datetime.date(2024,·12,·1 | 676 | <span·class="go">datetime.date(2024,·12,·17)</span> |
677 | </pre></div> | 677 | </pre></div> |
678 | </div> | 678 | </div> |
679 | </dd></dl> | 679 | </dd></dl> |
680 | <dl·class="py·method"> | 680 | <dl·class="py·method"> |
681 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.uz_UZ.Provider.date_object"> | 681 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.uz_UZ.Provider.date_object"> |
682 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.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.uz_UZ.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> | 682 | <span·class="sig-name·descname"><span·class="pre">date_object</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">end_datetime</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.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.uz_UZ.Provider.date_object"·title="Link·to·this·definition">¶</a></dt> |
Offset 689, 15 lines modified | Offset 689, 15 lines modified | ||
689 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 689 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
690 | <dd·class="field-even"><p></p></dd> | 690 | <dd·class="field-even"><p></p></dd> |
691 | </dl> | 691 | </dl> |
692 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 692 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
693 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 693 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
694 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 694 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
695 | <span·class="gp">...</span> | 695 | <span·class="gp">...</span> |
696 | <span·class="go">datetime.date(2016,·5,· | 696 | <span·class="go">datetime.date(2016,·5,·30)</span> |
697 | <span·class="go">datetime.date(2011,·8,·29)</span> | 697 | <span·class="go">datetime.date(2011,·8,·29)</span> |
698 | <span·class="go">datetime.date(1993,·2,·11)</span> | 698 | <span·class="go">datetime.date(1993,·2,·11)</span> |
699 | <span·class="go">datetime.date(1984,·3,·25)</span> | 699 | <span·class="go">datetime.date(1984,·3,·25)</span> |
700 | <span·class="go">datetime.date(1998,·2,·6)</span> | 700 | <span·class="go">datetime.date(1998,·2,·6)</span> |
701 | </pre></div> | 701 | </pre></div> |
702 | </div> | 702 | </div> |
703 | </dd></dl> | 703 | </dd></dl> |
Offset 725, 19 lines modified | Offset 725, 19 lines modified | ||
725 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 725 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
726 | <dd·class="field-even"><p></p></dd> | 726 | <dd·class="field-even"><p></p></dd> |
727 | </dl> | 727 | </dl> |
728 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 728 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
729 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 729 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
730 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 730 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
731 | <span·class="gp">...</span> | 731 | <span·class="gp">...</span> |
732 | <span·class="go">datetime.date(2006,·11,· | 732 | <span·class="go">datetime.date(2006,·11,·30)</span> |
733 | <span·class="go">datetime.date(1996,·11,·1 | 733 | <span·class="go">datetime.date(1996,·11,·18)</span> |
734 | <span·class="go">datetime.date(1957,·9,· | 734 | <span·class="go">datetime.date(1957,·9,·30)</span> |
735 | <span·class="go">datetime.date(1938,·12,· | 735 | <span·class="go">datetime.date(1938,·12,·30)</span> |
736 | <span·class="go">datetime.date(1968,·4,· | 736 | <span·class="go">datetime.date(1968,·4,·8)</span> |
737 | </pre></div> | 737 | </pre></div> |
738 | </div> | 738 | </div> |
739 | </dd></dl> | 739 | </dd></dl> |
740 | <dl·class="py·method"> | 740 | <dl·class="py·method"> |
741 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.uz_UZ.Provider.date_this_century"> | 741 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.uz_UZ.Provider.date_this_century"> |
742 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.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.uz_UZ.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> | 742 | <span·class="sig-name·descname"><span·class="pre">date_this_century</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">before_today</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.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.uz_UZ.Provider.date_this_century"·title="Link·to·this·definition">¶</a></dt> |
Offset 758, 19 lines modified | Offset 758, 19 lines modified | ||
758 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 758 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
759 | <dd·class="field-even"><p></p></dd> | 759 | <dd·class="field-even"><p></p></dd> |
760 | </dl> | 760 | </dl> |
761 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">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 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
762 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</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="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
763 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> | 763 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_this_century</span><span·class="p">()</span> |
764 | <span·class="gp">...</span> | 764 | <span·class="gp">...</span> |
765 | <span·class="go">datetime.date(2021,·1,·2 | 765 | <span·class="go">datetime.date(2021,·1,·28)</span> |
766 | <span·class="go">datetime.date(2018,·12,· | 766 | <span·class="go">datetime.date(2018,·12,·2)</span> |
767 | <span·class="go">datetime.date(2010,· | 767 | <span·class="go">datetime.date(2010,·7,·1)</span> |
768 | <span·class="go">datetime.date(2006,·6,·18)</span> | 768 | <span·class="go">datetime.date(2006,·6,·18)</span> |
769 | <span·class="go">datetime.date(2012,·10,· | 769 | <span·class="go">datetime.date(2012,·10,·5)</span> |
770 | </pre></div> | 770 | </pre></div> |
771 | </div> | 771 | </div> |
772 | </dd></dl> | 772 | </dd></dl> |
Max diff block lines reached; 88980/105862 bytes (84.05%) of diff not shown. |
Offset 314, 18 lines modified | Offset 314, 18 lines modified | ||
314 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 314 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
315 | ··············Examples: | 315 | ··············Examples: |
316 | ············>>>·Faker.seed(0) | 316 | ············>>>·Faker.seed(0) |
317 | ············>>>·for·_·in·range(5): | 317 | ············>>>·for·_·in·range(5): |
318 | ············...·····fake.am_pm() | 318 | ············...·····fake.am_pm() |
319 | ············... | 319 | ············... |
320 | ············'PM' | 320 | ············'PM' |
321 | ············' | 321 | ············'PM' |
322 | ············' | 322 | ············'PM' |
323 | ············' | 323 | ············'PM' |
324 | ············' | 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, 15 lines modified | Offset 345, 15 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-05- | 352 | ············'2016-05-30' |
353 | ············'2011-08-29' | 353 | ············'2011-08-29' |
354 | ············'1993-02-11' | 354 | ············'1993-02-11' |
355 | ············'1984-03-25' | 355 | ············'1984-03-25' |
356 | ············'1998-02-06' | 356 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 374 | ············datetime.date(2020,·4,·17) |
375 | ············datetime.date(2017,·9,·1 | 375 | ············datetime.date(2017,·9,·12) |
376 | ············datetime.date(2007,·7,· | 376 | ············datetime.date(2007,·7,·30) |
377 | ············datetime.date(2002,·9,·2 | 377 | ············datetime.date(2002,·9,·23) |
378 | ············datetime.date(2010,·4,·1 | 378 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 387, 29 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,·12,·1 | 394 | ············datetime.date(2024,·12,·17) |
395 | ············datetime.date(2024,·12,·1 | 395 | ············datetime.date(2024,·12,·17) |
396 | ············datetime.date(2024,·12,·1 | 396 | ············datetime.date(2024,·12,·17) |
397 | ············datetime.date(2024,·12,·1 | 397 | ············datetime.date(2024,·12,·17) |
398 | ············datetime.date(2024,·12,·1 | 398 | ············datetime.date(2024,·12,·17) |
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,·5,· | 408 | ············datetime.date(2016,·5,·30) |
409 | ············datetime.date(2011,·8,·29) | 409 | ············datetime.date(2011,·8,·29) |
410 | ············datetime.date(1993,·2,·11) | 410 | ············datetime.date(1993,·2,·11) |
411 | ············datetime.date(1984,·3,·25) | 411 | ············datetime.date(1984,·3,·25) |
412 | ············datetime.date(1998,·2,·6) | 412 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 430 | ············datetime.date(2006,·11,·30) |
431 | ············datetime.date(1996,·11,·1 | 431 | ············datetime.date(1996,·11,·18) |
432 | ············datetime.date(1957,·9,· | 432 | ············datetime.date(1957,·9,·30) |
433 | ············datetime.date(1938,·12,· | 433 | ············datetime.date(1938,·12,·30) |
434 | ············datetime.date(1968,·4,· | 434 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 452 | ············datetime.date(2021,·1,·28) |
453 | ············datetime.date(2018,·12,· | 453 | ············datetime.date(2018,·12,·2) |
454 | ············datetime.date(2010,· | 454 | ············datetime.date(2010,·7,·1) |
455 | ············datetime.date(2006,·6,·18) | 455 | ············datetime.date(2006,·6,·18) |
456 | ············datetime.date(2012,·10,· | 456 | ············datetime.date(2012,·10,·5) |
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 |
462 | ························today | 462 | ························today |
463 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 463 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 467, 19 lines modified | Offset 467, 19 lines modified | ||
467 | ··············Returns: | 467 | ··············Returns: |
468 | ··················Date | 468 | ··················Date |
Max diff block lines reached; 27368/34188 bytes (80.05%) of diff not shown. |
Offset 1091, 18 lines modified | Offset 1091, 18 lines modified | ||
1091 | <dd·class="field-odd"><p></p></dd> | 1091 | <dd·class="field-odd"><p></p></dd> |
1092 | </dl> | 1092 | </dl> |
1093 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1093 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1094 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1094 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1095 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1095 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1096 | <span·class="gp">...</span> | 1096 | <span·class="gp">...</span> |
1097 | <span·class="go">'PM'</span> | 1097 | <span·class="go">'PM'</span> |
1098 | <span·class="go">' | 1098 | <span·class="go">'PM'</span> |
1099 | <span·class="go">' | 1099 | <span·class="go">'PM'</span> |
1100 | <span·class="go">' | 1100 | <span·class="go">'PM'</span> |
1101 | <span·class="go">' | 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, 15 lines modified | Offset 1143, 15 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-05- | 1150 | <span·class="go">'2016-05-30'</span> |
1151 | <span·class="go">'2011-08-29'</span> | 1151 | <span·class="go">'2011-08-29'</span> |
1152 | <span·class="go">'1993-02-11'</span> | 1152 | <span·class="go">'1993-02-11'</span> |
1153 | <span·class="go">'1984-03-25'</span> | 1153 | <span·class="go">'1984-03-25'</span> |
1154 | <span·class="go">'1998-02-06'</span> | 1154 | <span·class="go">'1998-02-06'</span> |
1155 | </pre></div> | 1155 | </pre></div> |
1156 | </div> | 1156 | </div> |
1157 | </dd></dl> | 1157 | </dd></dl> |
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,·4,·1 | 1184 | <span·class="go">datetime.date(2020,·4,·17)</span> |
1185 | <span·class="go">datetime.date(2017,·9,·1 | 1185 | <span·class="go">datetime.date(2017,·9,·12)</span> |
1186 | <span·class="go">datetime.date(2007,·7,· | 1186 | <span·class="go">datetime.date(2007,·7,·30)</span> |
1187 | <span·class="go">datetime.date(2002,·9,·2 | 1187 | <span·class="go">datetime.date(2002,·9,·23)</span> |
1188 | <span·class="go">datetime.date(2010,·4,·1 | 1188 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 1215 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1216 | <span·class="go">datetime.date(2024,·12,·1 | 1216 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1217 | <span·class="go">datetime.date(2024,·12,·1 | 1217 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1218 | <span·class="go">datetime.date(2024,·12,·1 | 1218 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1219 | <span·class="go">datetime.date(2024,·12,·1 | 1219 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 1232, 15 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,·5,· | 1239 | <span·class="go">datetime.date(2016,·5,·30)</span> |
1240 | <span·class="go">datetime.date(2011,·8,·29)</span> | 1240 | <span·class="go">datetime.date(2011,·8,·29)</span> |
1241 | <span·class="go">datetime.date(1993,·2,·11)</span> | 1241 | <span·class="go">datetime.date(1993,·2,·11)</span> |
1242 | <span·class="go">datetime.date(1984,·3,·25)</span> | 1242 | <span·class="go">datetime.date(1984,·3,·25)</span> |
1243 | <span·class="go">datetime.date(1998,·2,·6)</span> | 1243 | <span·class="go">datetime.date(1998,·2,·6)</span> |
1244 | </pre></div> | 1244 | </pre></div> |
1245 | </div> | 1245 | </div> |
1246 | </dd></dl> | 1246 | </dd></dl> |
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,·11,· | 1275 | <span·class="go">datetime.date(2006,·11,·30)</span> |
1276 | <span·class="go">datetime.date(1996,·11,·1 | 1276 | <span·class="go">datetime.date(1996,·11,·18)</span> |
1277 | <span·class="go">datetime.date(1957,·9,· | 1277 | <span·class="go">datetime.date(1957,·9,·30)</span> |
1278 | <span·class="go">datetime.date(1938,·12,· | 1278 | <span·class="go">datetime.date(1938,·12,·30)</span> |
1279 | <span·class="go">datetime.date(1968,·4,· | 1279 | <span·class="go">datetime.date(1968,·4,·8)</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(2021,·1,·2 | 1308 | <span·class="go">datetime.date(2021,·1,·28)</span> |
1309 | <span·class="go">datetime.date(2018,·12,· | 1309 | <span·class="go">datetime.date(2018,·12,·2)</span> |
1310 | <span·class="go">datetime.date(2010,· | 1310 | <span·class="go">datetime.date(2010,·7,·1)</span> |
1311 | <span·class="go">datetime.date(2006,·6,·18)</span> | 1311 | <span·class="go">datetime.date(2006,·6,·18)</span> |
1312 | <span·class="go">datetime.date(2012,·10,· | 1312 | <span·class="go">datetime.date(2012,·10,·5)</span> |
1313 | </pre></div> | 1313 | </pre></div> |
1314 | </div> | 1314 | </div> |
1315 | </dd></dl> | 1315 | </dd></dl> |
Max diff block lines reached; 88999/105895 bytes (84.04%) of diff not shown. |
Offset 618, 18 lines modified | Offset 618, 18 lines modified | ||
618 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 618 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
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 | ············'PM' | 624 | ············'PM' |
625 | ············' | 625 | ············'PM' |
626 | ············' | 626 | ············'PM' |
627 | ············' | 627 | ············'PM' |
628 | ············' | 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, 15 lines modified | Offset 649, 15 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-05- | 656 | ············'2016-05-30' |
657 | ············'2011-08-29' | 657 | ············'2011-08-29' |
658 | ············'1993-02-11' | 658 | ············'1993-02-11' |
659 | ············'1984-03-25' | 659 | ············'1984-03-25' |
660 | ············'1998-02-06' | 660 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 678 | ············datetime.date(2020,·4,·17) |
679 | ············datetime.date(2017,·9,·1 | 679 | ············datetime.date(2017,·9,·12) |
680 | ············datetime.date(2007,·7,· | 680 | ············datetime.date(2007,·7,·30) |
681 | ············datetime.date(2002,·9,·2 | 681 | ············datetime.date(2002,·9,·23) |
682 | ············datetime.date(2010,·4,·1 | 682 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 691, 29 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,·12,·1 | 698 | ············datetime.date(2024,·12,·17) |
699 | ············datetime.date(2024,·12,·1 | 699 | ············datetime.date(2024,·12,·17) |
700 | ············datetime.date(2024,·12,·1 | 700 | ············datetime.date(2024,·12,·17) |
701 | ············datetime.date(2024,·12,·1 | 701 | ············datetime.date(2024,·12,·17) |
702 | ············datetime.date(2024,·12,·1 | 702 | ············datetime.date(2024,·12,·17) |
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,·5,· | 712 | ············datetime.date(2016,·5,·30) |
713 | ············datetime.date(2011,·8,·29) | 713 | ············datetime.date(2011,·8,·29) |
714 | ············datetime.date(1993,·2,·11) | 714 | ············datetime.date(1993,·2,·11) |
715 | ············datetime.date(1984,·3,·25) | 715 | ············datetime.date(1984,·3,·25) |
716 | ············datetime.date(1998,·2,·6) | 716 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 734 | ············datetime.date(2006,·11,·30) |
735 | ············datetime.date(1996,·11,·1 | 735 | ············datetime.date(1996,·11,·18) |
736 | ············datetime.date(1957,·9,· | 736 | ············datetime.date(1957,·9,·30) |
737 | ············datetime.date(1938,·12,· | 737 | ············datetime.date(1938,·12,·30) |
738 | ············datetime.date(1968,·4,· | 738 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 756 | ············datetime.date(2021,·1,·28) |
757 | ············datetime.date(2018,·12,· | 757 | ············datetime.date(2018,·12,·2) |
758 | ············datetime.date(2010,· | 758 | ············datetime.date(2010,·7,·1) |
759 | ············datetime.date(2006,·6,·18) | 759 | ············datetime.date(2006,·6,·18) |
760 | ············datetime.date(2012,·10,· | 760 | ············datetime.date(2012,·10,·5) |
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 |
766 | ························today | 766 | ························today |
767 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 767 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 771, 19 lines modified | Offset 771, 19 lines modified | ||
771 | ··············Returns: | 771 | ··············Returns: |
772 | ··················Date | 772 | ··················Date |
Max diff block lines reached; 27377/34197 bytes (80.06%) of diff not shown. |
Offset 877, 18 lines modified | Offset 877, 18 lines modified | ||
877 | <dd·class="field-odd"><p></p></dd> | 877 | <dd·class="field-odd"><p></p></dd> |
878 | </dl> | 878 | </dl> |
879 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 879 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
880 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 880 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
881 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 881 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
882 | <span·class="gp">...</span> | 882 | <span·class="gp">...</span> |
883 | <span·class="go">'PM'</span> | 883 | <span·class="go">'PM'</span> |
884 | <span·class="go">' | 884 | <span·class="go">'PM'</span> |
885 | <span·class="go">' | 885 | <span·class="go">'PM'</span> |
886 | <span·class="go">' | 886 | <span·class="go">'PM'</span> |
887 | <span·class="go">' | 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, 15 lines modified | Offset 929, 15 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-05- | 936 | <span·class="go">'2016-05-30'</span> |
937 | <span·class="go">'2011-08-29'</span> | 937 | <span·class="go">'2011-08-29'</span> |
938 | <span·class="go">'1993-02-11'</span> | 938 | <span·class="go">'1993-02-11'</span> |
939 | <span·class="go">'1984-03-25'</span> | 939 | <span·class="go">'1984-03-25'</span> |
940 | <span·class="go">'1998-02-06'</span> | 940 | <span·class="go">'1998-02-06'</span> |
941 | </pre></div> | 941 | </pre></div> |
942 | </div> | 942 | </div> |
943 | </dd></dl> | 943 | </dd></dl> |
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,·4,·1 | 970 | <span·class="go">datetime.date(2020,·4,·17)</span> |
971 | <span·class="go">datetime.date(2017,·9,·1 | 971 | <span·class="go">datetime.date(2017,·9,·12)</span> |
972 | <span·class="go">datetime.date(2007,·7,· | 972 | <span·class="go">datetime.date(2007,·7,·30)</span> |
973 | <span·class="go">datetime.date(2002,·9,·2 | 973 | <span·class="go">datetime.date(2002,·9,·23)</span> |
974 | <span·class="go">datetime.date(2010,·4,·1 | 974 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 1001 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1002 | <span·class="go">datetime.date(2024,·12,·1 | 1002 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1003 | <span·class="go">datetime.date(2024,·12,·1 | 1003 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1004 | <span·class="go">datetime.date(2024,·12,·1 | 1004 | <span·class="go">datetime.date(2024,·12,·17)</span> |
1005 | <span·class="go">datetime.date(2024,·12,·1 | 1005 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 1018, 15 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,·5,· | 1025 | <span·class="go">datetime.date(2016,·5,·30)</span> |
1026 | <span·class="go">datetime.date(2011,·8,·29)</span> | 1026 | <span·class="go">datetime.date(2011,·8,·29)</span> |
1027 | <span·class="go">datetime.date(1993,·2,·11)</span> | 1027 | <span·class="go">datetime.date(1993,·2,·11)</span> |
1028 | <span·class="go">datetime.date(1984,·3,·25)</span> | 1028 | <span·class="go">datetime.date(1984,·3,·25)</span> |
1029 | <span·class="go">datetime.date(1998,·2,·6)</span> | 1029 | <span·class="go">datetime.date(1998,·2,·6)</span> |
1030 | </pre></div> | 1030 | </pre></div> |
1031 | </div> | 1031 | </div> |
1032 | </dd></dl> | 1032 | </dd></dl> |
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,·11,· | 1061 | <span·class="go">datetime.date(2006,·11,·30)</span> |
1062 | <span·class="go">datetime.date(1996,·11,·1 | 1062 | <span·class="go">datetime.date(1996,·11,·18)</span> |
1063 | <span·class="go">datetime.date(1957,·9,· | 1063 | <span·class="go">datetime.date(1957,·9,·30)</span> |
1064 | <span·class="go">datetime.date(1938,·12,· | 1064 | <span·class="go">datetime.date(1938,·12,·30)</span> |
1065 | <span·class="go">datetime.date(1968,·4,· | 1065 | <span·class="go">datetime.date(1968,·4,·8)</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(2021,·1,·2 | 1094 | <span·class="go">datetime.date(2021,·1,·28)</span> |
1095 | <span·class="go">datetime.date(2018,·12,· | 1095 | <span·class="go">datetime.date(2018,·12,·2)</span> |
1096 | <span·class="go">datetime.date(2010,· | 1096 | <span·class="go">datetime.date(2010,·7,·1)</span> |
1097 | <span·class="go">datetime.date(2006,·6,·18)</span> | 1097 | <span·class="go">datetime.date(2006,·6,·18)</span> |
1098 | <span·class="go">datetime.date(2012,·10,· | 1098 | <span·class="go">datetime.date(2012,·10,·5)</span> |
1099 | </pre></div> | 1099 | </pre></div> |
1100 | </div> | 1100 | </div> |
1101 | </dd></dl> | 1101 | </dd></dl> |
Max diff block lines reached; 90383/107271 bytes (84.26%) of diff not shown. |
Offset 502, 18 lines modified | Offset 502, 18 lines modified | ||
502 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 502 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
503 | ··············Examples: | 503 | ··············Examples: |
504 | ············>>>·Faker.seed(0) | 504 | ············>>>·Faker.seed(0) |
505 | ············>>>·for·_·in·range(5): | 505 | ············>>>·for·_·in·range(5): |
506 | ············...·····fake.am_pm() | 506 | ············...·····fake.am_pm() |
507 | ············... | 507 | ············... |
508 | ············'PM' | 508 | ············'PM' |
509 | ············' | 509 | ············'PM' |
510 | ············' | 510 | ············'PM' |
511 | ············' | 511 | ············'PM' |
512 | ············' | 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, 15 lines modified | Offset 533, 15 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-05- | 540 | ············'2016-05-30' |
541 | ············'2011-08-29' | 541 | ············'2011-08-29' |
542 | ············'1993-02-11' | 542 | ············'1993-02-11' |
543 | ············'1984-03-25' | 543 | ············'1984-03-25' |
544 | ············'1998-02-06' | 544 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 562 | ············datetime.date(2020,·4,·17) |
563 | ············datetime.date(2017,·9,·1 | 563 | ············datetime.date(2017,·9,·12) |
564 | ············datetime.date(2007,·7,· | 564 | ············datetime.date(2007,·7,·30) |
565 | ············datetime.date(2002,·9,·2 | 565 | ············datetime.date(2002,·9,·23) |
566 | ············datetime.date(2010,·4,·1 | 566 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 575, 29 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,·12,·1 | 582 | ············datetime.date(2024,·12,·17) |
583 | ············datetime.date(2024,·12,·1 | 583 | ············datetime.date(2024,·12,·17) |
584 | ············datetime.date(2024,·12,·1 | 584 | ············datetime.date(2024,·12,·17) |
585 | ············datetime.date(2024,·12,·1 | 585 | ············datetime.date(2024,·12,·17) |
586 | ············datetime.date(2024,·12,·1 | 586 | ············datetime.date(2024,·12,·17) |
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,·5,· | 596 | ············datetime.date(2016,·5,·30) |
597 | ············datetime.date(2011,·8,·29) | 597 | ············datetime.date(2011,·8,·29) |
598 | ············datetime.date(1993,·2,·11) | 598 | ············datetime.date(1993,·2,·11) |
599 | ············datetime.date(1984,·3,·25) | 599 | ············datetime.date(1984,·3,·25) |
600 | ············datetime.date(1998,·2,·6) | 600 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 618 | ············datetime.date(2006,·11,·30) |
619 | ············datetime.date(1996,·11,·1 | 619 | ············datetime.date(1996,·11,·18) |
620 | ············datetime.date(1957,·9,· | 620 | ············datetime.date(1957,·9,·30) |
621 | ············datetime.date(1938,·12,· | 621 | ············datetime.date(1938,·12,·30) |
622 | ············datetime.date(1968,·4,· | 622 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 640 | ············datetime.date(2021,·1,·28) |
641 | ············datetime.date(2018,·12,· | 641 | ············datetime.date(2018,·12,·2) |
642 | ············datetime.date(2010,· | 642 | ············datetime.date(2010,·7,·1) |
643 | ············datetime.date(2006,·6,·18) | 643 | ············datetime.date(2006,·6,·18) |
644 | ············datetime.date(2012,·10,· | 644 | ············datetime.date(2012,·10,·5) |
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 |
650 | ························today | 650 | ························today |
651 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 651 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 655, 19 lines modified | Offset 655, 19 lines modified | ||
655 | ··············Returns: | 655 | ··············Returns: |
656 | ··················Date | 656 | ··················Date |
Max diff block lines reached; 28604/35424 bytes (80.75%) of diff not shown. |
Offset 605, 18 lines modified | Offset 605, 18 lines modified | ||
605 | <dd·class="field-odd"><p></p></dd> | 605 | <dd·class="field-odd"><p></p></dd> |
606 | </dl> | 606 | </dl> |
607 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 607 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
608 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 608 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
609 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 609 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
610 | <span·class="gp">...</span> | 610 | <span·class="gp">...</span> |
611 | <span·class="go">'PM'</span> | 611 | <span·class="go">'PM'</span> |
612 | <span·class="go">' | 612 | <span·class="go">'PM'</span> |
613 | <span·class="go">' | 613 | <span·class="go">'PM'</span> |
614 | <span·class="go">' | 614 | <span·class="go">'PM'</span> |
615 | <span·class="go">' | 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, 15 lines modified | Offset 657, 15 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-05- | 664 | <span·class="go">'2016-05-30'</span> |
665 | <span·class="go">'2011-08-29'</span> | 665 | <span·class="go">'2011-08-29'</span> |
666 | <span·class="go">'1993-02-11'</span> | 666 | <span·class="go">'1993-02-11'</span> |
667 | <span·class="go">'1984-03-25'</span> | 667 | <span·class="go">'1984-03-25'</span> |
668 | <span·class="go">'1998-02-06'</span> | 668 | <span·class="go">'1998-02-06'</span> |
669 | </pre></div> | 669 | </pre></div> |
670 | </div> | 670 | </div> |
671 | </dd></dl> | 671 | </dd></dl> |
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,·4,·1 | 698 | <span·class="go">datetime.date(2020,·4,·17)</span> |
699 | <span·class="go">datetime.date(2017,·9,·1 | 699 | <span·class="go">datetime.date(2017,·9,·12)</span> |
700 | <span·class="go">datetime.date(2007,·7,· | 700 | <span·class="go">datetime.date(2007,·7,·30)</span> |
701 | <span·class="go">datetime.date(2002,·9,·2 | 701 | <span·class="go">datetime.date(2002,·9,·23)</span> |
702 | <span·class="go">datetime.date(2010,·4,·1 | 702 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 729 | <span·class="go">datetime.date(2024,·12,·17)</span> |
730 | <span·class="go">datetime.date(2024,·12,·1 | 730 | <span·class="go">datetime.date(2024,·12,·17)</span> |
731 | <span·class="go">datetime.date(2024,·12,·1 | 731 | <span·class="go">datetime.date(2024,·12,·17)</span> |
732 | <span·class="go">datetime.date(2024,·12,·1 | 732 | <span·class="go">datetime.date(2024,·12,·17)</span> |
733 | <span·class="go">datetime.date(2024,·12,·1 | 733 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 746, 15 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,·5,· | 753 | <span·class="go">datetime.date(2016,·5,·30)</span> |
754 | <span·class="go">datetime.date(2011,·8,·29)</span> | 754 | <span·class="go">datetime.date(2011,·8,·29)</span> |
755 | <span·class="go">datetime.date(1993,·2,·11)</span> | 755 | <span·class="go">datetime.date(1993,·2,·11)</span> |
756 | <span·class="go">datetime.date(1984,·3,·25)</span> | 756 | <span·class="go">datetime.date(1984,·3,·25)</span> |
757 | <span·class="go">datetime.date(1998,·2,·6)</span> | 757 | <span·class="go">datetime.date(1998,·2,·6)</span> |
758 | </pre></div> | 758 | </pre></div> |
759 | </div> | 759 | </div> |
760 | </dd></dl> | 760 | </dd></dl> |
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,·11,· | 789 | <span·class="go">datetime.date(2006,·11,·30)</span> |
790 | <span·class="go">datetime.date(1996,·11,·1 | 790 | <span·class="go">datetime.date(1996,·11,·18)</span> |
791 | <span·class="go">datetime.date(1957,·9,· | 791 | <span·class="go">datetime.date(1957,·9,·30)</span> |
792 | <span·class="go">datetime.date(1938,·12,· | 792 | <span·class="go">datetime.date(1938,·12,·30)</span> |
793 | <span·class="go">datetime.date(1968,·4,· | 793 | <span·class="go">datetime.date(1968,·4,·8)</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(2021,·1,·2 | 822 | <span·class="go">datetime.date(2021,·1,·28)</span> |
823 | <span·class="go">datetime.date(2018,·12,· | 823 | <span·class="go">datetime.date(2018,·12,·2)</span> |
824 | <span·class="go">datetime.date(2010,· | 824 | <span·class="go">datetime.date(2010,·7,·1)</span> |
825 | <span·class="go">datetime.date(2006,·6,·18)</span> | 825 | <span·class="go">datetime.date(2006,·6,·18)</span> |
826 | <span·class="go">datetime.date(2012,·10,· | 826 | <span·class="go">datetime.date(2012,·10,·5)</span> |
827 | </pre></div> | 827 | </pre></div> |
828 | </div> | 828 | </div> |
829 | </dd></dl> | 829 | </dd></dl> |
Max diff block lines reached; 88987/105869 bytes (84.05%) of diff not shown. |
Offset 314, 18 lines modified | Offset 314, 18 lines modified | ||
314 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 314 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
315 | ··············Examples: | 315 | ··············Examples: |
316 | ············>>>·Faker.seed(0) | 316 | ············>>>·Faker.seed(0) |
317 | ············>>>·for·_·in·range(5): | 317 | ············>>>·for·_·in·range(5): |
318 | ············...·····fake.am_pm() | 318 | ············...·····fake.am_pm() |
319 | ············... | 319 | ············... |
320 | ············'PM' | 320 | ············'PM' |
321 | ············' | 321 | ············'PM' |
322 | ············' | 322 | ············'PM' |
323 | ············' | 323 | ············'PM' |
324 | ············' | 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, 15 lines modified | Offset 345, 15 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-05- | 352 | ············'2016-05-30' |
353 | ············'2011-08-29' | 353 | ············'2011-08-29' |
354 | ············'1993-02-11' | 354 | ············'1993-02-11' |
355 | ············'1984-03-25' | 355 | ············'1984-03-25' |
356 | ············'1998-02-06' | 356 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 374 | ············datetime.date(2020,·4,·17) |
375 | ············datetime.date(2017,·9,·1 | 375 | ············datetime.date(2017,·9,·12) |
376 | ············datetime.date(2007,·7,· | 376 | ············datetime.date(2007,·7,·30) |
377 | ············datetime.date(2002,·9,·2 | 377 | ············datetime.date(2002,·9,·23) |
378 | ············datetime.date(2010,·4,·1 | 378 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 387, 29 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,·12,·1 | 394 | ············datetime.date(2024,·12,·17) |
395 | ············datetime.date(2024,·12,·1 | 395 | ············datetime.date(2024,·12,·17) |
396 | ············datetime.date(2024,·12,·1 | 396 | ············datetime.date(2024,·12,·17) |
397 | ············datetime.date(2024,·12,·1 | 397 | ············datetime.date(2024,·12,·17) |
398 | ············datetime.date(2024,·12,·1 | 398 | ············datetime.date(2024,·12,·17) |
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,·5,· | 408 | ············datetime.date(2016,·5,·30) |
409 | ············datetime.date(2011,·8,·29) | 409 | ············datetime.date(2011,·8,·29) |
410 | ············datetime.date(1993,·2,·11) | 410 | ············datetime.date(1993,·2,·11) |
411 | ············datetime.date(1984,·3,·25) | 411 | ············datetime.date(1984,·3,·25) |
412 | ············datetime.date(1998,·2,·6) | 412 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 430 | ············datetime.date(2006,·11,·30) |
431 | ············datetime.date(1996,·11,·1 | 431 | ············datetime.date(1996,·11,·18) |
432 | ············datetime.date(1957,·9,· | 432 | ············datetime.date(1957,·9,·30) |
433 | ············datetime.date(1938,·12,· | 433 | ············datetime.date(1938,·12,·30) |
434 | ············datetime.date(1968,·4,· | 434 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 452 | ············datetime.date(2021,·1,·28) |
453 | ············datetime.date(2018,·12,· | 453 | ············datetime.date(2018,·12,·2) |
454 | ············datetime.date(2010,· | 454 | ············datetime.date(2010,·7,·1) |
455 | ············datetime.date(2006,·6,·18) | 455 | ············datetime.date(2006,·6,·18) |
456 | ············datetime.date(2012,·10,· | 456 | ············datetime.date(2012,·10,·5) |
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 |
462 | ························today | 462 | ························today |
463 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 463 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 467, 19 lines modified | Offset 467, 19 lines modified | ||
467 | ··············Returns: | 467 | ··············Returns: |
468 | ··················Date | 468 | ··················Date |
Max diff block lines reached; 27366/34186 bytes (80.05%) of diff not shown. |
Offset 55, 18 lines modified | Offset 55, 18 lines modified | ||
55 | <dd·class="field-odd"><p></p></dd> | 55 | <dd·class="field-odd"><p></p></dd> |
56 | </dl> | 56 | </dl> |
57 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 57 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
58 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 58 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
59 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 59 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
60 | <span·class="gp">...</span> | 60 | <span·class="gp">...</span> |
61 | <span·class="go">'PM'</span> | 61 | <span·class="go">'PM'</span> |
62 | <span·class="go">' | 62 | <span·class="go">'PM'</span> |
63 | <span·class="go">' | 63 | <span·class="go">'PM'</span> |
64 | <span·class="go">' | 64 | <span·class="go">'PM'</span> |
65 | <span·class="go">' | 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, 15 lines modified | Offset 107, 15 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-05- | 114 | <span·class="go">'2016-05-30'</span> |
115 | <span·class="go">'2011-08-29'</span> | 115 | <span·class="go">'2011-08-29'</span> |
116 | <span·class="go">'1993-02-11'</span> | 116 | <span·class="go">'1993-02-11'</span> |
117 | <span·class="go">'1984-03-25'</span> | 117 | <span·class="go">'1984-03-25'</span> |
118 | <span·class="go">'1998-02-06'</span> | 118 | <span·class="go">'1998-02-06'</span> |
119 | </pre></div> | 119 | </pre></div> |
120 | </div> | 120 | </div> |
121 | </dd></dl> | 121 | </dd></dl> |
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,·4,·1 | 148 | <span·class="go">datetime.date(2020,·4,·17)</span> |
149 | <span·class="go">datetime.date(2017,·9,·1 | 149 | <span·class="go">datetime.date(2017,·9,·12)</span> |
150 | <span·class="go">datetime.date(2007,·7,· | 150 | <span·class="go">datetime.date(2007,·7,·30)</span> |
151 | <span·class="go">datetime.date(2002,·9,·2 | 151 | <span·class="go">datetime.date(2002,·9,·23)</span> |
152 | <span·class="go">datetime.date(2010,·4,·1 | 152 | <span·class="go">datetime.date(2010,·4,·19)</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,·12,·1 | 179 | <span·class="go">datetime.date(2024,·12,·17)</span> |
180 | <span·class="go">datetime.date(2024,·12,·1 | 180 | <span·class="go">datetime.date(2024,·12,·17)</span> |
181 | <span·class="go">datetime.date(2024,·12,·1 | 181 | <span·class="go">datetime.date(2024,·12,·17)</span> |
182 | <span·class="go">datetime.date(2024,·12,·1 | 182 | <span·class="go">datetime.date(2024,·12,·17)</span> |
183 | <span·class="go">datetime.date(2024,·12,·1 | 183 | <span·class="go">datetime.date(2024,·12,·17)</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, 15 lines modified | Offset 196, 15 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,·5,· | 203 | <span·class="go">datetime.date(2016,·5,·30)</span> |
204 | <span·class="go">datetime.date(2011,·8,·29)</span> | 204 | <span·class="go">datetime.date(2011,·8,·29)</span> |
205 | <span·class="go">datetime.date(1993,·2,·11)</span> | 205 | <span·class="go">datetime.date(1993,·2,·11)</span> |
206 | <span·class="go">datetime.date(1984,·3,·25)</span> | 206 | <span·class="go">datetime.date(1984,·3,·25)</span> |
207 | <span·class="go">datetime.date(1998,·2,·6)</span> | 207 | <span·class="go">datetime.date(1998,·2,·6)</span> |
208 | </pre></div> | 208 | </pre></div> |
209 | </div> | 209 | </div> |
210 | </dd></dl> | 210 | </dd></dl> |
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,·11,· | 239 | <span·class="go">datetime.date(2006,·11,·30)</span> |
240 | <span·class="go">datetime.date(1996,·11,·1 | 240 | <span·class="go">datetime.date(1996,·11,·18)</span> |
241 | <span·class="go">datetime.date(1957,·9,· | 241 | <span·class="go">datetime.date(1957,·9,·30)</span> |
242 | <span·class="go">datetime.date(1938,·12,· | 242 | <span·class="go">datetime.date(1938,·12,·30)</span> |
243 | <span·class="go">datetime.date(1968,·4,· | 243 | <span·class="go">datetime.date(1968,·4,·8)</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(2021,·1,·2 | 272 | <span·class="go">datetime.date(2021,·1,·28)</span> |
273 | <span·class="go">datetime.date(2018,·12,· | 273 | <span·class="go">datetime.date(2018,·12,·2)</span> |
274 | <span·class="go">datetime.date(2010,· | 274 | <span·class="go">datetime.date(2010,·7,·1)</span> |
275 | <span·class="go">datetime.date(2006,·6,·18)</span> | 275 | <span·class="go">datetime.date(2006,·6,·18)</span> |
276 | <span·class="go">datetime.date(2012,·10,· | 276 | <span·class="go">datetime.date(2012,·10,·5)</span> |
277 | </pre></div> | 277 | </pre></div> |
278 | </div> | 278 | </div> |
279 | </dd></dl> | 279 | </dd></dl> |
Max diff block lines reached; 88692/105524 bytes (84.05%) of diff not shown. |
Offset 11, 18 lines modified | Offset 11, 18 lines modified | ||
11 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ | 11 | ········am_pm()·→·_\x8s_\x8t_\x8r_\x8¶ |
12 | ··············Examples: | 12 | ··············Examples: |
13 | ············>>>·Faker.seed(0) | 13 | ············>>>·Faker.seed(0) |
14 | ············>>>·for·_·in·range(5): | 14 | ············>>>·for·_·in·range(5): |
15 | ············...·····fake.am_pm() | 15 | ············...·····fake.am_pm() |
16 | ············... | 16 | ············... |
17 | ············'PM' | 17 | ············'PM' |
18 | ············' | 18 | ············'PM' |
19 | ············' | 19 | ············'PM' |
20 | ············' | 20 | ············'PM' |
21 | ············' | 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, 15 lines modified | Offset 42, 15 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-05- | 49 | ············'2016-05-30' |
50 | ············'2011-08-29' | 50 | ············'2011-08-29' |
51 | ············'1993-02-11' | 51 | ············'1993-02-11' |
52 | ············'1984-03-25' | 52 | ············'1984-03-25' |
53 | ············'1998-02-06' | 53 | ············'1998-02-06' |
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¶ |
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,·4,·1 | 71 | ············datetime.date(2020,·4,·17) |
72 | ············datetime.date(2017,·9,·1 | 72 | ············datetime.date(2017,·9,·12) |
73 | ············datetime.date(2007,·7,· | 73 | ············datetime.date(2007,·7,·30) |
74 | ············datetime.date(2002,·9,·2 | 74 | ············datetime.date(2002,·9,·23) |
75 | ············datetime.date(2010,·4,·1 | 75 | ············datetime.date(2010,·4,·19) |
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, 29 lines modified | Offset 84, 29 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,·12,·1 | 91 | ············datetime.date(2024,·12,·17) |
92 | ············datetime.date(2024,·12,·1 | 92 | ············datetime.date(2024,·12,·17) |
93 | ············datetime.date(2024,·12,·1 | 93 | ············datetime.date(2024,·12,·17) |
94 | ············datetime.date(2024,·12,·1 | 94 | ············datetime.date(2024,·12,·17) |
95 | ············datetime.date(2024,·12,·1 | 95 | ············datetime.date(2024,·12,·17) |
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,·5,· | 105 | ············datetime.date(2016,·5,·30) |
106 | ············datetime.date(2011,·8,·29) | 106 | ············datetime.date(2011,·8,·29) |
107 | ············datetime.date(1993,·2,·11) | 107 | ············datetime.date(1993,·2,·11) |
108 | ············datetime.date(1984,·3,·25) | 108 | ············datetime.date(1984,·3,·25) |
109 | ············datetime.date(1998,·2,·6) | 109 | ············datetime.date(1998,·2,·6) |
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, |
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,·11,· | 127 | ············datetime.date(2006,·11,·30) |
128 | ············datetime.date(1996,·11,·1 | 128 | ············datetime.date(1996,·11,·18) |
129 | ············datetime.date(1957,·9,· | 129 | ············datetime.date(1957,·9,·30) |
130 | ············datetime.date(1938,·12,· | 130 | ············datetime.date(1938,·12,·30) |
131 | ············datetime.date(1968,·4,· | 131 | ············datetime.date(1968,·4,·8) |
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(2021,·1,·2 | 149 | ············datetime.date(2021,·1,·28) |
150 | ············datetime.date(2018,·12,· | 150 | ············datetime.date(2018,·12,·2) |
151 | ············datetime.date(2010,· | 151 | ············datetime.date(2010,·7,·1) |
152 | ············datetime.date(2006,·6,·18) | 152 | ············datetime.date(2006,·6,·18) |
153 | ············datetime.date(2012,·10,· | 153 | ············datetime.date(2012,·10,·5) |
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 |
159 | ························today | 159 | ························today |
160 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after | 160 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·decade·after |
Offset 164, 19 lines modified | Offset 164, 19 lines modified | ||
164 | ··············Returns: | 164 | ··············Returns: |
165 | ··················Date | 165 | ··················Date |
Max diff block lines reached; 27358/34170 bytes (80.06%) 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:202412170 | 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:20241217081449Z)\n/ModDate·(D:20241217081449Z)\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:202412170 | 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:20241217081449Z)\n/ModDate·(D:20241217081449Z)\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:202412170 | 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:20241217081449Z)\n/ModDate·(D:20241217081449Z)\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:202412170 | 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:20241217081449Z)\n/ModDate·(D:20241217081449Z)\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:202412170 | 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:20241217081449Z)\n/ModDate·(D:20241217081449Z)\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-27· | 739 | <span·class="go">'<?xml·version="1.0"·encoding="utf-8"?>\n<couple><son>-9787526.29318886</son><voice>1977-08-27·21:49:37.375012</voice><kitchen>NGnVZQUqLUJyfwFVYySn</kitchen><amount>2020-05-06·12:32:06.364238</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-06-0 | 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-06-05·23:15:02.707896</blood><scene>paul42@example.net</scene></rock>'</span> |
741 | <span·class="go">'<?xml·version="1.0"·encoding="utf-8"?>\n<different><lot>1985-06-09· | 741 | <span·class="go">'<?xml·version="1.0"·encoding="utf-8"?>\n<different><lot>1985-06-09·17:00:58.300674</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-2 | 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-25·05:42:22.628572</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\x00\xd9\xb1\x91Y}\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\xe[·...·truncated·by·diffoscope;·len:·1514,·SHA:·a1c4e5d397ad3c184071631c76cf7d3dbc5d02cbe62f2fc66a3712a55ec46d62·...·]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\x00\xd9\xb1\x91Y\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\x[·...·truncated·by·diffoscope;·len:·1577,·SHA:·aa5cb36b3fdec46c1e6648ddbcfa7ea98e7fef553b1133e027da6abd0917cb34·...·]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\x00\xd9\xb1\x91Y\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[·...·truncated·by·diffoscope;·len:·1581,·SHA:·8d2c76c524565c9f868334570d018c8ad45bba2cab1d23f4b3bea1d88cee1bc7·...·]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\x00\xd9\xb1\x91Y\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@\x8[·...·truncated·by·diffoscope;·len:·1579,·SHA:·df27b7685fc436809934e7edd618a8698e561a4a78a3dc4d8d1af0394c88e43f·...·]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\x00\xd9\xb1\x91YOH\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\xab[·...·truncated·by·diffoscope;·len:·1585,·SHA:·87af708f800868d56d96c3dcba7b946486c5123a221fea2631cb84726c787bb9·...·]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\x00\xd9\xb1\x91Yg#\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[·...·truncated·by·diffoscope;·len:·13632,·SHA:·de4bdef0c5c5d2ba9c22cf1d49ac65339dc383649e84fddebf9162c76ec80193·...·]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\x00\xd9\xb1\x91Y\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\x00[·...·truncated·by·diffoscope;·len:·13787,·SHA:·ff9bf615453148ca083b0a24b772b6b83ce7437106abed652dc03906408d84a9·...·]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\x00\xd9\xb1\x91Y\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\x[·...·truncated·by·diffoscope;·len:·13748,·SHA:·affbb0fe0b666f4bbf8e4a615446bbe9e1fb66eaa2690333e2521156d317ac65·...·]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\x00\xd9\xb1\x91Yi\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\x[·...·truncated·by·diffoscope;·len:·13839,·SHA:·3c5318cb989ba8e12b1012c7471d0bef287686624da882baa21a45f87b306367·...·]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\x00\xd9\xb1\x91Y\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\x[·...·truncated·by·diffoscope;·len:·13613,·SHA:·499728895d3e605ef9ee477971e311f11f3b04c2d2a3d5893e0e18801a9efd9b·...·]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 472, 15 lines modified | Offset 472, 15 lines modified | ||
472 | ············()*56789: | 472 | ············()*56789: |
473 | ············CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xcfU\n\xa1T\x00\xa0`\x01\xd0QE\x15\xf5\xc7\xb4\x7f\xff\xd9\nendstream\nendobj\n2 | 473 | ············CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xcfU\n\xa1T\x00\xa0`\x01\xd0QE\x15\xf5\xc7\xb4\x7f\xff\xd9\nendstream\nendobj\n2 |
474 | ············0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/ | 474 | ············0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/ |
475 | ············image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/ | 475 | ············image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/ |
476 | ············Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length | 476 | ············Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length |
477 | ············43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do | 477 | ············43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do |
478 | ············Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D: | 478 | ············Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D: |
479 | ············202412170 | 479 | ············20241217081449Z)\n/ModDate·(D:20241217081449Z)\n>>endobj\nxref\n0 |
480 | ············7\n0000000000·65536·f·\n0000000151·00000·n·\n0000000954·00000·n | 480 | ············7\n0000000000·65536·f·\n0000000151·00000·n·\n0000000954·00000·n |
481 | ············\n0000001112·00000·n·\n0000000047·00000·n·\n0000000094·00000·n | 481 | ············\n0000001112·00000·n·\n0000000047·00000·n·\n0000000094·00000·n |
482 | ············\n0000001203·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0 | 482 | ············\n0000001203·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0 |
483 | ············R\n>>\nstartxref\n1285\n%%EOF' | 483 | ············R\n>>\nstartxref\n1285\n%%EOF' |
484 | ············b'%PDF-1.4\n%·created·by·Pillow·10.4.0·PDF·driver\n4·0·obj<<\n/Type | 484 | ············b'%PDF-1.4\n%·created·by·Pillow·10.4.0·PDF·driver\n4·0·obj<<\n/Type |
485 | ············/Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count | 485 | ············/Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count |
486 | ············1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/ | 486 | ············1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/ |
Offset 494, 15 lines modified | Offset 494, 15 lines modified | ||
494 | ············()*56789: | 494 | ············()*56789: |
495 | ············CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xc5\x93\xfdk\xff\x00\xbch\xa2\x8a\xfd.?\n>\xa6\x1f\n?\xff\xd9\nendstream\nendobj\n2 | 495 | ············CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xc5\x93\xfdk\xff\x00\xbch\xa2\x8a\xfd.?\n>\xa6\x1f\n?\xff\xd9\nendstream\nendobj\n2 |
496 | ············0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/ | 496 | ············0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/ |
497 | ············image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/ | 497 | ············image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/ |
498 | ············Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length | 498 | ············Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length |
499 | ············43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do | 499 | ············43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do |
500 | ············Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D: | 500 | ············Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D: |
501 | ············202412170 | 501 | ············20241217081449Z)\n/ModDate·(D:20241217081449Z)\n>>endobj\nxref\n0 |
502 | ············7\n0000000000·65536·f·\n0000000151·00000·n·\n0000000956·00000·n | 502 | ············7\n0000000000·65536·f·\n0000000151·00000·n·\n0000000956·00000·n |
503 | ············\n0000001114·00000·n·\n0000000047·00000·n·\n0000000094·00000·n | 503 | ············\n0000001114·00000·n·\n0000000047·00000·n·\n0000000094·00000·n |
504 | ············\n0000001205·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0 | 504 | ············\n0000001205·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0 |
505 | ············R\n>>\nstartxref\n1287\n%%EOF' | 505 | ············R\n>>\nstartxref\n1287\n%%EOF' |
506 | ············b'%PDF-1.4\n%·created·by·Pillow·10.4.0·PDF·driver\n4·0·obj<<\n/Type | 506 | ············b'%PDF-1.4\n%·created·by·Pillow·10.4.0·PDF·driver\n4·0·obj<<\n/Type |
507 | ············/Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count | 507 | ············/Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count |
508 | ············1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/ | 508 | ············1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/ |
Offset 516, 15 lines modified | Offset 516, 15 lines modified | ||
516 | ············()*56789: | 516 | ············()*56789: |
517 | ············CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xabE\x14W\xd7\x9e\xb1\xff\xd9\nendstream\nendobj\n2 | 517 | ············CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xabE\x14W\xd7\x9e\xb1\xff\xd9\nendstream\nendobj\n2 |
518 | ············0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/ | 518 | ············0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/ |
519 | ············image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/ | 519 | ············image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/ |
520 | ············Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length | 520 | ············Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length |
521 | ············43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do | 521 | ············43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do |
522 | ············Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D: | 522 | ············Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D: |
523 | ············202412170 | 523 | ············20241217081449Z)\n/ModDate·(D:20241217081449Z)\n>>endobj\nxref\n0 |
524 | ············7\n0000000000·65536·f·\n0000000151·00000·n·\n0000000944·00000·n | 524 | ············7\n0000000000·65536·f·\n0000000151·00000·n·\n0000000944·00000·n |
525 | ············\n0000001102·00000·n·\n0000000047·00000·n·\n0000000094·00000·n | 525 | ············\n0000001102·00000·n·\n0000000047·00000·n·\n0000000094·00000·n |
526 | ············\n0000001193·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0 | 526 | ············\n0000001193·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0 |
527 | ············R\n>>\nstartxref\n1275\n%%EOF' | 527 | ············R\n>>\nstartxref\n1275\n%%EOF' |
528 | ············b'%PDF-1.4\n%·created·by·Pillow·10.4.0·PDF·driver\n4·0·obj<<\n/Type | 528 | ············b'%PDF-1.4\n%·created·by·Pillow·10.4.0·PDF·driver\n4·0·obj<<\n/Type |
529 | ············/Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count | 529 | ············/Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count |
530 | ············1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/ | 530 | ············1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/ |
Offset 538, 15 lines modified | Offset 538, 15 lines modified | ||
538 | ············()*56789: | 538 | ············()*56789: |
539 | ············CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xc6\xa2\x8a+\xea\x0fh\xff\xd9\nendstream\nendobj\n2 | 539 | ············CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xc6\xa2\x8a+\xea\x0fh\xff\xd9\nendstream\nendobj\n2 |
540 | ············0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/ | 540 | ············0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/ |
541 | ············image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/ | 541 | ············image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/ |
542 | ············Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length | 542 | ············Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length |
543 | ············43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do | 543 | ············43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do |
544 | ············Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D: | 544 | ············Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D: |
545 | ············202412170 | 545 | ············20241217081449Z)\n/ModDate·(D:20241217081449Z)\n>>endobj\nxref\n0 |
546 | ············7\n0000000000·65536·f·\n0000000151·00000·n·\n0000000944·00000·n | 546 | ············7\n0000000000·65536·f·\n0000000151·00000·n·\n0000000944·00000·n |
547 | ············\n0000001102·00000·n·\n0000000047·00000·n·\n0000000094·00000·n | 547 | ············\n0000001102·00000·n·\n0000000047·00000·n·\n0000000094·00000·n |
548 | ············\n0000001193·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0 | 548 | ············\n0000001193·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0 |
549 | ············R\n>>\nstartxref\n1275\n%%EOF' | 549 | ············R\n>>\nstartxref\n1275\n%%EOF' |
550 | ············b'%PDF-1.4\n%·created·by·Pillow·10.4.0·PDF·driver\n4·0·obj<<\n/Type | 550 | ············b'%PDF-1.4\n%·created·by·Pillow·10.4.0·PDF·driver\n4·0·obj<<\n/Type |
551 | ············/Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count | 551 | ············/Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count |
552 | ············1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/ | 552 | ············1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/ |
Offset 560, 15 lines modified | Offset 560, 15 lines modified | ||
560 | ············()*56789: | 560 | ············()*56789: |
561 | ············CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xe1\xe8\xa2\x8a\xfd\x1c\xfa#\xff\xd9\nendstream\nendobj\n2 | 561 | ············CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xe1\xe8\xa2\x8a\xfd\x1c\xfa#\xff\xd9\nendstream\nendobj\n2 |
562 | ············0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/ | 562 | ············0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/ |
563 | ············image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/ | 563 | ············image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/ |
564 | ············Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length | 564 | ············Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length |
565 | ············43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do | 565 | ············43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do |
566 | ············Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D: | 566 | ············Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D: |
567 | ············202412170 | 567 | ············20241217081449Z)\n/ModDate·(D:20241217081449Z)\n>>endobj\nxref\n0 |
568 | ············7\n0000000000·65536·f·\n0000000151·00000·n·\n0000000945·00000·n | 568 | ············7\n0000000000·65536·f·\n0000000151·00000·n·\n0000000945·00000·n |
569 | ············\n0000001103·00000·n·\n0000000047·00000·n·\n0000000094·00000·n | 569 | ············\n0000001103·00000·n·\n0000000047·00000·n·\n0000000094·00000·n |
570 | ············\n0000001194·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0 | 570 | ············\n0000001194·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0 |
571 | ············R\n>>\nstartxref\n1276\n%%EOF' | 571 | ············R\n>>\nstartxref\n1276\n%%EOF' |
572 | ············>>>·Faker.seed(0) | 572 | ············>>>·Faker.seed(0) |
573 | ············>>>·for·_·in·range(5): | 573 | ············>>>·for·_·in·range(5): |
574 | ············...·····fake.image(size=(16,·16),·hue=[90,·270], | 574 | ············...·····fake.image(size=(16,·16),·hue=[90,·270], |
Offset 1432, 42 lines modified | Offset 1432, 42 lines modified | ||
1432 | ············Note:·this·provider·required·xmltodict·library·installed | 1432 | ············Note:·this·provider·required·xmltodict·library·installed |
1433 | ··············Examples: | 1433 | ··············Examples: |
1434 | ············>>>·Faker.seed(0) | 1434 | ············>>>·Faker.seed(0) |
1435 | ············>>>·for·_·in·range(5): | 1435 | ············>>>·for·_·in·range(5): |
1436 | ············...·····fake.xml() | 1436 | ············...·····fake.xml() |
1437 | ············... | 1437 | ············... |
1438 | ············'<?xml·version="1.0"·encoding="utf-8"?>\n<couple><son>- | 1438 | ············'<?xml·version="1.0"·encoding="utf-8"?>\n<couple><son>- |
1439 | ············9787526.29318886</son><voice>1977-08-27· | 1439 | ············9787526.29318886</son><voice>1977-08-27·21:49:37.375012</ |
1440 | ············voice><kitchen>NGnVZQUqLUJyfwFVYySn</kitchen><amount>2020-05-0 | 1440 | ············voice><kitchen>NGnVZQUqLUJyfwFVYySn</kitchen><amount>2020-05-06·12: |
1441 | ············ | 1441 | ············32:06.364238</amount><event>LuQIazTmqTjDmYPxeqAW</ |
1442 | ············event><much>ppgrVkPCoePqmjQbZndJ</ | 1442 | ············event><much>ppgrVkPCoePqmjQbZndJ</ |
1443 | ············much><mention>TWRUWCuKoQSUEXExIZVP</ | 1443 | ············much><mention>TWRUWCuKoQSUEXExIZVP</ |
1444 | ············mention><interview>qfErjaoKtiwdOSlQGWFd</ | 1444 | ············mention><interview>qfErjaoKtiwdOSlQGWFd</ |
1445 | ············interview><why>HFDutYbbXjgkPWbwfnlH</why><step>7144</step></ | 1445 | ············interview><why>HFDutYbbXjgkPWbwfnlH</why><step>7144</step></ |
1446 | ············couple>' | 1446 | ············couple>' |
1447 | ············'<?xml·version="1.0"·encoding="utf-8"?>\n<rock><most>3266</ | 1447 | ············'<?xml·version="1.0"·encoding="utf-8"?>\n<rock><most>3266</ |
1448 | ············most><manage>-900146288.946134</manage><among>http://www.moreno- | 1448 | ············most><manage>-900146288.946134</manage><among>http://www.moreno- |
1449 | ············wilson.info/listsearch.html</ | 1449 | ············wilson.info/listsearch.html</ |
1450 | ············among><pick>alexandermaldonado@example.net</pick><blood>2020-06-0 | 1450 | ············among><pick>alexandermaldonado@example.net</pick><blood>2020-06-05 |
1451 | ············2 | 1451 | ············23:15:02.707896</blood><scene>paul42@example.net</scene></rock>' |
1452 | ············'<?xml·version="1.0"·encoding="utf-8"?>\n<different><lot>1985-06-09 | 1452 | ············'<?xml·version="1.0"·encoding="utf-8"?>\n<different><lot>1985-06-09 |
1453 | ············ | 1453 | ············17:00:58.300674</lot><site>NzFJEUSgqMReEKilxKJT</ |
1454 | ············site><bar>uKvIcxniBzDNTzqyQTQj</ | 1454 | ············site><bar>uKvIcxniBzDNTzqyQTQj</ |
1455 | ············bar><government>monroedavid@example.org</government><single>6840</ | 1455 | ············bar><government>monroedavid@example.org</government><single>6840</ |
1456 | ············single><answer>55</answer></different>' | 1456 | ············single><answer>55</answer></different>' |
1457 | ············'<?xml·version="1.0"·encoding="utf-8"?>\n<matter><series>http:// | 1457 | ············'<?xml·version="1.0"·encoding="utf-8"?>\n<matter><series>http:// |
1458 | ············www.ramirez-good.com/postsabout.htm</series><somebody>- | 1458 | ············www.ramirez-good.com/postsabout.htm</series><somebody>- |
1459 | ············23587860434913790978655934625693951978093570729960966912834032313989657524780944.4000348559097765823</ | 1459 | ············23587860434913790978655934625693951978093570729960966912834032313989657524780944.4000348559097765823</ |
1460 | ············somebody><able>9619</able><test>38191497835621.5</ | 1460 | ············somebody><able>9619</able><test>38191497835621.5</ |
1461 | ············test><Republican>6016</Republican><newspaper>rGciZpuCpymcjBdurvfV</ | 1461 | ············test><Republican>6016</Republican><newspaper>rGciZpuCpymcjBdurvfV</ |
1462 | ············newspaper></matter>' | 1462 | ············newspaper></matter>' |
1463 | ············'<?xml·version="1.0"·encoding="utf- | 1463 | ············'<?xml·version="1.0"·encoding="utf- |
1464 | ············8"?>\n<bar><thought>pMUVGtYHdeMdauAxzEJv</thought><success>3606</ | 1464 | ············8"?>\n<bar><thought>pMUVGtYHdeMdauAxzEJv</thought><success>3606</ |
1465 | ············success><task>56521.5119364862</task><gun>dSKUxJgukcXlhktChZZh</ | 1465 | ············success><task>56521.5119364862</task><gun>dSKUxJgukcXlhktChZZh</ |
1466 | ············gun><capital>6934</capital><measure>1997-03-2 | 1466 | ············gun><capital>6934</capital><measure>1997-03-25·05:42:22.628572</ |
1467 | ············measure><business>8166</ | 1467 | ············measure><business>8166</ |
1468 | ············business><scene>600995291888988873211025510262505134712632953600564174616347579450201.7118013204075227586880918916348967699300248945174466602234500762791256097670172009925185367</ | 1468 | ············business><scene>600995291888988873211025510262505134712632953600564174616347579450201.7118013204075227586880918916348967699300248945174466602234500762791256097670172009925185367</ |
1469 | ············scene><modern>TFyGrgJGPgVPVTJQAOjO</modern><last>- | 1469 | ············scene><modern>TFyGrgJGPgVPVTJQAOjO</modern><last>- |
1470 | ············710675304631639660753226190483043425415886510754056240444204875232268060793557159011868147985519.318868412696116116207660754</ | 1470 | ············710675304631639660753226190483043425415886510754056240444204875232268060793557159011868147985519.318868412696116116207660754</ |
1471 | ············last></bar>' | 1471 | ············last></bar>' |
1472 | ········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 | ········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: |
1473 | ········_\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¶ | 1473 | ········_\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 1488, 388 lines modified | Offset 1488, 388 lines modified | ||
1488 | ················*·'deflate',·'gzip',·or·'gz'·for·GZIP | 1488 | ················*·'deflate',·'gzip',·or·'gz'·for·GZIP |
1489 | ··············Examples: | 1489 | ··············Examples: |
1490 | ············>>>·Faker.seed(0) | 1490 | ············>>>·Faker.seed(0) |
1491 | ············>>>·for·_·in·range(5): | 1491 | ············>>>·for·_·in·range(5): |
Max diff block lines reached; 158762/170082 bytes (93.34%) 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,·11,· | 63 | <span·class="go">datetime.date(2006,·11,·30)</span> |
64 | <span·class="go">datetime.date(1996,·11,·1 | 64 | <span·class="go">datetime.date(1996,·11,·18)</span> |
65 | <span·class="go">datetime.date(1957,·9,· | 65 | <span·class="go">datetime.date(1957,·9,·30)</span> |
66 | <span·class="go">datetime.date(1938,·12,· | 66 | <span·class="go">datetime.date(1938,·12,·30)</span> |
67 | <span·class="go">datetime.date(1968,·4,· | 67 | <span·class="go">datetime.date(1968,·4,·8)</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,·11,· | 19 | ············datetime.date(2006,·11,·30) |
20 | ············datetime.date(1996,·11,·1 | 20 | ············datetime.date(1996,·11,·18) |
21 | ············datetime.date(1957,·9,· | 21 | ············datetime.date(1957,·9,·30) |
22 | ············datetime.date(1938,·12,· | 22 | ············datetime.date(1938,·12,·30) |
23 | ············datetime.date(1968,·4,· | 23 | ············datetime.date(1968,·4,·8) |
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,·4,· | 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,·4,·30)}</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(1917,·1,· | 65 | <span·class="go">{'job':·'Chemist,·analytical',·'company':·'Yates,·Stewart·and·Allen',·'ssn':·'189-25-3060',·'residence':·'1122·Megan·Squares·Suite·848\nPort·Jason,·TX·77807',·'current_location':·(Decimal('22.588068'),·Decimal('131.221390')),·'blood_group':·'AB+',·'website':·['https://nguyen.info/',·'https://www.smith.com/',·'http://cook.com/',·'http://www.montoya.net/'],·'username':·'myersmitchell',·'name':·'Madison·Obrien',·'sex':·'F',·'address':·'Unit·0903·Box·2173\nDPO·AP·08507',·'mail':·'stephenschristine@yahoo.com',·'birthdate':·datetime.date(1917,·1,·30)}</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,·2,· | 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,·2,·20)}</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,·12,· | 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,·12,·20)}</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,·4,·2 | 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,·4,·23)}</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="s"><span·class="pre">'X'</span></span><span·class="p"><span·class="pre">]</span></span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-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="w">·</span><span·class="s"><span·class="pre">'X'</span></span><span·class="p"><span·class="pre">]</span></span><span·class="p"><span·class="pre">]</span></span></span></span><a·class="headerlink"·href="#faker.providers.profile.Provider.simple_profile"·title="Link·to·this·definition">¶</a></dt> | 74 | <span·class="sig-name·descname"><span·class="pre">simple_profile</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">sex</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Literal"·title="(in·Python·v3.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="s"><span·class="pre">'X'</span></span><span·class="p"><span·class="pre">]</span></span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-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="w">·</span><span·class="s"><span·class="pre">'X'</span></span><span·class="p"><span·class="pre">]</span></span><span·class="p"><span·class="pre">]</span></span></span></span><a·class="headerlink"·href="#faker.providers.profile.Provider.simple_profile"·title="Link·to·this·definition">¶</a></dt> |
Offset 78, 19 lines modified | Offset 78, 19 lines modified | ||
78 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 78 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
79 | <dd·class="field-odd"><p></p></dd> | 79 | <dd·class="field-odd"><p></p></dd> |
80 | </dl> | 80 | </dl> |
81 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 81 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
82 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 82 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
83 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">simple_profile</span><span·class="p">()</span> | 83 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">simple_profile</span><span·class="p">()</span> |
84 | <span·class="gp">...</span> | 84 | <span·class="gp">...</span> |
85 | <span·class="go">{'username':·'ysullivan',·'name':·'Jason·Green',·'sex':·'M',·'address':·'9382·Taylor·Court·Suite·892\nCoreyland,·MH·90152',·'mail':·'thomas15@yahoo.com',·'birthdate':·datetime.date(1945,·8,·2 | 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,·8,·21)}</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,·9,·2 | 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,·9,·22)}</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,· | 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,·4,·1)}</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(1977,·1,·2 | 88 | <span·class="go">{'username':·'sheltondavid',·'name':·'Mary·Alvarez',·'sex':·'F',·'address':·'86848·Melissa·Springs\nRileymouth,·NM·87040',·'mail':·'christopher91@yahoo.com',·'birthdate':·datetime.date(1977,·1,·22)}</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,·5,· | 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,·5,·2)}</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 24, 77 lines modified | Offset 24, 77 lines modified | ||
24 | ············4970',·'residence':·'Unit·5938·Box·2421\nDPO·AP·33335', | 24 | ············4970',·'residence':·'Unit·5938·Box·2421\nDPO·AP·33335', |
25 | ············'current_location':·(Decimal('52.958961'),·Decimal('143.143712')), | 25 | ············'current_location':·(Decimal('52.958961'),·Decimal('143.143712')), |
26 | ············'blood_group':·'B+',·'website':·['http://www.rivera.com/',·'http:// | 26 | ············'blood_group':·'B+',·'website':·['http://www.rivera.com/',·'http:// |
27 | ············grimes-green.net/',·'http://www.larsen.com/'],·'username': | 27 | ············grimes-green.net/',·'http://www.larsen.com/'],·'username': |
28 | ············'leeashley',·'name':·'Gary·Cross',·'sex':·'M',·'address':·'711 | 28 | ············'leeashley',·'name':·'Gary·Cross',·'sex':·'M',·'address':·'711 |
29 | ············Golden·Overpass\nWest·Andreaville,·OH·44115',·'mail': | 29 | ············Golden·Overpass\nWest·Andreaville,·OH·44115',·'mail': |
30 | ············'tamaramorrison@hotmail.com',·'birthdate':·datetime.date(1942,·4, | 30 | ············'tamaramorrison@hotmail.com',·'birthdate':·datetime.date(1942,·4, |
31 | ············ | 31 | ············30)} |
32 | ············{'job':·'Chemist,·analytical',·'company':·'Yates,·Stewart·and | 32 | ············{'job':·'Chemist,·analytical',·'company':·'Yates,·Stewart·and |
33 | ············Allen',·'ssn':·'189-25-3060',·'residence':·'1122·Megan·Squares | 33 | ············Allen',·'ssn':·'189-25-3060',·'residence':·'1122·Megan·Squares |
34 | ············Suite·848\nPort·Jason,·TX·77807',·'current_location':·(Decimal | 34 | ············Suite·848\nPort·Jason,·TX·77807',·'current_location':·(Decimal |
35 | ············('22.588068'),·Decimal('131.221390')),·'blood_group':·'AB+', | 35 | ············('22.588068'),·Decimal('131.221390')),·'blood_group':·'AB+', |
36 | ············'website':·['https://nguyen.info/',·'https://www.smith.com/', | 36 | ············'website':·['https://nguyen.info/',·'https://www.smith.com/', |
37 | ············'http://cook.com/',·'http://www.montoya.net/'],·'username': | 37 | ············'http://cook.com/',·'http://www.montoya.net/'],·'username': |
38 | ············'myersmitchell',·'name':·'Madison·Obrien',·'sex':·'F',·'address': | 38 | ············'myersmitchell',·'name':·'Madison·Obrien',·'sex':·'F',·'address': |
39 | ············'Unit·0903·Box·2173\nDPO·AP·08507',·'mail': | 39 | ············'Unit·0903·Box·2173\nDPO·AP·08507',·'mail': |
40 | ············'stephenschristine@yahoo.com',·'birthdate':·datetime.date(1917,·1, | 40 | ············'stephenschristine@yahoo.com',·'birthdate':·datetime.date(1917,·1, |
41 | ············ | 41 | ············30)} |
42 | ············{'job':·'Building·surveyor',·'company':·'Turner,·Graham·and·Brown', | 42 | ············{'job':·'Building·surveyor',·'company':·'Turner,·Graham·and·Brown', |
43 | ············'ssn':·'479-06-9773',·'residence':·'45792·Tammy·Centers·Apt. | 43 | ············'ssn':·'479-06-9773',·'residence':·'45792·Tammy·Centers·Apt. |
44 | ············258\nDavidmouth,·TN·23414',·'current_location':·(Decimal('- | 44 | ············258\nDavidmouth,·TN·23414',·'current_location':·(Decimal('- |
45 | ············86.4556435'),·Decimal('73.201966')),·'blood_group':·'O+', | 45 | ············86.4556435'),·Decimal('73.201966')),·'blood_group':·'O+', |
46 | ············'website':·['https://king.com/',·'https://www.campbell.com/', | 46 | ············'website':·['https://king.com/',·'https://www.campbell.com/', |
47 | ············'https://arroyo.com/'],·'username':·'hollymoore',·'name':·'Ronald | 47 | ············'https://arroyo.com/'],·'username':·'hollymoore',·'name':·'Ronald |
48 | ············Miller',·'sex':·'M',·'address':·'9606·Barton·Station·Apt. | 48 | ············Miller',·'sex':·'M',·'address':·'9606·Barton·Station·Apt. |
49 | ············271\nJacquelinemouth,·NC·64367',·'mail':·'hensontroy@yahoo.com', | 49 | ············271\nJacquelinemouth,·NC·64367',·'mail':·'hensontroy@yahoo.com', |
50 | ············'birthdate':·datetime.date(2006,·2,· | 50 | ············'birthdate':·datetime.date(2006,·2,·20)} |
51 | ············{'job':·'Arts·administrator',·'company':·'Lopez-Key',·'ssn':·'649- | 51 | ············{'job':·'Arts·administrator',·'company':·'Lopez-Key',·'ssn':·'649- |
52 | ············11-2139',·'residence':·'Unit·6650·Box·3008\nDPO·AP·13317', | 52 | ············11-2139',·'residence':·'Unit·6650·Box·3008\nDPO·AP·13317', |
53 | ············'current_location':·(Decimal('-38.8738015'),·Decimal('- | 53 | ············'current_location':·(Decimal('-38.8738015'),·Decimal('- |
54 | ············116.163958')),·'blood_group':·'B-',·'website':·['https:// | 54 | ············116.163958')),·'blood_group':·'B-',·'website':·['https:// |
55 | ············www.alvarez.com/',·'http://marsh-wilson.com/',·'http://wiggins.com/ | 55 | ············www.alvarez.com/',·'http://marsh-wilson.com/',·'http://wiggins.com/ |
56 | ············'],·'username':·'sheena09',·'name':·'Melanie·Grant',·'sex':·'F', | 56 | ············'],·'username':·'sheena09',·'name':·'Melanie·Grant',·'sex':·'F', |
57 | ············'address':·'658·Jared·Radial·Suite·022\nMathewstad,·VT·12783', | 57 | ············'address':·'658·Jared·Radial·Suite·022\nMathewstad,·VT·12783', |
58 | ············'mail':·'kimberly00@yahoo.com',·'birthdate':·datetime.date(1927, | 58 | ············'mail':·'kimberly00@yahoo.com',·'birthdate':·datetime.date(1927, |
59 | ············12,· | 59 | ············12,·20)} |
60 | ············{'job':·'Television·production·assistant',·'company':·'Ward-Hays', | 60 | ············{'job':·'Television·production·assistant',·'company':·'Ward-Hays', |
61 | ············'ssn':·'133-38-1883',·'residence':·'42814·Houston | 61 | ············'ssn':·'133-38-1883',·'residence':·'42814·Houston |
62 | ············Hills\nRodriguezside,·PW·63569',·'current_location':·(Decimal | 62 | ············Hills\nRodriguezside,·PW·63569',·'current_location':·(Decimal |
63 | ············('37.2396545'),·Decimal('0.968737')),·'blood_group':·'AB-', | 63 | ············('37.2396545'),·Decimal('0.968737')),·'blood_group':·'AB-', |
64 | ············'website':·['https://www.jimenez.com/'],·'username': | 64 | ············'website':·['https://www.jimenez.com/'],·'username': |
65 | ············'joneschristopher',·'name':·'Jaime·Villegas',·'sex':·'F', | 65 | ············'joneschristopher',·'name':·'Jaime·Villegas',·'sex':·'F', |
66 | ············'address':·'0168·West·Overpass\nSouth·Christopher,·IN·34699', | 66 | ············'address':·'0168·West·Overpass\nSouth·Christopher,·IN·34699', |
67 | ············'mail':·'ryanhoward@gmail.com',·'birthdate':·datetime.date(2004,·4, | 67 | ············'mail':·'ryanhoward@gmail.com',·'birthdate':·datetime.date(2004,·4, |
68 | ············2 | 68 | ············23)} |
69 | ········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'X\x8X'\x8']\x8]·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8D_\x8i_\x8c_\x8t[_\x8s_\x8t_\x8r, | 69 | ········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'X\x8X'\x8']\x8]·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8D_\x8i_\x8c_\x8t[_\x8s_\x8t_\x8r, |
70 | ········_\x8s_\x8t_\x8r·|·_\x8d_\x8a_\x8t_\x8e·|·_\x8L_\x8i_\x8t_\x8e_\x8r_\x8a_\x8l['M',·'F',·'X']]_\x8¶ | 70 | ········_\x8s_\x8t_\x8r·|·_\x8d_\x8a_\x8t_\x8e·|·_\x8L_\x8i_\x8t_\x8e_\x8r_\x8a_\x8l['M',·'F',·'X']]_\x8¶ |
71 | ············Generates·a·basic·profile·with·personal·informations | 71 | ············Generates·a·basic·profile·with·personal·informations |
72 | ··············Examples: | 72 | ··············Examples: |
73 | ············>>>·Faker.seed(0) | 73 | ············>>>·Faker.seed(0) |
74 | ············>>>·for·_·in·range(5): | 74 | ············>>>·for·_·in·range(5): |
75 | ············...·····fake.simple_profile() | 75 | ············...·····fake.simple_profile() |
76 | ············... | 76 | ············... |
77 | ············{'username':·'ysullivan',·'name':·'Jason·Green',·'sex':·'M', | 77 | ············{'username':·'ysullivan',·'name':·'Jason·Green',·'sex':·'M', |
78 | ············'address':·'9382·Taylor·Court·Suite·892\nCoreyland,·MH·90152', | 78 | ············'address':·'9382·Taylor·Court·Suite·892\nCoreyland,·MH·90152', |
79 | ············'mail':·'thomas15@yahoo.com',·'birthdate':·datetime.date(1945,·8, | 79 | ············'mail':·'thomas15@yahoo.com',·'birthdate':·datetime.date(1945,·8, |
80 | ············2 | 80 | ············21)} |
81 | ············{'username':·'davismary',·'name':·'Mrs.·Sharon·Green',·'sex':·'F', | 81 | ············{'username':·'davismary',·'name':·'Mrs.·Sharon·Green',·'sex':·'F', |
82 | ············'address':·'753·Padilla·Circles\nNew·Jeffrey,·AS·19178',·'mail': | 82 | ············'address':·'753·Padilla·Circles\nNew·Jeffrey,·AS·19178',·'mail': |
83 | ············'udavis@hotmail.com',·'birthdate':·datetime.date(2024,·9,·2 | 83 | ············'udavis@hotmail.com',·'birthdate':·datetime.date(2024,·9,·22)} |
84 | ············{'username':·'lisa83',·'name':·'Juan·Mann',·'sex':·'M',·'address': | 84 | ············{'username':·'lisa83',·'name':·'Juan·Mann',·'sex':·'M',·'address': |
85 | ············'USNV·Wallace\nFPO·AP·50950',·'mail':·'barbara42@gmail.com', | 85 | ············'USNV·Wallace\nFPO·AP·50950',·'mail':·'barbara42@gmail.com', |
86 | ············'birthdate':·datetime.date(2004,· | 86 | ············'birthdate':·datetime.date(2004,·4,·1)} |
87 | ············{'username':·'sheltondavid',·'name':·'Mary·Alvarez',·'sex':·'F', | 87 | ············{'username':·'sheltondavid',·'name':·'Mary·Alvarez',·'sex':·'F', |
88 | ············'address':·'86848·Melissa·Springs\nRileymouth,·NM·87040',·'mail': | 88 | ············'address':·'86848·Melissa·Springs\nRileymouth,·NM·87040',·'mail': |
89 | ············'christopher91@yahoo.com',·'birthdate':·datetime.date(1977,·1,·2 | 89 | ············'christopher91@yahoo.com',·'birthdate':·datetime.date(1977,·1,·22)} |
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,·5, | 92 | ············'mail':·'leetara@hotmail.com',·'birthdate':·datetime.date(1923,·5, |
93 | ············ | 93 | ············2)} |
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,·27,· | 135 | <span·class="go">{'son':·-9787526.29318886,·'voice':·datetime.datetime(1977,·8,·27,·21,·49,·37,·653559),·'kitchen':·'NGnVZQUqLUJyfwFVYySn',·'amount':·datetime.datetime(2020,·5,·6,·12,·32,·8,·196227),·'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,·3,·2 | 138 | <span·class="go">{'age':·Decimal('21382039273173884082527988465816382796350650960388704316804460314001343271628396494204470750330.1448'),·'camera':·1936,·'expect':·datetime.datetime(2017,·3,·28,·11,·3,·54,·982103),·'use':·'dSogBkfXCMVoxDhgguyD',·'relate':·-797087381.435271,·'amount':·'yKqHdpMcGbyUaBdTJMIa',·'a':·'gaoHpUhDjwLtrHJhWhqk',·'establish':·'xPuPulkWEcumejcHjFFK',·&[·...·truncated·by·diffoscope;·len:·68,·SHA:·2a8bd6f4890ef4ec80cd1abb2d43366b72cf4f3b6fe9203123800cdf26e3e878·...·]0),·'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,·20,· | 195 | <span·class="go">('nAvOpyEVAoNGnVZQUqLU',·'thomas15@example.com',·3350,·datetime.datetime(1996,·3,·20,·22,·28,·28,·257486),·datetime.datetime(1984,·4,·26,·8,·44,·19,·343152),·datetime.datetime(2020,·5,·6,·12,·32,·8,·196227),·'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,·8,·13,·5,·13,·6,·991404),·Decimal('18000400001558710168379151556371850715591491746684745560870153172067760283158232944569591.3306016884'),·'http://www.bruce-compton.org/tag/posts/searchfaq.php',·584,·2036,·'ohEsZ[·...·truncated·by·diffoscope;·len:·20,·SHA:·e0345ffe79626358c4655ebc340267bff368ba15c4165ace8c6bf96f209cf6cb·...·],·Decimal('-5566738374584561609320871321036086986788440028749554064377698700636073309631096713016282417601397773.26351108731764303921376582197296687577389305550824926947118013204075227586')}</span> |
198 | <span·class="go">{' | 198 | <span·class="go">{'IajAndSXpvQdHgoRcbvz',·'aYQdUkkJWgatbFSjfrXg',·'butjsGXUcnbBDTlOUGAB',·datetime.datetime(1986,·10,·13,·2,·35,·20,·764445),·'http://www.garcia.com/category/tagscategory.jsp',·'FgqKHkOOfdKFWHYLpSXu',·'hUvefdviXPwvzSqns[·...·truncated·by·diffoscope;·len:·26,·SHA:·ae2c6617d6dea60ffafd23226773ca95c65abe3a2467a0ad287dbde408b13507·...·]}</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,·27,· | 215 | <span·class="go">[663,·-424604.985946604,·-9787526.29318886,·datetime.datetime(1977,·8,·27,·21,·49,·37,·653559),·'NGnVZQUqLUJyfwFVYySn',·datetime.datetime(2020,·5,·6,·12,·32,·8,·196227),·'LuQIazTmqTjDmYPxeqAW',·'ppgrVkPCoePqmjQbZndJ',·'TWRUWCuKoQSUEXExIZVP',·'qfErjaoKtiwdOSlQGWFd']</span> |
216 | <span·class="go">['catherinejohnston@example.com',·'tYbbXjgkPWbwfnlHsjAc',·'KunVyUDKkNPiiBgVIaJU',·datetime.datetime(2020,·6,· | 216 | <span·class="go">['catherinejohnston@example.com',·'tYbbXjgkPWbwfnlHsjAc',·'KunVyUDKkNPiiBgVIaJU',·datetime.datetime(2020,·6,·5,·23,·15,·4,·542919),·'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,·6,·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,·6,·15,·16,·41,·23,·411126)]</span> |
218 | <span·class="go">['https://www.bolton-reid.com/category/blog/listregister.php',·datetime.datetime(2003,·7,· | 218 | <span·class="go">['https://www.bolton-reid.com/category/blog/listregister.php',·datetime.datetime(2003,·7,·8,·2,·24,·41,·922687),·'aKMqqBTFitpKyPAVdgpN',·Decimal('-74655832342888117024.8091891634896769930024894517446660223450076279125609767017200992518'),·'james71@example.org',·'https://lloyd-stark.com/main/blog/tagsprivacy.html'[·...·truncated·by·diffoscope;·len:·49,·SHA:·a233b4e509166ca5c21df45a5384c5ad3c461bf4a263c198ac881e791c72d683·...·])]</span> |
219 | <span·class="go">['OxNxPdcWzUXIDleQUOKv',·7424134494689.1,·'vfOMbxJbVYLedsbsaYQd',·'kkJWgatbFSjfrXgYsypW',·datetime.datetime(2004,·12,·13,· | 219 | <span·class="go">['OxNxPdcWzUXIDleQUOKv',·7424134494689.1,·'vfOMbxJbVYLedsbsaYQd',·'kkJWgatbFSjfrXgYsypW',·datetime.datetime(2004,·12,·13,·23,·4,·23,·267274),·'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(1977,·8,·27,·18,·7,·40,·23321),·'LuQIazTmqTjDmYPxeqAW',·'ppgrVkPCoePqmjQbZndJ',·-9787526.29318886,·'TWRUWCuKoQSUEXExIZVP',·'NGnVZQUqLUJyfwFVYySn',·-424604.985946604,·'qfErjaoKtiwdOSlQGWFd',·663,·datetime.datetime(2020,·5,·5,·12,·12,·18,·972027)}</span> | ||
266 | <span·class="go">{'catherinejohnston@example.com',·'paul42@example.net',·datetime.datetime(2020,·6,·4,·22,·52,·50,·294338),·'HtTDvuKvIcxniBzDNTzq',·'KunVyUDKkNPiiBgVIaJU',·'xeMChNzFJEUSgqMReEKi',·'tYbbXjgkPWbwfnlHsjAc'}</span> | ||
267 | <span·class="go">{6016,·-958272097856.158,·datetime.datetime(2015,·6,·14,·18,·43,·25,·299449),·'rGciZpuCpymcjBdurvfV',·'https://taylor.com/tag/list/wp-contentcategory.htm',·'angela59@example.org',·0.28952549189774,·Decimal('-6549903182054842898289740559728455724548119.045229611133060168847793615349263511087317643039213765'),·'johnsonrobin@example.org',·'QTQjZGeLZuJqlLaQBfgH',·4725240091.51995}</span> | ||
268 | <span·class="go">{'https://www.bolton-reid.com/category/blog/listregister.php',·'james71@example.org',·'https://lloyd-stark.com/main/blog/tagsprivacy.html',·datetime.datetime(2003,·7,·7,·10,·12,·54,·437377),·datetime.datetime(2017,·4,·16,·3,·51,·50,·17732),·'aKMqqBTFitpKyPAVdgpN',·Decimal('-74655832342888117024.8091891634896769930024894517446660223450076279125609767017200992518')}</span> | ||
269 | <span·class="go">{ | 265 | <span·class="go">{'LuQIazTmqTjDmYPxeqAW',·datetime.datetime(1977,·8,·27,·21,·49,·37,·653559),·'qfErjaoKtiwdOSlQGWFd',·-9787526.29318886,·-424604.985946604,·datetime.datetime(2020,·5,·6,·12,·32,·8,·196227),·'NGnVZQUqLUJyfwFVYySn',·'TWRUWCuKoQSUEXE[·...·truncated·by·diffoscope;·len:·42,·SHA:·8a840855b2907920d9938ce0615d55e5272607775501b93f1dfb3c18c109aa29·...·]'}</span> |
266 | <span·class="go">{'KunVyUDKkNPiiBgVIaJU',·'catherinejohnston@example.com',·'paul42@example.net',·'HtTDvuKvIcxniBzDNTzq',·datetime.datetime(2020,·6,·5,·23,·15,·4,·542919),·'xeMChNzFJEUSgqMReEKi',·'tYbbXjgkPWbwfnlHsjAc'}</span> | ||
267 | <span·class="go">{'johnsonrobin@example.org',·6016,·-958272097856.158,·'angela59@example.org',·'https://taylor.com/tag/list/wp-contentcategory.htm',·datetime.datetime(2015,·6,·15,·16,·41,·23,·411126),·'rGciZpuCpymcjBdurvfV',·Decimal('-6549903182054842898289740559728455724548119.045229611133060168847793615349263511087317643039213765'),·'QTQjZGeLZuJqlLaQBfgH',·0.28952549189774,·4725240091.51995}</span> | ||
268 | <span·class="go">{datetime.datetime(2017,·4,·17,·2,·43,·6,·263995),·datetime.datetime(2003,·7,·8,·2,·24,·41,·922687),·'https://www.bolton-reid.com/category/blog/listregister.php',·'aKMqqBTFitpKyPAVdgpN',·'https://lloyd-stark.com/main/blog/tagsprivacy.html',·'james71@example.org',·Decimal('-74655832342888117024.8091891634896769930024894517446660223450076279125609767017200992518')}</span> | ||
269 | <span·class="go">{'EeBqthglAmjtISFuKgpv',·7424134494689.1,·'OxNxPdcWzUXIDleQUOKv',·Decimal('-75235466116100008450701.3758257173407970341489'),·'EpsmGHBtaYUwtXejffFi',·datetime.datetime(2004,·12,·13,·23,·4,·23,·267274),·'vfOMbxJbVYLedsbsaYQd',·'kkJWgatbFSjfrXgYsypW'}</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,·27,· | 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,·27,·21,·49,·37,·653559),·'NGnVZQUqLUJyfwFVYySn',·datetime.datetime(2020,·5,·6,·12,·32,·8,·196227)],·2:·{0:·'LuQIazTmqTjDmYPxeqAW',·1:·'ppgrVkPCoePqmjQbZndJ',·2:·['TWRUWCuKoQSUEXExIZVP',·'qfErjaoKtiwdOSlQGWFd']}},·'ma[·...·truncated·by·diffoscope;·len:·2185,·SHA:·72b98545b62de95fe232baef872129fee6bbdfe548a31c48f62a16a169f29ecb·...·]),·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,·25,·1 | 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,·25,·16,·26,·54,·847301),·'tXVeSLVxvUBNjdwrArSM',·'sheltonbianca@example.net',·'JsSvEZCxeXBKImHfcRFp'],·{'population':·'RqQuzssEOKNaBskVkjjI',·'while':·datetime.datetime(2008,·3,·17,·5,·40,·20,·1930),·'trial[·...·truncated·by·diffoscope;·len:·3352,·SHA:·1deacff2bb7d32030d4ac7cbd87c62c1f870657d9942e4154f4edd2197915cc6·...·]),·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,·1 | 339 | <span·class="go">([Decimal('-4.317218869431608750394678410156663476806472666994785469250677413536095227'),·'manuel19@example.net',·'OsAuBUfUAhWkbyDcGDDe',·3714,·2543,·datetime.datetime(1973,·9,·18,·0,·23,·55,·536623),·'tina09@example.org',·'https://peterson.com/search/postsfaq.htm',·'jensenmichael@example.com',·7694],·{'structure':·'jlyHtGWomZxAUkuKrgzU',·'check':·'ahMKHhgzzgYQTiIQqZeP',·'[·...·truncated·by·diffoscope;·len:·2621,·SHA:·9809ec689cc8b9b4bbd75534579b793c73b28bfcedb5b4f38091c6e397172367·...·])],·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,·7,·2 | 340 | <span·class="go">(['http://hayes-david.info/explorepost.html',·datetime.datetime(2021,·7,·27,·14,·6,·20,·95712),·4561,·'ZBdvTqMeNFxkzPcnppIW',·4773,·100747154.732271,·'rPzGqsGUZRSoTGRUHZsx',·Decimal('9261180484357572076354885502404.39521633993627491143005174476438589156518297'),·'clZVPANXtkWjaKclsLBo',·'hcnLWQ[·...·truncated·by·diffoscope;·len:·3508,·SHA:·3701c0738163670e5dec788eff5c07c6b95b18670315147b11c540fadeb837cf·...·]),·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,·8,·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,·8,·19,·2,·29,·47,·647617)]}},·'compare':·{1:·'LXezkrcAngrgTKMZWpFz',·2:·[17206187561897.0,·'ngAWjppRUyYDvkRKtiOb',·6696],·3:·{1:·datetime.datetime(1988,·8,·24,·8,·46,·26,·417954),·2:·'pgrcIBfchSYpwjLAamaw',·3:·[66916.6865598951,[·...·truncated·by·diffoscope;·len:·2550,·SHA:·7b2379d8d0d357a6232d452e23bb3129fd7b6ce242b93ddacaba85cf134d54e8·...·]4),·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,·27,· | 357 | <span·class="go">(663,·-424604.985946604,·-9787526.29318886,·datetime.datetime(1977,·8,·27,·21,·49,·37,·653559),·'NGnVZQUqLUJyfwFVYySn',·datetime.datetime(2020,·5,·6,·12,·32,·8,·196227),·'LuQIazTmqTjDmYPxeqAW',·'ppgrVkPCoePqmjQbZndJ',·'TWRUWCuKoQSUEXExIZVP',·'qfErjaoKtiwdOSlQGWFd')</span> |
358 | <span·class="go">('catherinejohnston@example.com',·'tYbbXjgkPWbwfnlHsjAc',·'KunVyUDKkNPiiBgVIaJU',·datetime.datetime(2020,·6,· | 358 | <span·class="go">('catherinejohnston@example.com',·'tYbbXjgkPWbwfnlHsjAc',·'KunVyUDKkNPiiBgVIaJU',·datetime.datetime(2020,·6,·5,·23,·15,·4,·542919),·'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,·6,·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,·6,·15,·16,·41,·23,·411126))</span> |
360 | <span·class="go">('https://www.bolton-reid.com/category/blog/listregister.php',·datetime.datetime(2003,·7,· | 360 | <span·class="go">('https://www.bolton-reid.com/category/blog/listregister.php',·datetime.datetime(2003,·7,·8,·2,·24,·41,·922687),·'aKMqqBTFitpKyPAVdgpN',·Decimal('-74655832342888117024.8091891634896769930024894517446660223450076279125609767017200992518'),·'james71@example.org',·'https://lloyd-stark.com/main/blog/tagsprivacy.html'[·...·truncated·by·diffoscope;·len:·49,·SHA:·a233b4e509166ca5c21df45a5384c5ad3c461bf4a263c198ac881e791c72d683·...·]))</span> |
361 | <span·class="go">('OxNxPdcWzUXIDleQUOKv',·7424134494689.1,·'vfOMbxJbVYLedsbsaYQd',·'kkJWgatbFSjfrXgYsypW',·datetime.datetime(2004,·12,·13,· | 361 | <span·class="go">('OxNxPdcWzUXIDleQUOKv',·7424134494689.1,·'vfOMbxJbVYLedsbsaYQd',·'kkJWgatbFSjfrXgYsypW',·datetime.datetime(2004,·12,·13,·23,·4,·23,·267274),·'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,·27, | 70 | ············{'son':·-9787526.29318886,·'voice':·datetime.datetime(1977,·8,·27, |
71 | ············ | 71 | ············21,·49,·37,·653559),·'kitchen':·'NGnVZQUqLUJyfwFVYySn',·'amount': |
72 | ············datetime.datetime(2020,·5,· | 72 | ············datetime.datetime(2020,·5,·6,·12,·32,·8,·196227),·'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,·3,·2 | 94 | ············'camera':·1936,·'expect':·datetime.datetime(2017,·3,·28,·11,·3,·54, |
95 | ············ | 95 | ············982103),·'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,·4,·2 | 98 | ············'information':·datetime.datetime(2011,·4,·22,·3,·35,·3,·202720), |
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, 73 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,·20,· | 144 | ············datetime.datetime(1996,·3,·20,·22,·28,·28,·257486), |
145 | ············datetime.datetime(1984,·4,·26,· | 145 | ············datetime.datetime(1984,·4,·26,·8,·44,·19,·343152), |
146 | ············datetime.datetime(2020,·5,· | 146 | ············datetime.datetime(2020,·5,·6,·12,·32,·8,·196227), |
147 | ············'LuQIazTmqTjDmYPxeqAW',·'ppgrVkPCoePqmjQbZndJ', | 147 | ············'LuQIazTmqTjDmYPxeqAW',·'ppgrVkPCoePqmjQbZndJ', |
148 | ············'TWRUWCuKoQSUEXExIZVP',·'qfErjaoKtiwdOSlQGWFd', | 148 | ············'TWRUWCuKoQSUEXExIZVP',·'qfErjaoKtiwdOSlQGWFd', |
149 | ············'HFDutYbbXjgkPWbwfnlH') | 149 | ············'HFDutYbbXjgkPWbwfnlH') |
150 | ············('dyFKunVyUDKkNPiiBgVI',·'yvDAqsRnDaMrcomXsosX', | 150 | ············('dyFKunVyUDKkNPiiBgVI',·'yvDAqsRnDaMrcomXsosX', |
151 | ············'jenniferhughes@example.com',·'smithjames@example.com', | 151 | ············'jenniferhughes@example.com',·'smithjames@example.com', |
152 | ············'mHtTDvuKvIcxniBzDNTz',·-0.58427929423069,·'CYYRgaXvaaNYJFjFkpJj', | 152 | ············'mHtTDvuKvIcxniBzDNTz',·-0.58427929423069,·'CYYRgaXvaaNYJFjFkpJj', |
153 | ············Decimal('- | 153 | ············Decimal('- |
154 | ············23587860434913790978655934625693951978093570729960966912834032313989657524780944.4000348559097765823'), | 154 | ············23587860434913790978655934625693951978093570729960966912834032313989657524780944.4000348559097765823'), |
155 | ············9619,·38191497835621.5,·6016) | 155 | ············9619,·38191497835621.5,·6016) |
156 | ············{Decimal | 156 | ············{datetime.datetime(1997,·8,·13,·5,·13,·6,·991404),·Decimal |
157 | ············('18000400001558710168379151556371850715591491746684745560870153172067760283158232944569591.3306016884'), | 157 | ············('18000400001558710168379151556371850715591491746684745560870153172067760283158232944569591.3306016884'), |
158 | ············ | 158 | ············'http://www.bruce-compton.org/tag/posts/searchfaq.php',·584,·2036, |
159 | ············datetime.datetime(1997,·8,·12,·15,·52,·23,·763915), | ||
160 | ············'ohEsZgfLWqSLpRpfDzrP',· | 159 | ············'ohEsZgfLWqSLpRpfDzrP',·Decimal('- |
161 | ············5566738374584561609320871321036086986788440028749554064377698700636073309631096713016282417601397773.26351108731764303921376582197296687577389305550824926947118013204075227586')} | 160 | ············5566738374584561609320871321036086986788440028749554064377698700636073309631096713016282417601397773.26351108731764303921376582197296687577389305550824926947118013204075227586')} |
162 | ············{'butjsGXUcnbBDTlOUGAB',·'http://www.garcia.com/category/ | ||
163 | ············tagscategory.jsp',·'aYQdUkkJWgatbFSjfrXg',·datetime.datetime(1986, | ||
164 | ············10,·12,·18,·28,·46,·259584),·'FgqKHkOOfdKFWHYLpSXu', | ||
165 | ············' | 161 | ············{'IajAndSXpvQdHgoRcbvz',·'aYQdUkkJWgatbFSjfrXg', |
162 | ············'butjsGXUcnbBDTlOUGAB',·datetime.datetime(1986,·10,·13,·2,·35,·20, | ||
163 | ············764445),·'http://www.garcia.com/category/tagscategory.jsp', | ||
164 | ············'FgqKHkOOfdKFWHYLpSXu',·'hUvefdviXPwvzSqnsgJr',·531.866983954573} | ||
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,·27,·18,·7,·40,·23321),·'NGnVZQUqLUJyfwFVYySn',·datetime.datetime | ||
181 | ············(2020,·5,·5,·12,·12,·18,·972027),·'LuQIazTmqTjDmYPxeqAW', | ||
182 | ············'ppgrVkPCoePqmjQbZndJ',·'TWRUWCuKoQSUEXExIZVP', | ||
183 | ············ | 179 | ············8,·27,·21,·49,·37,·653559),·'NGnVZQUqLUJyfwFVYySn', |
180 | ············datetime.datetime(2020,·5,·6,·12,·32,·8,·196227), | ||
181 | ············'LuQIazTmqTjDmYPxeqAW',·'ppgrVkPCoePqmjQbZndJ', | ||
182 | ············'TWRUWCuKoQSUEXExIZVP',·'qfErjaoKtiwdOSlQGWFd'] | ||
184 | ············['catherinejohnston@example.com',·'tYbbXjgkPWbwfnlHsjAc', | 183 | ············['catherinejohnston@example.com',·'tYbbXjgkPWbwfnlHsjAc', |
185 | ············'KunVyUDKkNPiiBgVIaJU',·datetime.datetime(2020,·6,· | 184 | ············'KunVyUDKkNPiiBgVIaJU',·datetime.datetime(2020,·6,·5,·23,·15,·4, |
186 | ············ | 185 | ············542919),·'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,·6,·1 | 192 | ············datetime.datetime(2015,·6,·15,·16,·41,·23,·411126)] |
194 | ············['https://www.bolton-reid.com/category/blog/listregister.php', | 193 | ············['https://www.bolton-reid.com/category/blog/listregister.php', |
195 | ············datetime.datetime(2003,·7,· | 194 | ············datetime.datetime(2003,·7,·8,·2,·24,·41,·922687), |
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,·4,·1 | 198 | ············tagsprivacy.html',·datetime.datetime(2017,·4,·17,·2,·43,·6, |
200 | ············ | 199 | ············263995)] |
201 | ············['OxNxPdcWzUXIDleQUOKv',·7424134494689.1,·'vfOMbxJbVYLedsbsaYQd', | 200 | ············['OxNxPdcWzUXIDleQUOKv',·7424134494689.1,·'vfOMbxJbVYLedsbsaYQd', |
202 | ············'kkJWgatbFSjfrXgYsypW',·datetime.datetime(2004,·12,·13,· | 201 | ············'kkJWgatbFSjfrXgYsypW',·datetime.datetime(2004,·12,·13,·23,·4,·23, |
203 | ············ | 202 | ············267274),·'EeBqthglAmjtISFuKgpv',·'EpsmGHBtaYUwtXejffFi',·Decimal('- |
204 | ············75235466116100008450701.3758257173407970341489')] | 203 | ············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| | 204 | ········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·| | 205 | ········_\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¶ | 206 | ········_\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. | 207 | ············Generates·a·random·object·passing·the·type·desired. |
209 | ··············Object_type: | 208 | ··············Object_type: |
210 | ··················the·type·of·the·object·to·generate. | 209 | ··················the·type·of·the·object·to·generate. |
Offset 226, 40 lines modified | Offset 225, 39 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, | 225 | ········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¶ | 226 | ········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: | 227 | ··············Examples: |
229 | ············>>>·Faker.seed(0) | 228 | ············>>>·Faker.seed(0) |
230 | ············>>>·for·_·in·range(5): | 229 | ············>>>·for·_·in·range(5): |
231 | ············...·····fake.pyset() | 230 | ············...·····fake.pyset() |
232 | ············... | 231 | ············... |
233 | ············{datetime.datetime(1977,·8,·27,·18,·7,·40,·23321), | ||
234 | ············'LuQIazTmqTjDmYPxeqAW',·'ppgrVkPCoePqmjQbZndJ',·-9787526.29318886, | ||
Max diff block lines reached; 30184/42352 bytes (71.27%) of diff not shown. |
Offset 39944, 76 lines modified | Offset 39944, 66 lines modified | ||
39944 | ····"objtypes":·{ | 39944 | ····"objtypes":·{ |
39945 | ········"0":·"py:class", | 39945 | ········"0":·"py:class", |
39946 | ········"1":·"py:method" | 39946 | ········"1":·"py:method" |
39947 | ····}, | 39947 | ····}, |
39948 | ····"terms":·{ | 39948 | ····"terms":·{ |
39949 | ········"":·[0,·1,·2,·6,·9,·11,·12,·13,·14,·15,·17,·18,·20,·21,·22,·25,·29,·30,·31,·32,·35,·37,·38,·39,·40,·42,·44,·45,·47,·48,·49,·51,·52,·53,·56,·57,·58,·59,·60,·61,·62,·63,·64,·65,·66,·67,·68,·74,·75,·76,·78,·79,·80,·81,·82,·83,·84,·88,·90,·91,·92,·94,·95,·96,·98,·99,·102,·105,·106,·107,·111,·118,·119,·128,·129], | 39949 | ········"":·[0,·1,·2,·6,·9,·11,·12,·13,·14,·15,·17,·18,·20,·21,·22,·25,·29,·30,·31,·32,·35,·37,·38,·39,·40,·42,·44,·45,·47,·48,·49,·51,·52,·53,·56,·57,·58,·59,·60,·61,·62,·63,·64,·65,·66,·67,·68,·74,·75,·76,·78,·79,·80,·81,·82,·83,·84,·88,·90,·91,·92,·94,·95,·96,·98,·99,·102,·105,·106,·107,·111,·118,·119,·128,·129], |
39950 | ········"0":·[2,·4,·6,·7,·8,·9,·10,·11,·12,·13,·14,·15,·16,·17,·18,·20,·21,·22,·23,·24,·25,·27,·28,·29,·30,·31,·32,·33,·34,·35,·36,·37,·38,·39,·40,·41,·42,·43,·44,·45,·46,·47,·48,·49,·50,·51,·52,·53,·54,·55,·56,·57,·58,·59,·60,·61,·62,·63,·64,·65,·66,·67,·69,·70,·71,·72,·73,·74,·75,·76,·77,·78,·79,·80,·81,·82,·83,·84,·85,·86,·88,·90,·91,·92,·93,·94,·95,·96,·97,·98,·99,·100,·102,·103,·104,·105,·106,·107,·108,·109,·110,·111,·112,·113,·114,·115,·116,·117,·118,·119,·120,·121,·122,·123,·124,·125,·126,·127,·128,·129], | 39950 | ········"0":·[2,·4,·6,·7,·8,·9,·10,·11,·12,·13,·14,·15,·16,·17,·18,·20,·21,·22,·23,·24,·25,·27,·28,·29,·30,·31,·32,·33,·34,·35,·36,·37,·38,·39,·40,·41,·42,·43,·44,·45,·46,·47,·48,·49,·50,·51,·52,·53,·54,·55,·56,·57,·58,·59,·60,·61,·62,·63,·64,·65,·66,·67,·69,·70,·71,·72,·73,·74,·75,·76,·77,·78,·79,·80,·81,·82,·83,·84,·85,·86,·88,·90,·91,·92,·93,·94,·95,·96,·97,·98,·99,·100,·102,·103,·104,·105,·106,·107,·108,·109,·110,·111,·112,·113,·114,·115,·116,·117,·118,·119,·120,·121,·122,·123,·124,·125,·126,·127,·128,·129], |
39951 | ········"00":·[2,·6,·9,·13,·15,· | 39951 | ········"00":·[2,·6,·9,·13,·15,·29,·38,·44,·51,·52,·61,·65,·78,·91,·92,·99,·106,·119,·127], |
39952 | ········"000":·[38,·42,·47,·94], | 39952 | ········"000":·[38,·42,·47,·94], |
39953 | ········"0000":·[6,·9,·13,·15,·17,·18,·20,·22,·25,·35,·38,·39,·40,·42,·44,·49,·51,·53,·56,·58,·59,·60,·61,·62,·64,·65,·66,·67,·75,·76,·78,·79,·80,·81,·82,·83,·84,·88,·90,·91,·92,·95,·96,·98,·99,·111], | 39953 | ········"0000":·[6,·9,·13,·15,·17,·18,·20,·22,·25,·35,·38,·39,·40,·42,·44,·49,·51,·53,·56,·58,·59,·60,·61,·62,·64,·65,·66,·67,·75,·76,·78,·79,·80,·81,·82,·83,·84,·88,·90,·91,·92,·95,·96,·98,·99,·111], |
39954 | ········"00000":·[35,·38,·49,·91,·119], | 39954 | ········"00000":·[35,·38,·49,·91,·119], |
39955 | ········"000000":·[35,·38,·49,·91,·119], | 39955 | ········"000000":·[35,·38,·49,·91,·119], |
39956 | ········"0001":·79, | 39956 | ········"0001":·79, |
39957 | ········"00011":·[21,·52], | 39957 | ········"00011":·[21,·52], |
39958 | ········"0004568":·75, | ||
39959 | ········"000457":·75, | ||
39958 | ········"0004876475931":·[29,·38,·44,·51,·65,·106], | 39960 | ········"0004876475931":·[29,·38,·44,·51,·65,·106], |
39959 | ········"00048767":·[29,·38,·44,·51,·65,·106], | 39961 | ········"00048767":·[29,·38,·44,·51,·65,·106], |
39960 | ········"001":·[6,·9,·13,·15,·17,·18,·20,·22,·25,·31,·35,·38,·39,·40,·42,·44,·49,·51,·53,·56,·58,·59,·60,·61,·62,·64,·65,·66,·67,·75,·76,·78,·79,·80,·81,·82,·83,·84,·88,·90,·91,·92,·95,·96,·98,·99,·111,·114], | 39962 | ········"001":·[6,·9,·13,·15,·17,·18,·20,·22,·25,·31,·35,·38,·39,·40,·42,·44,·49,·51,·53,·56,·58,·59,·60,·61,·62,·64,·65,·66,·67,·75,·76,·78,·79,·80,·81,·82,·83,·84,·88,·90,·91,·92,·95,·96,·98,·99,·111,·114], |
39961 | ········"0016":·14, | 39963 | ········"0016":·14, |
39962 | ········"0016097535134":·[29,·38,·44,·51,·65,·106], | 39964 | ········"0016097535134":·[29,·38,·44,·51,·65,·106], |
39963 | ········"0019489241156":·[29,·38,·44,·51,·65,·106], | 39965 | ········"0019489241156":·[29,·38,·44,·51,·65,·106], |
39964 | ········"001cd9":·82, | 39966 | ········"001cd9":·82, |
39965 | ········"002":·48, | 39967 | ········"002":·48, |
39966 | ········"002041424285777665":·45, | 39968 | ········"002041424285777665":·45, |
39967 | ········"002224":·75, | ||
39968 | ········"0022243":·75, | ||
39969 | ········"002497663450887436":·45, | 39969 | ········"002497663450887436":·45, |
39970 | ········"002597357884672407":·45, | 39970 | ········"002597357884672407":·45, |
39971 | ········"002864631170560203":·45, | 39971 | ········"002864631170560203":·45, |
39972 | ········"002991780860070717":·45, | 39972 | ········"002991780860070717":·45, |
39973 | ········"00328":·[52,·53], | 39973 | ········"00328":·[52,·53], |
39974 | ········"00382":·90, | ||
39975 | ········"003t824":·82, | 39974 | ········"003t824":·82, |
39976 | ········"00420":·17, | 39975 | ········"00420":·17, |
39977 | ········"00421":·83, | 39976 | ········"00421":·83, |
39978 | ········"00438":·[20,·25,·38,·80,·114], | 39977 | ········"00438":·[20,·25,·38,·80,·114], |
39979 | ········"00452":·[52,·53], | 39978 | ········"00452":·[52,·53], |
39980 | ········"004604":·81, | ||
39981 | ········"00460416":·81, | ||
39982 | ········"00489249":·[29,·38,·44,·51,·65,·106], | 39979 | ········"00489249":·[29,·38,·44,·51,·65,·106], |
39983 | ········"00494":·[52,·53], | 39980 | ········"00494":·[52,·53], |
39984 | ········"00560":·[52,·53], | 39981 | ········"00560":·[52,·53], |
39985 | ········"0056593877840":·[29,·38,·44,·51,·65,·106], | 39982 | ········"0056593877840":·[29,·38,·44,·51,·65,·106], |
39986 | ········"00592816":·61, | ||
39987 | ········"006174":·88, | ||
39988 | ········"0061742":·88, | ||
39989 | ········"006d048":·82, | 39983 | ········"006d048":·82, |
39990 | ········"006d475":·82, | 39984 | ········"006d475":·82, |
39991 | ········"00714":·[52,·53], | 39985 | ········"00714":·[52,·53], |
39986 | ········"0071557":·42, | ||
39987 | ········"007156":·42, | ||
39992 | ········"00781565":·[29,·38,·44,·51,·65,·106], | 39988 | ········"00781565":·[29,·38,·44,·51,·65,·106], |
39993 | ········"007d815":·82, | 39989 | ········"007d815":·82, |
39994 | ········"00823033r":·41, | ||
39995 | ········"0083766":·60, | ||
39996 | ········"008377":·60, | ||
39997 | ········"0087115871480":·[29,·38,·44,·51,·65,·106], | 39990 | ········"0087115871480":·[29,·38,·44,·51,·65,·106], |
39998 | ········"00877848":·[29,·38,·44,·51,·65,·106], | 39991 | ········"00877848":·[29,·38,·44,·51,·65,·106], |
39999 | ········"008d924":·82, | 39992 | ········"008d924":·82, |
40000 | ········"00938242":·[29,·38,·44,·51,·65,·106], | 39993 | ········"00938242":·[29,·38,·44,·51,·65,·106], |
40001 | ········"00970":·11, | 39994 | ········"00970":·11, |
40002 | ········"0097042321948":·11, | 39995 | ········"0097042321948":·11, |
40003 | ········"00970591578156":·11, | 39996 | ········"00970591578156":·11, |
40004 | ········"00971":·7, | 39997 | ········"00971":·7, |
40005 | ········"00972":·11, | 39998 | ········"00972":·11, |
40006 | ········"0097535139":·22, | 39999 | ········"0097535139":·22, |
40007 | ········"00991":·[38,·119], | 40000 | ········"00991":·[38,·119], |
40008 | ········"01":·[6,·7,·9,·11,·13,·14,·15,·16,·17,·18,·20,·22,·25,·27,·30,·32,·34,·35,·38,·39,·40,·42,·43,·44,·47,·48,·49,·51,·52,·53,·56,·58,·59,·60,·61,·62,·64,·65,·66,·67,·75,·76,·78,·79,·80,·81,·82,·83,·84,·86,·88,·90,·91,·92,·94,·95,·96,·98,·99,·109,·111,·115,·127], | 40001 | ········"01":·[6,·7,·9,·11,·13,·14,·15,·16,·17,·18,·20,·22,·25,·27,·30,·32,·34,·35,·38,·39,·40,·42,·43,·44,·47,·48,·49,·51,·52,·53,·56,·58,·59,·60,·61,·62,·64,·65,·66,·67,·75,·76,·78,·79,·80,·81,·82,·83,·84,·86,·88,·90,·91,·92,·94,·95,·96,·98,·99,·109,·111,·115,·127], |
40009 | ········"01000":·94, | 40002 | ········"01000":·94, |
40010 | ········"010522":·92, | ||
40011 | ········"0105224":·92, | ||
40012 | ········"010749":·[48,·71], | ||
40013 | ········"011":·[47,·58,·88], | 40003 | ········"011":·[47,·58,·88], |
40014 | ········"0115":·[62,·92], | 40004 | ········"0115":·[62,·92], |
40015 | ········"01157815659":·32, | 40005 | ········"01157815659":·32, |
40016 | ········"0116":·34, | 40006 | ········"0116":·34, |
40017 | ········"012":·13, | 40007 | ········"012":·13, |
40018 | ········"012000000003":·[29,·38,·51], | 40008 | ········"012000000003":·[29,·38,·51], |
40019 | ········"01200003":·[29,·38,·51], | 40009 | ········"01200003":·[29,·38,·51], |
Offset 40022, 222 lines modified | Offset 40012, 224 lines modified | ||
40022 | ········"0121":·30, | 40012 | ········"0121":·30, |
40023 | ········"0123":·[38,·119], | 40013 | ········"0123":·[38,·119], |
40024 | ········"012345000065":·[29,·38,·51], | 40014 | ········"012345000065":·[29,·38,·51], |
40025 | ········"01234565":·[29,·38,·51], | 40015 | ········"01234565":·[29,·38,·51], |
40026 | ········"0123456789":·[35,·38,·49,·91,·119], | 40016 | ········"0123456789":·[35,·38,·49,·91,·119], |
40027 | ········"013":·[38,·47,·119], | 40017 | ········"013":·[38,·47,·119], |
40028 | ········"013413":·25, | 40018 | ········"013413":·25, |
40029 | ········"01346":·18, | ||
40030 | ········"013460":·18, | ||
40031 | ········"0140":·[38,·119], | 40019 | ········"0140":·[38,·119], |
40032 | ········"01444":·[35,·38,·49,·91,·119], | 40020 | ········"01444":·[35,·38,·49,·91,·119], |
40033 | ········"015":·83, | 40021 | ········"015":·83, |
40034 | ········"0150337449585798032331210981996776098583294846980799364841594847719451650":·[38,·124], | 40022 | ········"0150337449585798032331210981996776098583294846980799364841594847719451650":·[38,·124], |
40023 | ········"015152":·91, | ||
40035 | ········"01530":·[38,·119], | 40024 | ········"01530":·[38,·119], |
40036 | ········"0156593877847":·[29,·38,·51], | 40025 | ········"0156593877847":·[29,·38,·51], |
40037 | ········"015781000057":·[29,·38,·51], | 40026 | ········"015781000057":·[29,·38,·51], |
40038 | ········"015913":·25, | 40027 | ········"015913":·25, |
40039 | ········"016":·[35,·38,·45,·49,·67,·91,·116], | 40028 | ········"016":·[35,·38,·45,·49,·67,·91,·116], |
40040 | ········"0160":·[38,·45,·47,·74,·75,·79], | 40029 | ········"0160":·[38,·45,·47,·74,·75,·79], |
40041 | ········"01609":·25, | 40030 | ········"01609":·25, |
40042 | ········"016097535134":·[29,·38,·51], | 40031 | ········"016097535134":·[29,·38,·51], |
40043 | ········"0163":·64, | 40032 | ········"0163":·64, |
40033 | ········"016604":·81, | ||
40034 | ········"0166042":·81, | ||
40044 | ········"0168":·[38,·123], | 40035 | ········"0168":·[38,·123], |
40045 | ········"018041":·96, | 40036 | ········"018041":·96, |
40037 | ········"018492":·76, | ||
40038 | ········"0184922":·76, | ||
40039 | ········"0195587":·111, | ||
40046 | ········"02":·[6,·9,·11,·13,·15,·17,·18,·20,·22,·25,·35,·38,·39,·40,·42,·44,·47,·49,·51,·52,·53,·56,·58,·59,·60,·61,·62,·64,·65,·66,·67,·75,·76,·78,·79,·80,·81,·82,·83,·84,·88,·90,·91,·92,·94,·95,·96,·98,·99,·102,·109,·111], | 40040 | ········"02":·[6,·9,·11,·13,·15,·17,·18,·20,·22,·25,·35,·38,·39,·40,·42,·44,·47,·49,·51,·52,·53,·56,·58,·59,·60,·61,·62,·64,·65,·66,·67,·75,·76,·78,·79,·80,·81,·82,·83,·84,·88,·90,·91,·92,·94,·95,·96,·98,·99,·102,·109,·111,·119], |
40047 | ········"020":·[30,·45], | 40041 | ········"020":·[30,·45], |
40048 | ········"02033939402":·76, | ||
40049 | ········"0205938242":·93, | 40042 | ········"0205938242":·93, |
40043 | ········"020749":·[48,·71], | ||
40050 | ········"020911":·96, | 40044 | ········"020911":·96, |
40051 | ········"021":·42, | 40045 | ········"021":·42, |
40052 | ········"021155":·[48,·71], | ||
40053 | ········"021361":·81, | ||
40054 | ········"0213612":·81, | ||
40055 | ········"02146":·33, | 40046 | ········"02146":·33, |
40056 | ········"02173":·83, | 40047 | ········"02173":·83, |
40057 | ········"02185":·[21,·52], | 40048 | ········"02185":·[21,·52], |
40058 | ········"0219":·30, | 40049 | ········"0219":·30, |
40059 | ········"0219489241150":·[29,·38,·51], | 40050 | ········"0219489241150":·[29,·38,·51], |
40051 | ········"021956":·82, | ||
Max diff block lines reached; 336128/342025 bytes (98.28%) of diff not shown. |