Offset 1, 4 lines modified | Offset 1, 4 lines modified | ||
1 | · | 1 | ·8dac5f2b407a75f38aeb4f6d70598a22·961560·doc·optional·faker-doc_28.1.0-2_all.deb |
2 | ·bbba38e6f2b3d1dbf54cd60d63d526ce·29428·python·optional·faker_28.1.0-2_all.deb | 2 | ·bbba38e6f2b3d1dbf54cd60d63d526ce·29428·python·optional·faker_28.1.0-2_all.deb |
3 | ·0da3d028f3c27e3b3f98747275319d61·1256036·python·optional·python3-fake-factory_28.1.0-2_all.deb | 3 | ·0da3d028f3c27e3b3f98747275319d61·1256036·python·optional·python3-fake-factory_28.1.0-2_all.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2024-09-03·08:31:40.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2024-09-03·08:31:40.000000·debian-binary |
2 | -rw-r--r--···0········0········0·····69 | 2 | -rw-r--r--···0········0········0·····6904·2024-09-03·08:31:40.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0···95 | 3 | -rw-r--r--···0········0········0···954464·2024-09-03·08:31:40.000000·data.tar.xz |
Offset 1, 13 lines modified | Offset 1, 13 lines modified | ||
1 | Package:·faker-doc | 1 | Package:·faker-doc |
2 | Source:·faker | 2 | Source:·faker |
3 | Version:·28.1.0-2 | 3 | Version:·28.1.0-2 |
4 | Architecture:·all | 4 | Architecture:·all |
5 | Maintainer:·Debian·Python·Team·<team+python@tracker.debian.org> | 5 | Maintainer:·Debian·Python·Team·<team+python@tracker.debian.org> |
6 | Installed-Size:·329 | 6 | Installed-Size:·32946 |
7 | Depends:·libjs-sphinxdoc·(>=·7.4) | 7 | Depends:·libjs-sphinxdoc·(>=·7.4) |
8 | Section:·doc | 8 | Section:·doc |
9 | Priority:·optional | 9 | Priority:·optional |
10 | Multi-Arch:·foreign | 10 | Multi-Arch:·foreign |
11 | Homepage:·https://github.com/joke2k/faker | 11 | Homepage:·https://github.com/joke2k/faker |
12 | Description:·Faker·is·a·Python·library·that·generates·fake·data·(Documentation) | 12 | Description:·Faker·is·a·Python·library·that·generates·fake·data·(Documentation) |
13 | ·The·fake·data·can·be·used·to·bootstrap·a·database,·create·XML·documents,·or | 13 | ·The·fake·data·can·be·used·to·bootstrap·a·database,·create·XML·documents,·or |
Offset 152, 140 lines modified | Offset 152, 140 lines modified | ||
152 | -rw-r--r--···0·root·········(0)·root·········(0)·····9444·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/communityproviders.html | 152 | -rw-r--r--···0·root·········(0)·root·········(0)·····9444·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/communityproviders.html |
153 | -rw-r--r--···0·root·········(0)·root·········(0)····37252·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/fakerclass.html | 153 | -rw-r--r--···0·root·········(0)·root·········(0)····37252·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/fakerclass.html |
154 | -rw-r--r--···0·root·········(0)·root·········(0)··1334041·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/genindex.html | 154 | -rw-r--r--···0·root·········(0)·root·········(0)··1334041·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/genindex.html |
155 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/includes/ | 155 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/includes/ |
156 | -rw-r--r--···0·root·········(0)·root·········(0)·····3126·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/includes/substitutions.html | 156 | -rw-r--r--···0·root·········(0)·root·········(0)·····3126·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/includes/substitutions.html |
157 | -rw-r--r--···0·root·········(0)·root·········(0)····60207·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/index.html | 157 | -rw-r--r--···0·root·········(0)·root·········(0)····60207·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/index.html |
158 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ | 158 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ |
159 | -rw-r--r--···0·root·········(0)·root·········(0)···4118 | 159 | -rw-r--r--···0·root·········(0)·root·········(0)···411870·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ar_AA.html |
160 | -rw-r--r--···0·root·········(0)·root·········(0)····25930·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ar_AE.html | 160 | -rw-r--r--···0·root·········(0)·root·········(0)····25930·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ar_AE.html |
161 | -rw-r--r--···0·root·········(0)·root·········(0)····10614·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ar_BH.html | 161 | -rw-r--r--···0·root·········(0)·root·········(0)····10614·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ar_BH.html |
162 | -rw-r--r--···0·root·········(0)·root·········(0)···1611 | 162 | -rw-r--r--···0·root·········(0)·root·········(0)···161146·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ar_EG.html |
163 | -rw-r--r--···0·root·········(0)·root·········(0)····29957·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ar_JO.html | 163 | -rw-r--r--···0·root·········(0)·root·········(0)····29957·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ar_JO.html |
164 | -rw-r--r--···0·root·········(0)·root·········(0)···123196·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ar_PS.html | 164 | -rw-r--r--···0·root·········(0)·root·········(0)···123196·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ar_PS.html |
165 | -rw-r--r--···0·root·········(0)·root·········(0)····58584·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ar_SA.html | 165 | -rw-r--r--···0·root·········(0)·root·········(0)····58584·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ar_SA.html |
166 | -rw-r--r--···0·root·········(0)·root·········(0)···5944 | 166 | -rw-r--r--···0·root·········(0)·root·········(0)···594423·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/az_AZ.html |
167 | -rw-r--r--···0·root·········(0)·root·········(0)···222415·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/bg_BG.html | 167 | -rw-r--r--···0·root·········(0)·root·········(0)···222415·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/bg_BG.html |
168 | -rw-r--r--···0·root·········(0)·root·········(0)···6410 | 168 | -rw-r--r--···0·root·········(0)·root·········(0)···641083·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/bn_BD.html |
169 | -rw-r--r--···0·root·········(0)·root·········(0)···118935·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/bs_BA.html | 169 | -rw-r--r--···0·root·········(0)·root·········(0)···118935·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/bs_BA.html |
170 | -rw-r--r--···0·root·········(0)·root·········(0)···5860 | 170 | -rw-r--r--···0·root·········(0)·root·········(0)···586087·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/cs_CZ.html |
171 | -rw-r--r--···0·root·········(0)·root·········(0)···4559 | 171 | -rw-r--r--···0·root·········(0)·root·········(0)···455924·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/da_DK.html |
172 | -rw-r--r--···0·root·········(0)·root·········(0)····18290·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/de.html | 172 | -rw-r--r--···0·root·········(0)·root·········(0)····18290·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/de.html |
173 | -rw-r--r--···0·root·········(0)·root·········(0)···51468 | 173 | -rw-r--r--···0·root·········(0)·root·········(0)···514684·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/de_AT.html |
174 | -rw-r--r--···0·root·········(0)·root·········(0)···126541·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/de_CH.html | 174 | -rw-r--r--···0·root·········(0)·root·········(0)···126541·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/de_CH.html |
175 | -rw-r--r--···0·root·········(0)·root·········(0)···51921 | 175 | -rw-r--r--···0·root·········(0)·root·········(0)···519215·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/de_DE.html |
176 | -rw-r--r--···0·root·········(0)·root·········(0)····10104·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/dk_DK.html | 176 | -rw-r--r--···0·root·········(0)·root·········(0)····10104·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/dk_DK.html |
177 | -rw-r--r--···0·root·········(0)·root·········(0)····10116·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/el_CY.html | 177 | -rw-r--r--···0·root·········(0)·root·········(0)····10116·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/el_CY.html |
178 | -rw-r--r--···0·root·········(0)·root·········(0)···61064 | 178 | -rw-r--r--···0·root·········(0)·root·········(0)···610644·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/el_GR.html |
179 | -rw-r--r--···0·root·········(0)·root·········(0)····38278·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en.html | 179 | -rw-r--r--···0·root·········(0)·root·········(0)····38278·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en.html |
180 | -rw-r--r--···0·root·········(0)·root·········(0)···172138·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_AU.html | 180 | -rw-r--r--···0·root·········(0)·root·········(0)···172138·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_AU.html |
181 | -rw-r--r--···0·root·········(0)·root·········(0)····43355·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_BD.html | 181 | -rw-r--r--···0·root·········(0)·root·········(0)····43355·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_BD.html |
182 | -rw-r--r--···0·root·········(0)·root·········(0)···156607·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_CA.html | 182 | -rw-r--r--···0·root·········(0)·root·········(0)···156607·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_CA.html |
183 | -rw-r--r--···0·root·········(0)·root·········(0)···236286·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_GB.html | 183 | -rw-r--r--···0·root·········(0)·root·········(0)···236286·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_GB.html |
184 | -rw-r--r--···0·root·········(0)·root·········(0)···132613·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_IE.html | 184 | -rw-r--r--···0·root·········(0)·root·········(0)···132613·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_IE.html |
185 | -rw-r--r--···0·root·········(0)·root·········(0)···125448·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_IN.html | 185 | -rw-r--r--···0·root·········(0)·root·········(0)···125448·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_IN.html |
186 | -rw-r--r--···0·root·········(0)·root·········(0)····46631·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_MS.html | 186 | -rw-r--r--···0·root·········(0)·root·········(0)····46631·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_MS.html |
187 | -rw-r--r--···0·root·········(0)·root·········(0)···202823·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_NZ.html | 187 | -rw-r--r--···0·root·········(0)·root·········(0)···202823·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_NZ.html |
188 | -rw-r--r--···0·root·········(0)·root·········(0)··112 | 188 | -rw-r--r--···0·root·········(0)·root·········(0)··1124097·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_PH.html |
189 | -rw-r--r--···0·root·········(0)·root·········(0)····46144·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_PK.html | 189 | -rw-r--r--···0·root·········(0)·root·········(0)····46144·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_PK.html |
190 | -rw-r--r--···0·root·········(0)·root·········(0)····46748·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_TH.html | 190 | -rw-r--r--···0·root·········(0)·root·········(0)····46748·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_TH.html |
191 | -rw-r--r--···0·root·········(0)·root·········(0)··140 | 191 | -rw-r--r--···0·root·········(0)·root·········(0)··1408517·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/en_US.html |
192 | -rw-r--r--···0·root·········(0)·root·········(0)···199705·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/es.html | 192 | -rw-r--r--···0·root·········(0)·root·········(0)···199705·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/es.html |
193 | -rw-r--r--···0·root·········(0)·root·········(0)···4249 | 193 | -rw-r--r--···0·root·········(0)·root·········(0)···424910·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/es_AR.html |
194 | -rw-r--r--···0·root·········(0)·root·········(0)····63608·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/es_CA.html | 194 | -rw-r--r--···0·root·········(0)·root·········(0)····63608·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/es_CA.html |
195 | -rw-r--r--···0·root·········(0)·root·········(0)···49236 | 195 | -rw-r--r--···0·root·········(0)·root·········(0)···492364·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/es_CL.html |
196 | -rw-r--r--···0·root·········(0)·root·········(0)···118781·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/es_CO.html | 196 | -rw-r--r--···0·root·········(0)·root·········(0)···118781·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/es_CO.html |
197 | -rw-r--r--···0·root·········(0)·root·········(0)···5403 | 197 | -rw-r--r--···0·root·········(0)·root·········(0)···540348·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/es_ES.html |
198 | -rw-r--r--···0·root·········(0)·root·········(0)···161771·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/es_MX.html | 198 | -rw-r--r--···0·root·········(0)·root·········(0)···161771·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/es_MX.html |
199 | -rw-r--r--···0·root·········(0)·root·········(0)····75386·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/et_EE.html | 199 | -rw-r--r--···0·root·········(0)·root·········(0)····75386·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/et_EE.html |
200 | -rw-r--r--···0·root·········(0)·root·········(0)···429733·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/fa_IR.html | 200 | -rw-r--r--···0·root·········(0)·root·········(0)···429733·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/fa_IR.html |
201 | -rw-r--r--···0·root·········(0)·root·········(0)···254583·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/fi_FI.html | 201 | -rw-r--r--···0·root·········(0)·root·········(0)···254583·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/fi_FI.html |
202 | -rw-r--r--···0·root·········(0)·root·········(0)··108 | 202 | -rw-r--r--···0·root·········(0)·root·········(0)··1080703·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/fil_PH.html |
203 | -rw-r--r--···0·root·········(0)·root·········(0)····46528·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/fr_BE.html | 203 | -rw-r--r--···0·root·········(0)·root·········(0)····46528·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/fr_BE.html |
204 | -rw-r--r--···0·root·········(0)·root·········(0)···34050 | 204 | -rw-r--r--···0·root·········(0)·root·········(0)···340501·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/fr_CA.html |
205 | -rw-r--r--···0·root·········(0)·root·········(0)···264488·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/fr_CH.html | 205 | -rw-r--r--···0·root·········(0)·root·········(0)···264488·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/fr_CH.html |
206 | -rw-r--r--···0·root·········(0)·root·········(0)···5879 | 206 | -rw-r--r--···0·root·········(0)·root·········(0)···587925·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/fr_FR.html |
207 | -rw-r--r--···0·root·········(0)·root·········(0)····46895·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/fr_QC.html | 207 | -rw-r--r--···0·root·········(0)·root·········(0)····46895·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/fr_QC.html |
208 | -rw-r--r--···0·root·········(0)·root·········(0)····46929·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ga_IE.html | 208 | -rw-r--r--···0·root·········(0)·root·········(0)····46929·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ga_IE.html |
209 | -rw-r--r--···0·root·········(0)·root·········(0)···242970·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/he_IL.html | 209 | -rw-r--r--···0·root·········(0)·root·········(0)···242970·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/he_IL.html |
210 | -rw-r--r--···0·root·········(0)·root·········(0)···24448 | 210 | -rw-r--r--···0·root·········(0)·root·········(0)···244489·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/hi_IN.html |
211 | -rw-r--r--···0·root·········(0)·root·········(0)···41399 | 211 | -rw-r--r--···0·root·········(0)·root·········(0)···413993·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/hr_HR.html |
212 | -rw-r--r--···0·root·········(0)·root·········(0)···4347 | 212 | -rw-r--r--···0·root·········(0)·root·········(0)···434706·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/hu_HU.html |
213 | -rw-r--r--···0·root·········(0)·root·········(0)···4217 | 213 | -rw-r--r--···0·root·········(0)·root·········(0)···421729·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/hy_AM.html |
214 | -rw-r--r--···0·root·········(0)·root·········(0)···42003 | 214 | -rw-r--r--···0·root·········(0)·root·········(0)···420030·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/id_ID.html |
215 | -rw-r--r--···0·root·········(0)·root·········(0)····36069·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/it_CH.html | 215 | -rw-r--r--···0·root·········(0)·root·········(0)····36069·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/it_CH.html |
216 | -rw-r--r--···0·root·········(0)·root·········(0)···4290 | 216 | -rw-r--r--···0·root·········(0)·root·········(0)···429055·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/it_IT.html |
217 | -rw-r--r--···0·root·········(0)·root·········(0)···570 | 217 | -rw-r--r--···0·root·········(0)·root·········(0)···570195·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ja_JP.html |
218 | -rw-r--r--···0·root·········(0)·root·········(0)····78316·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ka_GE.html | 218 | -rw-r--r--···0·root·········(0)·root·········(0)····78316·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ka_GE.html |
219 | -rw-r--r--···0·root·········(0)·root·········(0)···3984 | 219 | -rw-r--r--···0·root·········(0)·root·········(0)···398471·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ko_KR.html |
220 | -rw-r--r--···0·root·········(0)·root·········(0)····46660·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/la.html | 220 | -rw-r--r--···0·root·········(0)·root·········(0)····46660·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/la.html |
221 | -rw-r--r--···0·root·········(0)·root·········(0)····10244·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/lb_LU.html | 221 | -rw-r--r--···0·root·········(0)·root·········(0)····10244·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/lb_LU.html |
222 | -rw-r--r--···0·root·········(0)·root·········(0)····66079·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/lt_LT.html | 222 | -rw-r--r--···0·root·········(0)·root·········(0)····66079·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/lt_LT.html |
223 | -rw-r--r--···0·root·········(0)·root·········(0)····61267·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/lv_LV.html | 223 | -rw-r--r--···0·root·········(0)·root·········(0)····61267·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/lv_LV.html |
224 | -rw-r--r--···0·root·········(0)·root·········(0)····10256·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/mt_MT.html | 224 | -rw-r--r--···0·root·········(0)·root·········(0)····10256·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/mt_MT.html |
225 | -rw-r--r--···0·root·········(0)·root·········(0)····90966·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ne_NP.html | 225 | -rw-r--r--···0·root·········(0)·root·········(0)····90966·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ne_NP.html |
226 | -rw-r--r--···0·root·········(0)·root·········(0)···231627·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/nl_BE.html | 226 | -rw-r--r--···0·root·········(0)·root·········(0)···231627·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/nl_BE.html |
227 | -rw-r--r--···0·root·········(0)·root·········(0)···41358 | 227 | -rw-r--r--···0·root·········(0)·root·········(0)···413587·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/nl_NL.html |
228 | -rw-r--r--···0·root·········(0)·root·········(0)···3942 | 228 | -rw-r--r--···0·root·········(0)·root·········(0)···394251·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/no_NO.html |
229 | -rw-r--r--···0·root·········(0)·root·········(0)····51989·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/or_IN.html | 229 | -rw-r--r--···0·root·········(0)·root·········(0)····51989·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/or_IN.html |
230 | -rw-r--r--···0·root·········(0)·root·········(0)···5718 | 230 | -rw-r--r--···0·root·········(0)·root·········(0)···571848·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/pl_PL.html |
231 | -rw-r--r--···0·root·········(0)·root·········(0)···46749 | 231 | -rw-r--r--···0·root·········(0)·root·········(0)···467497·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/pt_BR.html |
232 | -rw-r--r--···0·root·········(0)·root·········(0)···45210 | 232 | -rw-r--r--···0·root·········(0)·root·········(0)···452106·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/pt_PT.html |
233 | -rw-r--r--···0·root·········(0)·root·········(0)···4297 | 233 | -rw-r--r--···0·root·········(0)·root·········(0)···429708·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ro_RO.html |
234 | -rw-r--r--···0·root·········(0)·root·········(0)···64225 | 234 | -rw-r--r--···0·root·········(0)·root·········(0)···642253·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ru_RU.html |
235 | -rw-r--r--···0·root·········(0)·root·········(0)···49711 | 235 | -rw-r--r--···0·root·········(0)·root·········(0)···497113·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/sk_SK.html |
236 | -rw-r--r--···0·root·········(0)·root·········(0)···3613 | 236 | -rw-r--r--···0·root·········(0)·root·········(0)···361387·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/sl_SI.html |
237 | -rw-r--r--···0·root·········(0)·root·········(0)····10624·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/sq_AL.html | 237 | -rw-r--r--···0·root·········(0)·root·········(0)····10624·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/sq_AL.html |
238 | -rw-r--r--···0·root·········(0)·root·········(0)···241194·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/sv_SE.html | 238 | -rw-r--r--···0·root·········(0)·root·········(0)···241194·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/sv_SE.html |
239 | -rw-r--r--···0·root·········(0)·root·········(0)····24566·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/sw.html | 239 | -rw-r--r--···0·root·········(0)·root·········(0)····24566·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/sw.html |
240 | -rw-r--r--···0·root·········(0)·root·········(0)···24483 | 240 | -rw-r--r--···0·root·········(0)·root·········(0)···244838·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/ta_IN.html |
241 | -rw-r--r--···0·root·········(0)·root·········(0)····18290·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/th.html | 241 | -rw-r--r--···0·root·········(0)·root·········(0)····18290·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/th.html |
242 | -rw-r--r--···0·root·········(0)·root·········(0)···6039 | 242 | -rw-r--r--···0·root·········(0)·root·········(0)···603969·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/th_TH.html |
243 | -rw-r--r--···0·root·········(0)·root·········(0)··10 | 243 | -rw-r--r--···0·root·········(0)·root·········(0)··1079519·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/tl_PH.html |
244 | -rw-r--r--···0·root·········(0)·root·········(0)···4085 | 244 | -rw-r--r--···0·root·········(0)·root·········(0)···408566·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/tr_TR.html |
245 | -rw-r--r--···0·root·········(0)·root·········(0)····54262·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/tw_GH.html | 245 | -rw-r--r--···0·root·········(0)·root·········(0)····54262·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/tw_GH.html |
246 | -rw-r--r--···0·root·········(0)·root·········(0)···456199·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/uk_UA.html | 246 | -rw-r--r--···0·root·········(0)·root·········(0)···456199·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/uk_UA.html |
247 | -rw-r--r--···0·root·········(0)·root·········(0)···4341 | 247 | -rw-r--r--···0·root·········(0)·root·········(0)···434112·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/vi_VN.html |
248 | -rw-r--r--···0·root·········(0)·root·········(0)····46734·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/yo_NG.html | 248 | -rw-r--r--···0·root·········(0)·root·········(0)····46734·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/yo_NG.html |
249 | -rw-r--r--···0·root·········(0)·root·········(0)···520 | 249 | -rw-r--r--···0·root·········(0)·root·········(0)···520285·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/zh_CN.html |
250 | -rw-r--r--···0·root·········(0)·root·········(0)···4856 | 250 | -rw-r--r--···0·root·········(0)·root·········(0)···485644·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/zh_TW.html |
251 | -rw-r--r--···0·root·········(0)·root·········(0)····46708·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/zu_ZA.html | 251 | -rw-r--r--···0·root·········(0)·root·········(0)····46708·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales/zu_ZA.html |
252 | -rw-r--r--···0·root·········(0)·root·········(0)···141121·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales.html | 252 | -rw-r--r--···0·root·········(0)·root·········(0)···141121·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/locales.html |
253 | -rw-r--r--···0·root·········(0)·root·········(0)····37931·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/objects.inv | 253 | -rw-r--r--···0·root·········(0)·root·········(0)····37931·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/objects.inv |
254 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/ | 254 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/ |
255 | -rw-r--r--···0·root·········(0)·root·········(0)···125671·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/baseprovider.html | 255 | -rw-r--r--···0·root·········(0)·root·········(0)···125671·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/baseprovider.html |
256 | -rw-r--r--···0·root·········(0)·root·········(0)····30898·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.address.html | 256 | -rw-r--r--···0·root·········(0)·root·········(0)····30898·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.address.html |
257 | -rw-r--r--···0·root·········(0)·root·········(0)····10547·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.automotive.html | 257 | -rw-r--r--···0·root·········(0)·root·········(0)····10547·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.automotive.html |
258 | -rw-r--r--···0·root·········(0)·root·········(0)····36775·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.bank.html | 258 | -rw-r--r--···0·root·········(0)·root·········(0)····36775·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.bank.html |
259 | -rw-r--r--···0·root·········(0)·root·········(0)····39778·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.barcode.html | 259 | -rw-r--r--···0·root·········(0)·root·········(0)····39778·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.barcode.html |
260 | -rw-r--r--···0·root·········(0)·root·········(0)····53124·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.color.html | 260 | -rw-r--r--···0·root·········(0)·root·········(0)····53124·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.color.html |
261 | -rw-r--r--···0·root·········(0)·root·········(0)····14854·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.company.html | 261 | -rw-r--r--···0·root·········(0)·root·········(0)····14854·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.company.html |
262 | -rw-r--r--···0·root·········(0)·root·········(0)····26039·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.credit_card.html | 262 | -rw-r--r--···0·root·········(0)·root·········(0)····26039·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.credit_card.html |
263 | -rw-r--r--···0·root·········(0)·root·········(0)····23944·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.currency.html | 263 | -rw-r--r--···0·root·········(0)·root·········(0)····23944·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.currency.html |
264 | -rw-r--r--···0·root·········(0)·root·········(0)···16086 | 264 | -rw-r--r--···0·root·········(0)·root·········(0)···160861·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.date_time.html |
265 | -rw-r--r--···0·root·········(0)·root·········(0)·····8562·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.emoji.html | 265 | -rw-r--r--···0·root·········(0)·root·········(0)·····8562·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.emoji.html |
266 | -rw-r--r--···0·root·········(0)·root·········(0)····46591·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.file.html | 266 | -rw-r--r--···0·root·········(0)·root·········(0)····46591·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.file.html |
267 | -rw-r--r--···0·root·········(0)·root·········(0)····24657·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.geo.html | 267 | -rw-r--r--···0·root·········(0)·root·········(0)····24657·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.geo.html |
268 | -rw-r--r--···0·root·········(0)·root·········(0)···106972·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.internet.html | 268 | -rw-r--r--···0·root·········(0)·root·········(0)···106972·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.internet.html |
269 | -rw-r--r--···0·root·········(0)·root·········(0)····12105·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.isbn.html | 269 | -rw-r--r--···0·root·········(0)·root·········(0)····12105·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.isbn.html |
270 | -rw-r--r--···0·root·········(0)·root·········(0)·····8400·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.job.html | 270 | -rw-r--r--···0·root·········(0)·root·········(0)·····8400·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.job.html |
271 | -rw-r--r--···0·root·········(0)·root·········(0)····96356·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.lorem.html | 271 | -rw-r--r--···0·root·········(0)·root·········(0)····96356·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.lorem.html |
272 | -rw-r--r--···0·root·········(0)·root·········(0)···50 | 272 | -rw-r--r--···0·root·········(0)·root·········(0)···501053·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.misc.html |
273 | -rw-r--r--···0·root·········(0)·root·········(0)····13889·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.passport.html | 273 | -rw-r--r--···0·root·········(0)·root·········(0)····13889·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.passport.html |
274 | -rw-r--r--···0·root·········(0)·root·········(0)····46457·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.person.html | 274 | -rw-r--r--···0·root·········(0)·root·········(0)····46457·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.person.html |
275 | -rw-r--r--···0·root·········(0)·root·········(0)····12569·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.phone_number.html | 275 | -rw-r--r--···0·root·········(0)·root·········(0)····12569·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.phone_number.html |
276 | -rw-r--r--···0·root·········(0)·root·········(0)····2195 | 276 | -rw-r--r--···0·root·········(0)·root·········(0)····21956·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.profile.html |
277 | -rw-r--r--···0·root·········(0)·root·········(0)···1132 | 277 | -rw-r--r--···0·root·········(0)·root·········(0)···113257·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.python.html |
278 | -rw-r--r--···0·root·········(0)·root·········(0)·····9202·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.sbn.html | 278 | -rw-r--r--···0·root·········(0)·root·········(0)·····9202·2024-09-03·08:31:40.000000·./usr/share/doc/faker-doc/html/providers/faker.providers.sbn.html |
Max diff block lines reached; 1962/26004 bytes (7.54%) of diff not shown. |
Offset 56, 18 lines modified | Offset 56, 18 lines modified | ||
56 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 56 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
57 | <dd·class="field-odd"><p></p></dd> | 57 | <dd·class="field-odd"><p></p></dd> |
58 | </dl> | 58 | </dl> |
59 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 59 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
60 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 60 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
61 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 61 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
62 | <span·class="gp">...</span> | 62 | <span·class="gp">...</span> |
63 | <span·class="go">'ص'</span> | ||
64 | <span·class="go">'م'</span> | 63 | <span·class="go">'م'</span> |
65 | <span·class="go">'م'</span> | 64 | <span·class="go">'م'</span> |
66 | <span·class="go">'م'</span> | 65 | <span·class="go">'م'</span> |
66 | <span·class="go">'ص'</span> | ||
67 | <span·class="go">'م'</span> | 67 | <span·class="go">'م'</span> |
68 | </pre></div> | 68 | </pre></div> |
69 | </div> | 69 | </div> |
70 | </dd></dl> | 70 | </dd></dl> |
71 | <dl·class="py·method"> | 71 | <dl·class="py·method"> |
72 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ar_AA.Provider.century"> | 72 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ar_AA.Provider.century"> |
Offset 109, 19 lines modified | Offset 109, 19 lines modified | ||
109 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 109 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
110 | <dd·class="field-even"><p></p></dd> | 110 | <dd·class="field-even"><p></p></dd> |
111 | </dl> | 111 | </dl> |
112 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 112 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
113 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 113 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
114 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 114 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
115 | <span·class="gp">...</span> | 115 | <span·class="gp">...</span> |
116 | <span·class="go">'2017-03-27'</span> | ||
117 | <span·class="go">'201 | 116 | <span·class="go">'2016-04-25'</span> |
117 | <span·class="go">'2011-07-29'</span> | ||
118 | <span·class="go">'1993-0 | 118 | <span·class="go">'1993-01-25'</span> |
119 | <span·class="go">'1984-0 | 119 | <span·class="go">'1984-03-15'</span> |
120 | <span·class="go">'1998-0 | 120 | <span·class="go">'1998-01-16'</span> |
121 | </pre></div> | 121 | </pre></div> |
122 | </div> | 122 | </div> |
123 | </dd></dl> | 123 | </dd></dl> |
124 | <dl·class="py·method"> | 124 | <dl·class="py·method"> |
125 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ar_AA.Provider.date_between"> | 125 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ar_AA.Provider.date_between"> |
126 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ar_AA.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 126 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ar_AA.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 143, 19 lines modified | Offset 143, 19 lines modified | ||
143 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 143 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
144 | <dd·class="field-even"><p></p></dd> | 144 | <dd·class="field-even"><p></p></dd> |
145 | </dl> | 145 | </dl> |
146 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 146 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
147 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 147 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
148 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 148 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
149 | <span·class="gp">...</span> | 149 | <span·class="gp">...</span> |
150 | <span·class="go">datetime.date(202 | 150 | <span·class="go">datetime.date(2020,·3,·7)</span> |
151 | <span·class="go">datetime.date(201 | 151 | <span·class="go">datetime.date(2017,·8,·2)</span> |
152 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
153 | <span·class="go">datetime.date(200 | 152 | <span·class="go">datetime.date(2007,·6,·19)</span> |
153 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
154 | <span·class="go">datetime.date(201 | 154 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 181 | <span·class="go">datetime.date(2024,·11,·6)</span> |
182 | <span·class="go">datetime.date(202 | 182 | <span·class="go">datetime.date(2024,·11,·6)</span> |
183 | <span·class="go">datetime.date(202 | 183 | <span·class="go">datetime.date(2024,·11,·6)</span> |
184 | <span·class="go">datetime.date(202 | 184 | <span·class="go">datetime.date(2024,·11,·6)</span> |
185 | <span·class="go">datetime.date(202 | 185 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 198, 19 lines modified | ||
198 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 198 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
199 | <dd·class="field-even"><p></p></dd> | 199 | <dd·class="field-even"><p></p></dd> |
200 | </dl> | 200 | </dl> |
201 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 201 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
202 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 202 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
203 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 203 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
204 | <span·class="gp">...</span> | 204 | <span·class="gp">...</span> |
205 | <span·class="go">datetime.date(2017,·3,·27)</span> | ||
206 | <span·class="go">datetime.date(201 | 205 | <span·class="go">datetime.date(2016,·4,·25)</span> |
206 | <span·class="go">datetime.date(2011,·7,·29)</span> | ||
207 | <span·class="go">datetime.date(1993,· | 207 | <span·class="go">datetime.date(1993,·1,·25)</span> |
208 | <span·class="go">datetime.date(1984,· | 208 | <span·class="go">datetime.date(1984,·3,·15)</span> |
209 | <span·class="go">datetime.date(1998,· | 209 | <span·class="go">datetime.date(1998,·1,·16)</span> |
210 | </pre></div> | 210 | </pre></div> |
211 | </div> | 211 | </div> |
212 | </dd></dl> | 212 | </dd></dl> |
213 | <dl·class="py·method"> | 213 | <dl·class="py·method"> |
214 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ar_AA.Provider.date_of_birth"> | 214 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ar_AA.Provider.date_of_birth"> |
215 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ar_AA.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 215 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ar_AA.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
Offset 234, 19 lines modified | Offset 234, 19 lines modified | ||
234 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 234 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
235 | <dd·class="field-even"><p></p></dd> | 235 | <dd·class="field-even"><p></p></dd> |
236 | </dl> | 236 | </dl> |
237 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 237 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
238 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 238 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
239 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 239 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
240 | <span·class="gp">...</span> | 240 | <span·class="gp">...</span> |
241 | <span·class="go">datetime.date(200 | 241 | <span·class="go">datetime.date(2006,·10,·20)</span> |
242 | <span·class="go">datetime.date(1996,·10,·8)</span> | ||
243 | <span·class="go">datetime.date(1957,·8,·20)</span> | ||
242 | <span·class="go">datetime.date(19 | 244 | <span·class="go">datetime.date(1938,·11,·19)</span> |
243 | <span·class="go">datetime.date(19 | 245 | <span·class="go">datetime.date(1968,·2,·27)</span> |
244 | <span·class="go">datetime.date(1939,·12,·21)</span> | ||
245 | <span·class="go">datetime.date(1969,·3,·30)</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> |
Max diff block lines reached; 98307/119961 bytes (81.95%) of diff not shown. |
Offset 11, 18 lines modified | Offset 11, 18 lines modified | ||
11 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 11 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
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 | ············'ص' | ||
19 | ············'م' | 18 | ············'م' |
20 | ············'م' | 19 | ············'م' |
21 | ············'م' | 20 | ············'م' |
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): |
Offset 43, 19 lines modified | Offset 43, 19 lines modified | ||
43 | ··············Returns: | 43 | ··············Returns: |
44 | ··················Date | 44 | ··················Date |
45 | ··············Examples: | 45 | ··············Examples: |
46 | ············>>>·Faker.seed(0) | 46 | ············>>>·Faker.seed(0) |
47 | ············>>>·for·_·in·range(5): | 47 | ············>>>·for·_·in·range(5): |
48 | ············...·····fake.date() | 48 | ············...·····fake.date() |
49 | ············... | 49 | ············... |
50 | ············'2017-03-27' | ||
51 | ············'201 | 50 | ············'2016-04-25' |
51 | ············'2011-07-29' | ||
52 | ············'1993-0 | 52 | ············'1993-01-25' |
53 | ············'1984-0 | 53 | ············'1984-03-15' |
54 | ············'1998-0 | 54 | ············'1998-01-16' |
55 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 55 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
56 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 56 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
57 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 57 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
58 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 58 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
59 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 59 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
60 | ··············Parameters: | 60 | ··············Parameters: |
61 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 61 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
Offset 65, 19 lines modified | Offset 65, 19 lines modified | ||
65 | ··············Returns: | 65 | ··············Returns: |
66 | ··················Date | 66 | ··················Date |
67 | ··············Examples: | 67 | ··············Examples: |
68 | ············>>>·Faker.seed(0) | 68 | ············>>>·Faker.seed(0) |
69 | ············>>>·for·_·in·range(5): | 69 | ············>>>·for·_·in·range(5): |
70 | ············...·····fake.date_between() | 70 | ············...·····fake.date_between() |
71 | ············... | 71 | ············... |
72 | ············datetime.date(202 | 72 | ············datetime.date(2020,·3,·7) |
73 | ············datetime.date(201 | 73 | ············datetime.date(2017,·8,·2) |
74 | ············datetime.date(2008,·7,·20) | ||
75 | ············datetime.date(200 | 74 | ············datetime.date(2007,·6,·19) |
75 | ············datetime.date(2002,·8,·13) | ||
76 | ············datetime.date(201 | 76 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 85, 33 lines modified | ||
85 | ··············Returns: | 85 | ··············Returns: |
86 | ··················Date | 86 | ··················Date |
87 | ··············Examples: | 87 | ··············Examples: |
88 | ············>>>·Faker.seed(0) | 88 | ············>>>·Faker.seed(0) |
89 | ············>>>·for·_·in·range(5): | 89 | ············>>>·for·_·in·range(5): |
90 | ············...·····fake.date_between_dates() | 90 | ············...·····fake.date_between_dates() |
91 | ············... | 91 | ············... |
92 | ············datetime.date(202 | 92 | ············datetime.date(2024,·11,·6) |
93 | ············datetime.date(202 | 93 | ············datetime.date(2024,·11,·6) |
94 | ············datetime.date(202 | 94 | ············datetime.date(2024,·11,·6) |
95 | ············datetime.date(202 | 95 | ············datetime.date(2024,·11,·6) |
96 | ············datetime.date(202 | 96 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
107 | ············datetime.date(201 | 106 | ············datetime.date(2016,·4,·25) |
107 | ············datetime.date(2011,·7,·29) | ||
108 | ············datetime.date(1993,· | 108 | ············datetime.date(1993,·1,·25) |
109 | ············datetime.date(1984,· | 109 | ············datetime.date(1984,·3,·15) |
110 | ············datetime.date(1998,· | 110 | ············datetime.date(1998,·1,·16) |
111 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 111 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
112 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 112 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
113 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 113 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
114 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 114 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
115 | ··············Parameters: | 115 | ··············Parameters: |
116 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. | 116 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. |
117 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. | 117 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. |
Offset 121, 19 lines modified | Offset 121, 19 lines modified | ||
121 | ··············Returns: | 121 | ··············Returns: |
122 | ··················Date | 122 | ··················Date |
123 | ··············Examples: | 123 | ··············Examples: |
124 | ············>>>·Faker.seed(0) | 124 | ············>>>·Faker.seed(0) |
125 | ············>>>·for·_·in·range(5): | 125 | ············>>>·for·_·in·range(5): |
126 | ············...·····fake.date_of_birth() | 126 | ············...·····fake.date_of_birth() |
127 | ············... | 127 | ············... |
128 | ············datetime.date(200 | 128 | ············datetime.date(2006,·10,·20) |
129 | ············datetime.date(1996,·10,·8) | ||
130 | ············datetime.date(1957,·8,·20) | ||
129 | ············datetime.date(19 | 131 | ············datetime.date(1938,·11,·19) |
130 | ············datetime.date(19 | 132 | ············datetime.date(1968,·2,·27) |
131 | ············datetime.date(1939,·12,·21) | ||
132 | ············datetime.date(1969,·3,·30) | ||
133 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 133 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
134 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 134 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
135 | ············Gets·a·Date·object·for·the·current·century. | 135 | ············Gets·a·Date·object·for·the·current·century. |
136 | ··············Parameters: | 136 | ··············Parameters: |
137 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 137 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
138 | ························today | 138 | ························today |
139 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 139 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 143, 19 lines modified | Offset 143, 19 lines modified | ||
143 | ··············Returns: | 143 | ··············Returns: |
144 | ··················Date | 144 | ··················Date |
145 | ··············Examples: | 145 | ··············Examples: |
146 | ············>>>·Faker.seed(0) | 146 | ············>>>·Faker.seed(0) |
147 | ············>>>·for·_·in·range(5): | 147 | ············>>>·for·_·in·range(5): |
148 | ············...·····fake.date_this_century() | 148 | ············...·····fake.date_this_century() |
149 | ············... | 149 | ············... |
150 | ············datetime.date(2020,·12,·24) | ||
Max diff block lines reached; 29718/36839 bytes (80.67%) of diff not shown. |
Offset 56, 18 lines modified | Offset 56, 18 lines modified | ||
56 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 56 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
57 | <dd·class="field-odd"><p></p></dd> | 57 | <dd·class="field-odd"><p></p></dd> |
58 | </dl> | 58 | </dl> |
59 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 59 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
60 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 60 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
61 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 61 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
62 | <span·class="gp">...</span> | 62 | <span·class="gp">...</span> |
63 | <span·class="go">'ص'</span> | ||
64 | <span·class="go">'م'</span> | 63 | <span·class="go">'م'</span> |
65 | <span·class="go">'م'</span> | 64 | <span·class="go">'م'</span> |
66 | <span·class="go">'م'</span> | 65 | <span·class="go">'م'</span> |
66 | <span·class="go">'ص'</span> | ||
67 | <span·class="go">'م'</span> | 67 | <span·class="go">'م'</span> |
68 | </pre></div> | 68 | </pre></div> |
69 | </div> | 69 | </div> |
70 | </dd></dl> | 70 | </dd></dl> |
71 | <dl·class="py·method"> | 71 | <dl·class="py·method"> |
72 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ar_EG.Provider.century"> | 72 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ar_EG.Provider.century"> |
Offset 109, 19 lines modified | Offset 109, 19 lines modified | ||
109 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 109 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
110 | <dd·class="field-even"><p></p></dd> | 110 | <dd·class="field-even"><p></p></dd> |
111 | </dl> | 111 | </dl> |
112 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 112 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
113 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 113 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
114 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 114 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
115 | <span·class="gp">...</span> | 115 | <span·class="gp">...</span> |
116 | <span·class="go">'2017-03-27'</span> | ||
117 | <span·class="go">'201 | 116 | <span·class="go">'2016-04-25'</span> |
117 | <span·class="go">'2011-07-29'</span> | ||
118 | <span·class="go">'1993-0 | 118 | <span·class="go">'1993-01-25'</span> |
119 | <span·class="go">'1984-0 | 119 | <span·class="go">'1984-03-15'</span> |
120 | <span·class="go">'1998-0 | 120 | <span·class="go">'1998-01-16'</span> |
121 | </pre></div> | 121 | </pre></div> |
122 | </div> | 122 | </div> |
123 | </dd></dl> | 123 | </dd></dl> |
124 | <dl·class="py·method"> | 124 | <dl·class="py·method"> |
125 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ar_EG.Provider.date_between"> | 125 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ar_EG.Provider.date_between"> |
126 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ar_EG.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 126 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ar_EG.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 143, 19 lines modified | Offset 143, 19 lines modified | ||
143 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 143 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
144 | <dd·class="field-even"><p></p></dd> | 144 | <dd·class="field-even"><p></p></dd> |
145 | </dl> | 145 | </dl> |
146 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 146 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
147 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 147 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
148 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 148 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
149 | <span·class="gp">...</span> | 149 | <span·class="gp">...</span> |
150 | <span·class="go">datetime.date(202 | 150 | <span·class="go">datetime.date(2020,·3,·7)</span> |
151 | <span·class="go">datetime.date(201 | 151 | <span·class="go">datetime.date(2017,·8,·2)</span> |
152 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
153 | <span·class="go">datetime.date(200 | 152 | <span·class="go">datetime.date(2007,·6,·19)</span> |
153 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
154 | <span·class="go">datetime.date(201 | 154 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 181 | <span·class="go">datetime.date(2024,·11,·6)</span> |
182 | <span·class="go">datetime.date(202 | 182 | <span·class="go">datetime.date(2024,·11,·6)</span> |
183 | <span·class="go">datetime.date(202 | 183 | <span·class="go">datetime.date(2024,·11,·6)</span> |
184 | <span·class="go">datetime.date(202 | 184 | <span·class="go">datetime.date(2024,·11,·6)</span> |
185 | <span·class="go">datetime.date(202 | 185 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 198, 19 lines modified | ||
198 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 198 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
199 | <dd·class="field-even"><p></p></dd> | 199 | <dd·class="field-even"><p></p></dd> |
200 | </dl> | 200 | </dl> |
201 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 201 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
202 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 202 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
203 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 203 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
204 | <span·class="gp">...</span> | 204 | <span·class="gp">...</span> |
205 | <span·class="go">datetime.date(2017,·3,·27)</span> | ||
206 | <span·class="go">datetime.date(201 | 205 | <span·class="go">datetime.date(2016,·4,·25)</span> |
206 | <span·class="go">datetime.date(2011,·7,·29)</span> | ||
207 | <span·class="go">datetime.date(1993,· | 207 | <span·class="go">datetime.date(1993,·1,·25)</span> |
208 | <span·class="go">datetime.date(1984,· | 208 | <span·class="go">datetime.date(1984,·3,·15)</span> |
209 | <span·class="go">datetime.date(1998,· | 209 | <span·class="go">datetime.date(1998,·1,·16)</span> |
210 | </pre></div> | 210 | </pre></div> |
211 | </div> | 211 | </div> |
212 | </dd></dl> | 212 | </dd></dl> |
213 | <dl·class="py·method"> | 213 | <dl·class="py·method"> |
214 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ar_EG.Provider.date_of_birth"> | 214 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ar_EG.Provider.date_of_birth"> |
215 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ar_EG.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 215 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ar_EG.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
Offset 234, 19 lines modified | Offset 234, 19 lines modified | ||
234 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 234 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
235 | <dd·class="field-even"><p></p></dd> | 235 | <dd·class="field-even"><p></p></dd> |
236 | </dl> | 236 | </dl> |
237 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 237 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
238 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 238 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
239 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 239 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
240 | <span·class="gp">...</span> | 240 | <span·class="gp">...</span> |
241 | <span·class="go">datetime.date(200 | 241 | <span·class="go">datetime.date(2006,·10,·20)</span> |
242 | <span·class="go">datetime.date(1996,·10,·8)</span> | ||
243 | <span·class="go">datetime.date(1957,·8,·20)</span> | ||
242 | <span·class="go">datetime.date(19 | 244 | <span·class="go">datetime.date(1938,·11,·19)</span> |
243 | <span·class="go">datetime.date(19 | 245 | <span·class="go">datetime.date(1968,·2,·27)</span> |
244 | <span·class="go">datetime.date(1939,·12,·21)</span> | ||
245 | <span·class="go">datetime.date(1969,·3,·30)</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> |
Max diff block lines reached; 98277/119931 bytes (81.94%) of diff not shown. |
Offset 11, 18 lines modified | Offset 11, 18 lines modified | ||
11 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 11 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
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 | ············'ص' | ||
19 | ············'م' | 18 | ············'م' |
20 | ············'م' | 19 | ············'م' |
21 | ············'م' | 20 | ············'م' |
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): |
Offset 43, 19 lines modified | Offset 43, 19 lines modified | ||
43 | ··············Returns: | 43 | ··············Returns: |
44 | ··················Date | 44 | ··················Date |
45 | ··············Examples: | 45 | ··············Examples: |
46 | ············>>>·Faker.seed(0) | 46 | ············>>>·Faker.seed(0) |
47 | ············>>>·for·_·in·range(5): | 47 | ············>>>·for·_·in·range(5): |
48 | ············...·····fake.date() | 48 | ············...·····fake.date() |
49 | ············... | 49 | ············... |
50 | ············'2017-03-27' | ||
51 | ············'201 | 50 | ············'2016-04-25' |
51 | ············'2011-07-29' | ||
52 | ············'1993-0 | 52 | ············'1993-01-25' |
53 | ············'1984-0 | 53 | ············'1984-03-15' |
54 | ············'1998-0 | 54 | ············'1998-01-16' |
55 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 55 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
56 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 56 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
57 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 57 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
58 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 58 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
59 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 59 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
60 | ··············Parameters: | 60 | ··············Parameters: |
61 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 61 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
Offset 65, 19 lines modified | Offset 65, 19 lines modified | ||
65 | ··············Returns: | 65 | ··············Returns: |
66 | ··················Date | 66 | ··················Date |
67 | ··············Examples: | 67 | ··············Examples: |
68 | ············>>>·Faker.seed(0) | 68 | ············>>>·Faker.seed(0) |
69 | ············>>>·for·_·in·range(5): | 69 | ············>>>·for·_·in·range(5): |
70 | ············...·····fake.date_between() | 70 | ············...·····fake.date_between() |
71 | ············... | 71 | ············... |
72 | ············datetime.date(202 | 72 | ············datetime.date(2020,·3,·7) |
73 | ············datetime.date(201 | 73 | ············datetime.date(2017,·8,·2) |
74 | ············datetime.date(2008,·7,·20) | ||
75 | ············datetime.date(200 | 74 | ············datetime.date(2007,·6,·19) |
75 | ············datetime.date(2002,·8,·13) | ||
76 | ············datetime.date(201 | 76 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 85, 33 lines modified | ||
85 | ··············Returns: | 85 | ··············Returns: |
86 | ··················Date | 86 | ··················Date |
87 | ··············Examples: | 87 | ··············Examples: |
88 | ············>>>·Faker.seed(0) | 88 | ············>>>·Faker.seed(0) |
89 | ············>>>·for·_·in·range(5): | 89 | ············>>>·for·_·in·range(5): |
90 | ············...·····fake.date_between_dates() | 90 | ············...·····fake.date_between_dates() |
91 | ············... | 91 | ············... |
92 | ············datetime.date(202 | 92 | ············datetime.date(2024,·11,·6) |
93 | ············datetime.date(202 | 93 | ············datetime.date(2024,·11,·6) |
94 | ············datetime.date(202 | 94 | ············datetime.date(2024,·11,·6) |
95 | ············datetime.date(202 | 95 | ············datetime.date(2024,·11,·6) |
96 | ············datetime.date(202 | 96 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
107 | ············datetime.date(201 | 106 | ············datetime.date(2016,·4,·25) |
107 | ············datetime.date(2011,·7,·29) | ||
108 | ············datetime.date(1993,· | 108 | ············datetime.date(1993,·1,·25) |
109 | ············datetime.date(1984,· | 109 | ············datetime.date(1984,·3,·15) |
110 | ············datetime.date(1998,· | 110 | ············datetime.date(1998,·1,·16) |
111 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 111 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
112 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 112 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
113 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 113 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
114 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 114 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
115 | ··············Parameters: | 115 | ··············Parameters: |
116 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. | 116 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. |
117 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. | 117 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. |
Offset 121, 19 lines modified | Offset 121, 19 lines modified | ||
121 | ··············Returns: | 121 | ··············Returns: |
122 | ··················Date | 122 | ··················Date |
123 | ··············Examples: | 123 | ··············Examples: |
124 | ············>>>·Faker.seed(0) | 124 | ············>>>·Faker.seed(0) |
125 | ············>>>·for·_·in·range(5): | 125 | ············>>>·for·_·in·range(5): |
126 | ············...·····fake.date_of_birth() | 126 | ············...·····fake.date_of_birth() |
127 | ············... | 127 | ············... |
128 | ············datetime.date(200 | 128 | ············datetime.date(2006,·10,·20) |
129 | ············datetime.date(1996,·10,·8) | ||
130 | ············datetime.date(1957,·8,·20) | ||
129 | ············datetime.date(19 | 131 | ············datetime.date(1938,·11,·19) |
130 | ············datetime.date(19 | 132 | ············datetime.date(1968,·2,·27) |
131 | ············datetime.date(1939,·12,·21) | ||
132 | ············datetime.date(1969,·3,·30) | ||
133 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 133 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
134 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 134 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
135 | ············Gets·a·Date·object·for·the·current·century. | 135 | ············Gets·a·Date·object·for·the·current·century. |
136 | ··············Parameters: | 136 | ··············Parameters: |
137 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 137 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
138 | ························today | 138 | ························today |
139 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 139 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 143, 19 lines modified | Offset 143, 19 lines modified | ||
143 | ··············Returns: | 143 | ··············Returns: |
144 | ··················Date | 144 | ··················Date |
145 | ··············Examples: | 145 | ··············Examples: |
146 | ············>>>·Faker.seed(0) | 146 | ············>>>·Faker.seed(0) |
147 | ············>>>·for·_·in·range(5): | 147 | ············>>>·for·_·in·range(5): |
148 | ············...·····fake.date_this_century() | 148 | ············...·····fake.date_this_century() |
149 | ············... | 149 | ············... |
150 | ············datetime.date(2020,·12,·24) | ||
Max diff block lines reached; 29668/36789 bytes (80.64%) of diff not shown. |
Offset 1515, 18 lines modified | Offset 1515, 18 lines modified | ||
1515 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1515 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1516 | <dd·class="field-odd"><p></p></dd> | 1516 | <dd·class="field-odd"><p></p></dd> |
1517 | </dl> | 1517 | </dl> |
1518 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1518 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1519 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1519 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1520 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1520 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1521 | <span·class="gp">...</span> | 1521 | <span·class="gp">...</span> |
1522 | <span·class="go">'AM'</span> | ||
1523 | <span·class="go">'PM'</span> | 1522 | <span·class="go">'PM'</span> |
1524 | <span·class="go">'PM'</span> | 1523 | <span·class="go">'PM'</span> |
1525 | <span·class="go">'PM'</span> | 1524 | <span·class="go">'PM'</span> |
1525 | <span·class="go">'AM'</span> | ||
1526 | <span·class="go">'PM'</span> | 1526 | <span·class="go">'PM'</span> |
1527 | </pre></div> | 1527 | </pre></div> |
1528 | </div> | 1528 | </div> |
1529 | </dd></dl> | 1529 | </dd></dl> |
1530 | <dl·class="py·method"> | 1530 | <dl·class="py·method"> |
1531 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.az_AZ.Provider.century"> | 1531 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.az_AZ.Provider.century"> |
Offset 1568, 19 lines modified | Offset 1568, 19 lines modified | ||
1568 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1568 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1569 | <dd·class="field-even"><p></p></dd> | 1569 | <dd·class="field-even"><p></p></dd> |
1570 | </dl> | 1570 | </dl> |
1571 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1571 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1572 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1572 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1573 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1573 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
1574 | <span·class="gp">...</span> | 1574 | <span·class="gp">...</span> |
1575 | <span·class="go">'2017-03-27'</span> | ||
1576 | <span·class="go">'201 | 1575 | <span·class="go">'2016-04-25'</span> |
1576 | <span·class="go">'2011-07-29'</span> | ||
1577 | <span·class="go">'1993-0 | 1577 | <span·class="go">'1993-01-25'</span> |
1578 | <span·class="go">'1984-0 | 1578 | <span·class="go">'1984-03-15'</span> |
1579 | <span·class="go">'1998-0 | 1579 | <span·class="go">'1998-01-16'</span> |
1580 | </pre></div> | 1580 | </pre></div> |
1581 | </div> | 1581 | </div> |
1582 | </dd></dl> | 1582 | </dd></dl> |
1583 | <dl·class="py·method"> | 1583 | <dl·class="py·method"> |
1584 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.az_AZ.Provider.date_between"> | 1584 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.az_AZ.Provider.date_between"> |
1585 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.az_AZ.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1585 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.az_AZ.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 1602, 19 lines modified | Offset 1602, 19 lines modified | ||
1602 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1602 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1603 | <dd·class="field-even"><p></p></dd> | 1603 | <dd·class="field-even"><p></p></dd> |
1604 | </dl> | 1604 | </dl> |
1605 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1605 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1606 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1606 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1607 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1607 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
1608 | <span·class="gp">...</span> | 1608 | <span·class="gp">...</span> |
1609 | <span·class="go">datetime.date(202 | 1609 | <span·class="go">datetime.date(2020,·3,·7)</span> |
1610 | <span·class="go">datetime.date(201 | 1610 | <span·class="go">datetime.date(2017,·8,·2)</span> |
1611 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
1612 | <span·class="go">datetime.date(200 | 1611 | <span·class="go">datetime.date(2007,·6,·19)</span> |
1612 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
1613 | <span·class="go">datetime.date(201 | 1613 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 1640 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1641 | <span·class="go">datetime.date(202 | 1641 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1642 | <span·class="go">datetime.date(202 | 1642 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1643 | <span·class="go">datetime.date(202 | 1643 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1644 | <span·class="go">datetime.date(202 | 1644 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 1657, 19 lines modified | ||
1657 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1657 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1658 | <dd·class="field-even"><p></p></dd> | 1658 | <dd·class="field-even"><p></p></dd> |
1659 | </dl> | 1659 | </dl> |
1660 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1660 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1661 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1661 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1662 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1662 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
1663 | <span·class="gp">...</span> | 1663 | <span·class="gp">...</span> |
1664 | <span·class="go">datetime.date(2017,·3,·27)</span> | ||
1665 | <span·class="go">datetime.date(201 | 1664 | <span·class="go">datetime.date(2016,·4,·25)</span> |
1665 | <span·class="go">datetime.date(2011,·7,·29)</span> | ||
1666 | <span·class="go">datetime.date(1993,· | 1666 | <span·class="go">datetime.date(1993,·1,·25)</span> |
1667 | <span·class="go">datetime.date(1984,· | 1667 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1668 | <span·class="go">datetime.date(1998,· | 1668 | <span·class="go">datetime.date(1998,·1,·16)</span> |
1669 | </pre></div> | 1669 | </pre></div> |
1670 | </div> | 1670 | </div> |
1671 | </dd></dl> | 1671 | </dd></dl> |
1672 | <dl·class="py·method"> | 1672 | <dl·class="py·method"> |
1673 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.az_AZ.Provider.date_of_birth"> | 1673 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.az_AZ.Provider.date_of_birth"> |
1674 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.az_AZ.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1674 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.az_AZ.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
Offset 1693, 19 lines modified | Offset 1693, 19 lines modified | ||
1693 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1693 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1694 | <dd·class="field-even"><p></p></dd> | 1694 | <dd·class="field-even"><p></p></dd> |
1695 | </dl> | 1695 | </dl> |
1696 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1696 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1697 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1697 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1698 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1698 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
1699 | <span·class="gp">...</span> | 1699 | <span·class="gp">...</span> |
1700 | <span·class="go">datetime.date(200 | 1700 | <span·class="go">datetime.date(2006,·10,·20)</span> |
1701 | <span·class="go">datetime.date(1996,·10,·8)</span> | ||
1702 | <span·class="go">datetime.date(1957,·8,·20)</span> | ||
1701 | <span·class="go">datetime.date(19 | 1703 | <span·class="go">datetime.date(1938,·11,·19)</span> |
1702 | <span·class="go">datetime.date(19 | 1704 | <span·class="go">datetime.date(1968,·2,·27)</span> |
1703 | <span·class="go">datetime.date(1939,·12,·21)</span> | ||
1704 | <span·class="go">datetime.date(1969,·3,·30)</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> |
Max diff block lines reached; 103309/124985 bytes (82.66%) of diff not shown. |
Offset 886, 18 lines modified | Offset 886, 18 lines modified | ||
886 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 886 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
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 | ············'AM' | ||
894 | ············'PM' | 893 | ············'PM' |
895 | ············'PM' | 894 | ············'PM' |
896 | ············'PM' | 895 | ············'PM' |
896 | ············'AM' | ||
897 | ············'PM' | 897 | ············'PM' |
898 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 898 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
899 | ··············Example: | 899 | ··············Example: |
900 | ··················‘XVII’ | 900 | ··················‘XVII’ |
901 | ··············Examples: | 901 | ··············Examples: |
902 | ············>>>·Faker.seed(0) | 902 | ············>>>·Faker.seed(0) |
903 | ············>>>·for·_·in·range(5): | 903 | ············>>>·for·_·in·range(5): |
Offset 918, 19 lines modified | Offset 918, 19 lines modified | ||
918 | ··············Returns: | 918 | ··············Returns: |
919 | ··················Date | 919 | ··················Date |
920 | ··············Examples: | 920 | ··············Examples: |
921 | ············>>>·Faker.seed(0) | 921 | ············>>>·Faker.seed(0) |
922 | ············>>>·for·_·in·range(5): | 922 | ············>>>·for·_·in·range(5): |
923 | ············...·····fake.date() | 923 | ············...·····fake.date() |
924 | ············... | 924 | ············... |
925 | ············'2017-03-27' | ||
926 | ············'201 | 925 | ············'2016-04-25' |
926 | ············'2011-07-29' | ||
927 | ············'1993-0 | 927 | ············'1993-01-25' |
928 | ············'1984-0 | 928 | ············'1984-03-15' |
929 | ············'1998-0 | 929 | ············'1998-01-16' |
930 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 930 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
931 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 931 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
932 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 932 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
933 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 933 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
934 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 934 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
935 | ··············Parameters: | 935 | ··············Parameters: |
936 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 936 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
Offset 940, 19 lines modified | Offset 940, 19 lines modified | ||
940 | ··············Returns: | 940 | ··············Returns: |
941 | ··················Date | 941 | ··················Date |
942 | ··············Examples: | 942 | ··············Examples: |
943 | ············>>>·Faker.seed(0) | 943 | ············>>>·Faker.seed(0) |
944 | ············>>>·for·_·in·range(5): | 944 | ············>>>·for·_·in·range(5): |
945 | ············...·····fake.date_between() | 945 | ············...·····fake.date_between() |
946 | ············... | 946 | ············... |
947 | ············datetime.date(202 | 947 | ············datetime.date(2020,·3,·7) |
948 | ············datetime.date(201 | 948 | ············datetime.date(2017,·8,·2) |
949 | ············datetime.date(2008,·7,·20) | ||
950 | ············datetime.date(200 | 949 | ············datetime.date(2007,·6,·19) |
950 | ············datetime.date(2002,·8,·13) | ||
951 | ············datetime.date(201 | 951 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 960, 33 lines modified | ||
960 | ··············Returns: | 960 | ··············Returns: |
961 | ··················Date | 961 | ··················Date |
962 | ··············Examples: | 962 | ··············Examples: |
963 | ············>>>·Faker.seed(0) | 963 | ············>>>·Faker.seed(0) |
964 | ············>>>·for·_·in·range(5): | 964 | ············>>>·for·_·in·range(5): |
965 | ············...·····fake.date_between_dates() | 965 | ············...·····fake.date_between_dates() |
966 | ············... | 966 | ············... |
967 | ············datetime.date(202 | 967 | ············datetime.date(2024,·11,·6) |
968 | ············datetime.date(202 | 968 | ············datetime.date(2024,·11,·6) |
969 | ············datetime.date(202 | 969 | ············datetime.date(2024,·11,·6) |
970 | ············datetime.date(202 | 970 | ············datetime.date(2024,·11,·6) |
971 | ············datetime.date(202 | 971 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
982 | ············datetime.date(201 | 981 | ············datetime.date(2016,·4,·25) |
982 | ············datetime.date(2011,·7,·29) | ||
983 | ············datetime.date(1993,· | 983 | ············datetime.date(1993,·1,·25) |
984 | ············datetime.date(1984,· | 984 | ············datetime.date(1984,·3,·15) |
985 | ············datetime.date(1998,· | 985 | ············datetime.date(1998,·1,·16) |
986 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 986 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
987 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 987 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
988 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 988 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
989 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 989 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
990 | ··············Parameters: | 990 | ··············Parameters: |
991 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. | 991 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. |
992 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. | 992 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. |
Offset 996, 19 lines modified | Offset 996, 19 lines modified | ||
996 | ··············Returns: | 996 | ··············Returns: |
997 | ··················Date | 997 | ··················Date |
998 | ··············Examples: | 998 | ··············Examples: |
999 | ············>>>·Faker.seed(0) | 999 | ············>>>·Faker.seed(0) |
1000 | ············>>>·for·_·in·range(5): | 1000 | ············>>>·for·_·in·range(5): |
1001 | ············...·····fake.date_of_birth() | 1001 | ············...·····fake.date_of_birth() |
1002 | ············... | 1002 | ············... |
1003 | ············datetime.date(200 | 1003 | ············datetime.date(2006,·10,·20) |
1004 | ············datetime.date(1996,·10,·8) | ||
1005 | ············datetime.date(1957,·8,·20) | ||
1004 | ············datetime.date(19 | 1006 | ············datetime.date(1938,·11,·19) |
1005 | ············datetime.date(19 | 1007 | ············datetime.date(1968,·2,·27) |
1006 | ············datetime.date(1939,·12,·21) | ||
1007 | ············datetime.date(1969,·3,·30) | ||
1008 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 1008 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
1009 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1009 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
1010 | ············Gets·a·Date·object·for·the·current·century. | 1010 | ············Gets·a·Date·object·for·the·current·century. |
1011 | ··············Parameters: | 1011 | ··············Parameters: |
1012 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 1012 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
1013 | ························today | 1013 | ························today |
1014 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 1014 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 1018, 19 lines modified | Offset 1018, 19 lines modified | ||
1018 | ··············Returns: | 1018 | ··············Returns: |
1019 | ··················Date | 1019 | ··················Date |
1020 | ··············Examples: | 1020 | ··············Examples: |
1021 | ············>>>·Faker.seed(0) | 1021 | ············>>>·Faker.seed(0) |
1022 | ············>>>·for·_·in·range(5): | 1022 | ············>>>·for·_·in·range(5): |
1023 | ············...·····fake.date_this_century() | 1023 | ············...·····fake.date_this_century() |
1024 | ············... | 1024 | ············... |
1025 | ············datetime.date(2020,·12,·24) | ||
Max diff block lines reached; 32694/39831 bytes (82.08%) of diff not shown. |
Offset 476, 18 lines modified | Offset 476, 18 lines modified | ||
476 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 476 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
477 | <dd·class="field-odd"><p></p></dd> | 477 | <dd·class="field-odd"><p></p></dd> |
478 | </dl> | 478 | </dl> |
479 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 479 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
480 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 480 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
481 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">ascii_company_email</span><span·class="p">()</span> | 481 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">ascii_company_email</span><span·class="p">()</span> |
482 | <span·class="gp">...</span> | 482 | <span·class="gp">...</span> |
483 | <span·class="go">'frodo201 | 483 | <span·class="go">'frodo2011@burborkov.info'</span> |
484 | <span·class="go">'yakimkobilarov@chupetlovska.net'</span> | 484 | <span·class="go">'yakimkobilarov@chupetlovska.net'</span> |
485 | <span·class="go">'fenerovgatso@pulev.org'</span> | 485 | <span·class="go">'fenerovgatso@pulev.org'</span> |
486 | <span·class="go">'inan20 | 486 | <span·class="go">'inan2019@dzezov.info'</span> |
487 | <span·class="go">'dzhon-stefan56@bedrinov.info'</span> | 487 | <span·class="go">'dzhon-stefan56@bedrinov.info'</span> |
488 | </pre></div> | 488 | </pre></div> |
489 | </div> | 489 | </div> |
490 | </dd></dl> | 490 | </dd></dl> |
491 | <dl·class="py·method"> | 491 | <dl·class="py·method"> |
492 | <dt·class="sig·sig-object·py"·id="faker.providers.internet.bg_BG.Provider.ascii_email"> | 492 | <dt·class="sig·sig-object·py"·id="faker.providers.internet.bg_BG.Provider.ascii_email"> |
Offset 498, 15 lines modified | Offset 498, 15 lines modified | ||
498 | </dl> | 498 | </dl> |
499 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 499 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
500 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 500 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
501 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">ascii_email</span><span·class="p">()</span> | 501 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">ascii_email</span><span·class="p">()</span> |
502 | <span·class="gp">...</span> | 502 | <span·class="gp">...</span> |
503 | <span·class="go">'chenko1972@belezhkova.info'</span> | 503 | <span·class="go">'chenko1972@belezhkova.info'</span> |
504 | <span·class="go">'kiberzlatkov@mangufova.biz'</span> | 504 | <span·class="go">'kiberzlatkov@mangufova.biz'</span> |
505 | <span·class="go">'despin200 | 505 | <span·class="go">'despin2003@hotmail.com'</span> |
506 | <span·class="go">'makaronskitominka@gmail.com'</span> | 506 | <span·class="go">'makaronskitominka@gmail.com'</span> |
507 | <span·class="go">'panomakaronski@kurtakova.net'</span> | 507 | <span·class="go">'panomakaronski@kurtakova.net'</span> |
508 | </pre></div> | 508 | </pre></div> |
509 | </div> | 509 | </div> |
510 | </dd></dl> | 510 | </dd></dl> |
511 | <dl·class="py·method"> | 511 | <dl·class="py·method"> |
Offset 516, 15 lines modified | Offset 516, 15 lines modified | ||
516 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 516 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
517 | <dd·class="field-odd"><p></p></dd> | 517 | <dd·class="field-odd"><p></p></dd> |
518 | </dl> | 518 | </dl> |
519 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 519 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
520 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 520 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
521 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">ascii_free_email</span><span·class="p">()</span> | 521 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">ascii_free_email</span><span·class="p">()</span> |
522 | <span·class="gp">...</span> | 522 | <span·class="gp">...</span> |
523 | <span·class="go">'frodo201 | 523 | <span·class="go">'frodo2011@mail.bg'</span> |
524 | <span·class="go">'mustakovatoshka@mail.bg'</span> | 524 | <span·class="go">'mustakovatoshka@mail.bg'</span> |
525 | <span·class="go">'yakimkobilarov@hotmail.com'</span> | 525 | <span·class="go">'yakimkobilarov@hotmail.com'</span> |
526 | <span·class="go">'kiberzlatkov@yahoo.com'</span> | 526 | <span·class="go">'kiberzlatkov@yahoo.com'</span> |
527 | <span·class="go">'zdravelin42@gmail.com'</span> | 527 | <span·class="go">'zdravelin42@gmail.com'</span> |
528 | </pre></div> | 528 | </pre></div> |
529 | </div> | 529 | </div> |
530 | </dd></dl> | 530 | </dd></dl> |
Offset 536, 15 lines modified | Offset 536, 15 lines modified | ||
536 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 536 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
537 | <dd·class="field-odd"><p></p></dd> | 537 | <dd·class="field-odd"><p></p></dd> |
538 | </dl> | 538 | </dl> |
539 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 539 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
540 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 540 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
541 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">ascii_safe_email</span><span·class="p">()</span> | 541 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">ascii_safe_email</span><span·class="p">()</span> |
542 | <span·class="gp">...</span> | 542 | <span·class="gp">...</span> |
543 | <span·class="go">'frodo201 | 543 | <span·class="go">'frodo2011@example.com'</span> |
544 | <span·class="go">'mustakovatoshka@example.com'</span> | 544 | <span·class="go">'mustakovatoshka@example.com'</span> |
545 | <span·class="go">'yakimkobilarov@example.com'</span> | 545 | <span·class="go">'yakimkobilarov@example.com'</span> |
546 | <span·class="go">'kiberzlatkov@example.org'</span> | 546 | <span·class="go">'kiberzlatkov@example.org'</span> |
547 | <span·class="go">'zdravelin42@example.org'</span> | 547 | <span·class="go">'zdravelin42@example.org'</span> |
548 | </pre></div> | 548 | </pre></div> |
549 | </div> | 549 | </div> |
550 | </dd></dl> | 550 | </dd></dl> |
Offset 556, 18 lines modified | Offset 556, 18 lines modified | ||
556 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 556 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
557 | <dd·class="field-odd"><p></p></dd> | 557 | <dd·class="field-odd"><p></p></dd> |
558 | </dl> | 558 | </dl> |
559 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 559 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
560 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 560 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
561 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">company_email</span><span·class="p">()</span> | 561 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">company_email</span><span·class="p">()</span> |
562 | <span·class="gp">...</span> | 562 | <span·class="gp">...</span> |
563 | <span·class="go">'frodo201 | 563 | <span·class="go">'frodo2011@burborkov.info'</span> |
564 | <span·class="go">'yakimkobilarov@chupetlovska.net'</span> | 564 | <span·class="go">'yakimkobilarov@chupetlovska.net'</span> |
565 | <span·class="go">'fenerovgatso@pulev.org'</span> | 565 | <span·class="go">'fenerovgatso@pulev.org'</span> |
566 | <span·class="go">'inan20 | 566 | <span·class="go">'inan2019@dzezov.info'</span> |
567 | <span·class="go">'dzhon-stefan56@bedrinov.info'</span> | 567 | <span·class="go">'dzhon-stefan56@bedrinov.info'</span> |
568 | </pre></div> | 568 | </pre></div> |
569 | </div> | 569 | </div> |
570 | </dd></dl> | 570 | </dd></dl> |
571 | <dl·class="py·method"> | 571 | <dl·class="py·method"> |
572 | <dt·class="sig·sig-object·py"·id="faker.providers.internet.bg_BG.Provider.dga"> | 572 | <dt·class="sig·sig-object·py"·id="faker.providers.internet.bg_BG.Provider.dga"> |
Offset 649, 15 lines modified | Offset 649, 15 lines modified | ||
649 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 649 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
650 | <dd·class="field-odd"><p></p></dd> | 650 | <dd·class="field-odd"><p></p></dd> |
651 | </dl> | 651 | </dl> |
652 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 652 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
653 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 653 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
654 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">email</span><span·class="p">()</span> | 654 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">email</span><span·class="p">()</span> |
655 | <span·class="gp">...</span> | 655 | <span·class="gp">...</span> |
656 | <span·class="go">'frodo201 | 656 | <span·class="go">'frodo2011@example.com'</span> |
657 | <span·class="go">'mustakovatoshka@example.com'</span> | 657 | <span·class="go">'mustakovatoshka@example.com'</span> |
658 | <span·class="go">'yakimkobilarov@example.com'</span> | 658 | <span·class="go">'yakimkobilarov@example.com'</span> |
659 | <span·class="go">'kiberzlatkov@example.org'</span> | 659 | <span·class="go">'kiberzlatkov@example.org'</span> |
660 | <span·class="go">'zdravelin42@example.org'</span> | 660 | <span·class="go">'zdravelin42@example.org'</span> |
661 | </pre></div> | 661 | </pre></div> |
662 | </div> | 662 | </div> |
663 | </dd></dl> | 663 | </dd></dl> |
Offset 669, 15 lines modified | Offset 669, 15 lines modified | ||
669 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 669 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
670 | <dd·class="field-odd"><p></p></dd> | 670 | <dd·class="field-odd"><p></p></dd> |
671 | </dl> | 671 | </dl> |
672 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 672 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
673 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 673 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
674 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">free_email</span><span·class="p">()</span> | 674 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">free_email</span><span·class="p">()</span> |
675 | <span·class="gp">...</span> | 675 | <span·class="gp">...</span> |
676 | <span·class="go">'frodo201 | 676 | <span·class="go">'frodo2011@mail.bg'</span> |
677 | <span·class="go">'mustakovatoshka@mail.bg'</span> | 677 | <span·class="go">'mustakovatoshka@mail.bg'</span> |
678 | <span·class="go">'yakimkobilarov@hotmail.com'</span> | 678 | <span·class="go">'yakimkobilarov@hotmail.com'</span> |
679 | <span·class="go">'kiberzlatkov@yahoo.com'</span> | 679 | <span·class="go">'kiberzlatkov@yahoo.com'</span> |
680 | <span·class="go">'zdravelin42@gmail.com'</span> | 680 | <span·class="go">'zdravelin42@gmail.com'</span> |
681 | </pre></div> | 681 | </pre></div> |
682 | </div> | 682 | </div> |
683 | </dd></dl> | 683 | </dd></dl> |
Offset 1146, 15 lines modified | Offset 1146, 15 lines modified | ||
1146 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1146 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1147 | <dd·class="field-odd"><p></p></dd> | 1147 | <dd·class="field-odd"><p></p></dd> |
1148 | </dl> | 1148 | </dl> |
1149 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1149 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1150 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1150 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1151 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">safe_email</span><span·class="p">()</span> | 1151 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">safe_email</span><span·class="p">()</span> |
1152 | <span·class="gp">...</span> | 1152 | <span·class="gp">...</span> |
1153 | <span·class="go">'frodo201 | 1153 | <span·class="go">'frodo2011@example.com'</span> |
1154 | <span·class="go">'mustakovatoshka@example.com'</span> | 1154 | <span·class="go">'mustakovatoshka@example.com'</span> |
Max diff block lines reached; 1268/10971 bytes (11.56%) of diff not shown. |
Offset 274, 62 lines modified | Offset 274, 62 lines modified | ||
274 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 274 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
275 | ········ascii_company_email()·→·_\x8s_\x8t_\x8r_\x8¶ | 275 | ········ascii_company_email()·→·_\x8s_\x8t_\x8r_\x8¶ |
276 | ··············Examples: | 276 | ··············Examples: |
277 | ············>>>·Faker.seed(0) | 277 | ············>>>·Faker.seed(0) |
278 | ············>>>·for·_·in·range(5): | 278 | ············>>>·for·_·in·range(5): |
279 | ············...·····fake.ascii_company_email() | 279 | ············...·····fake.ascii_company_email() |
280 | ············... | 280 | ············... |
281 | ············'frodo201 | 281 | ············'frodo2011@burborkov.info' |
282 | ············'yakimkobilarov@chupetlovska.net' | 282 | ············'yakimkobilarov@chupetlovska.net' |
283 | ············'fenerovgatso@pulev.org' | 283 | ············'fenerovgatso@pulev.org' |
284 | ············'inan20 | 284 | ············'inan2019@dzezov.info' |
285 | ············'dzhon-stefan56@bedrinov.info' | 285 | ············'dzhon-stefan56@bedrinov.info' |
286 | ········ascii_email()·→·_\x8s_\x8t_\x8r_\x8¶ | 286 | ········ascii_email()·→·_\x8s_\x8t_\x8r_\x8¶ |
287 | ··············Examples: | 287 | ··············Examples: |
288 | ············>>>·Faker.seed(0) | 288 | ············>>>·Faker.seed(0) |
289 | ············>>>·for·_·in·range(5): | 289 | ············>>>·for·_·in·range(5): |
290 | ············...·····fake.ascii_email() | 290 | ············...·····fake.ascii_email() |
291 | ············... | 291 | ············... |
292 | ············'chenko1972@belezhkova.info' | 292 | ············'chenko1972@belezhkova.info' |
293 | ············'kiberzlatkov@mangufova.biz' | 293 | ············'kiberzlatkov@mangufova.biz' |
294 | ············'despin200 | 294 | ············'despin2003@hotmail.com' |
295 | ············'makaronskitominka@gmail.com' | 295 | ············'makaronskitominka@gmail.com' |
296 | ············'panomakaronski@kurtakova.net' | 296 | ············'panomakaronski@kurtakova.net' |
297 | ········ascii_free_email()·→·_\x8s_\x8t_\x8r_\x8¶ | 297 | ········ascii_free_email()·→·_\x8s_\x8t_\x8r_\x8¶ |
298 | ··············Examples: | 298 | ··············Examples: |
299 | ············>>>·Faker.seed(0) | 299 | ············>>>·Faker.seed(0) |
300 | ············>>>·for·_·in·range(5): | 300 | ············>>>·for·_·in·range(5): |
301 | ············...·····fake.ascii_free_email() | 301 | ············...·····fake.ascii_free_email() |
302 | ············... | 302 | ············... |
303 | ············'frodo201 | 303 | ············'frodo2011@mail.bg' |
304 | ············'mustakovatoshka@mail.bg' | 304 | ············'mustakovatoshka@mail.bg' |
305 | ············'yakimkobilarov@hotmail.com' | 305 | ············'yakimkobilarov@hotmail.com' |
306 | ············'kiberzlatkov@yahoo.com' | 306 | ············'kiberzlatkov@yahoo.com' |
307 | ············'zdravelin42@gmail.com' | 307 | ············'zdravelin42@gmail.com' |
308 | ········ascii_safe_email()·→·_\x8s_\x8t_\x8r_\x8¶ | 308 | ········ascii_safe_email()·→·_\x8s_\x8t_\x8r_\x8¶ |
309 | ··············Examples: | 309 | ··············Examples: |
310 | ············>>>·Faker.seed(0) | 310 | ············>>>·Faker.seed(0) |
311 | ············>>>·for·_·in·range(5): | 311 | ············>>>·for·_·in·range(5): |
312 | ············...·····fake.ascii_safe_email() | 312 | ············...·····fake.ascii_safe_email() |
313 | ············... | 313 | ············... |
314 | ············'frodo201 | 314 | ············'frodo2011@example.com' |
315 | ············'mustakovatoshka@example.com' | 315 | ············'mustakovatoshka@example.com' |
316 | ············'yakimkobilarov@example.com' | 316 | ············'yakimkobilarov@example.com' |
317 | ············'kiberzlatkov@example.org' | 317 | ············'kiberzlatkov@example.org' |
318 | ············'zdravelin42@example.org' | 318 | ············'zdravelin42@example.org' |
319 | ········company_email()·→·_\x8s_\x8t_\x8r_\x8¶ | 319 | ········company_email()·→·_\x8s_\x8t_\x8r_\x8¶ |
320 | ··············Examples: | 320 | ··············Examples: |
321 | ············>>>·Faker.seed(0) | 321 | ············>>>·Faker.seed(0) |
322 | ············>>>·for·_·in·range(5): | 322 | ············>>>·for·_·in·range(5): |
323 | ············...·····fake.company_email() | 323 | ············...·····fake.company_email() |
324 | ············... | 324 | ············... |
325 | ············'frodo201 | 325 | ············'frodo2011@burborkov.info' |
326 | ············'yakimkobilarov@chupetlovska.net' | 326 | ············'yakimkobilarov@chupetlovska.net' |
327 | ············'fenerovgatso@pulev.org' | 327 | ············'fenerovgatso@pulev.org' |
328 | ············'inan20 | 328 | ············'inan2019@dzezov.info' |
329 | ············'dzhon-stefan56@bedrinov.info' | 329 | ············'dzhon-stefan56@bedrinov.info' |
330 | ········dga(y\x8ye\x8ea\x8ar\x8r:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mo\x8on\x8nt\x8th\x8h:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8ay\x8y:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e | 330 | ········dga(y\x8ye\x8ea\x8ar\x8r:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mo\x8on\x8nt\x8th\x8h:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·d\x8da\x8ay\x8y:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e |
331 | ········=\x8=·N\x8No\x8on\x8ne\x8e,·t\x8tl\x8ld\x8d:\x8:·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·l\x8le\x8en\x8ng\x8gt\x8th\x8h:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ | 331 | ········=\x8=·N\x8No\x8on\x8ne\x8e,·t\x8tl\x8ld\x8d:\x8:·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·l\x8le\x8en\x8ng\x8gt\x8th\x8h:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ |
332 | ············Generates·a·domain·name·by·given·date·_\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/ | 332 | ············Generates·a·domain·name·by·given·date·_\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/ |
333 | ············_\x8w_\x8i_\x8k_\x8i_\x8/_\x8D_\x8o_\x8m_\x8a_\x8i_\x8n_\x8__\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8a_\x8l_\x8g_\x8o_\x8r_\x8i_\x8t_\x8h_\x8m | 333 | ············_\x8w_\x8i_\x8k_\x8i_\x8/_\x8D_\x8o_\x8m_\x8a_\x8i_\x8n_\x8__\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8a_\x8l_\x8g_\x8o_\x8r_\x8i_\x8t_\x8h_\x8m |
334 | ··············Return·type: | 334 | ··············Return·type: |
335 | ··················_\x8s_\x8t_\x8r | 335 | ··················_\x8s_\x8t_\x8r |
Offset 373, 26 lines modified | Offset 373, 26 lines modified | ||
373 | ············'zenginov' | 373 | ············'zenginov' |
374 | ········email(s\x8sa\x8af\x8fe\x8e:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·d\x8do\x8om\x8ma\x8ai\x8in\x8n:\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¶ | 374 | ········email(s\x8sa\x8af\x8fe\x8e:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·d\x8do\x8om\x8ma\x8ai\x8in\x8n:\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¶ |
375 | ··············Examples: | 375 | ··············Examples: |
376 | ············>>>·Faker.seed(0) | 376 | ············>>>·Faker.seed(0) |
377 | ············>>>·for·_·in·range(5): | 377 | ············>>>·for·_·in·range(5): |
378 | ············...·····fake.email() | 378 | ············...·····fake.email() |
379 | ············... | 379 | ············... |
380 | ············'frodo201 | 380 | ············'frodo2011@example.com' |
381 | ············'mustakovatoshka@example.com' | 381 | ············'mustakovatoshka@example.com' |
382 | ············'yakimkobilarov@example.com' | 382 | ············'yakimkobilarov@example.com' |
383 | ············'kiberzlatkov@example.org' | 383 | ············'kiberzlatkov@example.org' |
384 | ············'zdravelin42@example.org' | 384 | ············'zdravelin42@example.org' |
385 | ········free_email()·→·_\x8s_\x8t_\x8r_\x8¶ | 385 | ········free_email()·→·_\x8s_\x8t_\x8r_\x8¶ |
386 | ··············Examples: | 386 | ··············Examples: |
387 | ············>>>·Faker.seed(0) | 387 | ············>>>·Faker.seed(0) |
388 | ············>>>·for·_·in·range(5): | 388 | ············>>>·for·_·in·range(5): |
389 | ············...·····fake.free_email() | 389 | ············...·····fake.free_email() |
390 | ············... | 390 | ············... |
391 | ············'frodo201 | 391 | ············'frodo2011@mail.bg' |
392 | ············'mustakovatoshka@mail.bg' | 392 | ············'mustakovatoshka@mail.bg' |
393 | ············'yakimkobilarov@hotmail.com' | 393 | ············'yakimkobilarov@hotmail.com' |
394 | ············'kiberzlatkov@yahoo.com' | 394 | ············'kiberzlatkov@yahoo.com' |
395 | ············'zdravelin42@gmail.com' | 395 | ············'zdravelin42@gmail.com' |
396 | ········free_email_domain()·→·_\x8s_\x8t_\x8r_\x8¶ | 396 | ········free_email_domain()·→·_\x8s_\x8t_\x8r_\x8¶ |
397 | ··············Examples: | 397 | ··············Examples: |
398 | ············>>>·Faker.seed(0) | 398 | ············>>>·Faker.seed(0) |
Offset 669, 15 lines modified | Offset 669, 15 lines modified | ||
669 | ············'example.net' | 669 | ············'example.net' |
670 | ········safe_email()·→·_\x8s_\x8t_\x8r_\x8¶ | 670 | ········safe_email()·→·_\x8s_\x8t_\x8r_\x8¶ |
671 | ··············Examples: | 671 | ··············Examples: |
672 | ············>>>·Faker.seed(0) | 672 | ············>>>·Faker.seed(0) |
673 | ············>>>·for·_·in·range(5): | 673 | ············>>>·for·_·in·range(5): |
674 | ············...·····fake.safe_email() | 674 | ············...·····fake.safe_email() |
675 | ············... | 675 | ············... |
676 | ············'frodo201 | 676 | ············'frodo2011@example.com' |
677 | ············'mustakovatoshka@example.com' | 677 | ············'mustakovatoshka@example.com' |
678 | ············'yakimkobilarov@example.com' | 678 | ············'yakimkobilarov@example.com' |
679 | ············'kiberzlatkov@example.org' | 679 | ············'kiberzlatkov@example.org' |
680 | ············'zdravelin42@example.org' | 680 | ············'zdravelin42@example.org' |
681 | ········slug(v\x8va\x8al\x8lu\x8ue\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¶ | 681 | ········slug(v\x8va\x8al\x8lu\x8ue\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¶ |
682 | ············Django·algorithm | 682 | ············Django·algorithm |
683 | ··············Examples: | 683 | ··············Examples: |
Offset 776, 15 lines modified | Offset 776, 15 lines modified | ||
776 | ············'http://karakashev.info/' | 776 | ············'http://karakashev.info/' |
777 | ········user_name()·→·_\x8s_\x8t_\x8r_\x8¶ | 777 | ········user_name()·→·_\x8s_\x8t_\x8r_\x8¶ |
778 | ··············Examples: | 778 | ··············Examples: |
779 | ············>>>·Faker.seed(0) | 779 | ············>>>·Faker.seed(0) |
780 | ············>>>·for·_·in·range(5): | 780 | ············>>>·for·_·in·range(5): |
781 | ············...·····fake.user_name() | 781 | ············...·····fake.user_name() |
782 | ············... | 782 | ············... |
783 | ············'frodo201 | 783 | ············'frodo2011' |
784 | ············'alektuturilov' | 784 | ············'alektuturilov' |
785 | ············'aela64' | 785 | ············'aela64' |
786 | ············'kiberzlatkov' | 786 | ············'kiberzlatkov' |
787 | ············'pulevgato' | 787 | ············'pulevgato' |
788 | *\x8**\x8**\x8**\x8**\x8*·f\x8fa\x8ak\x8ke\x8er\x8r.\x8.p\x8pr\x8ro\x8ov\x8vi\x8id\x8de\x8er\x8rs\x8s.\x8.p\x8pe\x8er\x8rs\x8so\x8on\x8n_\x8?\x8¶·*\x8**\x8**\x8**\x8**\x8* | 788 | *\x8**\x8**\x8**\x8**\x8*·f\x8fa\x8ak\x8ke\x8er\x8r.\x8.p\x8pr\x8ro\x8ov\x8vi\x8id\x8de\x8er\x8rs\x8s.\x8.p\x8pe\x8er\x8rs\x8so\x8on\x8n_\x8?\x8¶·*\x8**\x8**\x8**\x8**\x8* |
789 | ··c\x8cl\x8la\x8as\x8ss\x8s·faker.providers.person.bg_BG.Provider(g\x8ge\x8en\x8ne\x8er\x8ra\x8at\x8to\x8or\x8r:\x8:·_\x8A\x8A_\x8n\x8n_\x8y\x8y)_\x8¶ | 789 | ··c\x8cl\x8la\x8as\x8ss\x8s·faker.providers.person.bg_BG.Provider(g\x8ge\x8en\x8ne\x8er\x8ra\x8at\x8to\x8or\x8r:\x8:·_\x8A\x8A_\x8n\x8n_\x8y\x8y)_\x8¶ |
790 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 790 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
Offset 1480, 18 lines modified | Offset 1480, 18 lines modified | ||
1480 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1480 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1481 | <dd·class="field-odd"><p></p></dd> | 1481 | <dd·class="field-odd"><p></p></dd> |
1482 | </dl> | 1482 | </dl> |
1483 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1483 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1484 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1484 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1485 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1485 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1486 | <span·class="gp">...</span> | 1486 | <span·class="gp">...</span> |
1487 | <span·class="go">'AM'</span> | ||
1488 | <span·class="go">'PM'</span> | 1487 | <span·class="go">'PM'</span> |
1489 | <span·class="go">'PM'</span> | 1488 | <span·class="go">'PM'</span> |
1490 | <span·class="go">'PM'</span> | 1489 | <span·class="go">'PM'</span> |
1490 | <span·class="go">'AM'</span> | ||
1491 | <span·class="go">'PM'</span> | 1491 | <span·class="go">'PM'</span> |
1492 | </pre></div> | 1492 | </pre></div> |
1493 | </div> | 1493 | </div> |
1494 | </dd></dl> | 1494 | </dd></dl> |
1495 | <dl·class="py·method"> | 1495 | <dl·class="py·method"> |
1496 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.bn_BD.Provider.century"> | 1496 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.bn_BD.Provider.century"> |
Offset 1533, 19 lines modified | Offset 1533, 19 lines modified | ||
1533 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1533 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1534 | <dd·class="field-even"><p></p></dd> | 1534 | <dd·class="field-even"><p></p></dd> |
1535 | </dl> | 1535 | </dl> |
1536 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1536 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1537 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1537 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1538 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1538 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
1539 | <span·class="gp">...</span> | 1539 | <span·class="gp">...</span> |
1540 | <span·class="go">'2017-03-27'</span> | ||
1541 | <span·class="go">'201 | 1540 | <span·class="go">'2016-04-25'</span> |
1541 | <span·class="go">'2011-07-29'</span> | ||
1542 | <span·class="go">'1993-0 | 1542 | <span·class="go">'1993-01-25'</span> |
1543 | <span·class="go">'1984-0 | 1543 | <span·class="go">'1984-03-15'</span> |
1544 | <span·class="go">'1998-0 | 1544 | <span·class="go">'1998-01-16'</span> |
1545 | </pre></div> | 1545 | </pre></div> |
1546 | </div> | 1546 | </div> |
1547 | </dd></dl> | 1547 | </dd></dl> |
1548 | <dl·class="py·method"> | 1548 | <dl·class="py·method"> |
1549 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.bn_BD.Provider.date_between"> | 1549 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.bn_BD.Provider.date_between"> |
1550 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.bn_BD.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1550 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.bn_BD.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 1567, 19 lines modified | Offset 1567, 19 lines modified | ||
1567 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1567 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1568 | <dd·class="field-even"><p></p></dd> | 1568 | <dd·class="field-even"><p></p></dd> |
1569 | </dl> | 1569 | </dl> |
1570 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1570 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1571 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1571 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1572 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1572 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
1573 | <span·class="gp">...</span> | 1573 | <span·class="gp">...</span> |
1574 | <span·class="go">datetime.date(202 | 1574 | <span·class="go">datetime.date(2020,·3,·7)</span> |
1575 | <span·class="go">datetime.date(201 | 1575 | <span·class="go">datetime.date(2017,·8,·2)</span> |
1576 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
1577 | <span·class="go">datetime.date(200 | 1576 | <span·class="go">datetime.date(2007,·6,·19)</span> |
1577 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
1578 | <span·class="go">datetime.date(201 | 1578 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 1605 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1606 | <span·class="go">datetime.date(202 | 1606 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1607 | <span·class="go">datetime.date(202 | 1607 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1608 | <span·class="go">datetime.date(202 | 1608 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1609 | <span·class="go">datetime.date(202 | 1609 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 1622, 19 lines modified | ||
1622 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1622 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1623 | <dd·class="field-even"><p></p></dd> | 1623 | <dd·class="field-even"><p></p></dd> |
1624 | </dl> | 1624 | </dl> |
1625 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1625 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1626 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1626 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1627 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1627 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
1628 | <span·class="gp">...</span> | 1628 | <span·class="gp">...</span> |
1629 | <span·class="go">datetime.date(2017,·3,·27)</span> | ||
1630 | <span·class="go">datetime.date(201 | 1629 | <span·class="go">datetime.date(2016,·4,·25)</span> |
1630 | <span·class="go">datetime.date(2011,·7,·29)</span> | ||
1631 | <span·class="go">datetime.date(1993,· | 1631 | <span·class="go">datetime.date(1993,·1,·25)</span> |
1632 | <span·class="go">datetime.date(1984,· | 1632 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1633 | <span·class="go">datetime.date(1998,· | 1633 | <span·class="go">datetime.date(1998,·1,·16)</span> |
1634 | </pre></div> | 1634 | </pre></div> |
1635 | </div> | 1635 | </div> |
1636 | </dd></dl> | 1636 | </dd></dl> |
1637 | <dl·class="py·method"> | 1637 | <dl·class="py·method"> |
1638 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.bn_BD.Provider.date_of_birth"> | 1638 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.bn_BD.Provider.date_of_birth"> |
1639 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.bn_BD.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1639 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.bn_BD.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
Offset 1658, 19 lines modified | Offset 1658, 19 lines modified | ||
1658 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1658 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1659 | <dd·class="field-even"><p></p></dd> | 1659 | <dd·class="field-even"><p></p></dd> |
1660 | </dl> | 1660 | </dl> |
1661 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1661 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1662 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1662 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1663 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1663 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
1664 | <span·class="gp">...</span> | 1664 | <span·class="gp">...</span> |
1665 | <span·class="go">datetime.date(200 | 1665 | <span·class="go">datetime.date(2006,·10,·20)</span> |
1666 | <span·class="go">datetime.date(1996,·10,·8)</span> | ||
1667 | <span·class="go">datetime.date(1957,·8,·20)</span> | ||
1666 | <span·class="go">datetime.date(19 | 1668 | <span·class="go">datetime.date(1938,·11,·19)</span> |
1667 | <span·class="go">datetime.date(19 | 1669 | <span·class="go">datetime.date(1968,·2,·27)</span> |
1668 | <span·class="go">datetime.date(1939,·12,·21)</span> | ||
1669 | <span·class="go">datetime.date(1969,·3,·30)</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> |
Max diff block lines reached; 98348/120024 bytes (81.94%) of diff not shown. |
Offset 867, 18 lines modified | Offset 867, 18 lines modified | ||
867 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 867 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
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 | ············'AM' | ||
875 | ············'PM' | 874 | ············'PM' |
876 | ············'PM' | 875 | ············'PM' |
877 | ············'PM' | 876 | ············'PM' |
877 | ············'AM' | ||
878 | ············'PM' | 878 | ············'PM' |
879 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 879 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
880 | ··············Example: | 880 | ··············Example: |
881 | ··················‘XVII’ | 881 | ··················‘XVII’ |
882 | ··············Examples: | 882 | ··············Examples: |
883 | ············>>>·Faker.seed(0) | 883 | ············>>>·Faker.seed(0) |
884 | ············>>>·for·_·in·range(5): | 884 | ············>>>·for·_·in·range(5): |
Offset 899, 19 lines modified | Offset 899, 19 lines modified | ||
899 | ··············Returns: | 899 | ··············Returns: |
900 | ··················Date | 900 | ··················Date |
901 | ··············Examples: | 901 | ··············Examples: |
902 | ············>>>·Faker.seed(0) | 902 | ············>>>·Faker.seed(0) |
903 | ············>>>·for·_·in·range(5): | 903 | ············>>>·for·_·in·range(5): |
904 | ············...·····fake.date() | 904 | ············...·····fake.date() |
905 | ············... | 905 | ············... |
906 | ············'2017-03-27' | ||
907 | ············'201 | 906 | ············'2016-04-25' |
907 | ············'2011-07-29' | ||
908 | ············'1993-0 | 908 | ············'1993-01-25' |
909 | ············'1984-0 | 909 | ············'1984-03-15' |
910 | ············'1998-0 | 910 | ············'1998-01-16' |
911 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 911 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
912 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 912 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
913 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 913 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
914 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 914 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
915 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 915 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
916 | ··············Parameters: | 916 | ··············Parameters: |
917 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 917 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
Offset 921, 19 lines modified | Offset 921, 19 lines modified | ||
921 | ··············Returns: | 921 | ··············Returns: |
922 | ··················Date | 922 | ··················Date |
923 | ··············Examples: | 923 | ··············Examples: |
924 | ············>>>·Faker.seed(0) | 924 | ············>>>·Faker.seed(0) |
925 | ············>>>·for·_·in·range(5): | 925 | ············>>>·for·_·in·range(5): |
926 | ············...·····fake.date_between() | 926 | ············...·····fake.date_between() |
927 | ············... | 927 | ············... |
928 | ············datetime.date(202 | 928 | ············datetime.date(2020,·3,·7) |
929 | ············datetime.date(201 | 929 | ············datetime.date(2017,·8,·2) |
930 | ············datetime.date(2008,·7,·20) | ||
931 | ············datetime.date(200 | 930 | ············datetime.date(2007,·6,·19) |
931 | ············datetime.date(2002,·8,·13) | ||
932 | ············datetime.date(201 | 932 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 941, 33 lines modified | ||
941 | ··············Returns: | 941 | ··············Returns: |
942 | ··················Date | 942 | ··················Date |
943 | ··············Examples: | 943 | ··············Examples: |
944 | ············>>>·Faker.seed(0) | 944 | ············>>>·Faker.seed(0) |
945 | ············>>>·for·_·in·range(5): | 945 | ············>>>·for·_·in·range(5): |
946 | ············...·····fake.date_between_dates() | 946 | ············...·····fake.date_between_dates() |
947 | ············... | 947 | ············... |
948 | ············datetime.date(202 | 948 | ············datetime.date(2024,·11,·6) |
949 | ············datetime.date(202 | 949 | ············datetime.date(2024,·11,·6) |
950 | ············datetime.date(202 | 950 | ············datetime.date(2024,·11,·6) |
951 | ············datetime.date(202 | 951 | ············datetime.date(2024,·11,·6) |
952 | ············datetime.date(202 | 952 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
963 | ············datetime.date(201 | 962 | ············datetime.date(2016,·4,·25) |
963 | ············datetime.date(2011,·7,·29) | ||
964 | ············datetime.date(1993,· | 964 | ············datetime.date(1993,·1,·25) |
965 | ············datetime.date(1984,· | 965 | ············datetime.date(1984,·3,·15) |
966 | ············datetime.date(1998,· | 966 | ············datetime.date(1998,·1,·16) |
967 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 967 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
968 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 968 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
969 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 969 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
970 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 970 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
971 | ··············Parameters: | 971 | ··············Parameters: |
972 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. | 972 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. |
973 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. | 973 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. |
Offset 977, 19 lines modified | Offset 977, 19 lines modified | ||
977 | ··············Returns: | 977 | ··············Returns: |
978 | ··················Date | 978 | ··················Date |
979 | ··············Examples: | 979 | ··············Examples: |
980 | ············>>>·Faker.seed(0) | 980 | ············>>>·Faker.seed(0) |
981 | ············>>>·for·_·in·range(5): | 981 | ············>>>·for·_·in·range(5): |
982 | ············...·····fake.date_of_birth() | 982 | ············...·····fake.date_of_birth() |
983 | ············... | 983 | ············... |
984 | ············datetime.date(200 | 984 | ············datetime.date(2006,·10,·20) |
985 | ············datetime.date(1996,·10,·8) | ||
986 | ············datetime.date(1957,·8,·20) | ||
985 | ············datetime.date(19 | 987 | ············datetime.date(1938,·11,·19) |
986 | ············datetime.date(19 | 988 | ············datetime.date(1968,·2,·27) |
987 | ············datetime.date(1939,·12,·21) | ||
988 | ············datetime.date(1969,·3,·30) | ||
989 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 989 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
990 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 990 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
991 | ············Gets·a·Date·object·for·the·current·century. | 991 | ············Gets·a·Date·object·for·the·current·century. |
992 | ··············Parameters: | 992 | ··············Parameters: |
993 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 993 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
994 | ························today | 994 | ························today |
995 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 995 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 999, 19 lines modified | Offset 999, 19 lines modified | ||
999 | ··············Returns: | 999 | ··············Returns: |
1000 | ··················Date | 1000 | ··················Date |
1001 | ··············Examples: | 1001 | ··············Examples: |
1002 | ············>>>·Faker.seed(0) | 1002 | ············>>>·Faker.seed(0) |
1003 | ············>>>·for·_·in·range(5): | 1003 | ············>>>·for·_·in·range(5): |
1004 | ············...·····fake.date_this_century() | 1004 | ············...·····fake.date_this_century() |
1005 | ············... | 1005 | ············... |
1006 | ············datetime.date(2020,·12,·24) | ||
Max diff block lines reached; 29730/36865 bytes (80.65%) of diff not shown. |
Offset 1313, 18 lines modified | Offset 1313, 18 lines modified | ||
1313 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1313 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1314 | <dd·class="field-odd"><p></p></dd> | 1314 | <dd·class="field-odd"><p></p></dd> |
1315 | </dl> | 1315 | </dl> |
1316 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1316 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1317 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1317 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1318 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1318 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1319 | <span·class="gp">...</span> | 1319 | <span·class="gp">...</span> |
1320 | <span·class="go">'AM'</span> | ||
1321 | <span·class="go">'PM'</span> | 1320 | <span·class="go">'PM'</span> |
1322 | <span·class="go">'PM'</span> | 1321 | <span·class="go">'PM'</span> |
1323 | <span·class="go">'PM'</span> | 1322 | <span·class="go">'PM'</span> |
1323 | <span·class="go">'AM'</span> | ||
1324 | <span·class="go">'PM'</span> | 1324 | <span·class="go">'PM'</span> |
1325 | </pre></div> | 1325 | </pre></div> |
1326 | </div> | 1326 | </div> |
1327 | </dd></dl> | 1327 | </dd></dl> |
1328 | <dl·class="py·method"> | 1328 | <dl·class="py·method"> |
1329 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.cs_CZ.Provider.century"> | 1329 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.cs_CZ.Provider.century"> |
Offset 1366, 19 lines modified | Offset 1366, 19 lines modified | ||
1366 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1366 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1367 | <dd·class="field-even"><p></p></dd> | 1367 | <dd·class="field-even"><p></p></dd> |
1368 | </dl> | 1368 | </dl> |
1369 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1369 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1370 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1370 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1371 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1371 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
1372 | <span·class="gp">...</span> | 1372 | <span·class="gp">...</span> |
1373 | <span·class="go">'2017-03-27'</span> | ||
1374 | <span·class="go">'201 | 1373 | <span·class="go">'2016-04-25'</span> |
1374 | <span·class="go">'2011-07-29'</span> | ||
1375 | <span·class="go">'1993-0 | 1375 | <span·class="go">'1993-01-25'</span> |
1376 | <span·class="go">'1984-0 | 1376 | <span·class="go">'1984-03-15'</span> |
1377 | <span·class="go">'1998-0 | 1377 | <span·class="go">'1998-01-16'</span> |
1378 | </pre></div> | 1378 | </pre></div> |
1379 | </div> | 1379 | </div> |
1380 | </dd></dl> | 1380 | </dd></dl> |
1381 | <dl·class="py·method"> | 1381 | <dl·class="py·method"> |
1382 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.cs_CZ.Provider.date_between"> | 1382 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.cs_CZ.Provider.date_between"> |
1383 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.cs_CZ.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1383 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.cs_CZ.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 1400, 19 lines modified | Offset 1400, 19 lines modified | ||
1400 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1400 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1401 | <dd·class="field-even"><p></p></dd> | 1401 | <dd·class="field-even"><p></p></dd> |
1402 | </dl> | 1402 | </dl> |
1403 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1403 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1404 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1404 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1405 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1405 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
1406 | <span·class="gp">...</span> | 1406 | <span·class="gp">...</span> |
1407 | <span·class="go">datetime.date(202 | 1407 | <span·class="go">datetime.date(2020,·3,·7)</span> |
1408 | <span·class="go">datetime.date(201 | 1408 | <span·class="go">datetime.date(2017,·8,·2)</span> |
1409 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
1410 | <span·class="go">datetime.date(200 | 1409 | <span·class="go">datetime.date(2007,·6,·19)</span> |
1410 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
1411 | <span·class="go">datetime.date(201 | 1411 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 1438 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1439 | <span·class="go">datetime.date(202 | 1439 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1440 | <span·class="go">datetime.date(202 | 1440 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1441 | <span·class="go">datetime.date(202 | 1441 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1442 | <span·class="go">datetime.date(202 | 1442 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 1455, 19 lines modified | ||
1455 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1455 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1456 | <dd·class="field-even"><p></p></dd> | 1456 | <dd·class="field-even"><p></p></dd> |
1457 | </dl> | 1457 | </dl> |
1458 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1458 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1459 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1459 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1460 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1460 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
1461 | <span·class="gp">...</span> | 1461 | <span·class="gp">...</span> |
1462 | <span·class="go">datetime.date(2017,·3,·27)</span> | ||
1463 | <span·class="go">datetime.date(201 | 1462 | <span·class="go">datetime.date(2016,·4,·25)</span> |
1463 | <span·class="go">datetime.date(2011,·7,·29)</span> | ||
1464 | <span·class="go">datetime.date(1993,· | 1464 | <span·class="go">datetime.date(1993,·1,·25)</span> |
1465 | <span·class="go">datetime.date(1984,· | 1465 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1466 | <span·class="go">datetime.date(1998,· | 1466 | <span·class="go">datetime.date(1998,·1,·16)</span> |
1467 | </pre></div> | 1467 | </pre></div> |
1468 | </div> | 1468 | </div> |
1469 | </dd></dl> | 1469 | </dd></dl> |
1470 | <dl·class="py·method"> | 1470 | <dl·class="py·method"> |
1471 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.cs_CZ.Provider.date_of_birth"> | 1471 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.cs_CZ.Provider.date_of_birth"> |
1472 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.cs_CZ.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1472 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.cs_CZ.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
Offset 1491, 19 lines modified | Offset 1491, 19 lines modified | ||
1491 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1491 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1492 | <dd·class="field-even"><p></p></dd> | 1492 | <dd·class="field-even"><p></p></dd> |
1493 | </dl> | 1493 | </dl> |
1494 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1494 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1495 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1495 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1496 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1496 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
1497 | <span·class="gp">...</span> | 1497 | <span·class="gp">...</span> |
1498 | <span·class="go">datetime.date(200 | 1498 | <span·class="go">datetime.date(2006,·10,·20)</span> |
1499 | <span·class="go">datetime.date(1996,·10,·8)</span> | ||
1500 | <span·class="go">datetime.date(1957,·8,·20)</span> | ||
1499 | <span·class="go">datetime.date(19 | 1501 | <span·class="go">datetime.date(1938,·11,·19)</span> |
1500 | <span·class="go">datetime.date(19 | 1502 | <span·class="go">datetime.date(1968,·2,·27)</span> |
1501 | <span·class="go">datetime.date(1939,·12,·21)</span> | ||
1502 | <span·class="go">datetime.date(1969,·3,·30)</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> |
Max diff block lines reached; 99716/121392 bytes (82.14%) of diff not shown. |
Offset 772, 18 lines modified | Offset 772, 18 lines modified | ||
772 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 772 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
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 | ············'AM' | ||
780 | ············'PM' | 779 | ············'PM' |
781 | ············'PM' | 780 | ············'PM' |
782 | ············'PM' | 781 | ············'PM' |
782 | ············'AM' | ||
783 | ············'PM' | 783 | ············'PM' |
784 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 784 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
785 | ··············Example: | 785 | ··············Example: |
786 | ··················‘XVII’ | 786 | ··················‘XVII’ |
787 | ··············Examples: | 787 | ··············Examples: |
788 | ············>>>·Faker.seed(0) | 788 | ············>>>·Faker.seed(0) |
789 | ············>>>·for·_·in·range(5): | 789 | ············>>>·for·_·in·range(5): |
Offset 804, 19 lines modified | Offset 804, 19 lines modified | ||
804 | ··············Returns: | 804 | ··············Returns: |
805 | ··················Date | 805 | ··················Date |
806 | ··············Examples: | 806 | ··············Examples: |
807 | ············>>>·Faker.seed(0) | 807 | ············>>>·Faker.seed(0) |
808 | ············>>>·for·_·in·range(5): | 808 | ············>>>·for·_·in·range(5): |
809 | ············...·····fake.date() | 809 | ············...·····fake.date() |
810 | ············... | 810 | ············... |
811 | ············'2017-03-27' | ||
812 | ············'201 | 811 | ············'2016-04-25' |
812 | ············'2011-07-29' | ||
813 | ············'1993-0 | 813 | ············'1993-01-25' |
814 | ············'1984-0 | 814 | ············'1984-03-15' |
815 | ············'1998-0 | 815 | ············'1998-01-16' |
816 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 816 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
817 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 817 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
818 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 818 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
819 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 819 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
820 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 820 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
821 | ··············Parameters: | 821 | ··············Parameters: |
822 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 822 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
Offset 826, 19 lines modified | Offset 826, 19 lines modified | ||
826 | ··············Returns: | 826 | ··············Returns: |
827 | ··················Date | 827 | ··················Date |
828 | ··············Examples: | 828 | ··············Examples: |
829 | ············>>>·Faker.seed(0) | 829 | ············>>>·Faker.seed(0) |
830 | ············>>>·for·_·in·range(5): | 830 | ············>>>·for·_·in·range(5): |
831 | ············...·····fake.date_between() | 831 | ············...·····fake.date_between() |
832 | ············... | 832 | ············... |
833 | ············datetime.date(202 | 833 | ············datetime.date(2020,·3,·7) |
834 | ············datetime.date(201 | 834 | ············datetime.date(2017,·8,·2) |
835 | ············datetime.date(2008,·7,·20) | ||
836 | ············datetime.date(200 | 835 | ············datetime.date(2007,·6,·19) |
836 | ············datetime.date(2002,·8,·13) | ||
837 | ············datetime.date(201 | 837 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 846, 33 lines modified | ||
846 | ··············Returns: | 846 | ··············Returns: |
847 | ··················Date | 847 | ··················Date |
848 | ··············Examples: | 848 | ··············Examples: |
849 | ············>>>·Faker.seed(0) | 849 | ············>>>·Faker.seed(0) |
850 | ············>>>·for·_·in·range(5): | 850 | ············>>>·for·_·in·range(5): |
851 | ············...·····fake.date_between_dates() | 851 | ············...·····fake.date_between_dates() |
852 | ············... | 852 | ············... |
853 | ············datetime.date(202 | 853 | ············datetime.date(2024,·11,·6) |
854 | ············datetime.date(202 | 854 | ············datetime.date(2024,·11,·6) |
855 | ············datetime.date(202 | 855 | ············datetime.date(2024,·11,·6) |
856 | ············datetime.date(202 | 856 | ············datetime.date(2024,·11,·6) |
857 | ············datetime.date(202 | 857 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
868 | ············datetime.date(201 | 867 | ············datetime.date(2016,·4,·25) |
868 | ············datetime.date(2011,·7,·29) | ||
869 | ············datetime.date(1993,· | 869 | ············datetime.date(1993,·1,·25) |
870 | ············datetime.date(1984,· | 870 | ············datetime.date(1984,·3,·15) |
871 | ············datetime.date(1998,· | 871 | ············datetime.date(1998,·1,·16) |
872 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 872 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
873 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 873 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
874 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 874 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
875 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 875 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
876 | ··············Parameters: | 876 | ··············Parameters: |
877 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. | 877 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. |
878 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. | 878 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. |
Offset 882, 19 lines modified | Offset 882, 19 lines modified | ||
882 | ··············Returns: | 882 | ··············Returns: |
883 | ··················Date | 883 | ··················Date |
884 | ··············Examples: | 884 | ··············Examples: |
885 | ············>>>·Faker.seed(0) | 885 | ············>>>·Faker.seed(0) |
886 | ············>>>·for·_·in·range(5): | 886 | ············>>>·for·_·in·range(5): |
887 | ············...·····fake.date_of_birth() | 887 | ············...·····fake.date_of_birth() |
888 | ············... | 888 | ············... |
889 | ············datetime.date(200 | 889 | ············datetime.date(2006,·10,·20) |
890 | ············datetime.date(1996,·10,·8) | ||
891 | ············datetime.date(1957,·8,·20) | ||
890 | ············datetime.date(19 | 892 | ············datetime.date(1938,·11,·19) |
891 | ············datetime.date(19 | 893 | ············datetime.date(1968,·2,·27) |
892 | ············datetime.date(1939,·12,·21) | ||
893 | ············datetime.date(1969,·3,·30) | ||
894 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 894 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
895 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 895 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
896 | ············Gets·a·Date·object·for·the·current·century. | 896 | ············Gets·a·Date·object·for·the·current·century. |
897 | ··············Parameters: | 897 | ··············Parameters: |
898 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 898 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
899 | ························today | 899 | ························today |
900 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 900 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 904, 19 lines modified | Offset 904, 19 lines modified | ||
904 | ··············Returns: | 904 | ··············Returns: |
905 | ··················Date | 905 | ··················Date |
906 | ··············Examples: | 906 | ··············Examples: |
907 | ············>>>·Faker.seed(0) | 907 | ············>>>·Faker.seed(0) |
908 | ············>>>·for·_·in·range(5): | 908 | ············>>>·for·_·in·range(5): |
909 | ············...·····fake.date_this_century() | 909 | ············...·····fake.date_this_century() |
910 | ············... | 910 | ············... |
911 | ············datetime.date(2020,·12,·24) | ||
Max diff block lines reached; 30744/37879 bytes (81.16%) of diff not shown. |
Offset 1326, 18 lines modified | Offset 1326, 18 lines modified | ||
1326 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1326 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1327 | <dd·class="field-odd"><p></p></dd> | 1327 | <dd·class="field-odd"><p></p></dd> |
1328 | </dl> | 1328 | </dl> |
1329 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1329 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1330 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1330 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1331 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1331 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1332 | <span·class="gp">...</span> | 1332 | <span·class="gp">...</span> |
1333 | <span·class="go">'AM'</span> | ||
1334 | <span·class="go">'PM'</span> | 1333 | <span·class="go">'PM'</span> |
1335 | <span·class="go">'PM'</span> | 1334 | <span·class="go">'PM'</span> |
1336 | <span·class="go">'PM'</span> | 1335 | <span·class="go">'PM'</span> |
1336 | <span·class="go">'AM'</span> | ||
1337 | <span·class="go">'PM'</span> | 1337 | <span·class="go">'PM'</span> |
1338 | </pre></div> | 1338 | </pre></div> |
1339 | </div> | 1339 | </div> |
1340 | </dd></dl> | 1340 | </dd></dl> |
1341 | <dl·class="py·method"> | 1341 | <dl·class="py·method"> |
1342 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.da_DK.Provider.century"> | 1342 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.da_DK.Provider.century"> |
Offset 1379, 19 lines modified | Offset 1379, 19 lines modified | ||
1379 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1379 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1380 | <dd·class="field-even"><p></p></dd> | 1380 | <dd·class="field-even"><p></p></dd> |
1381 | </dl> | 1381 | </dl> |
1382 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1382 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1383 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1383 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1384 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1384 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
1385 | <span·class="gp">...</span> | 1385 | <span·class="gp">...</span> |
1386 | <span·class="go">'2017-03-27'</span> | ||
1387 | <span·class="go">'201 | 1386 | <span·class="go">'2016-04-25'</span> |
1387 | <span·class="go">'2011-07-29'</span> | ||
1388 | <span·class="go">'1993-0 | 1388 | <span·class="go">'1993-01-25'</span> |
1389 | <span·class="go">'1984-0 | 1389 | <span·class="go">'1984-03-15'</span> |
1390 | <span·class="go">'1998-0 | 1390 | <span·class="go">'1998-01-16'</span> |
1391 | </pre></div> | 1391 | </pre></div> |
1392 | </div> | 1392 | </div> |
1393 | </dd></dl> | 1393 | </dd></dl> |
1394 | <dl·class="py·method"> | 1394 | <dl·class="py·method"> |
1395 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.da_DK.Provider.date_between"> | 1395 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.da_DK.Provider.date_between"> |
1396 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.da_DK.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1396 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.da_DK.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 1413, 19 lines modified | Offset 1413, 19 lines modified | ||
1413 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1413 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1414 | <dd·class="field-even"><p></p></dd> | 1414 | <dd·class="field-even"><p></p></dd> |
1415 | </dl> | 1415 | </dl> |
1416 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1416 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1417 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1417 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1418 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1418 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
1419 | <span·class="gp">...</span> | 1419 | <span·class="gp">...</span> |
1420 | <span·class="go">datetime.date(202 | 1420 | <span·class="go">datetime.date(2020,·3,·7)</span> |
1421 | <span·class="go">datetime.date(201 | 1421 | <span·class="go">datetime.date(2017,·8,·2)</span> |
1422 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
1423 | <span·class="go">datetime.date(200 | 1422 | <span·class="go">datetime.date(2007,·6,·19)</span> |
1423 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
1424 | <span·class="go">datetime.date(201 | 1424 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 1451 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1452 | <span·class="go">datetime.date(202 | 1452 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1453 | <span·class="go">datetime.date(202 | 1453 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1454 | <span·class="go">datetime.date(202 | 1454 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1455 | <span·class="go">datetime.date(202 | 1455 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 1468, 19 lines modified | ||
1468 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1468 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1469 | <dd·class="field-even"><p></p></dd> | 1469 | <dd·class="field-even"><p></p></dd> |
1470 | </dl> | 1470 | </dl> |
1471 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1471 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1472 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1472 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1473 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1473 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
1474 | <span·class="gp">...</span> | 1474 | <span·class="gp">...</span> |
1475 | <span·class="go">datetime.date(2017,·3,·27)</span> | ||
1476 | <span·class="go">datetime.date(201 | 1475 | <span·class="go">datetime.date(2016,·4,·25)</span> |
1476 | <span·class="go">datetime.date(2011,·7,·29)</span> | ||
1477 | <span·class="go">datetime.date(1993,· | 1477 | <span·class="go">datetime.date(1993,·1,·25)</span> |
1478 | <span·class="go">datetime.date(1984,· | 1478 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1479 | <span·class="go">datetime.date(1998,· | 1479 | <span·class="go">datetime.date(1998,·1,·16)</span> |
1480 | </pre></div> | 1480 | </pre></div> |
1481 | </div> | 1481 | </div> |
1482 | </dd></dl> | 1482 | </dd></dl> |
1483 | <dl·class="py·method"> | 1483 | <dl·class="py·method"> |
1484 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.da_DK.Provider.date_of_birth"> | 1484 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.da_DK.Provider.date_of_birth"> |
1485 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.da_DK.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1485 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.da_DK.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
Offset 1504, 19 lines modified | Offset 1504, 19 lines modified | ||
1504 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1504 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1505 | <dd·class="field-even"><p></p></dd> | 1505 | <dd·class="field-even"><p></p></dd> |
1506 | </dl> | 1506 | </dl> |
1507 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1507 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1508 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1508 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1509 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1509 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
1510 | <span·class="gp">...</span> | 1510 | <span·class="gp">...</span> |
1511 | <span·class="go">datetime.date(200 | 1511 | <span·class="go">datetime.date(2006,·10,·20)</span> |
1512 | <span·class="go">datetime.date(1996,·10,·8)</span> | ||
1513 | <span·class="go">datetime.date(1957,·8,·20)</span> | ||
1512 | <span·class="go">datetime.date(19 | 1514 | <span·class="go">datetime.date(1938,·11,·19)</span> |
1513 | <span·class="go">datetime.date(19 | 1515 | <span·class="go">datetime.date(1968,·2,·27)</span> |
1514 | <span·class="go">datetime.date(1939,·12,·21)</span> | ||
1515 | <span·class="go">datetime.date(1969,·3,·30)</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> |
Max diff block lines reached; 97788/119464 bytes (81.86%) of diff not shown. |
Offset 780, 18 lines modified | Offset 780, 18 lines modified | ||
780 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 780 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
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 | ············'AM' | ||
788 | ············'PM' | 787 | ············'PM' |
789 | ············'PM' | 788 | ············'PM' |
790 | ············'PM' | 789 | ············'PM' |
790 | ············'AM' | ||
791 | ············'PM' | 791 | ············'PM' |
792 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 792 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
793 | ··············Example: | 793 | ··············Example: |
794 | ··················‘XVII’ | 794 | ··················‘XVII’ |
795 | ··············Examples: | 795 | ··············Examples: |
796 | ············>>>·Faker.seed(0) | 796 | ············>>>·Faker.seed(0) |
797 | ············>>>·for·_·in·range(5): | 797 | ············>>>·for·_·in·range(5): |
Offset 812, 19 lines modified | Offset 812, 19 lines modified | ||
812 | ··············Returns: | 812 | ··············Returns: |
813 | ··················Date | 813 | ··················Date |
814 | ··············Examples: | 814 | ··············Examples: |
815 | ············>>>·Faker.seed(0) | 815 | ············>>>·Faker.seed(0) |
816 | ············>>>·for·_·in·range(5): | 816 | ············>>>·for·_·in·range(5): |
817 | ············...·····fake.date() | 817 | ············...·····fake.date() |
818 | ············... | 818 | ············... |
819 | ············'2017-03-27' | ||
820 | ············'201 | 819 | ············'2016-04-25' |
820 | ············'2011-07-29' | ||
821 | ············'1993-0 | 821 | ············'1993-01-25' |
822 | ············'1984-0 | 822 | ············'1984-03-15' |
823 | ············'1998-0 | 823 | ············'1998-01-16' |
824 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 824 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
825 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 825 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
826 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 826 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
827 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 827 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
828 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 828 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
829 | ··············Parameters: | 829 | ··············Parameters: |
830 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 830 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
Offset 834, 19 lines modified | Offset 834, 19 lines modified | ||
834 | ··············Returns: | 834 | ··············Returns: |
835 | ··················Date | 835 | ··················Date |
836 | ··············Examples: | 836 | ··············Examples: |
837 | ············>>>·Faker.seed(0) | 837 | ············>>>·Faker.seed(0) |
838 | ············>>>·for·_·in·range(5): | 838 | ············>>>·for·_·in·range(5): |
839 | ············...·····fake.date_between() | 839 | ············...·····fake.date_between() |
840 | ············... | 840 | ············... |
841 | ············datetime.date(202 | 841 | ············datetime.date(2020,·3,·7) |
842 | ············datetime.date(201 | 842 | ············datetime.date(2017,·8,·2) |
843 | ············datetime.date(2008,·7,·20) | ||
844 | ············datetime.date(200 | 843 | ············datetime.date(2007,·6,·19) |
844 | ············datetime.date(2002,·8,·13) | ||
845 | ············datetime.date(201 | 845 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 854, 33 lines modified | ||
854 | ··············Returns: | 854 | ··············Returns: |
855 | ··················Date | 855 | ··················Date |
856 | ··············Examples: | 856 | ··············Examples: |
857 | ············>>>·Faker.seed(0) | 857 | ············>>>·Faker.seed(0) |
858 | ············>>>·for·_·in·range(5): | 858 | ············>>>·for·_·in·range(5): |
859 | ············...·····fake.date_between_dates() | 859 | ············...·····fake.date_between_dates() |
860 | ············... | 860 | ············... |
861 | ············datetime.date(202 | 861 | ············datetime.date(2024,·11,·6) |
862 | ············datetime.date(202 | 862 | ············datetime.date(2024,·11,·6) |
863 | ············datetime.date(202 | 863 | ············datetime.date(2024,·11,·6) |
864 | ············datetime.date(202 | 864 | ············datetime.date(2024,·11,·6) |
865 | ············datetime.date(202 | 865 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
876 | ············datetime.date(201 | 875 | ············datetime.date(2016,·4,·25) |
876 | ············datetime.date(2011,·7,·29) | ||
877 | ············datetime.date(1993,· | 877 | ············datetime.date(1993,·1,·25) |
878 | ············datetime.date(1984,· | 878 | ············datetime.date(1984,·3,·15) |
879 | ············datetime.date(1998,· | 879 | ············datetime.date(1998,·1,·16) |
880 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 880 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
881 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 881 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
882 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 882 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
883 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 883 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
884 | ··············Parameters: | 884 | ··············Parameters: |
885 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. | 885 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. |
886 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. | 886 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. |
Offset 890, 19 lines modified | Offset 890, 19 lines modified | ||
890 | ··············Returns: | 890 | ··············Returns: |
891 | ··················Date | 891 | ··················Date |
892 | ··············Examples: | 892 | ··············Examples: |
893 | ············>>>·Faker.seed(0) | 893 | ············>>>·Faker.seed(0) |
894 | ············>>>·for·_·in·range(5): | 894 | ············>>>·for·_·in·range(5): |
895 | ············...·····fake.date_of_birth() | 895 | ············...·····fake.date_of_birth() |
896 | ············... | 896 | ············... |
897 | ············datetime.date(200 | 897 | ············datetime.date(2006,·10,·20) |
898 | ············datetime.date(1996,·10,·8) | ||
899 | ············datetime.date(1957,·8,·20) | ||
898 | ············datetime.date(19 | 900 | ············datetime.date(1938,·11,·19) |
899 | ············datetime.date(19 | 901 | ············datetime.date(1968,·2,·27) |
900 | ············datetime.date(1939,·12,·21) | ||
901 | ············datetime.date(1969,·3,·30) | ||
902 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 902 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
903 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 903 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
904 | ············Gets·a·Date·object·for·the·current·century. | 904 | ············Gets·a·Date·object·for·the·current·century. |
905 | ··············Parameters: | 905 | ··············Parameters: |
906 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 906 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
907 | ························today | 907 | ························today |
908 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 908 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 912, 19 lines modified | Offset 912, 19 lines modified | ||
912 | ··············Returns: | 912 | ··············Returns: |
913 | ··················Date | 913 | ··················Date |
914 | ··············Examples: | 914 | ··············Examples: |
915 | ············>>>·Faker.seed(0) | 915 | ············>>>·Faker.seed(0) |
916 | ············>>>·for·_·in·range(5): | 916 | ············>>>·for·_·in·range(5): |
917 | ············...·····fake.date_this_century() | 917 | ············...·····fake.date_this_century() |
918 | ············... | 918 | ············... |
919 | ············datetime.date(2020,·12,·24) | ||
Max diff block lines reached; 29824/36959 bytes (80.69%) of diff not shown. |
Offset 892, 18 lines modified | Offset 892, 18 lines modified | ||
892 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 892 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
893 | <dd·class="field-odd"><p></p></dd> | 893 | <dd·class="field-odd"><p></p></dd> |
894 | </dl> | 894 | </dl> |
895 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 895 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
896 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 896 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
897 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 897 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
898 | <span·class="gp">...</span> | 898 | <span·class="gp">...</span> |
899 | <span·class="go">'AM'</span> | ||
900 | <span·class="go">'PM'</span> | 899 | <span·class="go">'PM'</span> |
901 | <span·class="go">'PM'</span> | 900 | <span·class="go">'PM'</span> |
902 | <span·class="go">'PM'</span> | 901 | <span·class="go">'PM'</span> |
902 | <span·class="go">'AM'</span> | ||
903 | <span·class="go">'PM'</span> | 903 | <span·class="go">'PM'</span> |
904 | </pre></div> | 904 | </pre></div> |
905 | </div> | 905 | </div> |
906 | </dd></dl> | 906 | </dd></dl> |
907 | <dl·class="py·method"> | 907 | <dl·class="py·method"> |
908 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.de_AT.Provider.century"> | 908 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.de_AT.Provider.century"> |
Offset 945, 19 lines modified | Offset 945, 19 lines modified | ||
945 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 945 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
946 | <dd·class="field-even"><p></p></dd> | 946 | <dd·class="field-even"><p></p></dd> |
947 | </dl> | 947 | </dl> |
948 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 948 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
949 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 949 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
950 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 950 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
951 | <span·class="gp">...</span> | 951 | <span·class="gp">...</span> |
952 | <span·class="go">'2017-03-27'</span> | ||
953 | <span·class="go">'201 | 952 | <span·class="go">'2016-04-25'</span> |
953 | <span·class="go">'2011-07-29'</span> | ||
954 | <span·class="go">'1993-0 | 954 | <span·class="go">'1993-01-25'</span> |
955 | <span·class="go">'1984-0 | 955 | <span·class="go">'1984-03-15'</span> |
956 | <span·class="go">'1998-0 | 956 | <span·class="go">'1998-01-16'</span> |
957 | </pre></div> | 957 | </pre></div> |
958 | </div> | 958 | </div> |
959 | </dd></dl> | 959 | </dd></dl> |
960 | <dl·class="py·method"> | 960 | <dl·class="py·method"> |
961 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.de_AT.Provider.date_between"> | 961 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.de_AT.Provider.date_between"> |
962 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.de_AT.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 962 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.de_AT.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 979, 19 lines modified | Offset 979, 19 lines modified | ||
979 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 979 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
980 | <dd·class="field-even"><p></p></dd> | 980 | <dd·class="field-even"><p></p></dd> |
981 | </dl> | 981 | </dl> |
982 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 982 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
983 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 983 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
984 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 984 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
985 | <span·class="gp">...</span> | 985 | <span·class="gp">...</span> |
986 | <span·class="go">datetime.date(202 | 986 | <span·class="go">datetime.date(2020,·3,·7)</span> |
987 | <span·class="go">datetime.date(201 | 987 | <span·class="go">datetime.date(2017,·8,·2)</span> |
988 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
989 | <span·class="go">datetime.date(200 | 988 | <span·class="go">datetime.date(2007,·6,·19)</span> |
989 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
990 | <span·class="go">datetime.date(201 | 990 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 1017 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1018 | <span·class="go">datetime.date(202 | 1018 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1019 | <span·class="go">datetime.date(202 | 1019 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1020 | <span·class="go">datetime.date(202 | 1020 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1021 | <span·class="go">datetime.date(202 | 1021 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 1034, 19 lines modified | ||
1034 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1034 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1035 | <dd·class="field-even"><p></p></dd> | 1035 | <dd·class="field-even"><p></p></dd> |
1036 | </dl> | 1036 | </dl> |
1037 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1037 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1038 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1038 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1039 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1039 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
1040 | <span·class="gp">...</span> | 1040 | <span·class="gp">...</span> |
1041 | <span·class="go">datetime.date(2017,·3,·27)</span> | ||
1042 | <span·class="go">datetime.date(201 | 1041 | <span·class="go">datetime.date(2016,·4,·25)</span> |
1042 | <span·class="go">datetime.date(2011,·7,·29)</span> | ||
1043 | <span·class="go">datetime.date(1993,· | 1043 | <span·class="go">datetime.date(1993,·1,·25)</span> |
1044 | <span·class="go">datetime.date(1984,· | 1044 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1045 | <span·class="go">datetime.date(1998,· | 1045 | <span·class="go">datetime.date(1998,·1,·16)</span> |
1046 | </pre></div> | 1046 | </pre></div> |
1047 | </div> | 1047 | </div> |
1048 | </dd></dl> | 1048 | </dd></dl> |
1049 | <dl·class="py·method"> | 1049 | <dl·class="py·method"> |
1050 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.de_AT.Provider.date_of_birth"> | 1050 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.de_AT.Provider.date_of_birth"> |
1051 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.de_AT.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1051 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.de_AT.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
Offset 1070, 19 lines modified | Offset 1070, 19 lines modified | ||
1070 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1070 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1071 | <dd·class="field-even"><p></p></dd> | 1071 | <dd·class="field-even"><p></p></dd> |
1072 | </dl> | 1072 | </dl> |
1073 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1073 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1074 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1074 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1075 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1075 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
1076 | <span·class="gp">...</span> | 1076 | <span·class="gp">...</span> |
1077 | <span·class="go">datetime.date(200 | 1077 | <span·class="go">datetime.date(2006,·10,·20)</span> |
1078 | <span·class="go">datetime.date(1996,·10,·8)</span> | ||
1079 | <span·class="go">datetime.date(1957,·8,·20)</span> | ||
1078 | <span·class="go">datetime.date(19 | 1080 | <span·class="go">datetime.date(1938,·11,·19)</span> |
1079 | <span·class="go">datetime.date(19 | 1081 | <span·class="go">datetime.date(1968,·2,·27)</span> |
1080 | <span·class="go">datetime.date(1939,·12,·21)</span> | ||
1081 | <span·class="go">datetime.date(1969,·3,·30)</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> |
Max diff block lines reached; 97792/119462 bytes (81.86%) of diff not shown. |
Offset 508, 18 lines modified | Offset 508, 18 lines modified | ||
508 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 508 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
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 | ············'AM' | ||
516 | ············'PM' | 515 | ············'PM' |
517 | ············'PM' | 516 | ············'PM' |
518 | ············'PM' | 517 | ············'PM' |
518 | ············'AM' | ||
519 | ············'PM' | 519 | ············'PM' |
520 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 520 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
521 | ··············Example: | 521 | ··············Example: |
522 | ··················‘XVII’ | 522 | ··················‘XVII’ |
523 | ··············Examples: | 523 | ··············Examples: |
524 | ············>>>·Faker.seed(0) | 524 | ············>>>·Faker.seed(0) |
525 | ············>>>·for·_·in·range(5): | 525 | ············>>>·for·_·in·range(5): |
Offset 540, 19 lines modified | Offset 540, 19 lines modified | ||
540 | ··············Returns: | 540 | ··············Returns: |
541 | ··················Date | 541 | ··················Date |
542 | ··············Examples: | 542 | ··············Examples: |
543 | ············>>>·Faker.seed(0) | 543 | ············>>>·Faker.seed(0) |
544 | ············>>>·for·_·in·range(5): | 544 | ············>>>·for·_·in·range(5): |
545 | ············...·····fake.date() | 545 | ············...·····fake.date() |
546 | ············... | 546 | ············... |
547 | ············'2017-03-27' | ||
548 | ············'201 | 547 | ············'2016-04-25' |
548 | ············'2011-07-29' | ||
549 | ············'1993-0 | 549 | ············'1993-01-25' |
550 | ············'1984-0 | 550 | ············'1984-03-15' |
551 | ············'1998-0 | 551 | ············'1998-01-16' |
552 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 552 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
553 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 553 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
554 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 554 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
555 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 555 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
556 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 556 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
557 | ··············Parameters: | 557 | ··············Parameters: |
558 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 558 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
Offset 562, 19 lines modified | Offset 562, 19 lines modified | ||
562 | ··············Returns: | 562 | ··············Returns: |
563 | ··················Date | 563 | ··················Date |
564 | ··············Examples: | 564 | ··············Examples: |
565 | ············>>>·Faker.seed(0) | 565 | ············>>>·Faker.seed(0) |
566 | ············>>>·for·_·in·range(5): | 566 | ············>>>·for·_·in·range(5): |
567 | ············...·····fake.date_between() | 567 | ············...·····fake.date_between() |
568 | ············... | 568 | ············... |
569 | ············datetime.date(202 | 569 | ············datetime.date(2020,·3,·7) |
570 | ············datetime.date(201 | 570 | ············datetime.date(2017,·8,·2) |
571 | ············datetime.date(2008,·7,·20) | ||
572 | ············datetime.date(200 | 571 | ············datetime.date(2007,·6,·19) |
572 | ············datetime.date(2002,·8,·13) | ||
573 | ············datetime.date(201 | 573 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 582, 33 lines modified | ||
582 | ··············Returns: | 582 | ··············Returns: |
583 | ··················Date | 583 | ··················Date |
584 | ··············Examples: | 584 | ··············Examples: |
585 | ············>>>·Faker.seed(0) | 585 | ············>>>·Faker.seed(0) |
586 | ············>>>·for·_·in·range(5): | 586 | ············>>>·for·_·in·range(5): |
587 | ············...·····fake.date_between_dates() | 587 | ············...·····fake.date_between_dates() |
588 | ············... | 588 | ············... |
589 | ············datetime.date(202 | 589 | ············datetime.date(2024,·11,·6) |
590 | ············datetime.date(202 | 590 | ············datetime.date(2024,·11,·6) |
591 | ············datetime.date(202 | 591 | ············datetime.date(2024,·11,·6) |
592 | ············datetime.date(202 | 592 | ············datetime.date(2024,·11,·6) |
593 | ············datetime.date(202 | 593 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
604 | ············datetime.date(201 | 603 | ············datetime.date(2016,·4,·25) |
604 | ············datetime.date(2011,·7,·29) | ||
605 | ············datetime.date(1993,· | 605 | ············datetime.date(1993,·1,·25) |
606 | ············datetime.date(1984,· | 606 | ············datetime.date(1984,·3,·15) |
607 | ············datetime.date(1998,· | 607 | ············datetime.date(1998,·1,·16) |
608 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 608 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
609 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 609 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
610 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 610 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
611 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 611 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
612 | ··············Parameters: | 612 | ··············Parameters: |
613 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. | 613 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. |
614 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. | 614 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. |
Offset 618, 19 lines modified | Offset 618, 19 lines modified | ||
618 | ··············Returns: | 618 | ··············Returns: |
619 | ··················Date | 619 | ··················Date |
620 | ··············Examples: | 620 | ··············Examples: |
621 | ············>>>·Faker.seed(0) | 621 | ············>>>·Faker.seed(0) |
622 | ············>>>·for·_·in·range(5): | 622 | ············>>>·for·_·in·range(5): |
623 | ············...·····fake.date_of_birth() | 623 | ············...·····fake.date_of_birth() |
624 | ············... | 624 | ············... |
625 | ············datetime.date(200 | 625 | ············datetime.date(2006,·10,·20) |
626 | ············datetime.date(1996,·10,·8) | ||
627 | ············datetime.date(1957,·8,·20) | ||
626 | ············datetime.date(19 | 628 | ············datetime.date(1938,·11,·19) |
627 | ············datetime.date(19 | 629 | ············datetime.date(1968,·2,·27) |
628 | ············datetime.date(1939,·12,·21) | ||
629 | ············datetime.date(1969,·3,·30) | ||
630 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 630 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
631 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 631 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
632 | ············Gets·a·Date·object·for·the·current·century. | 632 | ············Gets·a·Date·object·for·the·current·century. |
633 | ··············Parameters: | 633 | ··············Parameters: |
634 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 634 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
635 | ························today | 635 | ························today |
636 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 636 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 640, 19 lines modified | Offset 640, 19 lines modified | ||
640 | ··············Returns: | 640 | ··············Returns: |
641 | ··················Date | 641 | ··················Date |
642 | ··············Examples: | 642 | ··············Examples: |
643 | ············>>>·Faker.seed(0) | 643 | ············>>>·Faker.seed(0) |
644 | ············>>>·for·_·in·range(5): | 644 | ············>>>·for·_·in·range(5): |
645 | ············...·····fake.date_this_century() | 645 | ············...·····fake.date_this_century() |
646 | ············... | 646 | ············... |
647 | ············datetime.date(2020,·12,·24) | ||
Max diff block lines reached; 29823/36958 bytes (80.69%) of diff not shown. |
Offset 1053, 18 lines modified | Offset 1053, 18 lines modified | ||
1053 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1053 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1054 | <dd·class="field-odd"><p></p></dd> | 1054 | <dd·class="field-odd"><p></p></dd> |
1055 | </dl> | 1055 | </dl> |
1056 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1056 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1057 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1057 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1058 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1058 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1059 | <span·class="gp">...</span> | 1059 | <span·class="gp">...</span> |
1060 | <span·class="go">'AM'</span> | ||
1061 | <span·class="go">'PM'</span> | 1060 | <span·class="go">'PM'</span> |
1062 | <span·class="go">'PM'</span> | 1061 | <span·class="go">'PM'</span> |
1063 | <span·class="go">'PM'</span> | 1062 | <span·class="go">'PM'</span> |
1063 | <span·class="go">'AM'</span> | ||
1064 | <span·class="go">'PM'</span> | 1064 | <span·class="go">'PM'</span> |
1065 | </pre></div> | 1065 | </pre></div> |
1066 | </div> | 1066 | </div> |
1067 | </dd></dl> | 1067 | </dd></dl> |
1068 | <dl·class="py·method"> | 1068 | <dl·class="py·method"> |
1069 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.de_DE.Provider.century"> | 1069 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.de_DE.Provider.century"> |
Offset 1106, 19 lines modified | Offset 1106, 19 lines modified | ||
1106 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1106 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1107 | <dd·class="field-even"><p></p></dd> | 1107 | <dd·class="field-even"><p></p></dd> |
1108 | </dl> | 1108 | </dl> |
1109 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1109 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1110 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1110 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1111 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1111 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
1112 | <span·class="gp">...</span> | 1112 | <span·class="gp">...</span> |
1113 | <span·class="go">'2017-03-27'</span> | ||
1114 | <span·class="go">'201 | 1113 | <span·class="go">'2016-04-25'</span> |
1114 | <span·class="go">'2011-07-29'</span> | ||
1115 | <span·class="go">'1993-0 | 1115 | <span·class="go">'1993-01-25'</span> |
1116 | <span·class="go">'1984-0 | 1116 | <span·class="go">'1984-03-15'</span> |
1117 | <span·class="go">'1998-0 | 1117 | <span·class="go">'1998-01-16'</span> |
1118 | </pre></div> | 1118 | </pre></div> |
1119 | </div> | 1119 | </div> |
1120 | </dd></dl> | 1120 | </dd></dl> |
1121 | <dl·class="py·method"> | 1121 | <dl·class="py·method"> |
1122 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.de_DE.Provider.date_between"> | 1122 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.de_DE.Provider.date_between"> |
1123 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.de_DE.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1123 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.de_DE.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 1140, 19 lines modified | Offset 1140, 19 lines modified | ||
1140 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1140 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1141 | <dd·class="field-even"><p></p></dd> | 1141 | <dd·class="field-even"><p></p></dd> |
1142 | </dl> | 1142 | </dl> |
1143 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1143 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1144 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1144 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1145 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1145 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
1146 | <span·class="gp">...</span> | 1146 | <span·class="gp">...</span> |
1147 | <span·class="go">datetime.date(202 | 1147 | <span·class="go">datetime.date(2020,·3,·7)</span> |
1148 | <span·class="go">datetime.date(201 | 1148 | <span·class="go">datetime.date(2017,·8,·2)</span> |
1149 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
1150 | <span·class="go">datetime.date(200 | 1149 | <span·class="go">datetime.date(2007,·6,·19)</span> |
1150 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
1151 | <span·class="go">datetime.date(201 | 1151 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 1178 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1179 | <span·class="go">datetime.date(202 | 1179 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1180 | <span·class="go">datetime.date(202 | 1180 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1181 | <span·class="go">datetime.date(202 | 1181 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1182 | <span·class="go">datetime.date(202 | 1182 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 1195, 19 lines modified | ||
1195 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1195 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1196 | <dd·class="field-even"><p></p></dd> | 1196 | <dd·class="field-even"><p></p></dd> |
1197 | </dl> | 1197 | </dl> |
1198 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1198 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1199 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1199 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1200 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1200 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
1201 | <span·class="gp">...</span> | 1201 | <span·class="gp">...</span> |
1202 | <span·class="go">datetime.date(2017,·3,·27)</span> | ||
1203 | <span·class="go">datetime.date(201 | 1202 | <span·class="go">datetime.date(2016,·4,·25)</span> |
1203 | <span·class="go">datetime.date(2011,·7,·29)</span> | ||
1204 | <span·class="go">datetime.date(1993,· | 1204 | <span·class="go">datetime.date(1993,·1,·25)</span> |
1205 | <span·class="go">datetime.date(1984,· | 1205 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1206 | <span·class="go">datetime.date(1998,· | 1206 | <span·class="go">datetime.date(1998,·1,·16)</span> |
1207 | </pre></div> | 1207 | </pre></div> |
1208 | </div> | 1208 | </div> |
1209 | </dd></dl> | 1209 | </dd></dl> |
1210 | <dl·class="py·method"> | 1210 | <dl·class="py·method"> |
1211 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.de_DE.Provider.date_of_birth"> | 1211 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.de_DE.Provider.date_of_birth"> |
1212 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.de_DE.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1212 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.de_DE.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
Offset 1231, 19 lines modified | Offset 1231, 19 lines modified | ||
1231 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1231 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1232 | <dd·class="field-even"><p></p></dd> | 1232 | <dd·class="field-even"><p></p></dd> |
1233 | </dl> | 1233 | </dl> |
1234 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1234 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1235 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1235 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1236 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1236 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
1237 | <span·class="gp">...</span> | 1237 | <span·class="gp">...</span> |
1238 | <span·class="go">datetime.date(200 | 1238 | <span·class="go">datetime.date(2006,·10,·20)</span> |
1239 | <span·class="go">datetime.date(1996,·10,·8)</span> | ||
1240 | <span·class="go">datetime.date(1957,·8,·20)</span> | ||
1239 | <span·class="go">datetime.date(19 | 1241 | <span·class="go">datetime.date(1938,·11,·19)</span> |
1240 | <span·class="go">datetime.date(19 | 1242 | <span·class="go">datetime.date(1968,·2,·27)</span> |
1241 | <span·class="go">datetime.date(1939,·12,·21)</span> | ||
1242 | <span·class="go">datetime.date(1969,·3,·30)</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> |
Max diff block lines reached; 97794/119470 bytes (81.86%) of diff not shown. |
Offset 595, 18 lines modified | Offset 595, 18 lines modified | ||
595 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 595 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
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 | ············'AM' | ||
603 | ············'PM' | 602 | ············'PM' |
604 | ············'PM' | 603 | ············'PM' |
605 | ············'PM' | 604 | ············'PM' |
605 | ············'AM' | ||
606 | ············'PM' | 606 | ············'PM' |
607 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 607 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
608 | ··············Example: | 608 | ··············Example: |
609 | ··················‘XVII’ | 609 | ··················‘XVII’ |
610 | ··············Examples: | 610 | ··············Examples: |
611 | ············>>>·Faker.seed(0) | 611 | ············>>>·Faker.seed(0) |
612 | ············>>>·for·_·in·range(5): | 612 | ············>>>·for·_·in·range(5): |
Offset 627, 19 lines modified | Offset 627, 19 lines modified | ||
627 | ··············Returns: | 627 | ··············Returns: |
628 | ··················Date | 628 | ··················Date |
629 | ··············Examples: | 629 | ··············Examples: |
630 | ············>>>·Faker.seed(0) | 630 | ············>>>·Faker.seed(0) |
631 | ············>>>·for·_·in·range(5): | 631 | ············>>>·for·_·in·range(5): |
632 | ············...·····fake.date() | 632 | ············...·····fake.date() |
633 | ············... | 633 | ············... |
634 | ············'2017-03-27' | ||
635 | ············'201 | 634 | ············'2016-04-25' |
635 | ············'2011-07-29' | ||
636 | ············'1993-0 | 636 | ············'1993-01-25' |
637 | ············'1984-0 | 637 | ············'1984-03-15' |
638 | ············'1998-0 | 638 | ············'1998-01-16' |
639 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 639 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
640 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 640 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
641 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 641 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
642 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 642 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
643 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 643 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
644 | ··············Parameters: | 644 | ··············Parameters: |
645 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 645 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
Offset 649, 19 lines modified | Offset 649, 19 lines modified | ||
649 | ··············Returns: | 649 | ··············Returns: |
650 | ··················Date | 650 | ··················Date |
651 | ··············Examples: | 651 | ··············Examples: |
652 | ············>>>·Faker.seed(0) | 652 | ············>>>·Faker.seed(0) |
653 | ············>>>·for·_·in·range(5): | 653 | ············>>>·for·_·in·range(5): |
654 | ············...·····fake.date_between() | 654 | ············...·····fake.date_between() |
655 | ············... | 655 | ············... |
656 | ············datetime.date(202 | 656 | ············datetime.date(2020,·3,·7) |
657 | ············datetime.date(201 | 657 | ············datetime.date(2017,·8,·2) |
658 | ············datetime.date(2008,·7,·20) | ||
659 | ············datetime.date(200 | 658 | ············datetime.date(2007,·6,·19) |
659 | ············datetime.date(2002,·8,·13) | ||
660 | ············datetime.date(201 | 660 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 669, 33 lines modified | ||
669 | ··············Returns: | 669 | ··············Returns: |
670 | ··················Date | 670 | ··················Date |
671 | ··············Examples: | 671 | ··············Examples: |
672 | ············>>>·Faker.seed(0) | 672 | ············>>>·Faker.seed(0) |
673 | ············>>>·for·_·in·range(5): | 673 | ············>>>·for·_·in·range(5): |
674 | ············...·····fake.date_between_dates() | 674 | ············...·····fake.date_between_dates() |
675 | ············... | 675 | ············... |
676 | ············datetime.date(202 | 676 | ············datetime.date(2024,·11,·6) |
677 | ············datetime.date(202 | 677 | ············datetime.date(2024,·11,·6) |
678 | ············datetime.date(202 | 678 | ············datetime.date(2024,·11,·6) |
679 | ············datetime.date(202 | 679 | ············datetime.date(2024,·11,·6) |
680 | ············datetime.date(202 | 680 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
691 | ············datetime.date(201 | 690 | ············datetime.date(2016,·4,·25) |
691 | ············datetime.date(2011,·7,·29) | ||
692 | ············datetime.date(1993,· | 692 | ············datetime.date(1993,·1,·25) |
693 | ············datetime.date(1984,· | 693 | ············datetime.date(1984,·3,·15) |
694 | ············datetime.date(1998,· | 694 | ············datetime.date(1998,·1,·16) |
695 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 695 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
696 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 696 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
697 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 697 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
698 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 698 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
699 | ··············Parameters: | 699 | ··············Parameters: |
700 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. | 700 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. |
701 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. | 701 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. |
Offset 705, 19 lines modified | Offset 705, 19 lines modified | ||
705 | ··············Returns: | 705 | ··············Returns: |
706 | ··················Date | 706 | ··················Date |
707 | ··············Examples: | 707 | ··············Examples: |
708 | ············>>>·Faker.seed(0) | 708 | ············>>>·Faker.seed(0) |
709 | ············>>>·for·_·in·range(5): | 709 | ············>>>·for·_·in·range(5): |
710 | ············...·····fake.date_of_birth() | 710 | ············...·····fake.date_of_birth() |
711 | ············... | 711 | ············... |
712 | ············datetime.date(200 | 712 | ············datetime.date(2006,·10,·20) |
713 | ············datetime.date(1996,·10,·8) | ||
714 | ············datetime.date(1957,·8,·20) | ||
713 | ············datetime.date(19 | 715 | ············datetime.date(1938,·11,·19) |
714 | ············datetime.date(19 | 716 | ············datetime.date(1968,·2,·27) |
715 | ············datetime.date(1939,·12,·21) | ||
716 | ············datetime.date(1969,·3,·30) | ||
717 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 717 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
718 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 718 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
719 | ············Gets·a·Date·object·for·the·current·century. | 719 | ············Gets·a·Date·object·for·the·current·century. |
720 | ··············Parameters: | 720 | ··············Parameters: |
721 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 721 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
722 | ························today | 722 | ························today |
723 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 723 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 727, 19 lines modified | Offset 727, 19 lines modified | ||
727 | ··············Returns: | 727 | ··············Returns: |
728 | ··················Date | 728 | ··················Date |
729 | ··············Examples: | 729 | ··············Examples: |
730 | ············>>>·Faker.seed(0) | 730 | ············>>>·Faker.seed(0) |
731 | ············>>>·for·_·in·range(5): | 731 | ············>>>·for·_·in·range(5): |
732 | ············...·····fake.date_this_century() | 732 | ············...·····fake.date_this_century() |
733 | ············... | 733 | ············... |
734 | ············datetime.date(2020,·12,·24) | ||
Max diff block lines reached; 29695/36830 bytes (80.63%) of diff not shown. |
Offset 1385, 18 lines modified | Offset 1385, 18 lines modified | ||
1385 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1385 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1386 | <dd·class="field-odd"><p></p></dd> | 1386 | <dd·class="field-odd"><p></p></dd> |
1387 | </dl> | 1387 | </dl> |
1388 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1388 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1389 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1389 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1390 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1390 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1391 | <span·class="gp">...</span> | 1391 | <span·class="gp">...</span> |
1392 | <span·class="go">'AM'</span> | ||
1393 | <span·class="go">'PM'</span> | 1392 | <span·class="go">'PM'</span> |
1394 | <span·class="go">'PM'</span> | 1393 | <span·class="go">'PM'</span> |
1395 | <span·class="go">'PM'</span> | 1394 | <span·class="go">'PM'</span> |
1395 | <span·class="go">'AM'</span> | ||
1396 | <span·class="go">'PM'</span> | 1396 | <span·class="go">'PM'</span> |
1397 | </pre></div> | 1397 | </pre></div> |
1398 | </div> | 1398 | </div> |
1399 | </dd></dl> | 1399 | </dd></dl> |
1400 | <dl·class="py·method"> | 1400 | <dl·class="py·method"> |
1401 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.el_GR.Provider.century"> | 1401 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.el_GR.Provider.century"> |
Offset 1438, 19 lines modified | Offset 1438, 19 lines modified | ||
1438 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1438 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1439 | <dd·class="field-even"><p></p></dd> | 1439 | <dd·class="field-even"><p></p></dd> |
1440 | </dl> | 1440 | </dl> |
1441 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1441 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1442 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1442 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1443 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1443 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
1444 | <span·class="gp">...</span> | 1444 | <span·class="gp">...</span> |
1445 | <span·class="go">'2017-03-27'</span> | ||
1446 | <span·class="go">'201 | 1445 | <span·class="go">'2016-04-25'</span> |
1446 | <span·class="go">'2011-07-29'</span> | ||
1447 | <span·class="go">'1993-0 | 1447 | <span·class="go">'1993-01-25'</span> |
1448 | <span·class="go">'1984-0 | 1448 | <span·class="go">'1984-03-15'</span> |
1449 | <span·class="go">'1998-0 | 1449 | <span·class="go">'1998-01-16'</span> |
1450 | </pre></div> | 1450 | </pre></div> |
1451 | </div> | 1451 | </div> |
1452 | </dd></dl> | 1452 | </dd></dl> |
1453 | <dl·class="py·method"> | 1453 | <dl·class="py·method"> |
1454 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.el_GR.Provider.date_between"> | 1454 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.el_GR.Provider.date_between"> |
1455 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.el_GR.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1455 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.el_GR.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 1472, 19 lines modified | Offset 1472, 19 lines modified | ||
1472 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1472 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1473 | <dd·class="field-even"><p></p></dd> | 1473 | <dd·class="field-even"><p></p></dd> |
1474 | </dl> | 1474 | </dl> |
1475 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1475 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1476 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1476 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1477 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1477 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
1478 | <span·class="gp">...</span> | 1478 | <span·class="gp">...</span> |
1479 | <span·class="go">datetime.date(202 | 1479 | <span·class="go">datetime.date(2020,·3,·7)</span> |
1480 | <span·class="go">datetime.date(201 | 1480 | <span·class="go">datetime.date(2017,·8,·2)</span> |
1481 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
1482 | <span·class="go">datetime.date(200 | 1481 | <span·class="go">datetime.date(2007,·6,·19)</span> |
1482 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
1483 | <span·class="go">datetime.date(201 | 1483 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 1510 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1511 | <span·class="go">datetime.date(202 | 1511 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1512 | <span·class="go">datetime.date(202 | 1512 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1513 | <span·class="go">datetime.date(202 | 1513 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1514 | <span·class="go">datetime.date(202 | 1514 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 1527, 19 lines modified | ||
1527 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1527 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1528 | <dd·class="field-even"><p></p></dd> | 1528 | <dd·class="field-even"><p></p></dd> |
1529 | </dl> | 1529 | </dl> |
1530 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1530 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1531 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1531 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1532 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1532 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
1533 | <span·class="gp">...</span> | 1533 | <span·class="gp">...</span> |
1534 | <span·class="go">datetime.date(2017,·3,·27)</span> | ||
1535 | <span·class="go">datetime.date(201 | 1534 | <span·class="go">datetime.date(2016,·4,·25)</span> |
1535 | <span·class="go">datetime.date(2011,·7,·29)</span> | ||
1536 | <span·class="go">datetime.date(1993,· | 1536 | <span·class="go">datetime.date(1993,·1,·25)</span> |
1537 | <span·class="go">datetime.date(1984,· | 1537 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1538 | <span·class="go">datetime.date(1998,· | 1538 | <span·class="go">datetime.date(1998,·1,·16)</span> |
1539 | </pre></div> | 1539 | </pre></div> |
1540 | </div> | 1540 | </div> |
1541 | </dd></dl> | 1541 | </dd></dl> |
1542 | <dl·class="py·method"> | 1542 | <dl·class="py·method"> |
1543 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.el_GR.Provider.date_of_birth"> | 1543 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.el_GR.Provider.date_of_birth"> |
1544 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.el_GR.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1544 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.el_GR.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
Offset 1563, 19 lines modified | Offset 1563, 19 lines modified | ||
1563 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1563 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1564 | <dd·class="field-even"><p></p></dd> | 1564 | <dd·class="field-even"><p></p></dd> |
1565 | </dl> | 1565 | </dl> |
1566 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1566 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1567 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1567 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1568 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1568 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
1569 | <span·class="gp">...</span> | 1569 | <span·class="gp">...</span> |
1570 | <span·class="go">datetime.date(200 | 1570 | <span·class="go">datetime.date(2006,·10,·20)</span> |
1571 | <span·class="go">datetime.date(1996,·10,·8)</span> | ||
1572 | <span·class="go">datetime.date(1957,·8,·20)</span> | ||
1571 | <span·class="go">datetime.date(19 | 1573 | <span·class="go">datetime.date(1938,·11,·19)</span> |
1572 | <span·class="go">datetime.date(19 | 1574 | <span·class="go">datetime.date(1968,·2,·27)</span> |
1573 | <span·class="go">datetime.date(1939,·12,·21)</span> | ||
1574 | <span·class="go">datetime.date(1969,·3,·30)</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> |
Max diff block lines reached; 102167/123843 bytes (82.50%) of diff not shown. |
Offset 811, 18 lines modified | Offset 811, 18 lines modified | ||
811 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 811 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
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 | ············'AM' | ||
819 | ············'PM' | 818 | ············'PM' |
820 | ············'PM' | 819 | ············'PM' |
821 | ············'PM' | 820 | ············'PM' |
821 | ············'AM' | ||
822 | ············'PM' | 822 | ············'PM' |
823 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 823 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
824 | ··············Example: | 824 | ··············Example: |
825 | ··················‘XVII’ | 825 | ··················‘XVII’ |
826 | ··············Examples: | 826 | ··············Examples: |
827 | ············>>>·Faker.seed(0) | 827 | ············>>>·Faker.seed(0) |
828 | ············>>>·for·_·in·range(5): | 828 | ············>>>·for·_·in·range(5): |
Offset 843, 19 lines modified | Offset 843, 19 lines modified | ||
843 | ··············Returns: | 843 | ··············Returns: |
844 | ··················Date | 844 | ··················Date |
845 | ··············Examples: | 845 | ··············Examples: |
846 | ············>>>·Faker.seed(0) | 846 | ············>>>·Faker.seed(0) |
847 | ············>>>·for·_·in·range(5): | 847 | ············>>>·for·_·in·range(5): |
848 | ············...·····fake.date() | 848 | ············...·····fake.date() |
849 | ············... | 849 | ············... |
850 | ············'2017-03-27' | ||
851 | ············'201 | 850 | ············'2016-04-25' |
851 | ············'2011-07-29' | ||
852 | ············'1993-0 | 852 | ············'1993-01-25' |
853 | ············'1984-0 | 853 | ············'1984-03-15' |
854 | ············'1998-0 | 854 | ············'1998-01-16' |
855 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 855 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
856 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 856 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
857 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 857 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
858 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 858 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
859 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 859 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
860 | ··············Parameters: | 860 | ··············Parameters: |
861 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 861 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
Offset 865, 19 lines modified | Offset 865, 19 lines modified | ||
865 | ··············Returns: | 865 | ··············Returns: |
866 | ··················Date | 866 | ··················Date |
867 | ··············Examples: | 867 | ··············Examples: |
868 | ············>>>·Faker.seed(0) | 868 | ············>>>·Faker.seed(0) |
869 | ············>>>·for·_·in·range(5): | 869 | ············>>>·for·_·in·range(5): |
870 | ············...·····fake.date_between() | 870 | ············...·····fake.date_between() |
871 | ············... | 871 | ············... |
872 | ············datetime.date(202 | 872 | ············datetime.date(2020,·3,·7) |
873 | ············datetime.date(201 | 873 | ············datetime.date(2017,·8,·2) |
874 | ············datetime.date(2008,·7,·20) | ||
875 | ············datetime.date(200 | 874 | ············datetime.date(2007,·6,·19) |
875 | ············datetime.date(2002,·8,·13) | ||
876 | ············datetime.date(201 | 876 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 885, 33 lines modified | ||
885 | ··············Returns: | 885 | ··············Returns: |
886 | ··················Date | 886 | ··················Date |
887 | ··············Examples: | 887 | ··············Examples: |
888 | ············>>>·Faker.seed(0) | 888 | ············>>>·Faker.seed(0) |
889 | ············>>>·for·_·in·range(5): | 889 | ············>>>·for·_·in·range(5): |
890 | ············...·····fake.date_between_dates() | 890 | ············...·····fake.date_between_dates() |
891 | ············... | 891 | ············... |
892 | ············datetime.date(202 | 892 | ············datetime.date(2024,·11,·6) |
893 | ············datetime.date(202 | 893 | ············datetime.date(2024,·11,·6) |
894 | ············datetime.date(202 | 894 | ············datetime.date(2024,·11,·6) |
895 | ············datetime.date(202 | 895 | ············datetime.date(2024,·11,·6) |
896 | ············datetime.date(202 | 896 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
907 | ············datetime.date(201 | 906 | ············datetime.date(2016,·4,·25) |
907 | ············datetime.date(2011,·7,·29) | ||
908 | ············datetime.date(1993,· | 908 | ············datetime.date(1993,·1,·25) |
909 | ············datetime.date(1984,· | 909 | ············datetime.date(1984,·3,·15) |
910 | ············datetime.date(1998,· | 910 | ············datetime.date(1998,·1,·16) |
911 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 911 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
912 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 912 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
913 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 913 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
914 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 914 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
915 | ··············Parameters: | 915 | ··············Parameters: |
916 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. | 916 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. |
917 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. | 917 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. |
Offset 921, 19 lines modified | Offset 921, 19 lines modified | ||
921 | ··············Returns: | 921 | ··············Returns: |
922 | ··················Date | 922 | ··················Date |
923 | ··············Examples: | 923 | ··············Examples: |
924 | ············>>>·Faker.seed(0) | 924 | ············>>>·Faker.seed(0) |
925 | ············>>>·for·_·in·range(5): | 925 | ············>>>·for·_·in·range(5): |
926 | ············...·····fake.date_of_birth() | 926 | ············...·····fake.date_of_birth() |
927 | ············... | 927 | ············... |
928 | ············datetime.date(200 | 928 | ············datetime.date(2006,·10,·20) |
929 | ············datetime.date(1996,·10,·8) | ||
930 | ············datetime.date(1957,·8,·20) | ||
929 | ············datetime.date(19 | 931 | ············datetime.date(1938,·11,·19) |
930 | ············datetime.date(19 | 932 | ············datetime.date(1968,·2,·27) |
931 | ············datetime.date(1939,·12,·21) | ||
932 | ············datetime.date(1969,·3,·30) | ||
933 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 933 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
934 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 934 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
935 | ············Gets·a·Date·object·for·the·current·century. | 935 | ············Gets·a·Date·object·for·the·current·century. |
936 | ··············Parameters: | 936 | ··············Parameters: |
937 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 937 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
938 | ························today | 938 | ························today |
939 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 939 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 943, 19 lines modified | Offset 943, 19 lines modified | ||
943 | ··············Returns: | 943 | ··············Returns: |
944 | ··················Date | 944 | ··················Date |
945 | ··············Examples: | 945 | ··············Examples: |
946 | ············>>>·Faker.seed(0) | 946 | ············>>>·Faker.seed(0) |
947 | ············>>>·for·_·in·range(5): | 947 | ············>>>·for·_·in·range(5): |
948 | ············...·····fake.date_this_century() | 948 | ············...·····fake.date_this_century() |
949 | ············... | 949 | ············... |
950 | ············datetime.date(2020,·12,·24) | ||
Max diff block lines reached; 31875/39010 bytes (81.71%) of diff not shown. |
Offset 1594, 18 lines modified | Offset 1594, 18 lines modified | ||
1594 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1594 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1595 | <dd·class="field-odd"><p></p></dd> | 1595 | <dd·class="field-odd"><p></p></dd> |
1596 | </dl> | 1596 | </dl> |
1597 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1597 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1598 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1598 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1599 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1599 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1600 | <span·class="gp">...</span> | 1600 | <span·class="gp">...</span> |
1601 | <span·class="go">'AM'</span> | ||
1602 | <span·class="go">'PM'</span> | 1601 | <span·class="go">'PM'</span> |
1603 | <span·class="go">'PM'</span> | 1602 | <span·class="go">'PM'</span> |
1604 | <span·class="go">'PM'</span> | 1603 | <span·class="go">'PM'</span> |
1604 | <span·class="go">'AM'</span> | ||
1605 | <span·class="go">'PM'</span> | 1605 | <span·class="go">'PM'</span> |
1606 | </pre></div> | 1606 | </pre></div> |
1607 | </div> | 1607 | </div> |
1608 | </dd></dl> | 1608 | </dd></dl> |
1609 | <dl·class="py·method"> | 1609 | <dl·class="py·method"> |
1610 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.en_PH.Provider.century"> | 1610 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.en_PH.Provider.century"> |
Offset 1647, 19 lines modified | Offset 1647, 19 lines modified | ||
1647 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1647 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1648 | <dd·class="field-even"><p></p></dd> | 1648 | <dd·class="field-even"><p></p></dd> |
1649 | </dl> | 1649 | </dl> |
1650 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1650 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1651 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1651 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1652 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1652 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
1653 | <span·class="gp">...</span> | 1653 | <span·class="gp">...</span> |
1654 | <span·class="go">'2017-03-27'</span> | ||
1655 | <span·class="go">'201 | 1654 | <span·class="go">'2016-04-25'</span> |
1655 | <span·class="go">'2011-07-29'</span> | ||
1656 | <span·class="go">'1993-0 | 1656 | <span·class="go">'1993-01-25'</span> |
1657 | <span·class="go">'1984-0 | 1657 | <span·class="go">'1984-03-15'</span> |
1658 | <span·class="go">'1998-0 | 1658 | <span·class="go">'1998-01-16'</span> |
1659 | </pre></div> | 1659 | </pre></div> |
1660 | </div> | 1660 | </div> |
1661 | </dd></dl> | 1661 | </dd></dl> |
1662 | <dl·class="py·method"> | 1662 | <dl·class="py·method"> |
1663 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.en_PH.Provider.date_between"> | 1663 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.en_PH.Provider.date_between"> |
1664 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.en_PH.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1664 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.en_PH.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 1681, 19 lines modified | Offset 1681, 19 lines modified | ||
1681 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1681 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1682 | <dd·class="field-even"><p></p></dd> | 1682 | <dd·class="field-even"><p></p></dd> |
1683 | </dl> | 1683 | </dl> |
1684 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1684 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1685 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1685 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1686 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1686 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
1687 | <span·class="gp">...</span> | 1687 | <span·class="gp">...</span> |
1688 | <span·class="go">datetime.date(202 | 1688 | <span·class="go">datetime.date(2020,·3,·7)</span> |
1689 | <span·class="go">datetime.date(201 | 1689 | <span·class="go">datetime.date(2017,·8,·2)</span> |
1690 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
1691 | <span·class="go">datetime.date(200 | 1690 | <span·class="go">datetime.date(2007,·6,·19)</span> |
1691 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
1692 | <span·class="go">datetime.date(201 | 1692 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 1719 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1720 | <span·class="go">datetime.date(202 | 1720 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1721 | <span·class="go">datetime.date(202 | 1721 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1722 | <span·class="go">datetime.date(202 | 1722 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1723 | <span·class="go">datetime.date(202 | 1723 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 1736, 19 lines modified | ||
1736 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1736 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1737 | <dd·class="field-even"><p></p></dd> | 1737 | <dd·class="field-even"><p></p></dd> |
1738 | </dl> | 1738 | </dl> |
1739 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1739 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1740 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1740 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1741 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1741 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
1742 | <span·class="gp">...</span> | 1742 | <span·class="gp">...</span> |
1743 | <span·class="go">datetime.date(2017,·3,·27)</span> | ||
1744 | <span·class="go">datetime.date(201 | 1743 | <span·class="go">datetime.date(2016,·4,·25)</span> |
1744 | <span·class="go">datetime.date(2011,·7,·29)</span> | ||
1745 | <span·class="go">datetime.date(1993,· | 1745 | <span·class="go">datetime.date(1993,·1,·25)</span> |
1746 | <span·class="go">datetime.date(1984,· | 1746 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1747 | <span·class="go">datetime.date(1998,· | 1747 | <span·class="go">datetime.date(1998,·1,·16)</span> |
1748 | </pre></div> | 1748 | </pre></div> |
1749 | </div> | 1749 | </div> |
1750 | </dd></dl> | 1750 | </dd></dl> |
1751 | <dl·class="py·method"> | 1751 | <dl·class="py·method"> |
1752 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.en_PH.Provider.date_of_birth"> | 1752 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.en_PH.Provider.date_of_birth"> |
1753 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.en_PH.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1753 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.en_PH.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
Offset 1772, 19 lines modified | Offset 1772, 19 lines modified | ||
1772 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1772 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1773 | <dd·class="field-even"><p></p></dd> | 1773 | <dd·class="field-even"><p></p></dd> |
1774 | </dl> | 1774 | </dl> |
1775 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1775 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1776 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1776 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1777 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1777 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
1778 | <span·class="gp">...</span> | 1778 | <span·class="gp">...</span> |
1779 | <span·class="go">datetime.date(200 | 1779 | <span·class="go">datetime.date(2006,·10,·20)</span> |
1780 | <span·class="go">datetime.date(1996,·10,·8)</span> | ||
1781 | <span·class="go">datetime.date(1957,·8,·20)</span> | ||
1780 | <span·class="go">datetime.date(19 | 1782 | <span·class="go">datetime.date(1938,·11,·19)</span> |
1781 | <span·class="go">datetime.date(19 | 1783 | <span·class="go">datetime.date(1968,·2,·27)</span> |
1782 | <span·class="go">datetime.date(1939,·12,·21)</span> | ||
1783 | <span·class="go">datetime.date(1969,·3,·30)</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> |
Max diff block lines reached; 303395/325071 bytes (93.33%) of diff not shown. |
Offset 959, 18 lines modified | Offset 959, 18 lines modified | ||
959 | ······No·difference·from·default·DateTimeProvider | 959 | ······No·difference·from·default·DateTimeProvider |
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 | ············'AM' | ||
967 | ············'PM' | 966 | ············'PM' |
968 | ············'PM' | 967 | ············'PM' |
969 | ············'PM' | 968 | ············'PM' |
969 | ············'AM' | ||
970 | ············'PM' | 970 | ············'PM' |
971 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 971 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
972 | ··············Example: | 972 | ··············Example: |
973 | ··················‘XVII’ | 973 | ··················‘XVII’ |
974 | ··············Examples: | 974 | ··············Examples: |
975 | ············>>>·Faker.seed(0) | 975 | ············>>>·Faker.seed(0) |
976 | ············>>>·for·_·in·range(5): | 976 | ············>>>·for·_·in·range(5): |
Offset 991, 19 lines modified | Offset 991, 19 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 | ············'2017-03-27' | ||
999 | ············'201 | 998 | ············'2016-04-25' |
999 | ············'2011-07-29' | ||
1000 | ············'1993-0 | 1000 | ············'1993-01-25' |
1001 | ············'1984-0 | 1001 | ············'1984-03-15' |
1002 | ············'1998-0 | 1002 | ············'1998-01-16' |
1003 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 1003 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
1004 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 1004 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
1005 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1005 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
1006 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 1006 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
1007 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 1007 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
1008 | ··············Parameters: | 1008 | ··············Parameters: |
1009 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 1009 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
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(202 | 1020 | ············datetime.date(2020,·3,·7) |
1021 | ············datetime.date(201 | 1021 | ············datetime.date(2017,·8,·2) |
1022 | ············datetime.date(2008,·7,·20) | ||
1023 | ············datetime.date(200 | 1022 | ············datetime.date(2007,·6,·19) |
1023 | ············datetime.date(2002,·8,·13) | ||
1024 | ············datetime.date(201 | 1024 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 1033, 33 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(202 | 1040 | ············datetime.date(2024,·11,·6) |
1041 | ············datetime.date(202 | 1041 | ············datetime.date(2024,·11,·6) |
1042 | ············datetime.date(202 | 1042 | ············datetime.date(2024,·11,·6) |
1043 | ············datetime.date(202 | 1043 | ············datetime.date(2024,·11,·6) |
1044 | ············datetime.date(202 | 1044 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
1055 | ············datetime.date(201 | 1054 | ············datetime.date(2016,·4,·25) |
1055 | ············datetime.date(2011,·7,·29) | ||
1056 | ············datetime.date(1993,· | 1056 | ············datetime.date(1993,·1,·25) |
1057 | ············datetime.date(1984,· | 1057 | ············datetime.date(1984,·3,·15) |
1058 | ············datetime.date(1998,· | 1058 | ············datetime.date(1998,·1,·16) |
1059 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 1059 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
1060 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1060 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
1061 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 1061 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
1062 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 1062 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
1063 | ··············Parameters: | 1063 | ··············Parameters: |
1064 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. | 1064 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. |
1065 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. | 1065 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. |
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(200 | 1076 | ············datetime.date(2006,·10,·20) |
1077 | ············datetime.date(1996,·10,·8) | ||
1078 | ············datetime.date(1957,·8,·20) | ||
1077 | ············datetime.date(19 | 1079 | ············datetime.date(1938,·11,·19) |
1078 | ············datetime.date(19 | 1080 | ············datetime.date(1968,·2,·27) |
1079 | ············datetime.date(1939,·12,·21) | ||
1080 | ············datetime.date(1969,·3,·30) | ||
1081 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 1081 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
1082 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1082 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
1083 | ············Gets·a·Date·object·for·the·current·century. | 1083 | ············Gets·a·Date·object·for·the·current·century. |
1084 | ··············Parameters: | 1084 | ··············Parameters: |
1085 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 1085 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
1086 | ························today | 1086 | ························today |
1087 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 1087 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 1091, 19 lines modified | Offset 1091, 19 lines modified | ||
1091 | ··············Returns: | 1091 | ··············Returns: |
1092 | ··················Date | 1092 | ··················Date |
1093 | ··············Examples: | 1093 | ··············Examples: |
1094 | ············>>>·Faker.seed(0) | 1094 | ············>>>·Faker.seed(0) |
1095 | ············>>>·for·_·in·range(5): | 1095 | ············>>>·for·_·in·range(5): |
1096 | ············...·····fake.date_this_century() | 1096 | ············...·····fake.date_this_century() |
1097 | ············... | 1097 | ············... |
1098 | ············datetime.date(2020,·12,·24) | ||
Max diff block lines reached; 204421/211576 bytes (96.62%) of diff not shown. |
Offset 1707, 19 lines modified | Offset 1707, 19 lines modified | ||
1707 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1707 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1708 | <dd·class="field-odd"><p></p></dd> | 1708 | <dd·class="field-odd"><p></p></dd> |
1709 | </dl> | 1709 | </dl> |
1710 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1710 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1711 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1711 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1712 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">credit_card_expire</span><span·class="p">()</span> | 1712 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">credit_card_expire</span><span·class="p">()</span> |
1713 | <span·class="gp">...</span> | 1713 | <span·class="gp">...</span> |
1714 | <span·class="go">'05/34'</span> | ||
1715 | <span·class="go">'0 | 1714 | <span·class="go">'04/33'</span> |
1716 | <span·class="go">'0 | 1715 | <span·class="go">'06/32'</span> |
1717 | <span·class="go">'0 | 1716 | <span·class="go">'01/29'</span> |
1718 | <span·class="go">'0 | 1717 | <span·class="go">'06/27'</span> |
1718 | <span·class="go">'12/29'</span> | ||
1719 | </pre></div> | 1719 | </pre></div> |
1720 | </div> | 1720 | </div> |
1721 | </dd></dl> | 1721 | </dd></dl> |
1722 | <dl·class="py·method"> | 1722 | <dl·class="py·method"> |
1723 | <dt·class="sig·sig-object·py"·id="faker.providers.credit_card.en_US.Provider.credit_card_full"> | 1723 | <dt·class="sig·sig-object·py"·id="faker.providers.credit_card.en_US.Provider.credit_card_full"> |
1724 | <span·class="sig-name·descname"><span·class="pre">credit_card_full</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">card_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CardType</span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<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.credit_card.en_US.Provider.credit_card_full"·title="Link·to·this·definition">¶</a></dt> | 1724 | <span·class="sig-name·descname"><span·class="pre">credit_card_full</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">card_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CardType</span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<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.credit_card.en_US.Provider.credit_card_full"·title="Link·to·this·definition">¶</a></dt> |
Offset 1728, 19 lines modified | Offset 1728, 19 lines modified | ||
1728 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1728 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1729 | <dd·class="field-odd"><p></p></dd> | 1729 | <dd·class="field-odd"><p></p></dd> |
1730 | </dl> | 1730 | </dl> |
1731 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1731 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1732 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1732 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1733 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">credit_card_full</span><span·class="p">()</span> | 1733 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">credit_card_full</span><span·class="p">()</span> |
1734 | <span·class="gp">...</span> | 1734 | <span·class="gp">...</span> |
1735 | <span·class="go">'Discover\nKatherine·Fisher\n6587647593824218·0 | 1735 | <span·class="go">'Discover\nKatherine·Fisher\n6587647593824218·01/31\nCVC:·489\n'</span> |
1736 | <span·class="go">'VISA·16·digit\nKyle·Blair\n4781565938778403·1 | 1736 | <span·class="go">'VISA·16·digit\nKyle·Blair\n4781565938778403·11/32\nCVC:·801\n'</span> |
1737 | <span·class="go">'JCB·16·digit\nMary·Page\n3597535139332876·1 | 1737 | <span·class="go">'JCB·16·digit\nMary·Page\n3597535139332876·10/25\nCVC:·587\n'</span> |
1738 | <span·class="go">'Mastercard\nKevin·Carter\n5485839894719651·0 | 1738 | <span·class="go">'Mastercard\nKevin·Carter\n5485839894719651·08/30\nCVV:·423\n'</span> |
1739 | <span·class="go">'VISA·16·digit\nAntonio·Zavala\n4711220186848335·1 | 1739 | <span·class="go">'VISA·16·digit\nAntonio·Zavala\n4711220186848335·10/33\nCVC:·969\n'</span> |
1740 | </pre></div> | 1740 | </pre></div> |
1741 | </div> | 1741 | </div> |
1742 | </dd></dl> | 1742 | </dd></dl> |
1743 | <dl·class="py·method"> | 1743 | <dl·class="py·method"> |
1744 | <dt·class="sig·sig-object·py"·id="faker.providers.credit_card.en_US.Provider.credit_card_number"> | 1744 | <dt·class="sig·sig-object·py"·id="faker.providers.credit_card.en_US.Provider.credit_card_number"> |
1745 | <span·class="sig-name·descname"><span·class="pre">credit_card_number</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">card_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CardType</span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<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.credit_card.en_US.Provider.credit_card_number"·title="Link·to·this·definition">¶</a></dt> | 1745 | <span·class="sig-name·descname"><span·class="pre">credit_card_number</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">card_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CardType</span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<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.credit_card.en_US.Provider.credit_card_number"·title="Link·to·this·definition">¶</a></dt> |
Offset 1992, 18 lines modified | Offset 1992, 18 lines modified | ||
1992 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1992 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1993 | <dd·class="field-odd"><p></p></dd> | 1993 | <dd·class="field-odd"><p></p></dd> |
1994 | </dl> | 1994 | </dl> |
1995 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1995 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1996 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1996 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1997 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1997 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1998 | <span·class="gp">...</span> | 1998 | <span·class="gp">...</span> |
1999 | <span·class="go">'AM'</span> | ||
2000 | <span·class="go">'PM'</span> | 1999 | <span·class="go">'PM'</span> |
2001 | <span·class="go">'PM'</span> | 2000 | <span·class="go">'PM'</span> |
2002 | <span·class="go">'PM'</span> | 2001 | <span·class="go">'PM'</span> |
2002 | <span·class="go">'AM'</span> | ||
2003 | <span·class="go">'PM'</span> | 2003 | <span·class="go">'PM'</span> |
2004 | </pre></div> | 2004 | </pre></div> |
2005 | </div> | 2005 | </div> |
2006 | </dd></dl> | 2006 | </dd></dl> |
2007 | <dl·class="py·method"> | 2007 | <dl·class="py·method"> |
2008 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.en_US.Provider.century"> | 2008 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.en_US.Provider.century"> |
Offset 2045, 19 lines modified | Offset 2045, 19 lines modified | ||
2045 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 2045 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
2046 | <dd·class="field-even"><p></p></dd> | 2046 | <dd·class="field-even"><p></p></dd> |
2047 | </dl> | 2047 | </dl> |
2048 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 2048 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
2049 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 2049 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
2050 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 2050 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
2051 | <span·class="gp">...</span> | 2051 | <span·class="gp">...</span> |
2052 | <span·class="go">'2017-03-27'</span> | ||
2053 | <span·class="go">'201 | 2052 | <span·class="go">'2016-04-25'</span> |
2053 | <span·class="go">'2011-07-29'</span> | ||
2054 | <span·class="go">'1993-0 | 2054 | <span·class="go">'1993-01-25'</span> |
2055 | <span·class="go">'1984-0 | 2055 | <span·class="go">'1984-03-15'</span> |
2056 | <span·class="go">'1998-0 | 2056 | <span·class="go">'1998-01-16'</span> |
2057 | </pre></div> | 2057 | </pre></div> |
2058 | </div> | 2058 | </div> |
2059 | </dd></dl> | 2059 | </dd></dl> |
2060 | <dl·class="py·method"> | 2060 | <dl·class="py·method"> |
2061 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.en_US.Provider.date_between"> | 2061 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.en_US.Provider.date_between"> |
2062 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.en_US.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 2062 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.en_US.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 2079, 19 lines modified | Offset 2079, 19 lines modified | ||
2079 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 2079 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
2080 | <dd·class="field-even"><p></p></dd> | 2080 | <dd·class="field-even"><p></p></dd> |
2081 | </dl> | 2081 | </dl> |
2082 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 2082 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
2083 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 2083 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
2084 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 2084 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
2085 | <span·class="gp">...</span> | 2085 | <span·class="gp">...</span> |
2086 | <span·class="go">datetime.date(202 | 2086 | <span·class="go">datetime.date(2020,·3,·7)</span> |
2087 | <span·class="go">datetime.date(201 | 2087 | <span·class="go">datetime.date(2017,·8,·2)</span> |
2088 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
2089 | <span·class="go">datetime.date(200 | 2088 | <span·class="go">datetime.date(2007,·6,·19)</span> |
2089 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
2090 | <span·class="go">datetime.date(201 | 2090 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 2117 | <span·class="go">datetime.date(2024,·11,·6)</span> |
2118 | <span·class="go">datetime.date(202 | 2118 | <span·class="go">datetime.date(2024,·11,·6)</span> |
2119 | <span·class="go">datetime.date(202 | 2119 | <span·class="go">datetime.date(2024,·11,·6)</span> |
2120 | <span·class="go">datetime.date(202 | 2120 | <span·class="go">datetime.date(2024,·11,·6)</span> |
2121 | <span·class="go">datetime.date(202 | 2121 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 2134, 19 lines modified | ||
2134 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 2134 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
2135 | <dd·class="field-even"><p></p></dd> | 2135 | <dd·class="field-even"><p></p></dd> |
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> |
Max diff block lines reached; 422121/443145 bytes (95.26%) of diff not shown. |
Offset 1085, 31 lines modified | Offset 1085, 31 lines modified | ||
1085 | ············expiry·date,·_\x8s_\x8t_\x8r_\x8f_\x8t_\x8i_\x8m_\x8e_\x8(_\x8)·is·used·and·date_format·is·simply·passed·to | 1085 | ············expiry·date,·_\x8s_\x8t_\x8r_\x8f_\x8t_\x8i_\x8m_\x8e_\x8(_\x8)·is·used·and·date_format·is·simply·passed·to |
1086 | ············that·method. | 1086 | ············that·method. |
1087 | ··············Examples: | 1087 | ··············Examples: |
1088 | ············>>>·Faker.seed(0) | 1088 | ············>>>·Faker.seed(0) |
1089 | ············>>>·for·_·in·range(5): | 1089 | ············>>>·for·_·in·range(5): |
1090 | ············...·····fake.credit_card_expire() | 1090 | ············...·····fake.credit_card_expire() |
1091 | ············... | 1091 | ············... |
1092 | ············'05/34' | ||
1093 | ············'0 | 1092 | ············'04/33' |
1094 | ············'0 | 1093 | ············'06/32' |
1095 | ············'0 | 1094 | ············'01/29' |
1096 | ············'0 | 1095 | ············'06/27' |
1096 | ············'12/29' | ||
1097 | ········credit_card_full(c\x8ca\x8ar\x8rd\x8d_\x8_t\x8ty\x8yp\x8pe\x8e:\x8:·C\x8Ca\x8ar\x8rd\x8dT\x8Ty\x8yp\x8pe\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ | 1097 | ········credit_card_full(c\x8ca\x8ar\x8rd\x8d_\x8_t\x8ty\x8yp\x8pe\x8e:\x8:·C\x8Ca\x8ar\x8rd\x8dT\x8Ty\x8yp\x8pe\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ |
1098 | ············Generate·a·set·of·credit·card·details. | 1098 | ············Generate·a·set·of·credit·card·details. |
1099 | ··············Examples: | 1099 | ··············Examples: |
1100 | ············>>>·Faker.seed(0) | 1100 | ············>>>·Faker.seed(0) |
1101 | ············>>>·for·_·in·range(5): | 1101 | ············>>>·for·_·in·range(5): |
1102 | ············...·····fake.credit_card_full() | 1102 | ············...·····fake.credit_card_full() |
1103 | ············... | 1103 | ············... |
1104 | ············'Discover\nKatherine·Fisher\n6587647593824218·0 | 1104 | ············'Discover\nKatherine·Fisher\n6587647593824218·01/31\nCVC:·489\n' |
1105 | ············'VISA·16·digit\nKyle·Blair\n4781565938778403·1 | 1105 | ············'VISA·16·digit\nKyle·Blair\n4781565938778403·11/32\nCVC:·801\n' |
1106 | ············'JCB·16·digit\nMary·Page\n3597535139332876·1 | 1106 | ············'JCB·16·digit\nMary·Page\n3597535139332876·10/25\nCVC:·587\n' |
1107 | ············'Mastercard\nKevin·Carter\n5485839894719651·0 | 1107 | ············'Mastercard\nKevin·Carter\n5485839894719651·08/30\nCVV:·423\n' |
1108 | ············'VISA·16·digit\nAntonio·Zavala\n4711220186848335·1 | 1108 | ············'VISA·16·digit\nAntonio·Zavala\n4711220186848335·10/33\nCVC:·969\n' |
1109 | ········credit_card_number(c\x8ca\x8ar\x8rd\x8d_\x8_t\x8ty\x8yp\x8pe\x8e:\x8:·C\x8Ca\x8ar\x8rd\x8dT\x8Ty\x8yp\x8pe\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ | 1109 | ········credit_card_number(c\x8ca\x8ar\x8rd\x8d_\x8_t\x8ty\x8yp\x8pe\x8e:\x8:·C\x8Ca\x8ar\x8rd\x8dT\x8Ty\x8yp\x8pe\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ |
1110 | ············Generate·a·valid·credit·card·number. | 1110 | ············Generate·a·valid·credit·card·number. |
1111 | ··············Examples: | 1111 | ··············Examples: |
1112 | ············>>>·Faker.seed(0) | 1112 | ············>>>·Faker.seed(0) |
1113 | ············>>>·for·_·in·range(5): | 1113 | ············>>>·for·_·in·range(5): |
1114 | ············...·····fake.credit_card_number() | 1114 | ············...·····fake.credit_card_number() |
1115 | ············... | 1115 | ············... |
Offset 1240, 18 lines modified | Offset 1240, 18 lines modified | ||
1240 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 1240 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
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 | ············'AM' | ||
1248 | ············'PM' | 1247 | ············'PM' |
1249 | ············'PM' | 1248 | ············'PM' |
1250 | ············'PM' | 1249 | ············'PM' |
1250 | ············'AM' | ||
1251 | ············'PM' | 1251 | ············'PM' |
1252 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 1252 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
1253 | ··············Example: | 1253 | ··············Example: |
1254 | ··················‘XVII’ | 1254 | ··················‘XVII’ |
1255 | ··············Examples: | 1255 | ··············Examples: |
1256 | ············>>>·Faker.seed(0) | 1256 | ············>>>·Faker.seed(0) |
1257 | ············>>>·for·_·in·range(5): | 1257 | ············>>>·for·_·in·range(5): |
Offset 1272, 19 lines modified | Offset 1272, 19 lines modified | ||
1272 | ··············Returns: | 1272 | ··············Returns: |
1273 | ··················Date | 1273 | ··················Date |
1274 | ··············Examples: | 1274 | ··············Examples: |
1275 | ············>>>·Faker.seed(0) | 1275 | ············>>>·Faker.seed(0) |
1276 | ············>>>·for·_·in·range(5): | 1276 | ············>>>·for·_·in·range(5): |
1277 | ············...·····fake.date() | 1277 | ············...·····fake.date() |
1278 | ············... | 1278 | ············... |
1279 | ············'2017-03-27' | ||
1280 | ············'201 | 1279 | ············'2016-04-25' |
1280 | ············'2011-07-29' | ||
1281 | ············'1993-0 | 1281 | ············'1993-01-25' |
1282 | ············'1984-0 | 1282 | ············'1984-03-15' |
1283 | ············'1998-0 | 1283 | ············'1998-01-16' |
1284 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 1284 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
1285 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 1285 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
1286 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1286 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
1287 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 1287 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
1288 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 1288 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
1289 | ··············Parameters: | 1289 | ··············Parameters: |
1290 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 1290 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
Offset 1294, 19 lines modified | Offset 1294, 19 lines modified | ||
1294 | ··············Returns: | 1294 | ··············Returns: |
1295 | ··················Date | 1295 | ··················Date |
1296 | ··············Examples: | 1296 | ··············Examples: |
1297 | ············>>>·Faker.seed(0) | 1297 | ············>>>·Faker.seed(0) |
1298 | ············>>>·for·_·in·range(5): | 1298 | ············>>>·for·_·in·range(5): |
1299 | ············...·····fake.date_between() | 1299 | ············...·····fake.date_between() |
1300 | ············... | 1300 | ············... |
1301 | ············datetime.date(202 | 1301 | ············datetime.date(2020,·3,·7) |
1302 | ············datetime.date(201 | 1302 | ············datetime.date(2017,·8,·2) |
1303 | ············datetime.date(2008,·7,·20) | ||
1304 | ············datetime.date(200 | 1303 | ············datetime.date(2007,·6,·19) |
1304 | ············datetime.date(2002,·8,·13) | ||
1305 | ············datetime.date(201 | 1305 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 1314, 33 lines modified | ||
1314 | ··············Returns: | 1314 | ··············Returns: |
1315 | ··················Date | 1315 | ··················Date |
1316 | ··············Examples: | 1316 | ··············Examples: |
1317 | ············>>>·Faker.seed(0) | 1317 | ············>>>·Faker.seed(0) |
1318 | ············>>>·for·_·in·range(5): | 1318 | ············>>>·for·_·in·range(5): |
1319 | ············...·····fake.date_between_dates() | 1319 | ············...·····fake.date_between_dates() |
1320 | ············... | 1320 | ············... |
1321 | ············datetime.date(202 | 1321 | ············datetime.date(2024,·11,·6) |
1322 | ············datetime.date(202 | 1322 | ············datetime.date(2024,·11,·6) |
1323 | ············datetime.date(202 | 1323 | ············datetime.date(2024,·11,·6) |
1324 | ············datetime.date(202 | 1324 | ············datetime.date(2024,·11,·6) |
1325 | ············datetime.date(202 | 1325 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
1336 | ············datetime.date(201 | 1335 | ············datetime.date(2016,·4,·25) |
1336 | ············datetime.date(2011,·7,·29) | ||
1337 | ············datetime.date(1993,· | 1337 | ············datetime.date(1993,·1,·25) |
1338 | ············datetime.date(1984,· | 1338 | ············datetime.date(1984,·3,·15) |
1339 | ············datetime.date(1998,· | 1339 | ············datetime.date(1998,·1,·16) |
1340 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 1340 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
1341 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1341 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
1342 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 1342 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
1343 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 1343 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
1344 | ··············Parameters: | 1344 | ··············Parameters: |
Max diff block lines reached; 261678/268766 bytes (97.36%) of diff not shown. |
Offset 1122, 18 lines modified | Offset 1122, 18 lines modified | ||
1122 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1122 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1123 | <dd·class="field-odd"><p></p></dd> | 1123 | <dd·class="field-odd"><p></p></dd> |
1124 | </dl> | 1124 | </dl> |
1125 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1125 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1126 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1126 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1127 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1127 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1128 | <span·class="gp">...</span> | 1128 | <span·class="gp">...</span> |
1129 | <span·class="go">'AM'</span> | ||
1130 | <span·class="go">'PM'</span> | 1129 | <span·class="go">'PM'</span> |
1131 | <span·class="go">'PM'</span> | 1130 | <span·class="go">'PM'</span> |
1132 | <span·class="go">'PM'</span> | 1131 | <span·class="go">'PM'</span> |
1132 | <span·class="go">'AM'</span> | ||
1133 | <span·class="go">'PM'</span> | 1133 | <span·class="go">'PM'</span> |
1134 | </pre></div> | 1134 | </pre></div> |
1135 | </div> | 1135 | </div> |
1136 | </dd></dl> | 1136 | </dd></dl> |
1137 | <dl·class="py·method"> | 1137 | <dl·class="py·method"> |
1138 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_AR.Provider.century"> | 1138 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_AR.Provider.century"> |
Offset 1175, 19 lines modified | Offset 1175, 19 lines modified | ||
1175 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1175 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1176 | <dd·class="field-even"><p></p></dd> | 1176 | <dd·class="field-even"><p></p></dd> |
1177 | </dl> | 1177 | </dl> |
1178 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1178 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1179 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1179 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1180 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1180 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
1181 | <span·class="gp">...</span> | 1181 | <span·class="gp">...</span> |
1182 | <span·class="go">'2017-03-27'</span> | ||
1183 | <span·class="go">'201 | 1182 | <span·class="go">'2016-04-25'</span> |
1183 | <span·class="go">'2011-07-29'</span> | ||
1184 | <span·class="go">'1993-0 | 1184 | <span·class="go">'1993-01-25'</span> |
1185 | <span·class="go">'1984-0 | 1185 | <span·class="go">'1984-03-15'</span> |
1186 | <span·class="go">'1998-0 | 1186 | <span·class="go">'1998-01-16'</span> |
1187 | </pre></div> | 1187 | </pre></div> |
1188 | </div> | 1188 | </div> |
1189 | </dd></dl> | 1189 | </dd></dl> |
1190 | <dl·class="py·method"> | 1190 | <dl·class="py·method"> |
1191 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_AR.Provider.date_between"> | 1191 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_AR.Provider.date_between"> |
1192 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_AR.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1192 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_AR.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 1209, 19 lines modified | Offset 1209, 19 lines modified | ||
1209 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1209 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1210 | <dd·class="field-even"><p></p></dd> | 1210 | <dd·class="field-even"><p></p></dd> |
1211 | </dl> | 1211 | </dl> |
1212 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1212 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1213 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1213 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1214 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1214 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
1215 | <span·class="gp">...</span> | 1215 | <span·class="gp">...</span> |
1216 | <span·class="go">datetime.date(202 | 1216 | <span·class="go">datetime.date(2020,·3,·7)</span> |
1217 | <span·class="go">datetime.date(201 | 1217 | <span·class="go">datetime.date(2017,·8,·2)</span> |
1218 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
1219 | <span·class="go">datetime.date(200 | 1218 | <span·class="go">datetime.date(2007,·6,·19)</span> |
1219 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
1220 | <span·class="go">datetime.date(201 | 1220 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 1247 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1248 | <span·class="go">datetime.date(202 | 1248 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1249 | <span·class="go">datetime.date(202 | 1249 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1250 | <span·class="go">datetime.date(202 | 1250 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1251 | <span·class="go">datetime.date(202 | 1251 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 1264, 19 lines modified | ||
1264 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1264 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1265 | <dd·class="field-even"><p></p></dd> | 1265 | <dd·class="field-even"><p></p></dd> |
1266 | </dl> | 1266 | </dl> |
1267 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1267 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1268 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1268 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1269 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1269 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
1270 | <span·class="gp">...</span> | 1270 | <span·class="gp">...</span> |
1271 | <span·class="go">datetime.date(2017,·3,·27)</span> | ||
1272 | <span·class="go">datetime.date(201 | 1271 | <span·class="go">datetime.date(2016,·4,·25)</span> |
1272 | <span·class="go">datetime.date(2011,·7,·29)</span> | ||
1273 | <span·class="go">datetime.date(1993,· | 1273 | <span·class="go">datetime.date(1993,·1,·25)</span> |
1274 | <span·class="go">datetime.date(1984,· | 1274 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1275 | <span·class="go">datetime.date(1998,· | 1275 | <span·class="go">datetime.date(1998,·1,·16)</span> |
1276 | </pre></div> | 1276 | </pre></div> |
1277 | </div> | 1277 | </div> |
1278 | </dd></dl> | 1278 | </dd></dl> |
1279 | <dl·class="py·method"> | 1279 | <dl·class="py·method"> |
1280 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_AR.Provider.date_of_birth"> | 1280 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_AR.Provider.date_of_birth"> |
1281 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_AR.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1281 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_AR.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
Offset 1300, 19 lines modified | Offset 1300, 19 lines modified | ||
1300 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1300 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1301 | <dd·class="field-even"><p></p></dd> | 1301 | <dd·class="field-even"><p></p></dd> |
1302 | </dl> | 1302 | </dl> |
1303 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1303 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1304 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1304 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1305 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1305 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
1306 | <span·class="gp">...</span> | 1306 | <span·class="gp">...</span> |
1307 | <span·class="go">datetime.date(200 | 1307 | <span·class="go">datetime.date(2006,·10,·20)</span> |
1308 | <span·class="go">datetime.date(1996,·10,·8)</span> | ||
1309 | <span·class="go">datetime.date(1957,·8,·20)</span> | ||
1308 | <span·class="go">datetime.date(19 | 1310 | <span·class="go">datetime.date(1938,·11,·19)</span> |
1309 | <span·class="go">datetime.date(19 | 1311 | <span·class="go">datetime.date(1968,·2,·27)</span> |
1310 | <span·class="go">datetime.date(1939,·12,·21)</span> | ||
1311 | <span·class="go">datetime.date(1969,·3,·30)</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> |
Max diff block lines reached; 97779/119455 bytes (81.85%) of diff not shown. |
Offset 643, 18 lines modified | Offset 643, 18 lines modified | ||
643 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 643 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
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 | ············'AM' | ||
651 | ············'PM' | 650 | ············'PM' |
652 | ············'PM' | 651 | ············'PM' |
653 | ············'PM' | 652 | ············'PM' |
653 | ············'AM' | ||
654 | ············'PM' | 654 | ············'PM' |
655 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 655 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
656 | ··············Example: | 656 | ··············Example: |
657 | ··················‘XVII’ | 657 | ··················‘XVII’ |
658 | ··············Examples: | 658 | ··············Examples: |
659 | ············>>>·Faker.seed(0) | 659 | ············>>>·Faker.seed(0) |
660 | ············>>>·for·_·in·range(5): | 660 | ············>>>·for·_·in·range(5): |
Offset 675, 19 lines modified | Offset 675, 19 lines modified | ||
675 | ··············Returns: | 675 | ··············Returns: |
676 | ··················Date | 676 | ··················Date |
677 | ··············Examples: | 677 | ··············Examples: |
678 | ············>>>·Faker.seed(0) | 678 | ············>>>·Faker.seed(0) |
679 | ············>>>·for·_·in·range(5): | 679 | ············>>>·for·_·in·range(5): |
680 | ············...·····fake.date() | 680 | ············...·····fake.date() |
681 | ············... | 681 | ············... |
682 | ············'2017-03-27' | ||
683 | ············'201 | 682 | ············'2016-04-25' |
683 | ············'2011-07-29' | ||
684 | ············'1993-0 | 684 | ············'1993-01-25' |
685 | ············'1984-0 | 685 | ············'1984-03-15' |
686 | ············'1998-0 | 686 | ············'1998-01-16' |
687 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 687 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
688 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 688 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
689 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 689 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
690 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 690 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
691 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 691 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
692 | ··············Parameters: | 692 | ··············Parameters: |
693 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 693 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
Offset 697, 19 lines modified | Offset 697, 19 lines modified | ||
697 | ··············Returns: | 697 | ··············Returns: |
698 | ··················Date | 698 | ··················Date |
699 | ··············Examples: | 699 | ··············Examples: |
700 | ············>>>·Faker.seed(0) | 700 | ············>>>·Faker.seed(0) |
701 | ············>>>·for·_·in·range(5): | 701 | ············>>>·for·_·in·range(5): |
702 | ············...·····fake.date_between() | 702 | ············...·····fake.date_between() |
703 | ············... | 703 | ············... |
704 | ············datetime.date(202 | 704 | ············datetime.date(2020,·3,·7) |
705 | ············datetime.date(201 | 705 | ············datetime.date(2017,·8,·2) |
706 | ············datetime.date(2008,·7,·20) | ||
707 | ············datetime.date(200 | 706 | ············datetime.date(2007,·6,·19) |
707 | ············datetime.date(2002,·8,·13) | ||
708 | ············datetime.date(201 | 708 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 717, 33 lines modified | ||
717 | ··············Returns: | 717 | ··············Returns: |
718 | ··················Date | 718 | ··················Date |
719 | ··············Examples: | 719 | ··············Examples: |
720 | ············>>>·Faker.seed(0) | 720 | ············>>>·Faker.seed(0) |
721 | ············>>>·for·_·in·range(5): | 721 | ············>>>·for·_·in·range(5): |
722 | ············...·····fake.date_between_dates() | 722 | ············...·····fake.date_between_dates() |
723 | ············... | 723 | ············... |
724 | ············datetime.date(202 | 724 | ············datetime.date(2024,·11,·6) |
725 | ············datetime.date(202 | 725 | ············datetime.date(2024,·11,·6) |
726 | ············datetime.date(202 | 726 | ············datetime.date(2024,·11,·6) |
727 | ············datetime.date(202 | 727 | ············datetime.date(2024,·11,·6) |
728 | ············datetime.date(202 | 728 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
739 | ············datetime.date(201 | 738 | ············datetime.date(2016,·4,·25) |
739 | ············datetime.date(2011,·7,·29) | ||
740 | ············datetime.date(1993,· | 740 | ············datetime.date(1993,·1,·25) |
741 | ············datetime.date(1984,· | 741 | ············datetime.date(1984,·3,·15) |
742 | ············datetime.date(1998,· | 742 | ············datetime.date(1998,·1,·16) |
743 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 743 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
744 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 744 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
745 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 745 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
746 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 746 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
747 | ··············Parameters: | 747 | ··············Parameters: |
748 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. | 748 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. |
749 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. | 749 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. |
Offset 753, 19 lines modified | Offset 753, 19 lines modified | ||
753 | ··············Returns: | 753 | ··············Returns: |
754 | ··················Date | 754 | ··················Date |
755 | ··············Examples: | 755 | ··············Examples: |
756 | ············>>>·Faker.seed(0) | 756 | ············>>>·Faker.seed(0) |
757 | ············>>>·for·_·in·range(5): | 757 | ············>>>·for·_·in·range(5): |
758 | ············...·····fake.date_of_birth() | 758 | ············...·····fake.date_of_birth() |
759 | ············... | 759 | ············... |
760 | ············datetime.date(200 | 760 | ············datetime.date(2006,·10,·20) |
761 | ············datetime.date(1996,·10,·8) | ||
762 | ············datetime.date(1957,·8,·20) | ||
761 | ············datetime.date(19 | 763 | ············datetime.date(1938,·11,·19) |
762 | ············datetime.date(19 | 764 | ············datetime.date(1968,·2,·27) |
763 | ············datetime.date(1939,·12,·21) | ||
764 | ············datetime.date(1969,·3,·30) | ||
765 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 765 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
766 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 766 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
767 | ············Gets·a·Date·object·for·the·current·century. | 767 | ············Gets·a·Date·object·for·the·current·century. |
768 | ··············Parameters: | 768 | ··············Parameters: |
769 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 769 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
770 | ························today | 770 | ························today |
771 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 771 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 775, 19 lines modified | Offset 775, 19 lines modified | ||
775 | ··············Returns: | 775 | ··············Returns: |
776 | ··················Date | 776 | ··················Date |
777 | ··············Examples: | 777 | ··············Examples: |
778 | ············>>>·Faker.seed(0) | 778 | ············>>>·Faker.seed(0) |
779 | ············>>>·for·_·in·range(5): | 779 | ············>>>·for·_·in·range(5): |
780 | ············...·····fake.date_this_century() | 780 | ············...·····fake.date_this_century() |
781 | ············... | 781 | ············... |
782 | ············datetime.date(2020,·12,·24) | ||
Max diff block lines reached; 29682/36817 bytes (80.62%) of diff not shown. |
Offset 495, 19 lines modified | Offset 495, 19 lines modified | ||
495 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 495 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
496 | <dd·class="field-odd"><p></p></dd> | 496 | <dd·class="field-odd"><p></p></dd> |
497 | </dl> | 497 | </dl> |
498 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 498 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
499 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 499 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
500 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">cif</span><span·class="p">()</span> | 500 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">cif</span><span·class="p">()</span> |
501 | <span·class="gp">...</span> | 501 | <span·class="gp">...</span> |
502 | <span·class="go">' | 502 | <span·class="go">'J2516838F'</span> |
503 | <span·class="go">' | 503 | <span·class="go">'A76298587'</span> |
504 | <span·class="go">'D18572180'</span> | ||
505 | <span·class="go">' | 504 | <span·class="go">'U2942632G'</span> |
506 | <span·class="go">' | 505 | <span·class="go">'B24243651'</span> |
506 | <span·class="go">'E30475263'</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">'Y4391159J'</span> | ||
524 | <span·class="go">' | 525 | <span·class="go">'P0930922J'</span> |
525 | <span·class="go">' | 526 | <span·class="go">'64013345K'</span> |
526 | <span·class="go">' | 527 | <span·class="go">'02779942R'</span> |
527 | <span·class="go">'05422122X'</span> | ||
528 | <span·class="go">' | 528 | <span·class="go">'55513567P'</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">'X | 546 | <span·class="go">'X7258123J'</span> |
547 | <span·class="go">'Y | 547 | <span·class="go">'Y1823658W'</span> |
548 | <span·class="go">'Y9394111M'</span> | ||
549 | <span·class="go">'X | 548 | <span·class="go">'X6110690G'</span> |
550 | <span·class="go">' | 549 | <span·class="go">'Y7492651R'</span> |
550 | <span·class="go">'Y5370828C'</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">'97116409J'</span> |
569 | <span·class="go">' | 569 | <span·class="go">'32496600S'</span> |
570 | <span·class="go">'25304432Q'</span> | ||
571 | <span·class="go">' | 570 | <span·class="go">'29737156L'</span> |
571 | <span·class="go">'58260742V'</span> | ||
572 | <span·class="go">' | 572 | <span·class="go">'05864820G'</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">'263938937471'</span> | ||
595 | <span·class="go">' | 594 | <span·class="go">'064597870325'</span> |
596 | <span·class="go">' | 595 | <span·class="go">'083397123861'</span> |
596 | <span·class="go">'193462729932'</span> | ||
597 | <span·class="go">' | 597 | <span·class="go">'171991297760'</span> |
598 | <span·class="go">'2 | 598 | <span·class="go">'271563092510'</span> |
599 | </pre></div> | 599 | </pre></div> |
600 | </div> | 600 | </div> |
601 | </dd></dl> | 601 | </dd></dl> |
602 | <dl·class="py·method"> | 602 | <dl·class="py·method"> |
603 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.es_CA.Provider.ssn"> | 603 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.es_CA.Provider.ssn"> |
604 | <span·class="sig-name·descname"><span·class="pre">ssn</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.es_CA.Provider.ssn"·title="Link·to·this·definition">¶</a></dt> | 604 | <span·class="sig-name·descname"><span·class="pre">ssn</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.es_CA.Provider.ssn"·title="Link·to·this·definition">¶</a></dt> |
Offset 255, 76 lines modified | Offset 255, 76 lines modified | ||
255 | ············_\x8C_\x8%_\x8C_\x83_\x8%_\x8B_\x83_\x8d_\x8i_\x8g_\x8o_\x8__\x8d_\x8e_\x8__\x8i_\x8d_\x8e_\x8n_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8c_\x8i_\x8%_\x8C_\x83_\x8%_\x8B_\x83_\x8n_\x8__\x8f_\x8i_\x8s_\x8c_\x8a_\x8l·:return:·a·random·Spanish | 255 | ············_\x8C_\x8%_\x8C_\x83_\x8%_\x8B_\x83_\x8d_\x8i_\x8g_\x8o_\x8__\x8d_\x8e_\x8__\x8i_\x8d_\x8e_\x8n_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8c_\x8i_\x8%_\x8C_\x83_\x8%_\x8B_\x83_\x8n_\x8__\x8f_\x8i_\x8s_\x8c_\x8a_\x8l·:return:·a·random·Spanish |
256 | ············CIF | 256 | ············CIF |
257 | ··············Examples: | 257 | ··············Examples: |
258 | ············>>>·Faker.seed(0) | 258 | ············>>>·Faker.seed(0) |
259 | ············>>>·for·_·in·range(5): | 259 | ············>>>·for·_·in·range(5): |
260 | ············...·····fake.cif() | 260 | ············...·····fake.cif() |
261 | ············... | 261 | ············... |
262 | ············' | 262 | ············'J2516838F' |
263 | ············'A76298587' | ||
264 | ············'U2942632G' | ||
263 | ············'N6998390F' | ||
264 | ············'D18572180' | ||
265 | ············'J8626559B' | ||
266 | ············' | 265 | ············'B24243651' |
266 | ············'E30475263' | ||
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 | ············'Y4391159J' | ||
275 | ············' | 276 | ············'P0930922J' |
277 | ············'64013345K' | ||
278 | ············'02779942R' | ||
279 | ············'55513567P' | ||
276 | ············'X3212205W' | ||
277 | ············'X3509723S' | ||
278 | ············'05422122X' | ||
279 | ············'B52598018' | ||
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 | ············'X | 289 | ············'X7258123J' |
290 | ············'Y | 290 | ············'Y1823658W' |
291 | ············'Y9394111M' | ||
292 | ············'X8635668L' | ||
293 | ············'X | 291 | ············'X6110690G' |
292 | ············'Y7492651R' | ||
293 | ············'Y5370828C' | ||
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 | ············'97116409J' | ||
303 | ············'32496600S' | ||
302 | ············'77648526C' | ||
303 | ············'62140811D' | ||
304 | ············'25304432Q' | ||
305 | ············' | 304 | ············'29737156L' |
306 | ············' | 305 | ············'58260742V' |
306 | ············'05864820G' | ||
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 | ············'064597870325' | ||
319 | ············'263938937471' | ||
320 | ············'354039631609' | ||
321 | ············' | 320 | ············'083397123861' |
322 | ············'403198073770' | ||
323 | ············' | 321 | ············'193462729932' |
322 | ············'171991297760' | ||
323 | ············'271563092510' | ||
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 1400, 18 lines modified | Offset 1400, 18 lines modified | ||
1400 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1400 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1401 | <dd·class="field-odd"><p></p></dd> | 1401 | <dd·class="field-odd"><p></p></dd> |
1402 | </dl> | 1402 | </dl> |
1403 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1403 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1404 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1404 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1405 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1405 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1406 | <span·class="gp">...</span> | 1406 | <span·class="gp">...</span> |
1407 | <span·class="go">'AM'</span> | ||
1408 | <span·class="go">'PM'</span> | 1407 | <span·class="go">'PM'</span> |
1409 | <span·class="go">'PM'</span> | 1408 | <span·class="go">'PM'</span> |
1410 | <span·class="go">'PM'</span> | 1409 | <span·class="go">'PM'</span> |
1410 | <span·class="go">'AM'</span> | ||
1411 | <span·class="go">'PM'</span> | 1411 | <span·class="go">'PM'</span> |
1412 | </pre></div> | 1412 | </pre></div> |
1413 | </div> | 1413 | </div> |
1414 | </dd></dl> | 1414 | </dd></dl> |
1415 | <dl·class="py·method"> | 1415 | <dl·class="py·method"> |
1416 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_CL.Provider.century"> | 1416 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_CL.Provider.century"> |
Offset 1453, 19 lines modified | Offset 1453, 19 lines modified | ||
1453 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1453 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1454 | <dd·class="field-even"><p></p></dd> | 1454 | <dd·class="field-even"><p></p></dd> |
1455 | </dl> | 1455 | </dl> |
1456 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1456 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1457 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1457 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1458 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1458 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
1459 | <span·class="gp">...</span> | 1459 | <span·class="gp">...</span> |
1460 | <span·class="go">'2017-03-27'</span> | ||
1461 | <span·class="go">'201 | 1460 | <span·class="go">'2016-04-25'</span> |
1461 | <span·class="go">'2011-07-29'</span> | ||
1462 | <span·class="go">'1993-0 | 1462 | <span·class="go">'1993-01-25'</span> |
1463 | <span·class="go">'1984-0 | 1463 | <span·class="go">'1984-03-15'</span> |
1464 | <span·class="go">'1998-0 | 1464 | <span·class="go">'1998-01-16'</span> |
1465 | </pre></div> | 1465 | </pre></div> |
1466 | </div> | 1466 | </div> |
1467 | </dd></dl> | 1467 | </dd></dl> |
1468 | <dl·class="py·method"> | 1468 | <dl·class="py·method"> |
1469 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_CL.Provider.date_between"> | 1469 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_CL.Provider.date_between"> |
1470 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_CL.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1470 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_CL.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 1487, 19 lines modified | Offset 1487, 19 lines modified | ||
1487 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1487 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1488 | <dd·class="field-even"><p></p></dd> | 1488 | <dd·class="field-even"><p></p></dd> |
1489 | </dl> | 1489 | </dl> |
1490 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1490 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1491 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1491 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1492 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1492 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
1493 | <span·class="gp">...</span> | 1493 | <span·class="gp">...</span> |
1494 | <span·class="go">datetime.date(202 | 1494 | <span·class="go">datetime.date(2020,·3,·7)</span> |
1495 | <span·class="go">datetime.date(201 | 1495 | <span·class="go">datetime.date(2017,·8,·2)</span> |
1496 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
1497 | <span·class="go">datetime.date(200 | 1496 | <span·class="go">datetime.date(2007,·6,·19)</span> |
1497 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
1498 | <span·class="go">datetime.date(201 | 1498 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 1525 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1526 | <span·class="go">datetime.date(202 | 1526 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1527 | <span·class="go">datetime.date(202 | 1527 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1528 | <span·class="go">datetime.date(202 | 1528 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1529 | <span·class="go">datetime.date(202 | 1529 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 1542, 19 lines modified | ||
1542 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1542 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1543 | <dd·class="field-even"><p></p></dd> | 1543 | <dd·class="field-even"><p></p></dd> |
1544 | </dl> | 1544 | </dl> |
1545 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1545 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1546 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1546 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1547 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1547 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
1548 | <span·class="gp">...</span> | 1548 | <span·class="gp">...</span> |
1549 | <span·class="go">datetime.date(2017,·3,·27)</span> | ||
1550 | <span·class="go">datetime.date(201 | 1549 | <span·class="go">datetime.date(2016,·4,·25)</span> |
1550 | <span·class="go">datetime.date(2011,·7,·29)</span> | ||
1551 | <span·class="go">datetime.date(1993,· | 1551 | <span·class="go">datetime.date(1993,·1,·25)</span> |
1552 | <span·class="go">datetime.date(1984,· | 1552 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1553 | <span·class="go">datetime.date(1998,· | 1553 | <span·class="go">datetime.date(1998,·1,·16)</span> |
1554 | </pre></div> | 1554 | </pre></div> |
1555 | </div> | 1555 | </div> |
1556 | </dd></dl> | 1556 | </dd></dl> |
1557 | <dl·class="py·method"> | 1557 | <dl·class="py·method"> |
1558 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_CL.Provider.date_of_birth"> | 1558 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_CL.Provider.date_of_birth"> |
1559 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_CL.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1559 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_CL.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
Offset 1578, 19 lines modified | Offset 1578, 19 lines modified | ||
1578 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1578 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1579 | <dd·class="field-even"><p></p></dd> | 1579 | <dd·class="field-even"><p></p></dd> |
1580 | </dl> | 1580 | </dl> |
1581 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1581 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1582 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1582 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1583 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1583 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
1584 | <span·class="gp">...</span> | 1584 | <span·class="gp">...</span> |
1585 | <span·class="go">datetime.date(200 | 1585 | <span·class="go">datetime.date(2006,·10,·20)</span> |
1586 | <span·class="go">datetime.date(1996,·10,·8)</span> | ||
1587 | <span·class="go">datetime.date(1957,·8,·20)</span> | ||
1586 | <span·class="go">datetime.date(19 | 1588 | <span·class="go">datetime.date(1938,·11,·19)</span> |
1587 | <span·class="go">datetime.date(19 | 1589 | <span·class="go">datetime.date(1968,·2,·27)</span> |
1588 | <span·class="go">datetime.date(1939,·12,·21)</span> | ||
1589 | <span·class="go">datetime.date(1969,·3,·30)</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> |
Max diff block lines reached; 97786/119462 bytes (81.86%) of diff not shown. |
Offset 784, 18 lines modified | Offset 784, 18 lines modified | ||
784 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 784 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
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 | ············'AM' | ||
792 | ············'PM' | 791 | ············'PM' |
793 | ············'PM' | 792 | ············'PM' |
794 | ············'PM' | 793 | ············'PM' |
794 | ············'AM' | ||
795 | ············'PM' | 795 | ············'PM' |
796 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 796 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
797 | ··············Example: | 797 | ··············Example: |
798 | ··················‘XVII’ | 798 | ··················‘XVII’ |
799 | ··············Examples: | 799 | ··············Examples: |
800 | ············>>>·Faker.seed(0) | 800 | ············>>>·Faker.seed(0) |
801 | ············>>>·for·_·in·range(5): | 801 | ············>>>·for·_·in·range(5): |
Offset 816, 19 lines modified | Offset 816, 19 lines modified | ||
816 | ··············Returns: | 816 | ··············Returns: |
817 | ··················Date | 817 | ··················Date |
818 | ··············Examples: | 818 | ··············Examples: |
819 | ············>>>·Faker.seed(0) | 819 | ············>>>·Faker.seed(0) |
820 | ············>>>·for·_·in·range(5): | 820 | ············>>>·for·_·in·range(5): |
821 | ············...·····fake.date() | 821 | ············...·····fake.date() |
822 | ············... | 822 | ············... |
823 | ············'2017-03-27' | ||
824 | ············'201 | 823 | ············'2016-04-25' |
824 | ············'2011-07-29' | ||
825 | ············'1993-0 | 825 | ············'1993-01-25' |
826 | ············'1984-0 | 826 | ············'1984-03-15' |
827 | ············'1998-0 | 827 | ············'1998-01-16' |
828 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 828 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
829 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 829 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
830 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 830 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
831 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 831 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
832 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 832 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
833 | ··············Parameters: | 833 | ··············Parameters: |
834 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 834 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
Offset 838, 19 lines modified | Offset 838, 19 lines modified | ||
838 | ··············Returns: | 838 | ··············Returns: |
839 | ··················Date | 839 | ··················Date |
840 | ··············Examples: | 840 | ··············Examples: |
841 | ············>>>·Faker.seed(0) | 841 | ············>>>·Faker.seed(0) |
842 | ············>>>·for·_·in·range(5): | 842 | ············>>>·for·_·in·range(5): |
843 | ············...·····fake.date_between() | 843 | ············...·····fake.date_between() |
844 | ············... | 844 | ············... |
845 | ············datetime.date(202 | 845 | ············datetime.date(2020,·3,·7) |
846 | ············datetime.date(201 | 846 | ············datetime.date(2017,·8,·2) |
847 | ············datetime.date(2008,·7,·20) | ||
848 | ············datetime.date(200 | 847 | ············datetime.date(2007,·6,·19) |
848 | ············datetime.date(2002,·8,·13) | ||
849 | ············datetime.date(201 | 849 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 858, 33 lines modified | ||
858 | ··············Returns: | 858 | ··············Returns: |
859 | ··················Date | 859 | ··················Date |
860 | ··············Examples: | 860 | ··············Examples: |
861 | ············>>>·Faker.seed(0) | 861 | ············>>>·Faker.seed(0) |
862 | ············>>>·for·_·in·range(5): | 862 | ············>>>·for·_·in·range(5): |
863 | ············...·····fake.date_between_dates() | 863 | ············...·····fake.date_between_dates() |
864 | ············... | 864 | ············... |
865 | ············datetime.date(202 | 865 | ············datetime.date(2024,·11,·6) |
866 | ············datetime.date(202 | 866 | ············datetime.date(2024,·11,·6) |
867 | ············datetime.date(202 | 867 | ············datetime.date(2024,·11,·6) |
868 | ············datetime.date(202 | 868 | ············datetime.date(2024,·11,·6) |
869 | ············datetime.date(202 | 869 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
880 | ············datetime.date(201 | 879 | ············datetime.date(2016,·4,·25) |
880 | ············datetime.date(2011,·7,·29) | ||
881 | ············datetime.date(1993,· | 881 | ············datetime.date(1993,·1,·25) |
882 | ············datetime.date(1984,· | 882 | ············datetime.date(1984,·3,·15) |
883 | ············datetime.date(1998,· | 883 | ············datetime.date(1998,·1,·16) |
884 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 884 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
885 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 885 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
886 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 886 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
887 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 887 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
888 | ··············Parameters: | 888 | ··············Parameters: |
889 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. | 889 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. |
890 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. | 890 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. |
Offset 894, 19 lines modified | Offset 894, 19 lines modified | ||
894 | ··············Returns: | 894 | ··············Returns: |
895 | ··················Date | 895 | ··················Date |
896 | ··············Examples: | 896 | ··············Examples: |
897 | ············>>>·Faker.seed(0) | 897 | ············>>>·Faker.seed(0) |
898 | ············>>>·for·_·in·range(5): | 898 | ············>>>·for·_·in·range(5): |
899 | ············...·····fake.date_of_birth() | 899 | ············...·····fake.date_of_birth() |
900 | ············... | 900 | ············... |
901 | ············datetime.date(200 | 901 | ············datetime.date(2006,·10,·20) |
902 | ············datetime.date(1996,·10,·8) | ||
903 | ············datetime.date(1957,·8,·20) | ||
902 | ············datetime.date(19 | 904 | ············datetime.date(1938,·11,·19) |
903 | ············datetime.date(19 | 905 | ············datetime.date(1968,·2,·27) |
904 | ············datetime.date(1939,·12,·21) | ||
905 | ············datetime.date(1969,·3,·30) | ||
906 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 906 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
907 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 907 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
908 | ············Gets·a·Date·object·for·the·current·century. | 908 | ············Gets·a·Date·object·for·the·current·century. |
909 | ··············Parameters: | 909 | ··············Parameters: |
910 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 910 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
911 | ························today | 911 | ························today |
912 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 912 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 916, 19 lines modified | Offset 916, 19 lines modified | ||
916 | ··············Returns: | 916 | ··············Returns: |
917 | ··················Date | 917 | ··················Date |
918 | ··············Examples: | 918 | ··············Examples: |
919 | ············>>>·Faker.seed(0) | 919 | ············>>>·Faker.seed(0) |
920 | ············>>>·for·_·in·range(5): | 920 | ············>>>·for·_·in·range(5): |
921 | ············...·····fake.date_this_century() | 921 | ············...·····fake.date_this_century() |
922 | ············... | 922 | ············... |
923 | ············datetime.date(2020,·12,·24) | ||
Max diff block lines reached; 29701/36836 bytes (80.63%) of diff not shown. |
Offset 1805, 18 lines modified | Offset 1805, 18 lines modified | ||
1805 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1805 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1806 | <dd·class="field-odd"><p></p></dd> | 1806 | <dd·class="field-odd"><p></p></dd> |
1807 | </dl> | 1807 | </dl> |
1808 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1808 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1809 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1809 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1810 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1810 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1811 | <span·class="gp">...</span> | 1811 | <span·class="gp">...</span> |
1812 | <span·class="go">'AM'</span> | ||
1813 | <span·class="go">'PM'</span> | 1812 | <span·class="go">'PM'</span> |
1814 | <span·class="go">'PM'</span> | 1813 | <span·class="go">'PM'</span> |
1815 | <span·class="go">'PM'</span> | 1814 | <span·class="go">'PM'</span> |
1815 | <span·class="go">'AM'</span> | ||
1816 | <span·class="go">'PM'</span> | 1816 | <span·class="go">'PM'</span> |
1817 | </pre></div> | 1817 | </pre></div> |
1818 | </div> | 1818 | </div> |
1819 | </dd></dl> | 1819 | </dd></dl> |
1820 | <dl·class="py·method"> | 1820 | <dl·class="py·method"> |
1821 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_ES.Provider.century"> | 1821 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_ES.Provider.century"> |
Offset 1858, 19 lines modified | Offset 1858, 19 lines modified | ||
1858 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1858 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1859 | <dd·class="field-even"><p></p></dd> | 1859 | <dd·class="field-even"><p></p></dd> |
1860 | </dl> | 1860 | </dl> |
1861 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1861 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1862 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1862 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1863 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1863 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
1864 | <span·class="gp">...</span> | 1864 | <span·class="gp">...</span> |
1865 | <span·class="go">'2017-03-27'</span> | ||
1866 | <span·class="go">'201 | 1865 | <span·class="go">'2016-04-25'</span> |
1866 | <span·class="go">'2011-07-29'</span> | ||
1867 | <span·class="go">'1993-0 | 1867 | <span·class="go">'1993-01-25'</span> |
1868 | <span·class="go">'1984-0 | 1868 | <span·class="go">'1984-03-15'</span> |
1869 | <span·class="go">'1998-0 | 1869 | <span·class="go">'1998-01-16'</span> |
1870 | </pre></div> | 1870 | </pre></div> |
1871 | </div> | 1871 | </div> |
1872 | </dd></dl> | 1872 | </dd></dl> |
1873 | <dl·class="py·method"> | 1873 | <dl·class="py·method"> |
1874 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_ES.Provider.date_between"> | 1874 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_ES.Provider.date_between"> |
1875 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_ES.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1875 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_ES.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 1892, 19 lines modified | Offset 1892, 19 lines modified | ||
1892 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1892 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1893 | <dd·class="field-even"><p></p></dd> | 1893 | <dd·class="field-even"><p></p></dd> |
1894 | </dl> | 1894 | </dl> |
1895 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1895 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1896 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1896 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1897 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1897 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
1898 | <span·class="gp">...</span> | 1898 | <span·class="gp">...</span> |
1899 | <span·class="go">datetime.date(202 | 1899 | <span·class="go">datetime.date(2020,·3,·7)</span> |
1900 | <span·class="go">datetime.date(201 | 1900 | <span·class="go">datetime.date(2017,·8,·2)</span> |
1901 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
1902 | <span·class="go">datetime.date(200 | 1901 | <span·class="go">datetime.date(2007,·6,·19)</span> |
1902 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
1903 | <span·class="go">datetime.date(201 | 1903 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 1930 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1931 | <span·class="go">datetime.date(202 | 1931 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1932 | <span·class="go">datetime.date(202 | 1932 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1933 | <span·class="go">datetime.date(202 | 1933 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1934 | <span·class="go">datetime.date(202 | 1934 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 1947, 19 lines modified | ||
1947 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1947 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1948 | <dd·class="field-even"><p></p></dd> | 1948 | <dd·class="field-even"><p></p></dd> |
1949 | </dl> | 1949 | </dl> |
1950 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1950 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1951 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1951 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1952 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1952 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
1953 | <span·class="gp">...</span> | 1953 | <span·class="gp">...</span> |
1954 | <span·class="go">datetime.date(2017,·3,·27)</span> | ||
1955 | <span·class="go">datetime.date(201 | 1954 | <span·class="go">datetime.date(2016,·4,·25)</span> |
1955 | <span·class="go">datetime.date(2011,·7,·29)</span> | ||
1956 | <span·class="go">datetime.date(1993,· | 1956 | <span·class="go">datetime.date(1993,·1,·25)</span> |
1957 | <span·class="go">datetime.date(1984,· | 1957 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1958 | <span·class="go">datetime.date(1998,· | 1958 | <span·class="go">datetime.date(1998,·1,·16)</span> |
1959 | </pre></div> | 1959 | </pre></div> |
1960 | </div> | 1960 | </div> |
1961 | </dd></dl> | 1961 | </dd></dl> |
1962 | <dl·class="py·method"> | 1962 | <dl·class="py·method"> |
1963 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_ES.Provider.date_of_birth"> | 1963 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.es_ES.Provider.date_of_birth"> |
1964 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_ES.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1964 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.es_ES.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
Offset 1983, 19 lines modified | Offset 1983, 19 lines modified | ||
1983 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1983 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1984 | <dd·class="field-even"><p></p></dd> | 1984 | <dd·class="field-even"><p></p></dd> |
1985 | </dl> | 1985 | </dl> |
1986 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1986 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1987 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1987 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1988 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1988 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
1989 | <span·class="gp">...</span> | 1989 | <span·class="gp">...</span> |
1990 | <span·class="go">datetime.date(200 | 1990 | <span·class="go">datetime.date(2006,·10,·20)</span> |
1991 | <span·class="go">datetime.date(1996,·10,·8)</span> | ||
1992 | <span·class="go">datetime.date(1957,·8,·20)</span> | ||
1991 | <span·class="go">datetime.date(19 | 1993 | <span·class="go">datetime.date(1938,·11,·19)</span> |
1992 | <span·class="go">datetime.date(19 | 1994 | <span·class="go">datetime.date(1968,·2,·27)</span> |
1993 | <span·class="go">datetime.date(1939,·12,·21)</span> | ||
1994 | <span·class="go">datetime.date(1969,·3,·30)</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> |
Max diff block lines reached; 107819/129495 bytes (83.26%) of diff not shown. |
Offset 1088, 18 lines modified | Offset 1088, 18 lines modified | ||
1088 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 1088 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
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 | ············'AM' | ||
1096 | ············'PM' | 1095 | ············'PM' |
1097 | ············'PM' | 1096 | ············'PM' |
1098 | ············'PM' | 1097 | ············'PM' |
1098 | ············'AM' | ||
1099 | ············'PM' | 1099 | ············'PM' |
1100 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 1100 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
1101 | ··············Example: | 1101 | ··············Example: |
1102 | ··················‘XVII’ | 1102 | ··················‘XVII’ |
1103 | ··············Examples: | 1103 | ··············Examples: |
1104 | ············>>>·Faker.seed(0) | 1104 | ············>>>·Faker.seed(0) |
1105 | ············>>>·for·_·in·range(5): | 1105 | ············>>>·for·_·in·range(5): |
Offset 1120, 19 lines modified | Offset 1120, 19 lines modified | ||
1120 | ··············Returns: | 1120 | ··············Returns: |
1121 | ··················Date | 1121 | ··················Date |
1122 | ··············Examples: | 1122 | ··············Examples: |
1123 | ············>>>·Faker.seed(0) | 1123 | ············>>>·Faker.seed(0) |
1124 | ············>>>·for·_·in·range(5): | 1124 | ············>>>·for·_·in·range(5): |
1125 | ············...·····fake.date() | 1125 | ············...·····fake.date() |
1126 | ············... | 1126 | ············... |
1127 | ············'2017-03-27' | ||
1128 | ············'201 | 1127 | ············'2016-04-25' |
1128 | ············'2011-07-29' | ||
1129 | ············'1993-0 | 1129 | ············'1993-01-25' |
1130 | ············'1984-0 | 1130 | ············'1984-03-15' |
1131 | ············'1998-0 | 1131 | ············'1998-01-16' |
1132 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 1132 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
1133 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 1133 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
1134 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1134 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
1135 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 1135 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
1136 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 1136 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
1137 | ··············Parameters: | 1137 | ··············Parameters: |
1138 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 1138 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
Offset 1142, 19 lines modified | Offset 1142, 19 lines modified | ||
1142 | ··············Returns: | 1142 | ··············Returns: |
1143 | ··················Date | 1143 | ··················Date |
1144 | ··············Examples: | 1144 | ··············Examples: |
1145 | ············>>>·Faker.seed(0) | 1145 | ············>>>·Faker.seed(0) |
1146 | ············>>>·for·_·in·range(5): | 1146 | ············>>>·for·_·in·range(5): |
1147 | ············...·····fake.date_between() | 1147 | ············...·····fake.date_between() |
1148 | ············... | 1148 | ············... |
1149 | ············datetime.date(202 | 1149 | ············datetime.date(2020,·3,·7) |
1150 | ············datetime.date(201 | 1150 | ············datetime.date(2017,·8,·2) |
1151 | ············datetime.date(2008,·7,·20) | ||
1152 | ············datetime.date(200 | 1151 | ············datetime.date(2007,·6,·19) |
1152 | ············datetime.date(2002,·8,·13) | ||
1153 | ············datetime.date(201 | 1153 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 1162, 33 lines modified | ||
1162 | ··············Returns: | 1162 | ··············Returns: |
1163 | ··················Date | 1163 | ··················Date |
1164 | ··············Examples: | 1164 | ··············Examples: |
1165 | ············>>>·Faker.seed(0) | 1165 | ············>>>·Faker.seed(0) |
1166 | ············>>>·for·_·in·range(5): | 1166 | ············>>>·for·_·in·range(5): |
1167 | ············...·····fake.date_between_dates() | 1167 | ············...·····fake.date_between_dates() |
1168 | ············... | 1168 | ············... |
1169 | ············datetime.date(202 | 1169 | ············datetime.date(2024,·11,·6) |
1170 | ············datetime.date(202 | 1170 | ············datetime.date(2024,·11,·6) |
1171 | ············datetime.date(202 | 1171 | ············datetime.date(2024,·11,·6) |
1172 | ············datetime.date(202 | 1172 | ············datetime.date(2024,·11,·6) |
1173 | ············datetime.date(202 | 1173 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
1184 | ············datetime.date(201 | 1183 | ············datetime.date(2016,·4,·25) |
1184 | ············datetime.date(2011,·7,·29) | ||
1185 | ············datetime.date(1993,· | 1185 | ············datetime.date(1993,·1,·25) |
1186 | ············datetime.date(1984,· | 1186 | ············datetime.date(1984,·3,·15) |
1187 | ············datetime.date(1998,· | 1187 | ············datetime.date(1998,·1,·16) |
1188 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 1188 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
1189 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1189 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
1190 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 1190 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
1191 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 1191 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
1192 | ··············Parameters: | 1192 | ··············Parameters: |
1193 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. | 1193 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. |
1194 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. | 1194 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. |
Offset 1198, 19 lines modified | Offset 1198, 19 lines modified | ||
1198 | ··············Returns: | 1198 | ··············Returns: |
1199 | ··················Date | 1199 | ··················Date |
1200 | ··············Examples: | 1200 | ··············Examples: |
1201 | ············>>>·Faker.seed(0) | 1201 | ············>>>·Faker.seed(0) |
1202 | ············>>>·for·_·in·range(5): | 1202 | ············>>>·for·_·in·range(5): |
1203 | ············...·····fake.date_of_birth() | 1203 | ············...·····fake.date_of_birth() |
1204 | ············... | 1204 | ············... |
1205 | ············datetime.date(200 | 1205 | ············datetime.date(2006,·10,·20) |
1206 | ············datetime.date(1996,·10,·8) | ||
1207 | ············datetime.date(1957,·8,·20) | ||
1206 | ············datetime.date(19 | 1208 | ············datetime.date(1938,·11,·19) |
1207 | ············datetime.date(19 | 1209 | ············datetime.date(1968,·2,·27) |
1208 | ············datetime.date(1939,·12,·21) | ||
1209 | ············datetime.date(1969,·3,·30) | ||
1210 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 1210 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
1211 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1211 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
1212 | ············Gets·a·Date·object·for·the·current·century. | 1212 | ············Gets·a·Date·object·for·the·current·century. |
1213 | ··············Parameters: | 1213 | ··············Parameters: |
1214 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 1214 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
1215 | ························today | 1215 | ························today |
1216 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 1216 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 1220, 19 lines modified | Offset 1220, 19 lines modified | ||
1220 | ··············Returns: | 1220 | ··············Returns: |
1221 | ··················Date | 1221 | ··················Date |
1222 | ··············Examples: | 1222 | ··············Examples: |
1223 | ············>>>·Faker.seed(0) | 1223 | ············>>>·Faker.seed(0) |
1224 | ············>>>·for·_·in·range(5): | 1224 | ············>>>·for·_·in·range(5): |
1225 | ············...·····fake.date_this_century() | 1225 | ············...·····fake.date_this_century() |
1226 | ············... | 1226 | ············... |
1227 | ············datetime.date(2020,·12,·24) | ||
Max diff block lines reached; 33325/40472 bytes (82.34%) of diff not shown. |
Offset 1469, 19 lines modified | Offset 1469, 19 lines modified | ||
1469 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1469 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1470 | <dd·class="field-even"><p></p></dd> | 1470 | <dd·class="field-even"><p></p></dd> |
1471 | </dl> | 1471 | </dl> |
1472 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1472 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1473 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1473 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1474 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">curp</span><span·class="p">()</span> | 1474 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">curp</span><span·class="p">()</span> |
1475 | <span·class="gp">...</span> | 1475 | <span·class="gp">...</span> |
1476 | <span·class="go">'JUDK071121HASPLQA5'</span> | ||
1477 | <span·class="go">'YUTT971109MTSHHA09'</span> | ||
1478 | <span·class="go">'VUZY580921HGTXNR00'</span> | ||
1479 | <span·class="go">'RAWR391221MMSWJA01'</span> | ||
1480 | <span·class="go">' | 1476 | <span·class="go">'COON061020HDFVPTA3'</span> |
1477 | <span·class="go">'WOQI961008HSPYTV05'</span> | ||
1478 | <span·class="go">'TOIQ570820HHGHNM09'</span> | ||
1479 | <span·class="go">'UIDV381119MSLFVK00'</span> | ||
1480 | <span·class="go">'IIYW680227HCLYLX05'</span> | ||
1481 | </pre></div> | 1481 | </pre></div> |
1482 | </div> | 1482 | </div> |
1483 | </dd></dl> | 1483 | </dd></dl> |
1484 | <dl·class="py·method"> | 1484 | <dl·class="py·method"> |
1485 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.es_MX.Provider.elector_code"> | 1485 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.es_MX.Provider.elector_code"> |
1486 | <span·class="sig-name·descname"><span·class="pre">elector_code</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">gender</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Literal"·title="(in·Python·v3.12)"><span·class="pre">Literal</span></a><span·class="p"><span·class="pre">[</span></span><span·class="s"><span·class="pre">'H'</span></span><span·class="p"><span·class="pre">,</span></span><span·class="w">·</span><span·class="s"><span·class="pre">'M'</span></span><span·class="p"><span·class="pre">]</span></span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.es_MX.Provider.elector_code"·title="Link·to·this·definition">¶</a></dt> | 1486 | <span·class="sig-name·descname"><span·class="pre">elector_code</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">gender</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Literal"·title="(in·Python·v3.12)"><span·class="pre">Literal</span></a><span·class="p"><span·class="pre">[</span></span><span·class="s"><span·class="pre">'H'</span></span><span·class="p"><span·class="pre">,</span></span><span·class="w">·</span><span·class="s"><span·class="pre">'M'</span></span><span·class="p"><span·class="pre">]</span></span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.es_MX.Provider.elector_code"·title="Link·to·this·definition">¶</a></dt> |
Offset 1497, 30 lines modified | Offset 1497, 30 lines modified | ||
1497 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1497 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1498 | <dd·class="field-odd"><p></p></dd> | 1498 | <dd·class="field-odd"><p></p></dd> |
1499 | </dl> | 1499 | </dl> |
1500 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1500 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1501 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1501 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1502 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">elector_code</span><span·class="p">()</span> | 1502 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">elector_code</span><span·class="p">()</span> |
1503 | <span·class="gp">...</span> | 1503 | <span·class="gp">...</span> |
1504 | <span·class="go">' | 1504 | <span·class="go">'FPJDBK06102028M489'</span> |
1505 | <span·class="go">' | 1505 | <span·class="go">'DSYSHS96100811M342'</span> |
1506 | <span·class="go">'STQDPK57082013M462'</span> | ||
1506 | <span·class="go">' | 1507 | <span·class="go">'JHLWGT38111926M847'</span> |
1507 | <span·class="go">' | 1508 | <span·class="go">'RPWQWK68022732H684'</span> |
1508 | <span·class="go">'MGJMFS69033025H612'</span> | ||
1509 | </pre></div> | 1509 | </pre></div> |
1510 | </div> | 1510 | </div> |
1511 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1511 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1512 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1512 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1513 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">elector_code</span><span·class="p">(</span><span·class="n">gender</span><span·class="o">=</span><span·class="s1">'M'</span><span·class="p">)</span> | 1513 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">elector_code</span><span·class="p">(</span><span·class="n">gender</span><span·class="o">=</span><span·class="s1">'M'</span><span·class="p">)</span> |
1514 | <span·class="gp">...</span> | 1514 | <span·class="gp">...</span> |
1515 | <span·class="go">' | 1515 | <span·class="go">'QKDLSF06102026M696'</span> |
1516 | <span·class="go">' | 1516 | <span·class="go">'SRCHQX96100825M338'</span> |
1517 | <span·class="go">' | 1517 | <span·class="go">'MDJJFV57082022M685'</span> |
1518 | <span·class="go">' | 1518 | <span·class="go">'BKMVBS38111922M148'</span> |
1519 | <span·class="go">' | 1519 | <span·class="go">'SGTXWX68022702M018'</span> |
1520 | </pre></div> | 1520 | </pre></div> |
1521 | </div> | 1521 | </div> |
1522 | </dd></dl> | 1522 | </dd></dl> |
1523 | <dl·class="py·method"> | 1523 | <dl·class="py·method"> |
1524 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.es_MX.Provider.rfc"> | 1524 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.es_MX.Provider.rfc"> |
1525 | <span·class="sig-name·descname"><span·class="pre">rfc</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">natural</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.12)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.es_MX.Provider.rfc"·title="Link·to·this·definition">¶</a></dt> | 1525 | <span·class="sig-name·descname"><span·class="pre">rfc</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">natural</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.12)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">True</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.es_MX.Provider.rfc"·title="Link·to·this·definition">¶</a></dt> |
Offset 1536, 19 lines modified | Offset 1536, 19 lines modified | ||
1536 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1536 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1537 | <dd·class="field-odd"><p></p></dd> | 1537 | <dd·class="field-odd"><p></p></dd> |
1538 | </dl> | 1538 | </dl> |
1539 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1539 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1540 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1540 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1541 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">rfc</span><span·class="p">()</span> | 1541 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">rfc</span><span·class="p">()</span> |
1542 | <span·class="gp">...</span> | 1542 | <span·class="gp">...</span> |
1543 | <span·class="go">'GEHC071121RSC'</span> | ||
1544 | <span·class="go">'EO | 1543 | <span·class="go">'IEOL061020778'</span> |
1545 | <span·class="go">' | 1544 | <span·class="go">'GIMM961008V2Z'</span> |
1546 | <span·class="go">'UUVK391221KKR'</span> | ||
1547 | <span·class="go">' | 1545 | <span·class="go">'PUBA57082007Z'</span> |
1546 | <span·class="go">'ZIZK381119AI9'</span> | ||
1547 | <span·class="go">'LUHP680227JMZ'</span> | ||
1548 | </pre></div> | 1548 | </pre></div> |
1549 | </div> | 1549 | </div> |
1550 | </dd></dl> | 1550 | </dd></dl> |
1551 | <dl·class="py·method"> | 1551 | <dl·class="py·method"> |
1552 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.es_MX.Provider.ssn"> | 1552 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.es_MX.Provider.ssn"> |
1553 | <span·class="sig-name·descname"><span·class="pre">ssn</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.es_MX.Provider.ssn"·title="Link·to·this·definition">¶</a></dt> | 1553 | <span·class="sig-name·descname"><span·class="pre">ssn</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.es_MX.Provider.ssn"·title="Link·to·this·definition">¶</a></dt> |
Offset 836, 64 lines modified | Offset 836, 64 lines modified | ||
836 | ··············Returns: | 836 | ··············Returns: |
837 | ··················a·random·Mexican·CURP·(Unique·Population·Registry·Code) | 837 | ··················a·random·Mexican·CURP·(Unique·Population·Registry·Code) |
838 | ··············Examples: | 838 | ··············Examples: |
839 | ············>>>·Faker.seed(0) | 839 | ············>>>·Faker.seed(0) |
840 | ············>>>·for·_·in·range(5): | 840 | ············>>>·for·_·in·range(5): |
841 | ············...·····fake.curp() | 841 | ············...·····fake.curp() |
842 | ············... | 842 | ············... |
843 | ············'JUDK071121HASPLQA5' | ||
844 | ············'YUTT971109MTSHHA09' | ||
845 | ············'VUZY580921HGTXNR00' | ||
846 | ············'RAWR391221MMSWJA01' | ||
847 | ············' | 843 | ············'COON061020HDFVPTA3' |
844 | ············'WOQI961008HSPYTV05' | ||
845 | ············'TOIQ570820HHGHNM09' | ||
846 | ············'UIDV381119MSLFVK00' | ||
847 | ············'IIYW680227HCLYLX05' | ||
848 | ········elector_code(g\x8ge\x8en\x8nd\x8de\x8er\x8r:\x8:·_\x8L\x8L_\x8i\x8i_\x8t\x8t_\x8e\x8e_\x8r\x8r_\x8a\x8a_\x8l\x8l[\x8['\x8'H\x8H'\x8',\x8,·'\x8'M\x8M'\x8']\x8]·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ | 848 | ········elector_code(g\x8ge\x8en\x8nd\x8de\x8er\x8r:\x8:·_\x8L\x8L_\x8i\x8i_\x8t\x8t_\x8e\x8e_\x8r\x8r_\x8a\x8a_\x8l\x8l[\x8['\x8'H\x8H'\x8',\x8,·'\x8'M\x8M'\x8']\x8]·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ |
849 | ············Unique·elector·code·issued·by·INE·(Instituto·Nacional·Electoral)·in | 849 | ············Unique·elector·code·issued·by·INE·(Instituto·Nacional·Electoral)·in |
850 | ············Mexico. | 850 | ············Mexico. |
851 | ··············Parameters: | 851 | ··············Parameters: |
852 | ··················g\x8ge\x8en\x8nd\x8de\x8er\x8r·(_\x8s\x8s_\x8t\x8t_\x8r\x8r)·–·Gender·for·which·to·generate·the·code.·Will·be | 852 | ··················g\x8ge\x8en\x8nd\x8de\x8er\x8r·(_\x8s\x8s_\x8t\x8t_\x8r\x8r)·–·Gender·for·which·to·generate·the·code.·Will·be |
853 | ··················randomly·selected·if·not·provided. | 853 | ··················randomly·selected·if·not·provided. |
854 | ··············Returns: | 854 | ··············Returns: |
855 | ··················a·random·INE·elector·code | 855 | ··················a·random·INE·elector·code |
856 | ··············Examples: | 856 | ··············Examples: |
857 | ············>>>·Faker.seed(0) | 857 | ············>>>·Faker.seed(0) |
858 | ············>>>·for·_·in·range(5): | 858 | ············>>>·for·_·in·range(5): |
859 | ············...·····fake.elector_code() | 859 | ············...·····fake.elector_code() |
860 | ············... | 860 | ············... |
861 | ············'TTNGMB07112105M668' | ||
862 | ············'BWRFPP97110906H651' | ||
863 | ············'MDPZQJ58092116H447' | ||
864 | ············'GNYDSR39122125H324' | ||
865 | ············' | 861 | ············'FPJDBK06102028M489' |
862 | ············'DSYSHS96100811M342' | ||
863 | ············'STQDPK57082013M462' | ||
864 | ············'JHLWGT38111926M847' | ||
865 | ············'RPWQWK68022732H684' | ||
866 | ············>>>·Faker.seed(0) | 866 | ············>>>·Faker.seed(0) |
867 | ············>>>·for·_·in·range(5): | 867 | ············>>>·for·_·in·range(5): |
868 | ············...·····fake.elector_code(gender='M') | 868 | ············...·····fake.elector_code(gender='M') |
869 | ············... | 869 | ············... |
870 | ············'LWLQRB07112123M521' | ||
871 | ············'MQWBZV97110912M627' | ||
872 | ············'RQDYVF58092117M725' | ||
873 | ············'JKVWKL39122110M489' | ||
874 | ············' | 870 | ············'QKDLSF06102026M696' |
871 | ············'SRCHQX96100825M338' | ||
872 | ············'MDJJFV57082022M685' | ||
873 | ············'BKMVBS38111922M148' | ||
874 | ············'SGTXWX68022702M018' | ||
875 | ········rfc(n\x8na\x8at\x8tu\x8ur\x8ra\x8al\x8l:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ | 875 | ········rfc(n\x8na\x8at\x8tu\x8ur\x8ra\x8al\x8l:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ |
876 | ············See·_\x8h_\x8t_\x8t_\x8p_\x8s_\x8:_\x8/_\x8/_\x8e_\x8s_\x8._\x8w_\x8i_\x8k_\x8i_\x8p_\x8e_\x8d_\x8i_\x8a_\x8._\x8o_\x8r_\x8g_\x8/_\x8w_\x8i_\x8k_\x8i_\x8/ | 876 | ············See·_\x8h_\x8t_\x8t_\x8p_\x8s_\x8:_\x8/_\x8/_\x8e_\x8s_\x8._\x8w_\x8i_\x8k_\x8i_\x8p_\x8e_\x8d_\x8i_\x8a_\x8._\x8o_\x8r_\x8g_\x8/_\x8w_\x8i_\x8k_\x8i_\x8/ |
877 | ············_\x8R_\x8e_\x8g_\x8i_\x8s_\x8t_\x8r_\x8o_\x8__\x8F_\x8e_\x8d_\x8e_\x8r_\x8a_\x8l_\x8__\x8d_\x8e_\x8__\x8C_\x8o_\x8n_\x8t_\x8r_\x8i_\x8b_\x8u_\x8y_\x8e_\x8n_\x8t_\x8e_\x8s | 877 | ············_\x8R_\x8e_\x8g_\x8i_\x8s_\x8t_\x8r_\x8o_\x8__\x8F_\x8e_\x8d_\x8e_\x8r_\x8a_\x8l_\x8__\x8d_\x8e_\x8__\x8C_\x8o_\x8n_\x8t_\x8r_\x8i_\x8b_\x8u_\x8y_\x8e_\x8n_\x8t_\x8e_\x8s |
878 | ··············Parameters: | 878 | ··············Parameters: |
879 | ··················n\x8na\x8at\x8tu\x8ur\x8ra\x8al\x8l·(_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l)·–·Whether·to·return·the·RFC·of·a·natural | 879 | ··················n\x8na\x8at\x8tu\x8ur\x8ra\x8al\x8l·(_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l)·–·Whether·to·return·the·RFC·of·a·natural |
880 | ··················person.·Otherwise·return·the·RFC·of·a·legal·person. | 880 | ··················person.·Otherwise·return·the·RFC·of·a·legal·person. |
881 | ··············Returns: | 881 | ··············Returns: |
882 | ··················a·random·Mexican·RFC | 882 | ··················a·random·Mexican·RFC |
883 | ··············Examples: | 883 | ··············Examples: |
884 | ············>>>·Faker.seed(0) | 884 | ············>>>·Faker.seed(0) |
885 | ············>>>·for·_·in·range(5): | 885 | ············>>>·for·_·in·range(5): |
886 | ············...·····fake.rfc() | 886 | ············...·····fake.rfc() |
887 | ············... | 887 | ············... |
888 | ············'GEHC071121RSC' | ||
889 | ············'EORF971109O82' | ||
890 | ············'OEMV580921NZ7' | ||
891 | ············'UUVK391221KKR' | ||
892 | ············' | 888 | ············'IEOL061020778' |
889 | ············'GIMM961008V2Z' | ||
890 | ············'PUBA57082007Z' | ||
891 | ············'ZIZK381119AI9' | ||
892 | ············'LUHP680227JMZ' | ||
893 | ········ssn()·→·_\x8s_\x8t_\x8r_\x8¶ | 893 | ········ssn()·→·_\x8s_\x8t_\x8r_\x8¶ |
894 | ············Mexican·Social·Security·Number,·as·given·by·IMSS. | 894 | ············Mexican·Social·Security·Number,·as·given·by·IMSS. |
895 | ··············Returns: | 895 | ··············Returns: |
896 | ··················a·random·Mexican·SSN | 896 | ··················a·random·Mexican·SSN |
897 | ··············Examples: | 897 | ··············Examples: |
898 | ············>>>·Faker.seed(0) | 898 | ············>>>·Faker.seed(0) |
899 | ············>>>·for·_·in·range(5): | 899 | ············>>>·for·_·in·range(5): |
Offset 715, 19 lines modified | Offset 715, 19 lines modified | ||
715 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 715 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
716 | <dd·class="field-odd"><p></p></dd> | 716 | <dd·class="field-odd"><p></p></dd> |
717 | </dl> | 717 | </dl> |
718 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 718 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
719 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 719 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
720 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">ssn</span><span·class="p">()</span> | 720 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">ssn</span><span·class="p">()</span> |
721 | <span·class="gp">...</span> | 721 | <span·class="gp">...</span> |
722 | <span·class="go">'47 | 722 | <span·class="go">'47404200410'</span> |
723 | <span·class="go">'48 | 723 | <span·class="go">'48508194142'</span> |
724 | <span·class="go">'43 | 724 | <span·class="go">'43807189913'</span> |
725 | <span·class="go">'46 | 725 | <span·class="go">'46602075971'</span> |
726 | <span·class="go">'3 | 726 | <span·class="go">'38904072882'</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 | ············'47 | 386 | ············'47404200410' |
387 | ············'48 | 387 | ············'48508194142' |
388 | ············'43 | 388 | ············'43807189913' |
389 | ············'46 | 389 | ············'46602075971' |
390 | ············'3 | 390 | ············'38904072882' |
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 1144, 19 lines modified | Offset 1144, 19 lines modified | ||
1144 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1144 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1145 | <dd·class="field-odd"><p></p></dd> | 1145 | <dd·class="field-odd"><p></p></dd> |
1146 | </dl> | 1146 | </dl> |
1147 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1147 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1148 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1148 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1149 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">credit_card_expire</span><span·class="p">()</span> | 1149 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">credit_card_expire</span><span·class="p">()</span> |
1150 | <span·class="gp">...</span> | 1150 | <span·class="gp">...</span> |
1151 | <span·class="go">'05/34'</span> | ||
1152 | <span·class="go">'0 | 1151 | <span·class="go">'04/33'</span> |
1153 | <span·class="go">'0 | 1152 | <span·class="go">'06/32'</span> |
1154 | <span·class="go">'0 | 1153 | <span·class="go">'01/29'</span> |
1155 | <span·class="go">'0 | 1154 | <span·class="go">'06/27'</span> |
1155 | <span·class="go">'12/29'</span> | ||
1156 | </pre></div> | 1156 | </pre></div> |
1157 | </div> | 1157 | </div> |
1158 | </dd></dl> | 1158 | </dd></dl> |
1159 | <dl·class="py·method"> | 1159 | <dl·class="py·method"> |
1160 | <dt·class="sig·sig-object·py"·id="faker.providers.credit_card.fa_IR.Provider.credit_card_full"> | 1160 | <dt·class="sig·sig-object·py"·id="faker.providers.credit_card.fa_IR.Provider.credit_card_full"> |
1161 | <span·class="sig-name·descname"><span·class="pre">credit_card_full</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">card_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CardType</span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<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.credit_card.fa_IR.Provider.credit_card_full"·title="Link·to·this·definition">¶</a></dt> | 1161 | <span·class="sig-name·descname"><span·class="pre">credit_card_full</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">card_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CardType</span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<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.credit_card.fa_IR.Provider.credit_card_full"·title="Link·to·this·definition">¶</a></dt> |
Offset 1165, 19 lines modified | Offset 1165, 19 lines modified | ||
1165 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1165 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1166 | <dd·class="field-odd"><p></p></dd> | 1166 | <dd·class="field-odd"><p></p></dd> |
1167 | </dl> | 1167 | </dl> |
1168 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1168 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1169 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1169 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1170 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">credit_card_full</span><span·class="p">()</span> | 1170 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">credit_card_full</span><span·class="p">()</span> |
1171 | <span·class="gp">...</span> | 1171 | <span·class="gp">...</span> |
1172 | <span·class="go">'پارسیان\nبهار·گلپایگانی\n6221060487647590·1 | 1172 | <span·class="go">'پارسیان\nبهار·گلپایگانی\n6221060487647590·10/33\nCVV2:·382\n'</span> |
1173 | <span·class="go">'اقتصاد·نوین\nآوا·کمالی\n6274129489241151·0 | 1173 | <span·class="go">'اقتصاد·نوین\nآوا·کمالی\n6274129489241151·07/29\nCVV2:·156\n'</span> |
1174 | <span·class="go">'ملی\nسبحان·هدایت\n6037998778408012·0 | 1174 | <span·class="go">'ملی\nسبحان·هدایت\n6037998778408012·01/32\nCVV2:·609\n'</span> |
1175 | <span·class="go">'ملت\nمهسا·سمسار\n6104331393328712·0 | 1175 | <span·class="go">'ملت\nمهسا·سمسار\n6104331393328712·08/25\nCVV2:·587\n'</span> |
1176 | <span·class="go">'کشاورزی\nرقيه·میردامادی\n6037701858398941·0 | 1176 | <span·class="go">'کشاورزی\nرقيه·میردامادی\n6037701858398941·04/29\nCVV2:·965\n'</span> |
1177 | </pre></div> | 1177 | </pre></div> |
1178 | </div> | 1178 | </div> |
1179 | </dd></dl> | 1179 | </dd></dl> |
1180 | <dl·class="py·method"> | 1180 | <dl·class="py·method"> |
1181 | <dt·class="sig·sig-object·py"·id="faker.providers.credit_card.fa_IR.Provider.credit_card_number"> | 1181 | <dt·class="sig·sig-object·py"·id="faker.providers.credit_card.fa_IR.Provider.credit_card_number"> |
1182 | <span·class="sig-name·descname"><span·class="pre">credit_card_number</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">card_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CardType</span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<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.credit_card.fa_IR.Provider.credit_card_number"·title="Link·to·this·definition">¶</a></dt> | 1182 | <span·class="sig-name·descname"><span·class="pre">credit_card_number</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">card_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CardType</span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<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.credit_card.fa_IR.Provider.credit_card_number"·title="Link·to·this·definition">¶</a></dt> |
Offset 688, 31 lines modified | Offset 688, 31 lines modified | ||
688 | ············expiry·date,·_\x8s_\x8t_\x8r_\x8f_\x8t_\x8i_\x8m_\x8e_\x8(_\x8)·is·used·and·date_format·is·simply·passed·to | 688 | ············expiry·date,·_\x8s_\x8t_\x8r_\x8f_\x8t_\x8i_\x8m_\x8e_\x8(_\x8)·is·used·and·date_format·is·simply·passed·to |
689 | ············that·method. | 689 | ············that·method. |
690 | ··············Examples: | 690 | ··············Examples: |
691 | ············>>>·Faker.seed(0) | 691 | ············>>>·Faker.seed(0) |
692 | ············>>>·for·_·in·range(5): | 692 | ············>>>·for·_·in·range(5): |
693 | ············...·····fake.credit_card_expire() | 693 | ············...·····fake.credit_card_expire() |
694 | ············... | 694 | ············... |
695 | ············'05/34' | ||
696 | ············'0 | 695 | ············'04/33' |
697 | ············'0 | 696 | ············'06/32' |
698 | ············'0 | 697 | ············'01/29' |
699 | ············'0 | 698 | ············'06/27' |
699 | ············'12/29' | ||
700 | ········credit_card_full(c\x8ca\x8ar\x8rd\x8d_\x8_t\x8ty\x8yp\x8pe\x8e:\x8:·C\x8Ca\x8ar\x8rd\x8dT\x8Ty\x8yp\x8pe\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ | 700 | ········credit_card_full(c\x8ca\x8ar\x8rd\x8d_\x8_t\x8ty\x8yp\x8pe\x8e:\x8:·C\x8Ca\x8ar\x8rd\x8dT\x8Ty\x8yp\x8pe\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ |
701 | ············Generate·a·set·of·credit·card·details. | 701 | ············Generate·a·set·of·credit·card·details. |
702 | ··············Examples: | 702 | ··············Examples: |
703 | ············>>>·Faker.seed(0) | 703 | ············>>>·Faker.seed(0) |
704 | ············>>>·for·_·in·range(5): | 704 | ············>>>·for·_·in·range(5): |
705 | ············...·····fake.credit_card_full() | 705 | ············...·····fake.credit_card_full() |
706 | ············... | 706 | ············... |
707 | ············'پارسیان\nبهار·گلپایگانی\n6221060487647590·1 | 707 | ············'پارسیان\nبهار·گلپایگانی\n6221060487647590·10/33\nCVV2:·382\n' |
708 | ············'اقتصاد·نوین\nآوا·کمالی\n6274129489241151·0 | 708 | ············'اقتصاد·نوین\nآوا·کمالی\n6274129489241151·07/29\nCVV2:·156\n' |
709 | ············'ملی\nسبحان·هدایت\n6037998778408012·0 | 709 | ············'ملی\nسبحان·هدایت\n6037998778408012·01/32\nCVV2:·609\n' |
710 | ············'ملت\nمهسا·سمسار\n6104331393328712·0 | 710 | ············'ملت\nمهسا·سمسار\n6104331393328712·08/25\nCVV2:·587\n' |
711 | ············'کشاورزی\nرقيه·میردامادی\n6037701858398941·0 | 711 | ············'کشاورزی\nرقيه·میردامادی\n6037701858398941·04/29\nCVV2:·965\n' |
712 | ········credit_card_number(c\x8ca\x8ar\x8rd\x8d_\x8_t\x8ty\x8yp\x8pe\x8e:\x8:·C\x8Ca\x8ar\x8rd\x8dT\x8Ty\x8yp\x8pe\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ | 712 | ········credit_card_number(c\x8ca\x8ar\x8rd\x8d_\x8_t\x8ty\x8yp\x8pe\x8e:\x8:·C\x8Ca\x8ar\x8rd\x8dT\x8Ty\x8yp\x8pe\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ |
713 | ············Generate·a·valid·credit·card·number. | 713 | ············Generate·a·valid·credit·card·number. |
714 | ··············Examples: | 714 | ··············Examples: |
715 | ············>>>·Faker.seed(0) | 715 | ············>>>·Faker.seed(0) |
716 | ············>>>·for·_·in·range(5): | 716 | ············>>>·for·_·in·range(5): |
717 | ············...·····fake.credit_card_number() | 717 | ············...·····fake.credit_card_number() |
718 | ············... | 718 | ············... |
Offset 2308, 19 lines modified | Offset 2308, 19 lines modified | ||
2308 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 2308 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
2309 | <dd·class="field-odd"><p></p></dd> | 2309 | <dd·class="field-odd"><p></p></dd> |
2310 | </dl> | 2310 | </dl> |
2311 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 2311 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
2312 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 2312 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
2313 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">ssn</span><span·class="p">()</span> | 2313 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">ssn</span><span·class="p">()</span> |
2314 | <span·class="gp">...</span> | 2314 | <span·class="gp">...</span> |
2315 | <span·class="go">'2 | 2315 | <span·class="go">'230955-778C'</span> |
2316 | <span·class="go">'2 | 2316 | <span·class="go">'220549-0438'</span> |
2317 | <span·class="go">'2 | 2317 | <span·class="go">'240578-525K'</span> |
2318 | <span·class="go">' | 2318 | <span·class="go">'300837-416S'</span> |
2319 | <span·class="go">'0 | 2319 | <span·class="go">'060670-490K'</span> |
2320 | </pre></div> | 2320 | </pre></div> |
2321 | </div> | 2321 | </div> |
2322 | </dd></dl> | 2322 | </dd></dl> |
2323 | <dl·class="py·method"> | 2323 | <dl·class="py·method"> |
2324 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.fi_FI.Provider.vat_id"> | 2324 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.fi_FI.Provider.vat_id"> |
2325 | <span·class="sig-name·descname"><span·class="pre">vat_id</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.fi_FI.Provider.vat_id"·title="Link·to·this·definition">¶</a></dt> | 2325 | <span·class="sig-name·descname"><span·class="pre">vat_id</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.fi_FI.Provider.vat_id"·title="Link·to·this·definition">¶</a></dt> |
Offset 1326, 19 lines modified | Offset 1326, 19 lines modified | ||
1326 | ············_\x8h_\x8t_\x8t_\x8p_\x8s_\x8:_\x8/_\x8/_\x8e_\x8n_\x8._\x8w_\x8i_\x8k_\x8i_\x8p_\x8e_\x8d_\x8i_\x8a_\x8._\x8o_\x8r_\x8g_\x8/_\x8w_\x8i_\x8k_\x8i_\x8/ | 1326 | ············_\x8h_\x8t_\x8t_\x8p_\x8s_\x8:_\x8/_\x8/_\x8e_\x8n_\x8._\x8w_\x8i_\x8k_\x8i_\x8p_\x8e_\x8d_\x8i_\x8a_\x8._\x8o_\x8r_\x8g_\x8/_\x8w_\x8i_\x8k_\x8i_\x8/ |
1327 | ············_\x8N_\x8a_\x8t_\x8i_\x8o_\x8n_\x8a_\x8l_\x8__\x8i_\x8d_\x8e_\x8n_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8n_\x8u_\x8m_\x8b_\x8e_\x8r_\x8#_\x8F_\x8i_\x8n_\x8l_\x8a_\x8n_\x8d | 1327 | ············_\x8N_\x8a_\x8t_\x8i_\x8o_\x8n_\x8a_\x8l_\x8__\x8i_\x8d_\x8e_\x8n_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8n_\x8u_\x8m_\x8b_\x8e_\x8r_\x8#_\x8F_\x8i_\x8n_\x8l_\x8a_\x8n_\x8d |
1328 | ··············Examples: | 1328 | ··············Examples: |
1329 | ············>>>·Faker.seed(0) | 1329 | ············>>>·Faker.seed(0) |
1330 | ············>>>·for·_·in·range(5): | 1330 | ············>>>·for·_·in·range(5): |
1331 | ············...·····fake.ssn() | 1331 | ············...·····fake.ssn() |
1332 | ············... | 1332 | ············... |
1333 | ············'2 | 1333 | ············'230955-778C' |
1334 | ············'2 | 1334 | ············'220549-0438' |
1335 | ············'2 | 1335 | ············'240578-525K' |
1336 | ············' | 1336 | ············'300837-416S' |
1337 | ············'0 | 1337 | ············'060670-490K' |
1338 | ········vat_id()·→·_\x8s_\x8t_\x8r_\x8¶ | 1338 | ········vat_id()·→·_\x8s_\x8t_\x8r_\x8¶ |
1339 | ············_\x8h_\x8t_\x8t_\x8p_\x8:_\x8/_\x8/_\x8e_\x8c_\x8._\x8e_\x8u_\x8r_\x8o_\x8p_\x8a_\x8._\x8e_\x8u_\x8/_\x8t_\x8a_\x8x_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8c_\x8u_\x8s_\x8t_\x8o_\x8m_\x8s_\x8/_\x8v_\x8i_\x8e_\x8s_\x8/_\x8f_\x8a_\x8q_\x8._\x8h_\x8t_\x8m_\x8l_\x8#_\x8i_\x8t_\x8e_\x8m_\x8__\x81_\x81·:return: | 1339 | ············_\x8h_\x8t_\x8t_\x8p_\x8:_\x8/_\x8/_\x8e_\x8c_\x8._\x8e_\x8u_\x8r_\x8o_\x8p_\x8a_\x8._\x8e_\x8u_\x8/_\x8t_\x8a_\x8x_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8c_\x8u_\x8s_\x8t_\x8o_\x8m_\x8s_\x8/_\x8v_\x8i_\x8e_\x8s_\x8/_\x8f_\x8a_\x8q_\x8._\x8h_\x8t_\x8m_\x8l_\x8#_\x8i_\x8t_\x8e_\x8m_\x8__\x81_\x81·:return: |
1340 | ············A·random·Finnish·VAT·ID | 1340 | ············A·random·Finnish·VAT·ID |
1341 | ··············Examples: | 1341 | ··············Examples: |
1342 | ············>>>·Faker.seed(0) | 1342 | ············>>>·Faker.seed(0) |
1343 | ············>>>·for·_·in·range(5): | 1343 | ············>>>·for·_·in·range(5): |
1344 | ············...·····fake.vat_id() | 1344 | ············...·····fake.vat_id() |
Offset 1644, 18 lines modified | Offset 1644, 18 lines modified | ||
1644 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1644 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1645 | <dd·class="field-odd"><p></p></dd> | 1645 | <dd·class="field-odd"><p></p></dd> |
1646 | </dl> | 1646 | </dl> |
1647 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1647 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1648 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1648 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1649 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1649 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1650 | <span·class="gp">...</span> | 1650 | <span·class="gp">...</span> |
1651 | <span·class="go">'AM'</span> | ||
1652 | <span·class="go">'PM'</span> | 1651 | <span·class="go">'PM'</span> |
1653 | <span·class="go">'PM'</span> | 1652 | <span·class="go">'PM'</span> |
1654 | <span·class="go">'PM'</span> | 1653 | <span·class="go">'PM'</span> |
1654 | <span·class="go">'AM'</span> | ||
1655 | <span·class="go">'PM'</span> | 1655 | <span·class="go">'PM'</span> |
1656 | </pre></div> | 1656 | </pre></div> |
1657 | </div> | 1657 | </div> |
1658 | </dd></dl> | 1658 | </dd></dl> |
1659 | <dl·class="py·method"> | 1659 | <dl·class="py·method"> |
1660 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fil_PH.Provider.century"> | 1660 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fil_PH.Provider.century"> |
Offset 1697, 19 lines modified | Offset 1697, 19 lines modified | ||
1697 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1697 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1698 | <dd·class="field-even"><p></p></dd> | 1698 | <dd·class="field-even"><p></p></dd> |
1699 | </dl> | 1699 | </dl> |
1700 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1700 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1701 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1701 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1702 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1702 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
1703 | <span·class="gp">...</span> | 1703 | <span·class="gp">...</span> |
1704 | <span·class="go">'2017-03-27'</span> | ||
1705 | <span·class="go">'201 | 1704 | <span·class="go">'2016-04-25'</span> |
1705 | <span·class="go">'2011-07-29'</span> | ||
1706 | <span·class="go">'1993-0 | 1706 | <span·class="go">'1993-01-25'</span> |
1707 | <span·class="go">'1984-0 | 1707 | <span·class="go">'1984-03-15'</span> |
1708 | <span·class="go">'1998-0 | 1708 | <span·class="go">'1998-01-16'</span> |
1709 | </pre></div> | 1709 | </pre></div> |
1710 | </div> | 1710 | </div> |
1711 | </dd></dl> | 1711 | </dd></dl> |
1712 | <dl·class="py·method"> | 1712 | <dl·class="py·method"> |
1713 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fil_PH.Provider.date_between"> | 1713 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fil_PH.Provider.date_between"> |
1714 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fil_PH.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1714 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fil_PH.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 1731, 19 lines modified | Offset 1731, 19 lines modified | ||
1731 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1731 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1732 | <dd·class="field-even"><p></p></dd> | 1732 | <dd·class="field-even"><p></p></dd> |
1733 | </dl> | 1733 | </dl> |
1734 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1734 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1735 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1735 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1736 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1736 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
1737 | <span·class="gp">...</span> | 1737 | <span·class="gp">...</span> |
1738 | <span·class="go">datetime.date(202 | 1738 | <span·class="go">datetime.date(2020,·3,·7)</span> |
1739 | <span·class="go">datetime.date(201 | 1739 | <span·class="go">datetime.date(2017,·8,·2)</span> |
1740 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
1741 | <span·class="go">datetime.date(200 | 1740 | <span·class="go">datetime.date(2007,·6,·19)</span> |
1741 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
1742 | <span·class="go">datetime.date(201 | 1742 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 1769 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1770 | <span·class="go">datetime.date(202 | 1770 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1771 | <span·class="go">datetime.date(202 | 1771 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1772 | <span·class="go">datetime.date(202 | 1772 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1773 | <span·class="go">datetime.date(202 | 1773 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 1786, 19 lines modified | ||
1786 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1786 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1787 | <dd·class="field-even"><p></p></dd> | 1787 | <dd·class="field-even"><p></p></dd> |
1788 | </dl> | 1788 | </dl> |
1789 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1789 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1790 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1790 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1791 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1791 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
1792 | <span·class="gp">...</span> | 1792 | <span·class="gp">...</span> |
1793 | <span·class="go">datetime.date(2017,·3,·27)</span> | ||
1794 | <span·class="go">datetime.date(201 | 1793 | <span·class="go">datetime.date(2016,·4,·25)</span> |
1794 | <span·class="go">datetime.date(2011,·7,·29)</span> | ||
1795 | <span·class="go">datetime.date(1993,· | 1795 | <span·class="go">datetime.date(1993,·1,·25)</span> |
1796 | <span·class="go">datetime.date(1984,· | 1796 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1797 | <span·class="go">datetime.date(1998,· | 1797 | <span·class="go">datetime.date(1998,·1,·16)</span> |
1798 | </pre></div> | 1798 | </pre></div> |
1799 | </div> | 1799 | </div> |
1800 | </dd></dl> | 1800 | </dd></dl> |
1801 | <dl·class="py·method"> | 1801 | <dl·class="py·method"> |
1802 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fil_PH.Provider.date_of_birth"> | 1802 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fil_PH.Provider.date_of_birth"> |
1803 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fil_PH.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1803 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fil_PH.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
Offset 1822, 19 lines modified | Offset 1822, 19 lines modified | ||
1822 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1822 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1823 | <dd·class="field-even"><p></p></dd> | 1823 | <dd·class="field-even"><p></p></dd> |
1824 | </dl> | 1824 | </dl> |
1825 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1825 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1826 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1826 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1827 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1827 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
1828 | <span·class="gp">...</span> | 1828 | <span·class="gp">...</span> |
1829 | <span·class="go">datetime.date(200 | 1829 | <span·class="go">datetime.date(2006,·10,·20)</span> |
1830 | <span·class="go">datetime.date(1996,·10,·8)</span> | ||
1831 | <span·class="go">datetime.date(1957,·8,·20)</span> | ||
1830 | <span·class="go">datetime.date(19 | 1832 | <span·class="go">datetime.date(1938,·11,·19)</span> |
1831 | <span·class="go">datetime.date(19 | 1833 | <span·class="go">datetime.date(1968,·2,·27)</span> |
1832 | <span·class="go">datetime.date(1939,·12,·21)</span> | ||
1833 | <span·class="go">datetime.date(1969,·3,·30)</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> |
Max diff block lines reached; 302274/323961 bytes (93.31%) of diff not shown. |
Offset 950, 18 lines modified | Offset 950, 18 lines modified | ||
950 | ······Provider·for·datetimes·for·fil_PH·locale | 950 | ······Provider·for·datetimes·for·fil_PH·locale |
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 | ············'AM' | ||
958 | ············'PM' | 957 | ············'PM' |
959 | ············'PM' | 958 | ············'PM' |
960 | ············'PM' | 959 | ············'PM' |
960 | ············'AM' | ||
961 | ············'PM' | 961 | ············'PM' |
962 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 962 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
963 | ··············Example: | 963 | ··············Example: |
964 | ··················‘XVII’ | 964 | ··················‘XVII’ |
965 | ··············Examples: | 965 | ··············Examples: |
966 | ············>>>·Faker.seed(0) | 966 | ············>>>·Faker.seed(0) |
967 | ············>>>·for·_·in·range(5): | 967 | ············>>>·for·_·in·range(5): |
Offset 982, 19 lines modified | Offset 982, 19 lines modified | ||
982 | ··············Returns: | 982 | ··············Returns: |
983 | ··················Date | 983 | ··················Date |
984 | ··············Examples: | 984 | ··············Examples: |
985 | ············>>>·Faker.seed(0) | 985 | ············>>>·Faker.seed(0) |
986 | ············>>>·for·_·in·range(5): | 986 | ············>>>·for·_·in·range(5): |
987 | ············...·····fake.date() | 987 | ············...·····fake.date() |
988 | ············... | 988 | ············... |
989 | ············'2017-03-27' | ||
990 | ············'201 | 989 | ············'2016-04-25' |
990 | ············'2011-07-29' | ||
991 | ············'1993-0 | 991 | ············'1993-01-25' |
992 | ············'1984-0 | 992 | ············'1984-03-15' |
993 | ············'1998-0 | 993 | ············'1998-01-16' |
994 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 994 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
995 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 995 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
996 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 996 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
997 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 997 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
998 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 998 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
999 | ··············Parameters: | 999 | ··············Parameters: |
1000 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 1000 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
Offset 1004, 19 lines modified | Offset 1004, 19 lines modified | ||
1004 | ··············Returns: | 1004 | ··············Returns: |
1005 | ··················Date | 1005 | ··················Date |
1006 | ··············Examples: | 1006 | ··············Examples: |
1007 | ············>>>·Faker.seed(0) | 1007 | ············>>>·Faker.seed(0) |
1008 | ············>>>·for·_·in·range(5): | 1008 | ············>>>·for·_·in·range(5): |
1009 | ············...·····fake.date_between() | 1009 | ············...·····fake.date_between() |
1010 | ············... | 1010 | ············... |
1011 | ············datetime.date(202 | 1011 | ············datetime.date(2020,·3,·7) |
1012 | ············datetime.date(201 | 1012 | ············datetime.date(2017,·8,·2) |
1013 | ············datetime.date(2008,·7,·20) | ||
1014 | ············datetime.date(200 | 1013 | ············datetime.date(2007,·6,·19) |
1014 | ············datetime.date(2002,·8,·13) | ||
1015 | ············datetime.date(201 | 1015 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 1024, 33 lines modified | ||
1024 | ··············Returns: | 1024 | ··············Returns: |
1025 | ··················Date | 1025 | ··················Date |
1026 | ··············Examples: | 1026 | ··············Examples: |
1027 | ············>>>·Faker.seed(0) | 1027 | ············>>>·Faker.seed(0) |
1028 | ············>>>·for·_·in·range(5): | 1028 | ············>>>·for·_·in·range(5): |
1029 | ············...·····fake.date_between_dates() | 1029 | ············...·····fake.date_between_dates() |
1030 | ············... | 1030 | ············... |
1031 | ············datetime.date(202 | 1031 | ············datetime.date(2024,·11,·6) |
1032 | ············datetime.date(202 | 1032 | ············datetime.date(2024,·11,·6) |
1033 | ············datetime.date(202 | 1033 | ············datetime.date(2024,·11,·6) |
1034 | ············datetime.date(202 | 1034 | ············datetime.date(2024,·11,·6) |
1035 | ············datetime.date(202 | 1035 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
1046 | ············datetime.date(201 | 1045 | ············datetime.date(2016,·4,·25) |
1046 | ············datetime.date(2011,·7,·29) | ||
1047 | ············datetime.date(1993,· | 1047 | ············datetime.date(1993,·1,·25) |
1048 | ············datetime.date(1984,· | 1048 | ············datetime.date(1984,·3,·15) |
1049 | ············datetime.date(1998,· | 1049 | ············datetime.date(1998,·1,·16) |
1050 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 1050 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
1051 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1051 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
1052 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 1052 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
1053 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 1053 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
1054 | ··············Parameters: | 1054 | ··············Parameters: |
1055 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. | 1055 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. |
1056 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. | 1056 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. |
Offset 1060, 19 lines modified | Offset 1060, 19 lines modified | ||
1060 | ··············Returns: | 1060 | ··············Returns: |
1061 | ··················Date | 1061 | ··················Date |
1062 | ··············Examples: | 1062 | ··············Examples: |
1063 | ············>>>·Faker.seed(0) | 1063 | ············>>>·Faker.seed(0) |
1064 | ············>>>·for·_·in·range(5): | 1064 | ············>>>·for·_·in·range(5): |
1065 | ············...·····fake.date_of_birth() | 1065 | ············...·····fake.date_of_birth() |
1066 | ············... | 1066 | ············... |
1067 | ············datetime.date(200 | 1067 | ············datetime.date(2006,·10,·20) |
1068 | ············datetime.date(1996,·10,·8) | ||
1069 | ············datetime.date(1957,·8,·20) | ||
1068 | ············datetime.date(19 | 1070 | ············datetime.date(1938,·11,·19) |
1069 | ············datetime.date(19 | 1071 | ············datetime.date(1968,·2,·27) |
1070 | ············datetime.date(1939,·12,·21) | ||
1071 | ············datetime.date(1969,·3,·30) | ||
1072 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 1072 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
1073 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1073 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
1074 | ············Gets·a·Date·object·for·the·current·century. | 1074 | ············Gets·a·Date·object·for·the·current·century. |
1075 | ··············Parameters: | 1075 | ··············Parameters: |
1076 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 1076 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
1077 | ························today | 1077 | ························today |
1078 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 1078 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 1082, 19 lines modified | Offset 1082, 19 lines modified | ||
1082 | ··············Returns: | 1082 | ··············Returns: |
1083 | ··················Date | 1083 | ··················Date |
1084 | ··············Examples: | 1084 | ··············Examples: |
1085 | ············>>>·Faker.seed(0) | 1085 | ············>>>·Faker.seed(0) |
1086 | ············>>>·for·_·in·range(5): | 1086 | ············>>>·for·_·in·range(5): |
1087 | ············...·····fake.date_this_century() | 1087 | ············...·····fake.date_this_century() |
1088 | ············... | 1088 | ············... |
1089 | ············datetime.date(2020,·12,·24) | ||
Max diff block lines reached; 204125/211277 bytes (96.61%) of diff not shown. |
Offset 1244, 18 lines modified | Offset 1244, 18 lines modified | ||
1244 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1244 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1245 | <dd·class="field-odd"><p></p></dd> | 1245 | <dd·class="field-odd"><p></p></dd> |
1246 | </dl> | 1246 | </dl> |
1247 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1247 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1248 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1248 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1249 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1249 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1250 | <span·class="gp">...</span> | 1250 | <span·class="gp">...</span> |
1251 | <span·class="go">'AM'</span> | ||
1252 | <span·class="go">'PM'</span> | 1251 | <span·class="go">'PM'</span> |
1253 | <span·class="go">'PM'</span> | 1252 | <span·class="go">'PM'</span> |
1254 | <span·class="go">'PM'</span> | 1253 | <span·class="go">'PM'</span> |
1254 | <span·class="go">'AM'</span> | ||
1255 | <span·class="go">'PM'</span> | 1255 | <span·class="go">'PM'</span> |
1256 | </pre></div> | 1256 | </pre></div> |
1257 | </div> | 1257 | </div> |
1258 | </dd></dl> | 1258 | </dd></dl> |
1259 | <dl·class="py·method"> | 1259 | <dl·class="py·method"> |
1260 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fr_CA.Provider.century"> | 1260 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fr_CA.Provider.century"> |
Offset 1297, 19 lines modified | Offset 1297, 19 lines modified | ||
1297 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1297 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1298 | <dd·class="field-even"><p></p></dd> | 1298 | <dd·class="field-even"><p></p></dd> |
1299 | </dl> | 1299 | </dl> |
1300 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1300 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1301 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1301 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1302 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1302 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
1303 | <span·class="gp">...</span> | 1303 | <span·class="gp">...</span> |
1304 | <span·class="go">'2017-03-27'</span> | ||
1305 | <span·class="go">'201 | 1304 | <span·class="go">'2016-04-25'</span> |
1305 | <span·class="go">'2011-07-29'</span> | ||
1306 | <span·class="go">'1993-0 | 1306 | <span·class="go">'1993-01-25'</span> |
1307 | <span·class="go">'1984-0 | 1307 | <span·class="go">'1984-03-15'</span> |
1308 | <span·class="go">'1998-0 | 1308 | <span·class="go">'1998-01-16'</span> |
1309 | </pre></div> | 1309 | </pre></div> |
1310 | </div> | 1310 | </div> |
1311 | </dd></dl> | 1311 | </dd></dl> |
1312 | <dl·class="py·method"> | 1312 | <dl·class="py·method"> |
1313 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fr_CA.Provider.date_between"> | 1313 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fr_CA.Provider.date_between"> |
1314 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fr_CA.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1314 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fr_CA.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 1331, 19 lines modified | Offset 1331, 19 lines modified | ||
1331 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1331 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1332 | <dd·class="field-even"><p></p></dd> | 1332 | <dd·class="field-even"><p></p></dd> |
1333 | </dl> | 1333 | </dl> |
1334 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1334 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1335 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1335 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1336 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1336 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
1337 | <span·class="gp">...</span> | 1337 | <span·class="gp">...</span> |
1338 | <span·class="go">datetime.date(202 | 1338 | <span·class="go">datetime.date(2020,·3,·7)</span> |
1339 | <span·class="go">datetime.date(201 | 1339 | <span·class="go">datetime.date(2017,·8,·2)</span> |
1340 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
1341 | <span·class="go">datetime.date(200 | 1340 | <span·class="go">datetime.date(2007,·6,·19)</span> |
1341 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
1342 | <span·class="go">datetime.date(201 | 1342 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 1369 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1370 | <span·class="go">datetime.date(202 | 1370 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1371 | <span·class="go">datetime.date(202 | 1371 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1372 | <span·class="go">datetime.date(202 | 1372 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1373 | <span·class="go">datetime.date(202 | 1373 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 1386, 19 lines modified | ||
1386 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1386 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1387 | <dd·class="field-even"><p></p></dd> | 1387 | <dd·class="field-even"><p></p></dd> |
1388 | </dl> | 1388 | </dl> |
1389 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1389 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1390 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1390 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1391 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1391 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
1392 | <span·class="gp">...</span> | 1392 | <span·class="gp">...</span> |
1393 | <span·class="go">datetime.date(2017,·3,·27)</span> | ||
1394 | <span·class="go">datetime.date(201 | 1393 | <span·class="go">datetime.date(2016,·4,·25)</span> |
1394 | <span·class="go">datetime.date(2011,·7,·29)</span> | ||
1395 | <span·class="go">datetime.date(1993,· | 1395 | <span·class="go">datetime.date(1993,·1,·25)</span> |
1396 | <span·class="go">datetime.date(1984,· | 1396 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1397 | <span·class="go">datetime.date(1998,· | 1397 | <span·class="go">datetime.date(1998,·1,·16)</span> |
1398 | </pre></div> | 1398 | </pre></div> |
1399 | </div> | 1399 | </div> |
1400 | </dd></dl> | 1400 | </dd></dl> |
1401 | <dl·class="py·method"> | 1401 | <dl·class="py·method"> |
1402 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fr_CA.Provider.date_of_birth"> | 1402 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fr_CA.Provider.date_of_birth"> |
1403 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fr_CA.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1403 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fr_CA.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
Offset 1422, 19 lines modified | Offset 1422, 19 lines modified | ||
1422 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1422 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1423 | <dd·class="field-even"><p></p></dd> | 1423 | <dd·class="field-even"><p></p></dd> |
1424 | </dl> | 1424 | </dl> |
1425 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1425 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1426 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1426 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1427 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1427 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
1428 | <span·class="gp">...</span> | 1428 | <span·class="gp">...</span> |
1429 | <span·class="go">datetime.date(200 | 1429 | <span·class="go">datetime.date(2006,·10,·20)</span> |
1430 | <span·class="go">datetime.date(1996,·10,·8)</span> | ||
1431 | <span·class="go">datetime.date(1957,·8,·20)</span> | ||
1430 | <span·class="go">datetime.date(19 | 1432 | <span·class="go">datetime.date(1938,·11,·19)</span> |
1431 | <span·class="go">datetime.date(19 | 1433 | <span·class="go">datetime.date(1968,·2,·27)</span> |
1432 | <span·class="go">datetime.date(1939,·12,·21)</span> | ||
1433 | <span·class="go">datetime.date(1969,·3,·30)</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> |
Max diff block lines reached; 98330/120006 bytes (81.94%) of diff not shown. |
Offset 787, 18 lines modified | Offset 787, 18 lines modified | ||
787 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 787 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
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 | ············'AM' | ||
795 | ············'PM' | 794 | ············'PM' |
796 | ············'PM' | 795 | ············'PM' |
797 | ············'PM' | 796 | ············'PM' |
797 | ············'AM' | ||
798 | ············'PM' | 798 | ············'PM' |
799 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 799 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
800 | ··············Example: | 800 | ··············Example: |
801 | ··················‘XVII’ | 801 | ··················‘XVII’ |
802 | ··············Examples: | 802 | ··············Examples: |
803 | ············>>>·Faker.seed(0) | 803 | ············>>>·Faker.seed(0) |
804 | ············>>>·for·_·in·range(5): | 804 | ············>>>·for·_·in·range(5): |
Offset 819, 19 lines modified | Offset 819, 19 lines modified | ||
819 | ··············Returns: | 819 | ··············Returns: |
820 | ··················Date | 820 | ··················Date |
821 | ··············Examples: | 821 | ··············Examples: |
822 | ············>>>·Faker.seed(0) | 822 | ············>>>·Faker.seed(0) |
823 | ············>>>·for·_·in·range(5): | 823 | ············>>>·for·_·in·range(5): |
824 | ············...·····fake.date() | 824 | ············...·····fake.date() |
825 | ············... | 825 | ············... |
826 | ············'2017-03-27' | ||
827 | ············'201 | 826 | ············'2016-04-25' |
827 | ············'2011-07-29' | ||
828 | ············'1993-0 | 828 | ············'1993-01-25' |
829 | ············'1984-0 | 829 | ············'1984-03-15' |
830 | ············'1998-0 | 830 | ············'1998-01-16' |
831 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 831 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
832 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 832 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
833 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 833 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
834 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 834 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
835 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 835 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
836 | ··············Parameters: | 836 | ··············Parameters: |
837 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 837 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
Offset 841, 19 lines modified | Offset 841, 19 lines modified | ||
841 | ··············Returns: | 841 | ··············Returns: |
842 | ··················Date | 842 | ··················Date |
843 | ··············Examples: | 843 | ··············Examples: |
844 | ············>>>·Faker.seed(0) | 844 | ············>>>·Faker.seed(0) |
845 | ············>>>·for·_·in·range(5): | 845 | ············>>>·for·_·in·range(5): |
846 | ············...·····fake.date_between() | 846 | ············...·····fake.date_between() |
847 | ············... | 847 | ············... |
848 | ············datetime.date(202 | 848 | ············datetime.date(2020,·3,·7) |
849 | ············datetime.date(201 | 849 | ············datetime.date(2017,·8,·2) |
850 | ············datetime.date(2008,·7,·20) | ||
851 | ············datetime.date(200 | 850 | ············datetime.date(2007,·6,·19) |
851 | ············datetime.date(2002,·8,·13) | ||
852 | ············datetime.date(201 | 852 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 861, 33 lines modified | ||
861 | ··············Returns: | 861 | ··············Returns: |
862 | ··················Date | 862 | ··················Date |
863 | ··············Examples: | 863 | ··············Examples: |
864 | ············>>>·Faker.seed(0) | 864 | ············>>>·Faker.seed(0) |
865 | ············>>>·for·_·in·range(5): | 865 | ············>>>·for·_·in·range(5): |
866 | ············...·····fake.date_between_dates() | 866 | ············...·····fake.date_between_dates() |
867 | ············... | 867 | ············... |
868 | ············datetime.date(202 | 868 | ············datetime.date(2024,·11,·6) |
869 | ············datetime.date(202 | 869 | ············datetime.date(2024,·11,·6) |
870 | ············datetime.date(202 | 870 | ············datetime.date(2024,·11,·6) |
871 | ············datetime.date(202 | 871 | ············datetime.date(2024,·11,·6) |
872 | ············datetime.date(202 | 872 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
883 | ············datetime.date(201 | 882 | ············datetime.date(2016,·4,·25) |
883 | ············datetime.date(2011,·7,·29) | ||
884 | ············datetime.date(1993,· | 884 | ············datetime.date(1993,·1,·25) |
885 | ············datetime.date(1984,· | 885 | ············datetime.date(1984,·3,·15) |
886 | ············datetime.date(1998,· | 886 | ············datetime.date(1998,·1,·16) |
887 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 887 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
888 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 888 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
889 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 889 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
890 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 890 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
891 | ··············Parameters: | 891 | ··············Parameters: |
892 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. | 892 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. |
893 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. | 893 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. |
Offset 897, 19 lines modified | Offset 897, 19 lines modified | ||
897 | ··············Returns: | 897 | ··············Returns: |
898 | ··················Date | 898 | ··················Date |
899 | ··············Examples: | 899 | ··············Examples: |
900 | ············>>>·Faker.seed(0) | 900 | ············>>>·Faker.seed(0) |
901 | ············>>>·for·_·in·range(5): | 901 | ············>>>·for·_·in·range(5): |
902 | ············...·····fake.date_of_birth() | 902 | ············...·····fake.date_of_birth() |
903 | ············... | 903 | ············... |
904 | ············datetime.date(200 | 904 | ············datetime.date(2006,·10,·20) |
905 | ············datetime.date(1996,·10,·8) | ||
906 | ············datetime.date(1957,·8,·20) | ||
905 | ············datetime.date(19 | 907 | ············datetime.date(1938,·11,·19) |
906 | ············datetime.date(19 | 908 | ············datetime.date(1968,·2,·27) |
907 | ············datetime.date(1939,·12,·21) | ||
908 | ············datetime.date(1969,·3,·30) | ||
909 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 909 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
910 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 910 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
911 | ············Gets·a·Date·object·for·the·current·century. | 911 | ············Gets·a·Date·object·for·the·current·century. |
912 | ··············Parameters: | 912 | ··············Parameters: |
913 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 913 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
914 | ························today | 914 | ························today |
915 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 915 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 919, 19 lines modified | Offset 919, 19 lines modified | ||
919 | ··············Returns: | 919 | ··············Returns: |
920 | ··················Date | 920 | ··················Date |
921 | ··············Examples: | 921 | ··············Examples: |
922 | ············>>>·Faker.seed(0) | 922 | ············>>>·Faker.seed(0) |
923 | ············>>>·for·_·in·range(5): | 923 | ············>>>·for·_·in·range(5): |
924 | ············...·····fake.date_this_century() | 924 | ············...·····fake.date_this_century() |
925 | ············... | 925 | ············... |
926 | ············datetime.date(2020,·12,·24) | ||
Max diff block lines reached; 29706/36841 bytes (80.63%) of diff not shown. |
Offset 1517, 18 lines modified | Offset 1517, 18 lines modified | ||
1517 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1517 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1518 | <dd·class="field-odd"><p></p></dd> | 1518 | <dd·class="field-odd"><p></p></dd> |
1519 | </dl> | 1519 | </dl> |
1520 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1520 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1521 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1521 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1522 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1522 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1523 | <span·class="gp">...</span> | 1523 | <span·class="gp">...</span> |
1524 | <span·class="go">'AM'</span> | ||
1525 | <span·class="go">'PM'</span> | 1524 | <span·class="go">'PM'</span> |
1526 | <span·class="go">'PM'</span> | 1525 | <span·class="go">'PM'</span> |
1527 | <span·class="go">'PM'</span> | 1526 | <span·class="go">'PM'</span> |
1527 | <span·class="go">'AM'</span> | ||
1528 | <span·class="go">'PM'</span> | 1528 | <span·class="go">'PM'</span> |
1529 | </pre></div> | 1529 | </pre></div> |
1530 | </div> | 1530 | </div> |
1531 | </dd></dl> | 1531 | </dd></dl> |
1532 | <dl·class="py·method"> | 1532 | <dl·class="py·method"> |
1533 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fr_FR.Provider.century"> | 1533 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fr_FR.Provider.century"> |
Offset 1570, 19 lines modified | Offset 1570, 19 lines modified | ||
1570 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1570 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1571 | <dd·class="field-even"><p></p></dd> | 1571 | <dd·class="field-even"><p></p></dd> |
1572 | </dl> | 1572 | </dl> |
1573 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1573 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1574 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1574 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1575 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1575 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
1576 | <span·class="gp">...</span> | 1576 | <span·class="gp">...</span> |
1577 | <span·class="go">'2017-03-27'</span> | ||
1578 | <span·class="go">'201 | 1577 | <span·class="go">'2016-04-25'</span> |
1578 | <span·class="go">'2011-07-29'</span> | ||
1579 | <span·class="go">'1993-0 | 1579 | <span·class="go">'1993-01-25'</span> |
1580 | <span·class="go">'1984-0 | 1580 | <span·class="go">'1984-03-15'</span> |
1581 | <span·class="go">'1998-0 | 1581 | <span·class="go">'1998-01-16'</span> |
1582 | </pre></div> | 1582 | </pre></div> |
1583 | </div> | 1583 | </div> |
1584 | </dd></dl> | 1584 | </dd></dl> |
1585 | <dl·class="py·method"> | 1585 | <dl·class="py·method"> |
1586 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fr_FR.Provider.date_between"> | 1586 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fr_FR.Provider.date_between"> |
1587 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fr_FR.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1587 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fr_FR.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 1604, 19 lines modified | Offset 1604, 19 lines modified | ||
1604 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1604 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1605 | <dd·class="field-even"><p></p></dd> | 1605 | <dd·class="field-even"><p></p></dd> |
1606 | </dl> | 1606 | </dl> |
1607 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1607 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1608 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1608 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1609 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1609 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
1610 | <span·class="gp">...</span> | 1610 | <span·class="gp">...</span> |
1611 | <span·class="go">datetime.date(202 | 1611 | <span·class="go">datetime.date(2020,·3,·7)</span> |
1612 | <span·class="go">datetime.date(201 | 1612 | <span·class="go">datetime.date(2017,·8,·2)</span> |
1613 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
1614 | <span·class="go">datetime.date(200 | 1613 | <span·class="go">datetime.date(2007,·6,·19)</span> |
1614 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
1615 | <span·class="go">datetime.date(201 | 1615 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 1642 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1643 | <span·class="go">datetime.date(202 | 1643 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1644 | <span·class="go">datetime.date(202 | 1644 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1645 | <span·class="go">datetime.date(202 | 1645 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1646 | <span·class="go">datetime.date(202 | 1646 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 1659, 19 lines modified | ||
1659 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1659 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1660 | <dd·class="field-even"><p></p></dd> | 1660 | <dd·class="field-even"><p></p></dd> |
1661 | </dl> | 1661 | </dl> |
1662 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1662 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1663 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1663 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1664 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1664 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
1665 | <span·class="gp">...</span> | 1665 | <span·class="gp">...</span> |
1666 | <span·class="go">datetime.date(2017,·3,·27)</span> | ||
1667 | <span·class="go">datetime.date(201 | 1666 | <span·class="go">datetime.date(2016,·4,·25)</span> |
1667 | <span·class="go">datetime.date(2011,·7,·29)</span> | ||
1668 | <span·class="go">datetime.date(1993,· | 1668 | <span·class="go">datetime.date(1993,·1,·25)</span> |
1669 | <span·class="go">datetime.date(1984,· | 1669 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1670 | <span·class="go">datetime.date(1998,· | 1670 | <span·class="go">datetime.date(1998,·1,·16)</span> |
1671 | </pre></div> | 1671 | </pre></div> |
1672 | </div> | 1672 | </div> |
1673 | </dd></dl> | 1673 | </dd></dl> |
1674 | <dl·class="py·method"> | 1674 | <dl·class="py·method"> |
1675 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fr_FR.Provider.date_of_birth"> | 1675 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.fr_FR.Provider.date_of_birth"> |
1676 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fr_FR.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1676 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.fr_FR.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
Offset 1695, 19 lines modified | Offset 1695, 19 lines modified | ||
1695 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1695 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1696 | <dd·class="field-even"><p></p></dd> | 1696 | <dd·class="field-even"><p></p></dd> |
1697 | </dl> | 1697 | </dl> |
1698 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1698 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1699 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1699 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1700 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1700 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
1701 | <span·class="gp">...</span> | 1701 | <span·class="gp">...</span> |
1702 | <span·class="go">datetime.date(200 | 1702 | <span·class="go">datetime.date(2006,·10,·20)</span> |
1703 | <span·class="go">datetime.date(1996,·10,·8)</span> | ||
1704 | <span·class="go">datetime.date(1957,·8,·20)</span> | ||
1703 | <span·class="go">datetime.date(19 | 1705 | <span·class="go">datetime.date(1938,·11,·19)</span> |
1704 | <span·class="go">datetime.date(19 | 1706 | <span·class="go">datetime.date(1968,·2,·27)</span> |
1705 | <span·class="go">datetime.date(1939,·12,·21)</span> | ||
1706 | <span·class="go">datetime.date(1969,·3,·30)</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> |
Max diff block lines reached; 98337/120013 bytes (81.94%) of diff not shown. |
Offset 892, 18 lines modified | Offset 892, 18 lines modified | ||
892 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 892 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
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 | ············'AM' | ||
900 | ············'PM' | 899 | ············'PM' |
901 | ············'PM' | 900 | ············'PM' |
902 | ············'PM' | 901 | ············'PM' |
902 | ············'AM' | ||
903 | ············'PM' | 903 | ············'PM' |
904 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 904 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
905 | ··············Example: | 905 | ··············Example: |
906 | ··················‘XVII’ | 906 | ··················‘XVII’ |
907 | ··············Examples: | 907 | ··············Examples: |
908 | ············>>>·Faker.seed(0) | 908 | ············>>>·Faker.seed(0) |
909 | ············>>>·for·_·in·range(5): | 909 | ············>>>·for·_·in·range(5): |
Offset 924, 19 lines modified | Offset 924, 19 lines modified | ||
924 | ··············Returns: | 924 | ··············Returns: |
925 | ··················Date | 925 | ··················Date |
926 | ··············Examples: | 926 | ··············Examples: |
927 | ············>>>·Faker.seed(0) | 927 | ············>>>·Faker.seed(0) |
928 | ············>>>·for·_·in·range(5): | 928 | ············>>>·for·_·in·range(5): |
929 | ············...·····fake.date() | 929 | ············...·····fake.date() |
930 | ············... | 930 | ············... |
931 | ············'2017-03-27' | ||
932 | ············'201 | 931 | ············'2016-04-25' |
932 | ············'2011-07-29' | ||
933 | ············'1993-0 | 933 | ············'1993-01-25' |
934 | ············'1984-0 | 934 | ············'1984-03-15' |
935 | ············'1998-0 | 935 | ············'1998-01-16' |
936 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 936 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
937 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 937 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
938 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 938 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
939 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 939 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
940 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 940 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
941 | ··············Parameters: | 941 | ··············Parameters: |
942 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 942 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
Offset 946, 19 lines modified | Offset 946, 19 lines modified | ||
946 | ··············Returns: | 946 | ··············Returns: |
947 | ··················Date | 947 | ··················Date |
948 | ··············Examples: | 948 | ··············Examples: |
949 | ············>>>·Faker.seed(0) | 949 | ············>>>·Faker.seed(0) |
950 | ············>>>·for·_·in·range(5): | 950 | ············>>>·for·_·in·range(5): |
951 | ············...·····fake.date_between() | 951 | ············...·····fake.date_between() |
952 | ············... | 952 | ············... |
953 | ············datetime.date(202 | 953 | ············datetime.date(2020,·3,·7) |
954 | ············datetime.date(201 | 954 | ············datetime.date(2017,·8,·2) |
955 | ············datetime.date(2008,·7,·20) | ||
956 | ············datetime.date(200 | 955 | ············datetime.date(2007,·6,·19) |
956 | ············datetime.date(2002,·8,·13) | ||
957 | ············datetime.date(201 | 957 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 966, 33 lines modified | ||
966 | ··············Returns: | 966 | ··············Returns: |
967 | ··················Date | 967 | ··················Date |
968 | ··············Examples: | 968 | ··············Examples: |
969 | ············>>>·Faker.seed(0) | 969 | ············>>>·Faker.seed(0) |
970 | ············>>>·for·_·in·range(5): | 970 | ············>>>·for·_·in·range(5): |
971 | ············...·····fake.date_between_dates() | 971 | ············...·····fake.date_between_dates() |
972 | ············... | 972 | ············... |
973 | ············datetime.date(202 | 973 | ············datetime.date(2024,·11,·6) |
974 | ············datetime.date(202 | 974 | ············datetime.date(2024,·11,·6) |
975 | ············datetime.date(202 | 975 | ············datetime.date(2024,·11,·6) |
976 | ············datetime.date(202 | 976 | ············datetime.date(2024,·11,·6) |
977 | ············datetime.date(202 | 977 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
988 | ············datetime.date(201 | 987 | ············datetime.date(2016,·4,·25) |
988 | ············datetime.date(2011,·7,·29) | ||
989 | ············datetime.date(1993,· | 989 | ············datetime.date(1993,·1,·25) |
990 | ············datetime.date(1984,· | 990 | ············datetime.date(1984,·3,·15) |
991 | ············datetime.date(1998,· | 991 | ············datetime.date(1998,·1,·16) |
992 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 992 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
993 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 993 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
994 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 994 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
995 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 995 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
996 | ··············Parameters: | 996 | ··············Parameters: |
997 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. | 997 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. |
998 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. | 998 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. |
Offset 1002, 19 lines modified | Offset 1002, 19 lines modified | ||
1002 | ··············Returns: | 1002 | ··············Returns: |
1003 | ··················Date | 1003 | ··················Date |
1004 | ··············Examples: | 1004 | ··············Examples: |
1005 | ············>>>·Faker.seed(0) | 1005 | ············>>>·Faker.seed(0) |
1006 | ············>>>·for·_·in·range(5): | 1006 | ············>>>·for·_·in·range(5): |
1007 | ············...·····fake.date_of_birth() | 1007 | ············...·····fake.date_of_birth() |
1008 | ············... | 1008 | ············... |
1009 | ············datetime.date(200 | 1009 | ············datetime.date(2006,·10,·20) |
1010 | ············datetime.date(1996,·10,·8) | ||
1011 | ············datetime.date(1957,·8,·20) | ||
1010 | ············datetime.date(19 | 1012 | ············datetime.date(1938,·11,·19) |
1011 | ············datetime.date(19 | 1013 | ············datetime.date(1968,·2,·27) |
1012 | ············datetime.date(1939,·12,·21) | ||
1013 | ············datetime.date(1969,·3,·30) | ||
1014 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 1014 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
1015 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1015 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
1016 | ············Gets·a·Date·object·for·the·current·century. | 1016 | ············Gets·a·Date·object·for·the·current·century. |
1017 | ··············Parameters: | 1017 | ··············Parameters: |
1018 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 1018 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
1019 | ························today | 1019 | ························today |
1020 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 1020 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 1024, 19 lines modified | Offset 1024, 19 lines modified | ||
1024 | ··············Returns: | 1024 | ··············Returns: |
1025 | ··················Date | 1025 | ··················Date |
1026 | ··············Examples: | 1026 | ··············Examples: |
1027 | ············>>>·Faker.seed(0) | 1027 | ············>>>·Faker.seed(0) |
1028 | ············>>>·for·_·in·range(5): | 1028 | ············>>>·for·_·in·range(5): |
1029 | ············...·····fake.date_this_century() | 1029 | ············...·····fake.date_this_century() |
1030 | ············... | 1030 | ············... |
1031 | ············datetime.date(2020,·12,·24) | ||
Max diff block lines reached; 29736/36875 bytes (80.64%) of diff not shown. |
Offset 389, 18 lines modified | Offset 389, 18 lines modified | ||
389 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 389 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
390 | <dd·class="field-odd"><p></p></dd> | 390 | <dd·class="field-odd"><p></p></dd> |
391 | </dl> | 391 | </dl> |
392 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 392 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
393 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 393 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
394 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 394 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
395 | <span·class="gp">...</span> | 395 | <span·class="gp">...</span> |
396 | <span·class="go">'AM'</span> | ||
397 | <span·class="go">'PM'</span> | 396 | <span·class="go">'PM'</span> |
398 | <span·class="go">'PM'</span> | 397 | <span·class="go">'PM'</span> |
399 | <span·class="go">'PM'</span> | 398 | <span·class="go">'PM'</span> |
399 | <span·class="go">'AM'</span> | ||
400 | <span·class="go">'PM'</span> | 400 | <span·class="go">'PM'</span> |
401 | </pre></div> | 401 | </pre></div> |
402 | </div> | 402 | </div> |
403 | </dd></dl> | 403 | </dd></dl> |
404 | <dl·class="py·method"> | 404 | <dl·class="py·method"> |
405 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hi_IN.Provider.century"> | 405 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hi_IN.Provider.century"> |
Offset 442, 19 lines modified | Offset 442, 19 lines modified | ||
442 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 442 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
443 | <dd·class="field-even"><p></p></dd> | 443 | <dd·class="field-even"><p></p></dd> |
444 | </dl> | 444 | </dl> |
445 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 445 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
446 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 446 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
447 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 447 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
448 | <span·class="gp">...</span> | 448 | <span·class="gp">...</span> |
449 | <span·class="go">'2017-03-27'</span> | ||
450 | <span·class="go">'201 | 449 | <span·class="go">'2016-04-25'</span> |
450 | <span·class="go">'2011-07-29'</span> | ||
451 | <span·class="go">'1993-0 | 451 | <span·class="go">'1993-01-25'</span> |
452 | <span·class="go">'1984-0 | 452 | <span·class="go">'1984-03-15'</span> |
453 | <span·class="go">'1998-0 | 453 | <span·class="go">'1998-01-16'</span> |
454 | </pre></div> | 454 | </pre></div> |
455 | </div> | 455 | </div> |
456 | </dd></dl> | 456 | </dd></dl> |
457 | <dl·class="py·method"> | 457 | <dl·class="py·method"> |
458 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hi_IN.Provider.date_between"> | 458 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hi_IN.Provider.date_between"> |
459 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hi_IN.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 459 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hi_IN.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 476, 19 lines modified | Offset 476, 19 lines modified | ||
476 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 476 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
477 | <dd·class="field-even"><p></p></dd> | 477 | <dd·class="field-even"><p></p></dd> |
478 | </dl> | 478 | </dl> |
479 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 479 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
480 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 480 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
481 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 481 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
482 | <span·class="gp">...</span> | 482 | <span·class="gp">...</span> |
483 | <span·class="go">datetime.date(202 | 483 | <span·class="go">datetime.date(2020,·3,·7)</span> |
484 | <span·class="go">datetime.date(201 | 484 | <span·class="go">datetime.date(2017,·8,·2)</span> |
485 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
486 | <span·class="go">datetime.date(200 | 485 | <span·class="go">datetime.date(2007,·6,·19)</span> |
486 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
487 | <span·class="go">datetime.date(201 | 487 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 514 | <span·class="go">datetime.date(2024,·11,·6)</span> |
515 | <span·class="go">datetime.date(202 | 515 | <span·class="go">datetime.date(2024,·11,·6)</span> |
516 | <span·class="go">datetime.date(202 | 516 | <span·class="go">datetime.date(2024,·11,·6)</span> |
517 | <span·class="go">datetime.date(202 | 517 | <span·class="go">datetime.date(2024,·11,·6)</span> |
518 | <span·class="go">datetime.date(202 | 518 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 531, 19 lines modified | ||
531 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 531 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
532 | <dd·class="field-even"><p></p></dd> | 532 | <dd·class="field-even"><p></p></dd> |
533 | </dl> | 533 | </dl> |
534 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 534 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
535 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 535 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
536 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 536 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
537 | <span·class="gp">...</span> | 537 | <span·class="gp">...</span> |
538 | <span·class="go">datetime.date(2017,·3,·27)</span> | ||
539 | <span·class="go">datetime.date(201 | 538 | <span·class="go">datetime.date(2016,·4,·25)</span> |
539 | <span·class="go">datetime.date(2011,·7,·29)</span> | ||
540 | <span·class="go">datetime.date(1993,· | 540 | <span·class="go">datetime.date(1993,·1,·25)</span> |
541 | <span·class="go">datetime.date(1984,· | 541 | <span·class="go">datetime.date(1984,·3,·15)</span> |
542 | <span·class="go">datetime.date(1998,· | 542 | <span·class="go">datetime.date(1998,·1,·16)</span> |
543 | </pre></div> | 543 | </pre></div> |
544 | </div> | 544 | </div> |
545 | </dd></dl> | 545 | </dd></dl> |
546 | <dl·class="py·method"> | 546 | <dl·class="py·method"> |
547 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hi_IN.Provider.date_of_birth"> | 547 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hi_IN.Provider.date_of_birth"> |
548 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hi_IN.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 548 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hi_IN.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
Offset 567, 19 lines modified | Offset 567, 19 lines modified | ||
567 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 567 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
568 | <dd·class="field-even"><p></p></dd> | 568 | <dd·class="field-even"><p></p></dd> |
569 | </dl> | 569 | </dl> |
570 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 570 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
571 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 571 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
572 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 572 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
573 | <span·class="gp">...</span> | 573 | <span·class="gp">...</span> |
574 | <span·class="go">datetime.date(200 | 574 | <span·class="go">datetime.date(2006,·10,·20)</span> |
575 | <span·class="go">datetime.date(1996,·10,·8)</span> | ||
576 | <span·class="go">datetime.date(1957,·8,·20)</span> | ||
575 | <span·class="go">datetime.date(19 | 577 | <span·class="go">datetime.date(1938,·11,·19)</span> |
576 | <span·class="go">datetime.date(19 | 578 | <span·class="go">datetime.date(1968,·2,·27)</span> |
577 | <span·class="go">datetime.date(1939,·12,·21)</span> | ||
578 | <span·class="go">datetime.date(1969,·3,·30)</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> |
Max diff block lines reached; 98312/119974 bytes (81.94%) of diff not shown. |
Offset 195, 18 lines modified | Offset 195, 18 lines modified | ||
195 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 195 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
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 | ············'AM' | ||
203 | ············'PM' | 202 | ············'PM' |
204 | ············'PM' | 203 | ············'PM' |
205 | ············'PM' | 204 | ············'PM' |
205 | ············'AM' | ||
206 | ············'PM' | 206 | ············'PM' |
207 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 207 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
208 | ··············Example: | 208 | ··············Example: |
209 | ··················‘XVII’ | 209 | ··················‘XVII’ |
210 | ··············Examples: | 210 | ··············Examples: |
211 | ············>>>·Faker.seed(0) | 211 | ············>>>·Faker.seed(0) |
212 | ············>>>·for·_·in·range(5): | 212 | ············>>>·for·_·in·range(5): |
Offset 227, 19 lines modified | Offset 227, 19 lines modified | ||
227 | ··············Returns: | 227 | ··············Returns: |
228 | ··················Date | 228 | ··················Date |
229 | ··············Examples: | 229 | ··············Examples: |
230 | ············>>>·Faker.seed(0) | 230 | ············>>>·Faker.seed(0) |
231 | ············>>>·for·_·in·range(5): | 231 | ············>>>·for·_·in·range(5): |
232 | ············...·····fake.date() | 232 | ············...·····fake.date() |
233 | ············... | 233 | ············... |
234 | ············'2017-03-27' | ||
235 | ············'201 | 234 | ············'2016-04-25' |
235 | ············'2011-07-29' | ||
236 | ············'1993-0 | 236 | ············'1993-01-25' |
237 | ············'1984-0 | 237 | ············'1984-03-15' |
238 | ············'1998-0 | 238 | ············'1998-01-16' |
239 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 239 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
240 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 240 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
241 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 241 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
242 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 242 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
243 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 243 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
244 | ··············Parameters: | 244 | ··············Parameters: |
245 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 245 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
Offset 249, 19 lines modified | Offset 249, 19 lines modified | ||
249 | ··············Returns: | 249 | ··············Returns: |
250 | ··················Date | 250 | ··················Date |
251 | ··············Examples: | 251 | ··············Examples: |
252 | ············>>>·Faker.seed(0) | 252 | ············>>>·Faker.seed(0) |
253 | ············>>>·for·_·in·range(5): | 253 | ············>>>·for·_·in·range(5): |
254 | ············...·····fake.date_between() | 254 | ············...·····fake.date_between() |
255 | ············... | 255 | ············... |
256 | ············datetime.date(202 | 256 | ············datetime.date(2020,·3,·7) |
257 | ············datetime.date(201 | 257 | ············datetime.date(2017,·8,·2) |
258 | ············datetime.date(2008,·7,·20) | ||
259 | ············datetime.date(200 | 258 | ············datetime.date(2007,·6,·19) |
259 | ············datetime.date(2002,·8,·13) | ||
260 | ············datetime.date(201 | 260 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 269, 33 lines modified | ||
269 | ··············Returns: | 269 | ··············Returns: |
270 | ··················Date | 270 | ··················Date |
271 | ··············Examples: | 271 | ··············Examples: |
272 | ············>>>·Faker.seed(0) | 272 | ············>>>·Faker.seed(0) |
273 | ············>>>·for·_·in·range(5): | 273 | ············>>>·for·_·in·range(5): |
274 | ············...·····fake.date_between_dates() | 274 | ············...·····fake.date_between_dates() |
275 | ············... | 275 | ············... |
276 | ············datetime.date(202 | 276 | ············datetime.date(2024,·11,·6) |
277 | ············datetime.date(202 | 277 | ············datetime.date(2024,·11,·6) |
278 | ············datetime.date(202 | 278 | ············datetime.date(2024,·11,·6) |
279 | ············datetime.date(202 | 279 | ············datetime.date(2024,·11,·6) |
280 | ············datetime.date(202 | 280 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
291 | ············datetime.date(201 | 290 | ············datetime.date(2016,·4,·25) |
291 | ············datetime.date(2011,·7,·29) | ||
292 | ············datetime.date(1993,· | 292 | ············datetime.date(1993,·1,·25) |
293 | ············datetime.date(1984,· | 293 | ············datetime.date(1984,·3,·15) |
294 | ············datetime.date(1998,· | 294 | ············datetime.date(1998,·1,·16) |
295 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 295 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
296 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 296 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
297 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 297 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
298 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 298 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
299 | ··············Parameters: | 299 | ··············Parameters: |
300 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. | 300 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. |
301 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. | 301 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. |
Offset 305, 19 lines modified | Offset 305, 19 lines modified | ||
305 | ··············Returns: | 305 | ··············Returns: |
306 | ··················Date | 306 | ··················Date |
307 | ··············Examples: | 307 | ··············Examples: |
308 | ············>>>·Faker.seed(0) | 308 | ············>>>·Faker.seed(0) |
309 | ············>>>·for·_·in·range(5): | 309 | ············>>>·for·_·in·range(5): |
310 | ············...·····fake.date_of_birth() | 310 | ············...·····fake.date_of_birth() |
311 | ············... | 311 | ············... |
312 | ············datetime.date(200 | 312 | ············datetime.date(2006,·10,·20) |
313 | ············datetime.date(1996,·10,·8) | ||
314 | ············datetime.date(1957,·8,·20) | ||
313 | ············datetime.date(19 | 315 | ············datetime.date(1938,·11,·19) |
314 | ············datetime.date(19 | 316 | ············datetime.date(1968,·2,·27) |
315 | ············datetime.date(1939,·12,·21) | ||
316 | ············datetime.date(1969,·3,·30) | ||
317 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 317 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
318 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 318 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
319 | ············Gets·a·Date·object·for·the·current·century. | 319 | ············Gets·a·Date·object·for·the·current·century. |
320 | ··············Parameters: | 320 | ··············Parameters: |
321 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 321 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
322 | ························today | 322 | ························today |
323 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 323 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 327, 19 lines modified | Offset 327, 19 lines modified | ||
327 | ··············Returns: | 327 | ··············Returns: |
328 | ··················Date | 328 | ··················Date |
329 | ··············Examples: | 329 | ··············Examples: |
330 | ············>>>·Faker.seed(0) | 330 | ············>>>·Faker.seed(0) |
331 | ············>>>·for·_·in·range(5): | 331 | ············>>>·for·_·in·range(5): |
332 | ············...·····fake.date_this_century() | 332 | ············...·····fake.date_this_century() |
333 | ············... | 333 | ············... |
334 | ············datetime.date(2020,·12,·24) | ||
Max diff block lines reached; 29682/36817 bytes (80.62%) of diff not shown. |
Offset 809, 18 lines modified | Offset 809, 18 lines modified | ||
809 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 809 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
810 | <dd·class="field-odd"><p></p></dd> | 810 | <dd·class="field-odd"><p></p></dd> |
811 | </dl> | 811 | </dl> |
812 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 812 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
813 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 813 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
814 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 814 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
815 | <span·class="gp">...</span> | 815 | <span·class="gp">...</span> |
816 | <span·class="go">'AM'</span> | ||
817 | <span·class="go">'PM'</span> | 816 | <span·class="go">'PM'</span> |
818 | <span·class="go">'PM'</span> | 817 | <span·class="go">'PM'</span> |
819 | <span·class="go">'PM'</span> | 818 | <span·class="go">'PM'</span> |
819 | <span·class="go">'AM'</span> | ||
820 | <span·class="go">'PM'</span> | 820 | <span·class="go">'PM'</span> |
821 | </pre></div> | 821 | </pre></div> |
822 | </div> | 822 | </div> |
823 | </dd></dl> | 823 | </dd></dl> |
824 | <dl·class="py·method"> | 824 | <dl·class="py·method"> |
825 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hr_HR.Provider.century"> | 825 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hr_HR.Provider.century"> |
Offset 862, 19 lines modified | Offset 862, 19 lines modified | ||
862 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 862 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
863 | <dd·class="field-even"><p></p></dd> | 863 | <dd·class="field-even"><p></p></dd> |
864 | </dl> | 864 | </dl> |
865 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 865 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
866 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 866 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
867 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 867 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
868 | <span·class="gp">...</span> | 868 | <span·class="gp">...</span> |
869 | <span·class="go">'2017-03-27'</span> | ||
870 | <span·class="go">'201 | 869 | <span·class="go">'2016-04-25'</span> |
870 | <span·class="go">'2011-07-29'</span> | ||
871 | <span·class="go">'1993-0 | 871 | <span·class="go">'1993-01-25'</span> |
872 | <span·class="go">'1984-0 | 872 | <span·class="go">'1984-03-15'</span> |
873 | <span·class="go">'1998-0 | 873 | <span·class="go">'1998-01-16'</span> |
874 | </pre></div> | 874 | </pre></div> |
875 | </div> | 875 | </div> |
876 | </dd></dl> | 876 | </dd></dl> |
877 | <dl·class="py·method"> | 877 | <dl·class="py·method"> |
878 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hr_HR.Provider.date_between"> | 878 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hr_HR.Provider.date_between"> |
879 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hr_HR.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 879 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hr_HR.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 896, 19 lines modified | Offset 896, 19 lines modified | ||
896 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 896 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
897 | <dd·class="field-even"><p></p></dd> | 897 | <dd·class="field-even"><p></p></dd> |
898 | </dl> | 898 | </dl> |
899 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 899 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
900 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 900 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
901 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 901 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
902 | <span·class="gp">...</span> | 902 | <span·class="gp">...</span> |
903 | <span·class="go">datetime.date(202 | 903 | <span·class="go">datetime.date(2020,·3,·7)</span> |
904 | <span·class="go">datetime.date(201 | 904 | <span·class="go">datetime.date(2017,·8,·2)</span> |
905 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
906 | <span·class="go">datetime.date(200 | 905 | <span·class="go">datetime.date(2007,·6,·19)</span> |
906 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
907 | <span·class="go">datetime.date(201 | 907 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 934 | <span·class="go">datetime.date(2024,·11,·6)</span> |
935 | <span·class="go">datetime.date(202 | 935 | <span·class="go">datetime.date(2024,·11,·6)</span> |
936 | <span·class="go">datetime.date(202 | 936 | <span·class="go">datetime.date(2024,·11,·6)</span> |
937 | <span·class="go">datetime.date(202 | 937 | <span·class="go">datetime.date(2024,·11,·6)</span> |
938 | <span·class="go">datetime.date(202 | 938 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 951, 19 lines modified | ||
951 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 951 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
952 | <dd·class="field-even"><p></p></dd> | 952 | <dd·class="field-even"><p></p></dd> |
953 | </dl> | 953 | </dl> |
954 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 954 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
955 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 955 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
956 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 956 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
957 | <span·class="gp">...</span> | 957 | <span·class="gp">...</span> |
958 | <span·class="go">datetime.date(2017,·3,·27)</span> | ||
959 | <span·class="go">datetime.date(201 | 958 | <span·class="go">datetime.date(2016,·4,·25)</span> |
959 | <span·class="go">datetime.date(2011,·7,·29)</span> | ||
960 | <span·class="go">datetime.date(1993,· | 960 | <span·class="go">datetime.date(1993,·1,·25)</span> |
961 | <span·class="go">datetime.date(1984,· | 961 | <span·class="go">datetime.date(1984,·3,·15)</span> |
962 | <span·class="go">datetime.date(1998,· | 962 | <span·class="go">datetime.date(1998,·1,·16)</span> |
963 | </pre></div> | 963 | </pre></div> |
964 | </div> | 964 | </div> |
965 | </dd></dl> | 965 | </dd></dl> |
966 | <dl·class="py·method"> | 966 | <dl·class="py·method"> |
967 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hr_HR.Provider.date_of_birth"> | 967 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hr_HR.Provider.date_of_birth"> |
968 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hr_HR.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 968 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hr_HR.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
Offset 987, 19 lines modified | Offset 987, 19 lines modified | ||
987 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 987 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
988 | <dd·class="field-even"><p></p></dd> | 988 | <dd·class="field-even"><p></p></dd> |
989 | </dl> | 989 | </dl> |
990 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 990 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
991 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 991 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
992 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 992 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
993 | <span·class="gp">...</span> | 993 | <span·class="gp">...</span> |
994 | <span·class="go">datetime.date(200 | 994 | <span·class="go">datetime.date(2006,·10,·20)</span> |
995 | <span·class="go">datetime.date(1996,·10,·8)</span> | ||
996 | <span·class="go">datetime.date(1957,·8,·20)</span> | ||
995 | <span·class="go">datetime.date(19 | 997 | <span·class="go">datetime.date(1938,·11,·19)</span> |
996 | <span·class="go">datetime.date(19 | 998 | <span·class="go">datetime.date(1968,·2,·27)</span> |
997 | <span·class="go">datetime.date(1939,·12,·21)</span> | ||
998 | <span·class="go">datetime.date(1969,·3,·30)</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> |
Max diff block lines reached; 98367/120031 bytes (81.95%) of diff not shown. |
Offset 458, 18 lines modified | Offset 458, 18 lines modified | ||
458 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 458 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
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 | ············'AM' | ||
466 | ············'PM' | 465 | ············'PM' |
467 | ············'PM' | 466 | ············'PM' |
468 | ············'PM' | 467 | ············'PM' |
468 | ············'AM' | ||
469 | ············'PM' | 469 | ············'PM' |
470 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 470 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
471 | ··············Example: | 471 | ··············Example: |
472 | ··················‘XVII’ | 472 | ··················‘XVII’ |
473 | ··············Examples: | 473 | ··············Examples: |
474 | ············>>>·Faker.seed(0) | 474 | ············>>>·Faker.seed(0) |
475 | ············>>>·for·_·in·range(5): | 475 | ············>>>·for·_·in·range(5): |
Offset 490, 19 lines modified | Offset 490, 19 lines modified | ||
490 | ··············Returns: | 490 | ··············Returns: |
491 | ··················Date | 491 | ··················Date |
492 | ··············Examples: | 492 | ··············Examples: |
493 | ············>>>·Faker.seed(0) | 493 | ············>>>·Faker.seed(0) |
494 | ············>>>·for·_·in·range(5): | 494 | ············>>>·for·_·in·range(5): |
495 | ············...·····fake.date() | 495 | ············...·····fake.date() |
496 | ············... | 496 | ············... |
497 | ············'2017-03-27' | ||
498 | ············'201 | 497 | ············'2016-04-25' |
498 | ············'2011-07-29' | ||
499 | ············'1993-0 | 499 | ············'1993-01-25' |
500 | ············'1984-0 | 500 | ············'1984-03-15' |
501 | ············'1998-0 | 501 | ············'1998-01-16' |
502 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 502 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
503 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 503 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
504 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 504 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
505 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 505 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
506 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 506 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
507 | ··············Parameters: | 507 | ··············Parameters: |
508 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 508 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
Offset 512, 19 lines modified | Offset 512, 19 lines modified | ||
512 | ··············Returns: | 512 | ··············Returns: |
513 | ··················Date | 513 | ··················Date |
514 | ··············Examples: | 514 | ··············Examples: |
515 | ············>>>·Faker.seed(0) | 515 | ············>>>·Faker.seed(0) |
516 | ············>>>·for·_·in·range(5): | 516 | ············>>>·for·_·in·range(5): |
517 | ············...·····fake.date_between() | 517 | ············...·····fake.date_between() |
518 | ············... | 518 | ············... |
519 | ············datetime.date(202 | 519 | ············datetime.date(2020,·3,·7) |
520 | ············datetime.date(201 | 520 | ············datetime.date(2017,·8,·2) |
521 | ············datetime.date(2008,·7,·20) | ||
522 | ············datetime.date(200 | 521 | ············datetime.date(2007,·6,·19) |
522 | ············datetime.date(2002,·8,·13) | ||
523 | ············datetime.date(201 | 523 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 532, 33 lines modified | ||
532 | ··············Returns: | 532 | ··············Returns: |
533 | ··················Date | 533 | ··················Date |
534 | ··············Examples: | 534 | ··············Examples: |
535 | ············>>>·Faker.seed(0) | 535 | ············>>>·Faker.seed(0) |
536 | ············>>>·for·_·in·range(5): | 536 | ············>>>·for·_·in·range(5): |
537 | ············...·····fake.date_between_dates() | 537 | ············...·····fake.date_between_dates() |
538 | ············... | 538 | ············... |
539 | ············datetime.date(202 | 539 | ············datetime.date(2024,·11,·6) |
540 | ············datetime.date(202 | 540 | ············datetime.date(2024,·11,·6) |
541 | ············datetime.date(202 | 541 | ············datetime.date(2024,·11,·6) |
542 | ············datetime.date(202 | 542 | ············datetime.date(2024,·11,·6) |
543 | ············datetime.date(202 | 543 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
554 | ············datetime.date(201 | 553 | ············datetime.date(2016,·4,·25) |
554 | ············datetime.date(2011,·7,·29) | ||
555 | ············datetime.date(1993,· | 555 | ············datetime.date(1993,·1,·25) |
556 | ············datetime.date(1984,· | 556 | ············datetime.date(1984,·3,·15) |
557 | ············datetime.date(1998,· | 557 | ············datetime.date(1998,·1,·16) |
558 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 558 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
559 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 559 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
560 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 560 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
561 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 561 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
562 | ··············Parameters: | 562 | ··············Parameters: |
563 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. | 563 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. |
564 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. | 564 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. |
Offset 568, 19 lines modified | Offset 568, 19 lines modified | ||
568 | ··············Returns: | 568 | ··············Returns: |
569 | ··················Date | 569 | ··················Date |
570 | ··············Examples: | 570 | ··············Examples: |
571 | ············>>>·Faker.seed(0) | 571 | ············>>>·Faker.seed(0) |
572 | ············>>>·for·_·in·range(5): | 572 | ············>>>·for·_·in·range(5): |
573 | ············...·····fake.date_of_birth() | 573 | ············...·····fake.date_of_birth() |
574 | ············... | 574 | ············... |
575 | ············datetime.date(200 | 575 | ············datetime.date(2006,·10,·20) |
576 | ············datetime.date(1996,·10,·8) | ||
577 | ············datetime.date(1957,·8,·20) | ||
576 | ············datetime.date(19 | 578 | ············datetime.date(1938,·11,·19) |
577 | ············datetime.date(19 | 579 | ············datetime.date(1968,·2,·27) |
578 | ············datetime.date(1939,·12,·21) | ||
579 | ············datetime.date(1969,·3,·30) | ||
580 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 580 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
581 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 581 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
582 | ············Gets·a·Date·object·for·the·current·century. | 582 | ············Gets·a·Date·object·for·the·current·century. |
583 | ··············Parameters: | 583 | ··············Parameters: |
584 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 584 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
585 | ························today | 585 | ························today |
586 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 586 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 590, 19 lines modified | Offset 590, 19 lines modified | ||
590 | ··············Returns: | 590 | ··············Returns: |
591 | ··················Date | 591 | ··················Date |
592 | ··············Examples: | 592 | ··············Examples: |
593 | ············>>>·Faker.seed(0) | 593 | ············>>>·Faker.seed(0) |
594 | ············>>>·for·_·in·range(5): | 594 | ············>>>·for·_·in·range(5): |
595 | ············...·····fake.date_this_century() | 595 | ············...·····fake.date_this_century() |
596 | ············... | 596 | ············... |
597 | ············datetime.date(2020,·12,·24) | ||
Max diff block lines reached; 29736/36871 bytes (80.65%) of diff not shown. |
Offset 945, 18 lines modified | Offset 945, 18 lines modified | ||
945 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 945 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
946 | <dd·class="field-odd"><p></p></dd> | 946 | <dd·class="field-odd"><p></p></dd> |
947 | </dl> | 947 | </dl> |
948 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 948 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
949 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 949 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
950 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 950 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
951 | <span·class="gp">...</span> | 951 | <span·class="gp">...</span> |
952 | <span·class="go">'AM'</span> | ||
953 | <span·class="go">'PM'</span> | 952 | <span·class="go">'PM'</span> |
954 | <span·class="go">'PM'</span> | 953 | <span·class="go">'PM'</span> |
955 | <span·class="go">'PM'</span> | 954 | <span·class="go">'PM'</span> |
955 | <span·class="go">'AM'</span> | ||
956 | <span·class="go">'PM'</span> | 956 | <span·class="go">'PM'</span> |
957 | </pre></div> | 957 | </pre></div> |
958 | </div> | 958 | </div> |
959 | </dd></dl> | 959 | </dd></dl> |
960 | <dl·class="py·method"> | 960 | <dl·class="py·method"> |
961 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hu_HU.Provider.century"> | 961 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hu_HU.Provider.century"> |
Offset 998, 19 lines modified | Offset 998, 19 lines modified | ||
998 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 998 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
999 | <dd·class="field-even"><p></p></dd> | 999 | <dd·class="field-even"><p></p></dd> |
1000 | </dl> | 1000 | </dl> |
1001 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1001 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1002 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1002 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1003 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1003 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
1004 | <span·class="gp">...</span> | 1004 | <span·class="gp">...</span> |
1005 | <span·class="go">'2017-03-27'</span> | ||
1006 | <span·class="go">'201 | 1005 | <span·class="go">'2016-04-25'</span> |
1006 | <span·class="go">'2011-07-29'</span> | ||
1007 | <span·class="go">'1993-0 | 1007 | <span·class="go">'1993-01-25'</span> |
1008 | <span·class="go">'1984-0 | 1008 | <span·class="go">'1984-03-15'</span> |
1009 | <span·class="go">'1998-0 | 1009 | <span·class="go">'1998-01-16'</span> |
1010 | </pre></div> | 1010 | </pre></div> |
1011 | </div> | 1011 | </div> |
1012 | </dd></dl> | 1012 | </dd></dl> |
1013 | <dl·class="py·method"> | 1013 | <dl·class="py·method"> |
1014 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hu_HU.Provider.date_between"> | 1014 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hu_HU.Provider.date_between"> |
1015 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hu_HU.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1015 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hu_HU.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 1032, 19 lines modified | Offset 1032, 19 lines modified | ||
1032 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1032 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1033 | <dd·class="field-even"><p></p></dd> | 1033 | <dd·class="field-even"><p></p></dd> |
1034 | </dl> | 1034 | </dl> |
1035 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1035 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1036 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1036 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1037 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1037 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
1038 | <span·class="gp">...</span> | 1038 | <span·class="gp">...</span> |
1039 | <span·class="go">datetime.date(202 | 1039 | <span·class="go">datetime.date(2020,·3,·7)</span> |
1040 | <span·class="go">datetime.date(201 | 1040 | <span·class="go">datetime.date(2017,·8,·2)</span> |
1041 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
1042 | <span·class="go">datetime.date(200 | 1041 | <span·class="go">datetime.date(2007,·6,·19)</span> |
1042 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
1043 | <span·class="go">datetime.date(201 | 1043 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 1070 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1071 | <span·class="go">datetime.date(202 | 1071 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1072 | <span·class="go">datetime.date(202 | 1072 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1073 | <span·class="go">datetime.date(202 | 1073 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1074 | <span·class="go">datetime.date(202 | 1074 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 1087, 19 lines modified | ||
1087 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1087 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1088 | <dd·class="field-even"><p></p></dd> | 1088 | <dd·class="field-even"><p></p></dd> |
1089 | </dl> | 1089 | </dl> |
1090 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1090 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1091 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1091 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1092 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1092 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
1093 | <span·class="gp">...</span> | 1093 | <span·class="gp">...</span> |
1094 | <span·class="go">datetime.date(2017,·3,·27)</span> | ||
1095 | <span·class="go">datetime.date(201 | 1094 | <span·class="go">datetime.date(2016,·4,·25)</span> |
1095 | <span·class="go">datetime.date(2011,·7,·29)</span> | ||
1096 | <span·class="go">datetime.date(1993,· | 1096 | <span·class="go">datetime.date(1993,·1,·25)</span> |
1097 | <span·class="go">datetime.date(1984,· | 1097 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1098 | <span·class="go">datetime.date(1998,· | 1098 | <span·class="go">datetime.date(1998,·1,·16)</span> |
1099 | </pre></div> | 1099 | </pre></div> |
1100 | </div> | 1100 | </div> |
1101 | </dd></dl> | 1101 | </dd></dl> |
1102 | <dl·class="py·method"> | 1102 | <dl·class="py·method"> |
1103 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hu_HU.Provider.date_of_birth"> | 1103 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hu_HU.Provider.date_of_birth"> |
1104 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hu_HU.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1104 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hu_HU.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
Offset 1123, 19 lines modified | Offset 1123, 19 lines modified | ||
1123 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1123 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1124 | <dd·class="field-even"><p></p></dd> | 1124 | <dd·class="field-even"><p></p></dd> |
1125 | </dl> | 1125 | </dl> |
1126 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1126 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1127 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1127 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1128 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1128 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
1129 | <span·class="gp">...</span> | 1129 | <span·class="gp">...</span> |
1130 | <span·class="go">datetime.date(200 | 1130 | <span·class="go">datetime.date(2006,·10,·20)</span> |
1131 | <span·class="go">datetime.date(1996,·10,·8)</span> | ||
1132 | <span·class="go">datetime.date(1957,·8,·20)</span> | ||
1131 | <span·class="go">datetime.date(19 | 1133 | <span·class="go">datetime.date(1938,·11,·19)</span> |
1132 | <span·class="go">datetime.date(19 | 1134 | <span·class="go">datetime.date(1968,·2,·27)</span> |
1133 | <span·class="go">datetime.date(1939,·12,·21)</span> | ||
1134 | <span·class="go">datetime.date(1969,·3,·30)</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> |
Max diff block lines reached; 98350/120022 bytes (81.94%) of diff not shown. |
Offset 534, 18 lines modified | Offset 534, 18 lines modified | ||
534 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 534 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
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 | ············'AM' | ||
542 | ············'PM' | 541 | ············'PM' |
543 | ············'PM' | 542 | ············'PM' |
544 | ············'PM' | 543 | ············'PM' |
544 | ············'AM' | ||
545 | ············'PM' | 545 | ············'PM' |
546 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 546 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
547 | ··············Example: | 547 | ··············Example: |
548 | ··················‘XVII’ | 548 | ··················‘XVII’ |
549 | ··············Examples: | 549 | ··············Examples: |
550 | ············>>>·Faker.seed(0) | 550 | ············>>>·Faker.seed(0) |
551 | ············>>>·for·_·in·range(5): | 551 | ············>>>·for·_·in·range(5): |
Offset 566, 19 lines modified | Offset 566, 19 lines modified | ||
566 | ··············Returns: | 566 | ··············Returns: |
567 | ··················Date | 567 | ··················Date |
568 | ··············Examples: | 568 | ··············Examples: |
569 | ············>>>·Faker.seed(0) | 569 | ············>>>·Faker.seed(0) |
570 | ············>>>·for·_·in·range(5): | 570 | ············>>>·for·_·in·range(5): |
571 | ············...·····fake.date() | 571 | ············...·····fake.date() |
572 | ············... | 572 | ············... |
573 | ············'2017-03-27' | ||
574 | ············'201 | 573 | ············'2016-04-25' |
574 | ············'2011-07-29' | ||
575 | ············'1993-0 | 575 | ············'1993-01-25' |
576 | ············'1984-0 | 576 | ············'1984-03-15' |
577 | ············'1998-0 | 577 | ············'1998-01-16' |
578 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 578 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
579 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 579 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
580 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 580 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
581 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 581 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
582 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 582 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
583 | ··············Parameters: | 583 | ··············Parameters: |
584 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 584 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
Offset 588, 19 lines modified | Offset 588, 19 lines modified | ||
588 | ··············Returns: | 588 | ··············Returns: |
589 | ··················Date | 589 | ··················Date |
590 | ··············Examples: | 590 | ··············Examples: |
591 | ············>>>·Faker.seed(0) | 591 | ············>>>·Faker.seed(0) |
592 | ············>>>·for·_·in·range(5): | 592 | ············>>>·for·_·in·range(5): |
593 | ············...·····fake.date_between() | 593 | ············...·····fake.date_between() |
594 | ············... | 594 | ············... |
595 | ············datetime.date(202 | 595 | ············datetime.date(2020,·3,·7) |
596 | ············datetime.date(201 | 596 | ············datetime.date(2017,·8,·2) |
597 | ············datetime.date(2008,·7,·20) | ||
598 | ············datetime.date(200 | 597 | ············datetime.date(2007,·6,·19) |
598 | ············datetime.date(2002,·8,·13) | ||
599 | ············datetime.date(201 | 599 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 608, 33 lines modified | ||
608 | ··············Returns: | 608 | ··············Returns: |
609 | ··················Date | 609 | ··················Date |
610 | ··············Examples: | 610 | ··············Examples: |
611 | ············>>>·Faker.seed(0) | 611 | ············>>>·Faker.seed(0) |
612 | ············>>>·for·_·in·range(5): | 612 | ············>>>·for·_·in·range(5): |
613 | ············...·····fake.date_between_dates() | 613 | ············...·····fake.date_between_dates() |
614 | ············... | 614 | ············... |
615 | ············datetime.date(202 | 615 | ············datetime.date(2024,·11,·6) |
616 | ············datetime.date(202 | 616 | ············datetime.date(2024,·11,·6) |
617 | ············datetime.date(202 | 617 | ············datetime.date(2024,·11,·6) |
618 | ············datetime.date(202 | 618 | ············datetime.date(2024,·11,·6) |
619 | ············datetime.date(202 | 619 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
630 | ············datetime.date(201 | 629 | ············datetime.date(2016,·4,·25) |
630 | ············datetime.date(2011,·7,·29) | ||
631 | ············datetime.date(1993,· | 631 | ············datetime.date(1993,·1,·25) |
632 | ············datetime.date(1984,· | 632 | ············datetime.date(1984,·3,·15) |
633 | ············datetime.date(1998,· | 633 | ············datetime.date(1998,·1,·16) |
634 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 634 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
635 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 635 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
636 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 636 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
637 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 637 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
638 | ··············Parameters: | 638 | ··············Parameters: |
639 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. | 639 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. |
640 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. | 640 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. |
Offset 644, 19 lines modified | Offset 644, 19 lines modified | ||
644 | ··············Returns: | 644 | ··············Returns: |
645 | ··················Date | 645 | ··················Date |
646 | ··············Examples: | 646 | ··············Examples: |
647 | ············>>>·Faker.seed(0) | 647 | ············>>>·Faker.seed(0) |
648 | ············>>>·for·_·in·range(5): | 648 | ············>>>·for·_·in·range(5): |
649 | ············...·····fake.date_of_birth() | 649 | ············...·····fake.date_of_birth() |
650 | ············... | 650 | ············... |
651 | ············datetime.date(200 | 651 | ············datetime.date(2006,·10,·20) |
652 | ············datetime.date(1996,·10,·8) | ||
653 | ············datetime.date(1957,·8,·20) | ||
652 | ············datetime.date(19 | 654 | ············datetime.date(1938,·11,·19) |
653 | ············datetime.date(19 | 655 | ············datetime.date(1968,·2,·27) |
654 | ············datetime.date(1939,·12,·21) | ||
655 | ············datetime.date(1969,·3,·30) | ||
656 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 656 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
657 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 657 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
658 | ············Gets·a·Date·object·for·the·current·century. | 658 | ············Gets·a·Date·object·for·the·current·century. |
659 | ··············Parameters: | 659 | ··············Parameters: |
660 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 660 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
661 | ························today | 661 | ························today |
662 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 662 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 666, 19 lines modified | Offset 666, 19 lines modified | ||
666 | ··············Returns: | 666 | ··············Returns: |
667 | ··················Date | 667 | ··················Date |
668 | ··············Examples: | 668 | ··············Examples: |
669 | ············>>>·Faker.seed(0) | 669 | ············>>>·Faker.seed(0) |
670 | ············>>>·for·_·in·range(5): | 670 | ············>>>·for·_·in·range(5): |
671 | ············...·····fake.date_this_century() | 671 | ············...·····fake.date_this_century() |
672 | ············... | 672 | ············... |
673 | ············datetime.date(2020,·12,·24) | ||
Max diff block lines reached; 29723/36858 bytes (80.64%) of diff not shown. |
Offset 979, 18 lines modified | Offset 979, 18 lines modified | ||
979 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 979 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
980 | <dd·class="field-odd"><p></p></dd> | 980 | <dd·class="field-odd"><p></p></dd> |
981 | </dl> | 981 | </dl> |
982 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 982 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
983 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 983 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
984 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 984 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
985 | <span·class="gp">...</span> | 985 | <span·class="gp">...</span> |
986 | <span·class="go">'AM'</span> | ||
987 | <span·class="go">'PM'</span> | 986 | <span·class="go">'PM'</span> |
988 | <span·class="go">'PM'</span> | 987 | <span·class="go">'PM'</span> |
989 | <span·class="go">'PM'</span> | 988 | <span·class="go">'PM'</span> |
989 | <span·class="go">'AM'</span> | ||
990 | <span·class="go">'PM'</span> | 990 | <span·class="go">'PM'</span> |
991 | </pre></div> | 991 | </pre></div> |
992 | </div> | 992 | </div> |
993 | </dd></dl> | 993 | </dd></dl> |
994 | <dl·class="py·method"> | 994 | <dl·class="py·method"> |
995 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hy_AM.Provider.century"> | 995 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hy_AM.Provider.century"> |
Offset 1032, 19 lines modified | Offset 1032, 19 lines modified | ||
1032 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1032 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1033 | <dd·class="field-even"><p></p></dd> | 1033 | <dd·class="field-even"><p></p></dd> |
1034 | </dl> | 1034 | </dl> |
1035 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1035 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1036 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1036 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1037 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1037 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
1038 | <span·class="gp">...</span> | 1038 | <span·class="gp">...</span> |
1039 | <span·class="go">'2017-03-27'</span> | ||
1040 | <span·class="go">'201 | 1039 | <span·class="go">'2016-04-25'</span> |
1040 | <span·class="go">'2011-07-29'</span> | ||
1041 | <span·class="go">'1993-0 | 1041 | <span·class="go">'1993-01-25'</span> |
1042 | <span·class="go">'1984-0 | 1042 | <span·class="go">'1984-03-15'</span> |
1043 | <span·class="go">'1998-0 | 1043 | <span·class="go">'1998-01-16'</span> |
1044 | </pre></div> | 1044 | </pre></div> |
1045 | </div> | 1045 | </div> |
1046 | </dd></dl> | 1046 | </dd></dl> |
1047 | <dl·class="py·method"> | 1047 | <dl·class="py·method"> |
1048 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hy_AM.Provider.date_between"> | 1048 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hy_AM.Provider.date_between"> |
1049 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hy_AM.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1049 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hy_AM.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 1066, 19 lines modified | Offset 1066, 19 lines modified | ||
1066 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1066 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1067 | <dd·class="field-even"><p></p></dd> | 1067 | <dd·class="field-even"><p></p></dd> |
1068 | </dl> | 1068 | </dl> |
1069 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1069 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1070 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1070 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1071 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1071 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
1072 | <span·class="gp">...</span> | 1072 | <span·class="gp">...</span> |
1073 | <span·class="go">datetime.date(202 | 1073 | <span·class="go">datetime.date(2020,·3,·7)</span> |
1074 | <span·class="go">datetime.date(201 | 1074 | <span·class="go">datetime.date(2017,·8,·2)</span> |
1075 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
1076 | <span·class="go">datetime.date(200 | 1075 | <span·class="go">datetime.date(2007,·6,·19)</span> |
1076 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
1077 | <span·class="go">datetime.date(201 | 1077 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 1104 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1105 | <span·class="go">datetime.date(202 | 1105 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1106 | <span·class="go">datetime.date(202 | 1106 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1107 | <span·class="go">datetime.date(202 | 1107 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1108 | <span·class="go">datetime.date(202 | 1108 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 1121, 19 lines modified | ||
1121 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1121 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1122 | <dd·class="field-even"><p></p></dd> | 1122 | <dd·class="field-even"><p></p></dd> |
1123 | </dl> | 1123 | </dl> |
1124 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1124 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1125 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1125 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1126 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1126 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
1127 | <span·class="gp">...</span> | 1127 | <span·class="gp">...</span> |
1128 | <span·class="go">datetime.date(2017,·3,·27)</span> | ||
1129 | <span·class="go">datetime.date(201 | 1128 | <span·class="go">datetime.date(2016,·4,·25)</span> |
1129 | <span·class="go">datetime.date(2011,·7,·29)</span> | ||
1130 | <span·class="go">datetime.date(1993,· | 1130 | <span·class="go">datetime.date(1993,·1,·25)</span> |
1131 | <span·class="go">datetime.date(1984,· | 1131 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1132 | <span·class="go">datetime.date(1998,· | 1132 | <span·class="go">datetime.date(1998,·1,·16)</span> |
1133 | </pre></div> | 1133 | </pre></div> |
1134 | </div> | 1134 | </div> |
1135 | </dd></dl> | 1135 | </dd></dl> |
1136 | <dl·class="py·method"> | 1136 | <dl·class="py·method"> |
1137 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hy_AM.Provider.date_of_birth"> | 1137 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.hy_AM.Provider.date_of_birth"> |
1138 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hy_AM.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1138 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.hy_AM.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
Offset 1157, 19 lines modified | Offset 1157, 19 lines modified | ||
1157 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1157 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1158 | <dd·class="field-even"><p></p></dd> | 1158 | <dd·class="field-even"><p></p></dd> |
1159 | </dl> | 1159 | </dl> |
1160 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1160 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1161 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1161 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1162 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1162 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
1163 | <span·class="gp">...</span> | 1163 | <span·class="gp">...</span> |
1164 | <span·class="go">datetime.date(200 | 1164 | <span·class="go">datetime.date(2006,·10,·20)</span> |
1165 | <span·class="go">datetime.date(1996,·10,·8)</span> | ||
1166 | <span·class="go">datetime.date(1957,·8,·20)</span> | ||
1165 | <span·class="go">datetime.date(19 | 1167 | <span·class="go">datetime.date(1938,·11,·19)</span> |
1166 | <span·class="go">datetime.date(19 | 1168 | <span·class="go">datetime.date(1968,·2,·27)</span> |
1167 | <span·class="go">datetime.date(1939,·12,·21)</span> | ||
1168 | <span·class="go">datetime.date(1969,·3,·30)</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> |
Max diff block lines reached; 97809/119483 bytes (81.86%) of diff not shown. |
Offset 555, 18 lines modified | Offset 555, 18 lines modified | ||
555 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 555 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
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 | ············'AM' | ||
563 | ············'PM' | 562 | ············'PM' |
564 | ············'PM' | 563 | ············'PM' |
565 | ············'PM' | 564 | ············'PM' |
565 | ············'AM' | ||
566 | ············'PM' | 566 | ············'PM' |
567 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 567 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
568 | ··············Example: | 568 | ··············Example: |
569 | ··················‘XVII’ | 569 | ··················‘XVII’ |
570 | ··············Examples: | 570 | ··············Examples: |
571 | ············>>>·Faker.seed(0) | 571 | ············>>>·Faker.seed(0) |
572 | ············>>>·for·_·in·range(5): | 572 | ············>>>·for·_·in·range(5): |
Offset 587, 19 lines modified | Offset 587, 19 lines modified | ||
587 | ··············Returns: | 587 | ··············Returns: |
588 | ··················Date | 588 | ··················Date |
589 | ··············Examples: | 589 | ··············Examples: |
590 | ············>>>·Faker.seed(0) | 590 | ············>>>·Faker.seed(0) |
591 | ············>>>·for·_·in·range(5): | 591 | ············>>>·for·_·in·range(5): |
592 | ············...·····fake.date() | 592 | ············...·····fake.date() |
593 | ············... | 593 | ············... |
594 | ············'2017-03-27' | ||
595 | ············'201 | 594 | ············'2016-04-25' |
595 | ············'2011-07-29' | ||
596 | ············'1993-0 | 596 | ············'1993-01-25' |
597 | ············'1984-0 | 597 | ············'1984-03-15' |
598 | ············'1998-0 | 598 | ············'1998-01-16' |
599 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 599 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
600 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 600 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
601 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 601 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
602 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 602 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
603 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 603 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
604 | ··············Parameters: | 604 | ··············Parameters: |
605 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 605 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
Offset 609, 19 lines modified | Offset 609, 19 lines modified | ||
609 | ··············Returns: | 609 | ··············Returns: |
610 | ··················Date | 610 | ··················Date |
611 | ··············Examples: | 611 | ··············Examples: |
612 | ············>>>·Faker.seed(0) | 612 | ············>>>·Faker.seed(0) |
613 | ············>>>·for·_·in·range(5): | 613 | ············>>>·for·_·in·range(5): |
614 | ············...·····fake.date_between() | 614 | ············...·····fake.date_between() |
615 | ············... | 615 | ············... |
616 | ············datetime.date(202 | 616 | ············datetime.date(2020,·3,·7) |
617 | ············datetime.date(201 | 617 | ············datetime.date(2017,·8,·2) |
618 | ············datetime.date(2008,·7,·20) | ||
619 | ············datetime.date(200 | 618 | ············datetime.date(2007,·6,·19) |
619 | ············datetime.date(2002,·8,·13) | ||
620 | ············datetime.date(201 | 620 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 629, 33 lines modified | ||
629 | ··············Returns: | 629 | ··············Returns: |
630 | ··················Date | 630 | ··················Date |
631 | ··············Examples: | 631 | ··············Examples: |
632 | ············>>>·Faker.seed(0) | 632 | ············>>>·Faker.seed(0) |
633 | ············>>>·for·_·in·range(5): | 633 | ············>>>·for·_·in·range(5): |
634 | ············...·····fake.date_between_dates() | 634 | ············...·····fake.date_between_dates() |
635 | ············... | 635 | ············... |
636 | ············datetime.date(202 | 636 | ············datetime.date(2024,·11,·6) |
637 | ············datetime.date(202 | 637 | ············datetime.date(2024,·11,·6) |
638 | ············datetime.date(202 | 638 | ············datetime.date(2024,·11,·6) |
639 | ············datetime.date(202 | 639 | ············datetime.date(2024,·11,·6) |
640 | ············datetime.date(202 | 640 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
651 | ············datetime.date(201 | 650 | ············datetime.date(2016,·4,·25) |
651 | ············datetime.date(2011,·7,·29) | ||
652 | ············datetime.date(1993,· | 652 | ············datetime.date(1993,·1,·25) |
653 | ············datetime.date(1984,· | 653 | ············datetime.date(1984,·3,·15) |
654 | ············datetime.date(1998,· | 654 | ············datetime.date(1998,·1,·16) |
655 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 655 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
656 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 656 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
657 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 657 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
658 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 658 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
659 | ··············Parameters: | 659 | ··············Parameters: |
660 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. | 660 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. |
661 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. | 661 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. |
Offset 665, 19 lines modified | Offset 665, 19 lines modified | ||
665 | ··············Returns: | 665 | ··············Returns: |
666 | ··················Date | 666 | ··················Date |
667 | ··············Examples: | 667 | ··············Examples: |
668 | ············>>>·Faker.seed(0) | 668 | ············>>>·Faker.seed(0) |
669 | ············>>>·for·_·in·range(5): | 669 | ············>>>·for·_·in·range(5): |
670 | ············...·····fake.date_of_birth() | 670 | ············...·····fake.date_of_birth() |
671 | ············... | 671 | ············... |
672 | ············datetime.date(200 | 672 | ············datetime.date(2006,·10,·20) |
673 | ············datetime.date(1996,·10,·8) | ||
674 | ············datetime.date(1957,·8,·20) | ||
673 | ············datetime.date(19 | 675 | ············datetime.date(1938,·11,·19) |
674 | ············datetime.date(19 | 676 | ············datetime.date(1968,·2,·27) |
675 | ············datetime.date(1939,·12,·21) | ||
676 | ············datetime.date(1969,·3,·30) | ||
677 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 677 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
678 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 678 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
679 | ············Gets·a·Date·object·for·the·current·century. | 679 | ············Gets·a·Date·object·for·the·current·century. |
680 | ··············Parameters: | 680 | ··············Parameters: |
681 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 681 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
682 | ························today | 682 | ························today |
683 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 683 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 687, 19 lines modified | Offset 687, 19 lines modified | ||
687 | ··············Returns: | 687 | ··············Returns: |
688 | ··················Date | 688 | ··················Date |
689 | ··············Examples: | 689 | ··············Examples: |
690 | ············>>>·Faker.seed(0) | 690 | ············>>>·Faker.seed(0) |
691 | ············>>>·for·_·in·range(5): | 691 | ············>>>·for·_·in·range(5): |
692 | ············...·····fake.date_this_century() | 692 | ············...·····fake.date_this_century() |
693 | ············... | 693 | ············... |
694 | ············datetime.date(2020,·12,·24) | ||
Max diff block lines reached; 29670/36805 bytes (80.61%) of diff not shown. |
Offset 963, 18 lines modified | Offset 963, 18 lines modified | ||
963 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 963 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
964 | <dd·class="field-odd"><p></p></dd> | 964 | <dd·class="field-odd"><p></p></dd> |
965 | </dl> | 965 | </dl> |
966 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 966 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
967 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 967 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
968 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 968 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
969 | <span·class="gp">...</span> | 969 | <span·class="gp">...</span> |
970 | <span·class="go">'AM'</span> | ||
971 | <span·class="go">'PM'</span> | 970 | <span·class="go">'PM'</span> |
972 | <span·class="go">'PM'</span> | 971 | <span·class="go">'PM'</span> |
973 | <span·class="go">'PM'</span> | 972 | <span·class="go">'PM'</span> |
973 | <span·class="go">'AM'</span> | ||
974 | <span·class="go">'PM'</span> | 974 | <span·class="go">'PM'</span> |
975 | </pre></div> | 975 | </pre></div> |
976 | </div> | 976 | </div> |
977 | </dd></dl> | 977 | </dd></dl> |
978 | <dl·class="py·method"> | 978 | <dl·class="py·method"> |
979 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.id_ID.Provider.century"> | 979 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.id_ID.Provider.century"> |
Offset 1016, 19 lines modified | Offset 1016, 19 lines modified | ||
1016 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1016 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1017 | <dd·class="field-even"><p></p></dd> | 1017 | <dd·class="field-even"><p></p></dd> |
1018 | </dl> | 1018 | </dl> |
1019 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1019 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1020 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1020 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1021 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1021 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
1022 | <span·class="gp">...</span> | 1022 | <span·class="gp">...</span> |
1023 | <span·class="go">'2017-03-27'</span> | ||
1024 | <span·class="go">'201 | 1023 | <span·class="go">'2016-04-25'</span> |
1024 | <span·class="go">'2011-07-29'</span> | ||
1025 | <span·class="go">'1993-0 | 1025 | <span·class="go">'1993-01-25'</span> |
1026 | <span·class="go">'1984-0 | 1026 | <span·class="go">'1984-03-15'</span> |
1027 | <span·class="go">'1998-0 | 1027 | <span·class="go">'1998-01-16'</span> |
1028 | </pre></div> | 1028 | </pre></div> |
1029 | </div> | 1029 | </div> |
1030 | </dd></dl> | 1030 | </dd></dl> |
1031 | <dl·class="py·method"> | 1031 | <dl·class="py·method"> |
1032 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.id_ID.Provider.date_between"> | 1032 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.id_ID.Provider.date_between"> |
1033 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.id_ID.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1033 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.id_ID.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 1050, 19 lines modified | Offset 1050, 19 lines modified | ||
1050 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1050 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1051 | <dd·class="field-even"><p></p></dd> | 1051 | <dd·class="field-even"><p></p></dd> |
1052 | </dl> | 1052 | </dl> |
1053 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1053 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1054 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1054 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1055 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1055 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
1056 | <span·class="gp">...</span> | 1056 | <span·class="gp">...</span> |
1057 | <span·class="go">datetime.date(202 | 1057 | <span·class="go">datetime.date(2020,·3,·7)</span> |
1058 | <span·class="go">datetime.date(201 | 1058 | <span·class="go">datetime.date(2017,·8,·2)</span> |
1059 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
1060 | <span·class="go">datetime.date(200 | 1059 | <span·class="go">datetime.date(2007,·6,·19)</span> |
1060 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
1061 | <span·class="go">datetime.date(201 | 1061 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 1088 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1089 | <span·class="go">datetime.date(202 | 1089 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1090 | <span·class="go">datetime.date(202 | 1090 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1091 | <span·class="go">datetime.date(202 | 1091 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1092 | <span·class="go">datetime.date(202 | 1092 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 1105, 19 lines modified | ||
1105 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1105 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1106 | <dd·class="field-even"><p></p></dd> | 1106 | <dd·class="field-even"><p></p></dd> |
1107 | </dl> | 1107 | </dl> |
1108 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1108 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1109 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1109 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1110 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1110 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
1111 | <span·class="gp">...</span> | 1111 | <span·class="gp">...</span> |
1112 | <span·class="go">datetime.date(2017,·3,·27)</span> | ||
1113 | <span·class="go">datetime.date(201 | 1112 | <span·class="go">datetime.date(2016,·4,·25)</span> |
1113 | <span·class="go">datetime.date(2011,·7,·29)</span> | ||
1114 | <span·class="go">datetime.date(1993,· | 1114 | <span·class="go">datetime.date(1993,·1,·25)</span> |
1115 | <span·class="go">datetime.date(1984,· | 1115 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1116 | <span·class="go">datetime.date(1998,· | 1116 | <span·class="go">datetime.date(1998,·1,·16)</span> |
1117 | </pre></div> | 1117 | </pre></div> |
1118 | </div> | 1118 | </div> |
1119 | </dd></dl> | 1119 | </dd></dl> |
1120 | <dl·class="py·method"> | 1120 | <dl·class="py·method"> |
1121 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.id_ID.Provider.date_of_birth"> | 1121 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.id_ID.Provider.date_of_birth"> |
1122 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.id_ID.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1122 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.id_ID.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
Offset 1141, 19 lines modified | Offset 1141, 19 lines modified | ||
1141 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1141 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1142 | <dd·class="field-even"><p></p></dd> | 1142 | <dd·class="field-even"><p></p></dd> |
1143 | </dl> | 1143 | </dl> |
1144 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1144 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1145 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1145 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1146 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1146 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
1147 | <span·class="gp">...</span> | 1147 | <span·class="gp">...</span> |
1148 | <span·class="go">datetime.date(200 | 1148 | <span·class="go">datetime.date(2006,·10,·20)</span> |
1149 | <span·class="go">datetime.date(1996,·10,·8)</span> | ||
1150 | <span·class="go">datetime.date(1957,·8,·20)</span> | ||
1149 | <span·class="go">datetime.date(19 | 1151 | <span·class="go">datetime.date(1938,·11,·19)</span> |
1150 | <span·class="go">datetime.date(19 | 1152 | <span·class="go">datetime.date(1968,·2,·27)</span> |
1151 | <span·class="go">datetime.date(1939,·12,·21)</span> | ||
1152 | <span·class="go">datetime.date(1969,·3,·30)</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> |
Max diff block lines reached; 98334/120008 bytes (81.94%) of diff not shown. |
Offset 542, 18 lines modified | Offset 542, 18 lines modified | ||
542 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 542 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
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 | ············'AM' | ||
550 | ············'PM' | 549 | ············'PM' |
551 | ············'PM' | 550 | ············'PM' |
552 | ············'PM' | 551 | ············'PM' |
552 | ············'AM' | ||
553 | ············'PM' | 553 | ············'PM' |
554 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 554 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
555 | ··············Example: | 555 | ··············Example: |
556 | ··················‘XVII’ | 556 | ··················‘XVII’ |
557 | ··············Examples: | 557 | ··············Examples: |
558 | ············>>>·Faker.seed(0) | 558 | ············>>>·Faker.seed(0) |
559 | ············>>>·for·_·in·range(5): | 559 | ············>>>·for·_·in·range(5): |
Offset 574, 19 lines modified | Offset 574, 19 lines modified | ||
574 | ··············Returns: | 574 | ··············Returns: |
575 | ··················Date | 575 | ··················Date |
576 | ··············Examples: | 576 | ··············Examples: |
577 | ············>>>·Faker.seed(0) | 577 | ············>>>·Faker.seed(0) |
578 | ············>>>·for·_·in·range(5): | 578 | ············>>>·for·_·in·range(5): |
579 | ············...·····fake.date() | 579 | ············...·····fake.date() |
580 | ············... | 580 | ············... |
581 | ············'2017-03-27' | ||
582 | ············'201 | 581 | ············'2016-04-25' |
582 | ············'2011-07-29' | ||
583 | ············'1993-0 | 583 | ············'1993-01-25' |
584 | ············'1984-0 | 584 | ············'1984-03-15' |
585 | ············'1998-0 | 585 | ············'1998-01-16' |
586 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 586 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
587 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 587 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
588 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 588 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
589 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 589 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
590 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 590 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
591 | ··············Parameters: | 591 | ··············Parameters: |
592 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 592 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
Offset 596, 19 lines modified | Offset 596, 19 lines modified | ||
596 | ··············Returns: | 596 | ··············Returns: |
597 | ··················Date | 597 | ··················Date |
598 | ··············Examples: | 598 | ··············Examples: |
599 | ············>>>·Faker.seed(0) | 599 | ············>>>·Faker.seed(0) |
600 | ············>>>·for·_·in·range(5): | 600 | ············>>>·for·_·in·range(5): |
601 | ············...·····fake.date_between() | 601 | ············...·····fake.date_between() |
602 | ············... | 602 | ············... |
603 | ············datetime.date(202 | 603 | ············datetime.date(2020,·3,·7) |
604 | ············datetime.date(201 | 604 | ············datetime.date(2017,·8,·2) |
605 | ············datetime.date(2008,·7,·20) | ||
606 | ············datetime.date(200 | 605 | ············datetime.date(2007,·6,·19) |
606 | ············datetime.date(2002,·8,·13) | ||
607 | ············datetime.date(201 | 607 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 616, 33 lines modified | ||
616 | ··············Returns: | 616 | ··············Returns: |
617 | ··················Date | 617 | ··················Date |
618 | ··············Examples: | 618 | ··············Examples: |
619 | ············>>>·Faker.seed(0) | 619 | ············>>>·Faker.seed(0) |
620 | ············>>>·for·_·in·range(5): | 620 | ············>>>·for·_·in·range(5): |
621 | ············...·····fake.date_between_dates() | 621 | ············...·····fake.date_between_dates() |
622 | ············... | 622 | ············... |
623 | ············datetime.date(202 | 623 | ············datetime.date(2024,·11,·6) |
624 | ············datetime.date(202 | 624 | ············datetime.date(2024,·11,·6) |
625 | ············datetime.date(202 | 625 | ············datetime.date(2024,·11,·6) |
626 | ············datetime.date(202 | 626 | ············datetime.date(2024,·11,·6) |
627 | ············datetime.date(202 | 627 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
638 | ············datetime.date(201 | 637 | ············datetime.date(2016,·4,·25) |
638 | ············datetime.date(2011,·7,·29) | ||
639 | ············datetime.date(1993,· | 639 | ············datetime.date(1993,·1,·25) |
640 | ············datetime.date(1984,· | 640 | ············datetime.date(1984,·3,·15) |
641 | ············datetime.date(1998,· | 641 | ············datetime.date(1998,·1,·16) |
642 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 642 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
643 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 643 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
644 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 644 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
645 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 645 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
646 | ··············Parameters: | 646 | ··············Parameters: |
647 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. | 647 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. |
648 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. | 648 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. |
Offset 652, 19 lines modified | Offset 652, 19 lines modified | ||
652 | ··············Returns: | 652 | ··············Returns: |
653 | ··················Date | 653 | ··················Date |
654 | ··············Examples: | 654 | ··············Examples: |
655 | ············>>>·Faker.seed(0) | 655 | ············>>>·Faker.seed(0) |
656 | ············>>>·for·_·in·range(5): | 656 | ············>>>·for·_·in·range(5): |
657 | ············...·····fake.date_of_birth() | 657 | ············...·····fake.date_of_birth() |
658 | ············... | 658 | ············... |
659 | ············datetime.date(200 | 659 | ············datetime.date(2006,·10,·20) |
660 | ············datetime.date(1996,·10,·8) | ||
661 | ············datetime.date(1957,·8,·20) | ||
660 | ············datetime.date(19 | 662 | ············datetime.date(1938,·11,·19) |
661 | ············datetime.date(19 | 663 | ············datetime.date(1968,·2,·27) |
662 | ············datetime.date(1939,·12,·21) | ||
663 | ············datetime.date(1969,·3,·30) | ||
664 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 664 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
665 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 665 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
666 | ············Gets·a·Date·object·for·the·current·century. | 666 | ············Gets·a·Date·object·for·the·current·century. |
667 | ··············Parameters: | 667 | ··············Parameters: |
668 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 668 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
669 | ························today | 669 | ························today |
670 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 670 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 674, 19 lines modified | Offset 674, 19 lines modified | ||
674 | ··············Returns: | 674 | ··············Returns: |
675 | ··················Date | 675 | ··················Date |
676 | ··············Examples: | 676 | ··············Examples: |
677 | ············>>>·Faker.seed(0) | 677 | ············>>>·Faker.seed(0) |
678 | ············>>>·for·_·in·range(5): | 678 | ············>>>·for·_·in·range(5): |
679 | ············...·····fake.date_this_century() | 679 | ············...·····fake.date_this_century() |
680 | ············... | 680 | ············... |
681 | ············datetime.date(2020,·12,·24) | ||
Max diff block lines reached; 29707/36842 bytes (80.63%) 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">'Portoferraio'</span> | ||
133 | <span·class="go">'Pontestazzemese'</span> | ||
134 | <span·class="go">'Castelsilano'</span> | ||
135 | <span·class="go">'Quattroventi'</span> | ||
136 | <span·class="go">' | 132 | <span·class="go">'Planeil'</span> |
133 | <span·class="go">'San·Prospero'</span> | ||
134 | <span·class="go">'Fara·Olivana'</span> | ||
135 | <span·class="go">'Pievebovigliana'</span> | ||
136 | <span·class="go">'Lumignano'</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 1070, 18 lines modified | Offset 1070, 18 lines modified | ||
1070 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1070 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1071 | <dd·class="field-odd"><p></p></dd> | 1071 | <dd·class="field-odd"><p></p></dd> |
1072 | </dl> | 1072 | </dl> |
1073 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1073 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1074 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1074 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1075 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1075 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1076 | <span·class="gp">...</span> | 1076 | <span·class="gp">...</span> |
1077 | <span·class="go">'AM'</span> | ||
1078 | <span·class="go">'PM'</span> | 1077 | <span·class="go">'PM'</span> |
1079 | <span·class="go">'PM'</span> | 1078 | <span·class="go">'PM'</span> |
1080 | <span·class="go">'PM'</span> | 1079 | <span·class="go">'PM'</span> |
1080 | <span·class="go">'AM'</span> | ||
1081 | <span·class="go">'PM'</span> | 1081 | <span·class="go">'PM'</span> |
1082 | </pre></div> | 1082 | </pre></div> |
1083 | </div> | 1083 | </div> |
1084 | </dd></dl> | 1084 | </dd></dl> |
1085 | <dl·class="py·method"> | 1085 | <dl·class="py·method"> |
1086 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.it_IT.Provider.century"> | 1086 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.it_IT.Provider.century"> |
Offset 1123, 19 lines modified | Offset 1123, 19 lines modified | ||
1123 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1123 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1124 | <dd·class="field-even"><p></p></dd> | 1124 | <dd·class="field-even"><p></p></dd> |
1125 | </dl> | 1125 | </dl> |
1126 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1126 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1127 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1127 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1128 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1128 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
1129 | <span·class="gp">...</span> | 1129 | <span·class="gp">...</span> |
1130 | <span·class="go">'2017-03-27'</span> | ||
1131 | <span·class="go">'201 | 1130 | <span·class="go">'2016-04-25'</span> |
1131 | <span·class="go">'2011-07-29'</span> | ||
1132 | <span·class="go">'1993-0 | 1132 | <span·class="go">'1993-01-25'</span> |
1133 | <span·class="go">'1984-0 | 1133 | <span·class="go">'1984-03-15'</span> |
1134 | <span·class="go">'1998-0 | 1134 | <span·class="go">'1998-01-16'</span> |
1135 | </pre></div> | 1135 | </pre></div> |
1136 | </div> | 1136 | </div> |
1137 | </dd></dl> | 1137 | </dd></dl> |
1138 | <dl·class="py·method"> | 1138 | <dl·class="py·method"> |
1139 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.it_IT.Provider.date_between"> | 1139 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.it_IT.Provider.date_between"> |
1140 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.it_IT.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1140 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.it_IT.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 1157, 19 lines modified | Offset 1157, 19 lines modified | ||
1157 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1157 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1158 | <dd·class="field-even"><p></p></dd> | 1158 | <dd·class="field-even"><p></p></dd> |
1159 | </dl> | 1159 | </dl> |
1160 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1160 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1161 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1161 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1162 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1162 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
1163 | <span·class="gp">...</span> | 1163 | <span·class="gp">...</span> |
1164 | <span·class="go">datetime.date(202 | 1164 | <span·class="go">datetime.date(2020,·3,·7)</span> |
1165 | <span·class="go">datetime.date(201 | 1165 | <span·class="go">datetime.date(2017,·8,·2)</span> |
1166 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
1167 | <span·class="go">datetime.date(200 | 1166 | <span·class="go">datetime.date(2007,·6,·19)</span> |
1167 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
1168 | <span·class="go">datetime.date(201 | 1168 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 1195 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1196 | <span·class="go">datetime.date(202 | 1196 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1197 | <span·class="go">datetime.date(202 | 1197 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1198 | <span·class="go">datetime.date(202 | 1198 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1199 | <span·class="go">datetime.date(202 | 1199 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 1212, 19 lines modified | ||
1212 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1212 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1213 | <dd·class="field-even"><p></p></dd> | 1213 | <dd·class="field-even"><p></p></dd> |
1214 | </dl> | 1214 | </dl> |
1215 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1215 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1216 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1216 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1217 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1217 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
1218 | <span·class="gp">...</span> | 1218 | <span·class="gp">...</span> |
1219 | <span·class="go">datetime.date(2017,·3,·27)</span> | ||
1220 | <span·class="go">datetime.date(201 | 1219 | <span·class="go">datetime.date(2016,·4,·25)</span> |
1220 | <span·class="go">datetime.date(2011,·7,·29)</span> | ||
1221 | <span·class="go">datetime.date(1993,· | 1221 | <span·class="go">datetime.date(1993,·1,·25)</span> |
1222 | <span·class="go">datetime.date(1984,· | 1222 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1223 | <span·class="go">datetime.date(1998,· | 1223 | <span·class="go">datetime.date(1998,·1,·16)</span> |
1224 | </pre></div> | 1224 | </pre></div> |
1225 | </div> | 1225 | </div> |
1226 | </dd></dl> | 1226 | </dd></dl> |
1227 | <dl·class="py·method"> | 1227 | <dl·class="py·method"> |
1228 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.it_IT.Provider.date_of_birth"> | 1228 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.it_IT.Provider.date_of_birth"> |
1229 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.it_IT.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1229 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.it_IT.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
Offset 1248, 19 lines modified | Offset 1248, 19 lines modified | ||
Max diff block lines reached; 100971/121442 bytes (83.14%) 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 | ············'Portoferraio' | ||
59 | ············'Pontestazzemese' | ||
60 | ············'Castelsilano' | ||
61 | ············'Quattroventi' | ||
62 | ············' | 58 | ············'Planeil' |
59 | ············'San·Prospero' | ||
60 | ············'Fara·Olivana' | ||
61 | ············'Pievebovigliana' | ||
62 | ············'Lumignano' | ||
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 606, 18 lines modified | Offset 606, 18 lines modified | ||
606 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 606 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
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 | ············'AM' | ||
614 | ············'PM' | 613 | ············'PM' |
615 | ············'PM' | 614 | ············'PM' |
616 | ············'PM' | 615 | ············'PM' |
616 | ············'AM' | ||
617 | ············'PM' | 617 | ············'PM' |
618 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 618 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
619 | ··············Example: | 619 | ··············Example: |
620 | ··················‘XVII’ | 620 | ··················‘XVII’ |
621 | ··············Examples: | 621 | ··············Examples: |
622 | ············>>>·Faker.seed(0) | 622 | ············>>>·Faker.seed(0) |
623 | ············>>>·for·_·in·range(5): | 623 | ············>>>·for·_·in·range(5): |
Offset 638, 19 lines modified | Offset 638, 19 lines modified | ||
638 | ··············Returns: | 638 | ··············Returns: |
639 | ··················Date | 639 | ··················Date |
640 | ··············Examples: | 640 | ··············Examples: |
641 | ············>>>·Faker.seed(0) | 641 | ············>>>·Faker.seed(0) |
642 | ············>>>·for·_·in·range(5): | 642 | ············>>>·for·_·in·range(5): |
643 | ············...·····fake.date() | 643 | ············...·····fake.date() |
644 | ············... | 644 | ············... |
645 | ············'2017-03-27' | ||
646 | ············'201 | 645 | ············'2016-04-25' |
646 | ············'2011-07-29' | ||
647 | ············'1993-0 | 647 | ············'1993-01-25' |
648 | ············'1984-0 | 648 | ············'1984-03-15' |
649 | ············'1998-0 | 649 | ············'1998-01-16' |
650 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 650 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
651 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 651 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
652 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 652 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
653 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 653 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
654 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 654 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
655 | ··············Parameters: | 655 | ··············Parameters: |
656 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 656 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
Offset 660, 19 lines modified | Offset 660, 19 lines modified | ||
660 | ··············Returns: | 660 | ··············Returns: |
661 | ··················Date | 661 | ··················Date |
662 | ··············Examples: | 662 | ··············Examples: |
663 | ············>>>·Faker.seed(0) | 663 | ············>>>·Faker.seed(0) |
664 | ············>>>·for·_·in·range(5): | 664 | ············>>>·for·_·in·range(5): |
665 | ············...·····fake.date_between() | 665 | ············...·····fake.date_between() |
666 | ············... | 666 | ············... |
667 | ············datetime.date(202 | 667 | ············datetime.date(2020,·3,·7) |
668 | ············datetime.date(201 | 668 | ············datetime.date(2017,·8,·2) |
669 | ············datetime.date(2008,·7,·20) | ||
670 | ············datetime.date(200 | 669 | ············datetime.date(2007,·6,·19) |
670 | ············datetime.date(2002,·8,·13) | ||
671 | ············datetime.date(201 | 671 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 680, 33 lines modified | ||
680 | ··············Returns: | 680 | ··············Returns: |
681 | ··················Date | 681 | ··················Date |
682 | ··············Examples: | 682 | ··············Examples: |
683 | ············>>>·Faker.seed(0) | 683 | ············>>>·Faker.seed(0) |
684 | ············>>>·for·_·in·range(5): | 684 | ············>>>·for·_·in·range(5): |
685 | ············...·····fake.date_between_dates() | 685 | ············...·····fake.date_between_dates() |
686 | ············... | 686 | ············... |
687 | ············datetime.date(202 | 687 | ············datetime.date(2024,·11,·6) |
688 | ············datetime.date(202 | 688 | ············datetime.date(2024,·11,·6) |
689 | ············datetime.date(202 | 689 | ············datetime.date(2024,·11,·6) |
690 | ············datetime.date(202 | 690 | ············datetime.date(2024,·11,·6) |
691 | ············datetime.date(202 | 691 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
702 | ············datetime.date(201 | 701 | ············datetime.date(2016,·4,·25) |
702 | ············datetime.date(2011,·7,·29) | ||
703 | ············datetime.date(1993,· | 703 | ············datetime.date(1993,·1,·25) |
704 | ············datetime.date(1984,· | 704 | ············datetime.date(1984,·3,·15) |
705 | ············datetime.date(1998,· | 705 | ············datetime.date(1998,·1,·16) |
706 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 706 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
707 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 707 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
708 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 708 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
709 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 709 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
710 | ··············Parameters: | 710 | ··············Parameters: |
711 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. | 711 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. |
712 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. | 712 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. |
Offset 716, 19 lines modified | Offset 716, 19 lines modified | ||
716 | ··············Returns: | 716 | ··············Returns: |
717 | ··················Date | 717 | ··················Date |
718 | ··············Examples: | 718 | ··············Examples: |
719 | ············>>>·Faker.seed(0) | 719 | ············>>>·Faker.seed(0) |
720 | ············>>>·for·_·in·range(5): | 720 | ············>>>·for·_·in·range(5): |
721 | ············...·····fake.date_of_birth() | 721 | ············...·····fake.date_of_birth() |
Max diff block lines reached; 31448/37541 bytes (83.77%) of diff not shown. |
Offset 1007, 18 lines modified | Offset 1007, 18 lines modified | ||
1007 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1007 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1008 | <dd·class="field-odd"><p></p></dd> | 1008 | <dd·class="field-odd"><p></p></dd> |
1009 | </dl> | 1009 | </dl> |
1010 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1010 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1011 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1011 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1012 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1012 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1013 | <span·class="gp">...</span> | 1013 | <span·class="gp">...</span> |
1014 | <span·class="go">'AM'</span> | ||
1015 | <span·class="go">'PM'</span> | 1014 | <span·class="go">'PM'</span> |
1016 | <span·class="go">'PM'</span> | 1015 | <span·class="go">'PM'</span> |
1017 | <span·class="go">'PM'</span> | 1016 | <span·class="go">'PM'</span> |
1017 | <span·class="go">'AM'</span> | ||
1018 | <span·class="go">'PM'</span> | 1018 | <span·class="go">'PM'</span> |
1019 | </pre></div> | 1019 | </pre></div> |
1020 | </div> | 1020 | </div> |
1021 | </dd></dl> | 1021 | </dd></dl> |
1022 | <dl·class="py·method"> | 1022 | <dl·class="py·method"> |
1023 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ja_JP.Provider.century"> | 1023 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ja_JP.Provider.century"> |
Offset 1060, 19 lines modified | Offset 1060, 19 lines modified | ||
1060 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1060 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1061 | <dd·class="field-even"><p></p></dd> | 1061 | <dd·class="field-even"><p></p></dd> |
1062 | </dl> | 1062 | </dl> |
1063 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1063 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1064 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1064 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1065 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1065 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
1066 | <span·class="gp">...</span> | 1066 | <span·class="gp">...</span> |
1067 | <span·class="go">'2017-03-27'</span> | ||
1068 | <span·class="go">'201 | 1067 | <span·class="go">'2016-04-25'</span> |
1068 | <span·class="go">'2011-07-29'</span> | ||
1069 | <span·class="go">'1993-0 | 1069 | <span·class="go">'1993-01-25'</span> |
1070 | <span·class="go">'1984-0 | 1070 | <span·class="go">'1984-03-15'</span> |
1071 | <span·class="go">'1998-0 | 1071 | <span·class="go">'1998-01-16'</span> |
1072 | </pre></div> | 1072 | </pre></div> |
1073 | </div> | 1073 | </div> |
1074 | </dd></dl> | 1074 | </dd></dl> |
1075 | <dl·class="py·method"> | 1075 | <dl·class="py·method"> |
1076 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ja_JP.Provider.date_between"> | 1076 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ja_JP.Provider.date_between"> |
1077 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ja_JP.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1077 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ja_JP.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 1094, 19 lines modified | Offset 1094, 19 lines modified | ||
1094 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1094 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1095 | <dd·class="field-even"><p></p></dd> | 1095 | <dd·class="field-even"><p></p></dd> |
1096 | </dl> | 1096 | </dl> |
1097 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1097 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1098 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1098 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1099 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1099 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
1100 | <span·class="gp">...</span> | 1100 | <span·class="gp">...</span> |
1101 | <span·class="go">datetime.date(202 | 1101 | <span·class="go">datetime.date(2020,·3,·7)</span> |
1102 | <span·class="go">datetime.date(201 | 1102 | <span·class="go">datetime.date(2017,·8,·2)</span> |
1103 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
1104 | <span·class="go">datetime.date(200 | 1103 | <span·class="go">datetime.date(2007,·6,·19)</span> |
1104 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
1105 | <span·class="go">datetime.date(201 | 1105 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 1132 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1133 | <span·class="go">datetime.date(202 | 1133 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1134 | <span·class="go">datetime.date(202 | 1134 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1135 | <span·class="go">datetime.date(202 | 1135 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1136 | <span·class="go">datetime.date(202 | 1136 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 1149, 19 lines modified | ||
1149 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1149 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1150 | <dd·class="field-even"><p></p></dd> | 1150 | <dd·class="field-even"><p></p></dd> |
1151 | </dl> | 1151 | </dl> |
1152 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1152 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1153 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1153 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1154 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1154 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
1155 | <span·class="gp">...</span> | 1155 | <span·class="gp">...</span> |
1156 | <span·class="go">datetime.date(2017,·3,·27)</span> | ||
1157 | <span·class="go">datetime.date(201 | 1156 | <span·class="go">datetime.date(2016,·4,·25)</span> |
1157 | <span·class="go">datetime.date(2011,·7,·29)</span> | ||
1158 | <span·class="go">datetime.date(1993,· | 1158 | <span·class="go">datetime.date(1993,·1,·25)</span> |
1159 | <span·class="go">datetime.date(1984,· | 1159 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1160 | <span·class="go">datetime.date(1998,· | 1160 | <span·class="go">datetime.date(1998,·1,·16)</span> |
1161 | </pre></div> | 1161 | </pre></div> |
1162 | </div> | 1162 | </div> |
1163 | </dd></dl> | 1163 | </dd></dl> |
1164 | <dl·class="py·method"> | 1164 | <dl·class="py·method"> |
1165 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ja_JP.Provider.date_of_birth"> | 1165 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ja_JP.Provider.date_of_birth"> |
1166 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ja_JP.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1166 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ja_JP.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
Offset 1185, 19 lines modified | Offset 1185, 19 lines modified | ||
1185 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1185 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1186 | <dd·class="field-even"><p></p></dd> | 1186 | <dd·class="field-even"><p></p></dd> |
1187 | </dl> | 1187 | </dl> |
1188 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1188 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1189 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1189 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1190 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1190 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
1191 | <span·class="gp">...</span> | 1191 | <span·class="gp">...</span> |
1192 | <span·class="go">datetime.date(200 | 1192 | <span·class="go">datetime.date(2006,·10,·20)</span> |
1193 | <span·class="go">datetime.date(1996,·10,·8)</span> | ||
1194 | <span·class="go">datetime.date(1957,·8,·20)</span> | ||
1193 | <span·class="go">datetime.date(19 | 1195 | <span·class="go">datetime.date(1938,·11,·19)</span> |
1194 | <span·class="go">datetime.date(19 | 1196 | <span·class="go">datetime.date(1968,·2,·27)</span> |
1195 | <span·class="go">datetime.date(1939,·12,·21)</span> | ||
1196 | <span·class="go">datetime.date(1969,·3,·30)</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> |
Max diff block lines reached; 103740/125416 bytes (82.72%) of diff not shown. |
Offset 587, 18 lines modified | Offset 587, 18 lines modified | ||
587 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 587 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
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 | ············'AM' | ||
595 | ············'PM' | 594 | ············'PM' |
596 | ············'PM' | 595 | ············'PM' |
597 | ············'PM' | 596 | ············'PM' |
597 | ············'AM' | ||
598 | ············'PM' | 598 | ············'PM' |
599 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 599 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
600 | ··············Example: | 600 | ··············Example: |
601 | ··················‘XVII’ | 601 | ··················‘XVII’ |
602 | ··············Examples: | 602 | ··············Examples: |
603 | ············>>>·Faker.seed(0) | 603 | ············>>>·Faker.seed(0) |
604 | ············>>>·for·_·in·range(5): | 604 | ············>>>·for·_·in·range(5): |
Offset 619, 19 lines modified | Offset 619, 19 lines modified | ||
619 | ··············Returns: | 619 | ··············Returns: |
620 | ··················Date | 620 | ··················Date |
621 | ··············Examples: | 621 | ··············Examples: |
622 | ············>>>·Faker.seed(0) | 622 | ············>>>·Faker.seed(0) |
623 | ············>>>·for·_·in·range(5): | 623 | ············>>>·for·_·in·range(5): |
624 | ············...·····fake.date() | 624 | ············...·····fake.date() |
625 | ············... | 625 | ············... |
626 | ············'2017-03-27' | ||
627 | ············'201 | 626 | ············'2016-04-25' |
627 | ············'2011-07-29' | ||
628 | ············'1993-0 | 628 | ············'1993-01-25' |
629 | ············'1984-0 | 629 | ············'1984-03-15' |
630 | ············'1998-0 | 630 | ············'1998-01-16' |
631 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 631 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
632 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 632 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
633 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 633 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
634 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 634 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
635 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 635 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
636 | ··············Parameters: | 636 | ··············Parameters: |
637 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 637 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
Offset 641, 19 lines modified | Offset 641, 19 lines modified | ||
641 | ··············Returns: | 641 | ··············Returns: |
642 | ··················Date | 642 | ··················Date |
643 | ··············Examples: | 643 | ··············Examples: |
644 | ············>>>·Faker.seed(0) | 644 | ············>>>·Faker.seed(0) |
645 | ············>>>·for·_·in·range(5): | 645 | ············>>>·for·_·in·range(5): |
646 | ············...·····fake.date_between() | 646 | ············...·····fake.date_between() |
647 | ············... | 647 | ············... |
648 | ············datetime.date(202 | 648 | ············datetime.date(2020,·3,·7) |
649 | ············datetime.date(201 | 649 | ············datetime.date(2017,·8,·2) |
650 | ············datetime.date(2008,·7,·20) | ||
651 | ············datetime.date(200 | 650 | ············datetime.date(2007,·6,·19) |
651 | ············datetime.date(2002,·8,·13) | ||
652 | ············datetime.date(201 | 652 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 661, 33 lines modified | ||
661 | ··············Returns: | 661 | ··············Returns: |
662 | ··················Date | 662 | ··················Date |
663 | ··············Examples: | 663 | ··············Examples: |
664 | ············>>>·Faker.seed(0) | 664 | ············>>>·Faker.seed(0) |
665 | ············>>>·for·_·in·range(5): | 665 | ············>>>·for·_·in·range(5): |
666 | ············...·····fake.date_between_dates() | 666 | ············...·····fake.date_between_dates() |
667 | ············... | 667 | ············... |
668 | ············datetime.date(202 | 668 | ············datetime.date(2024,·11,·6) |
669 | ············datetime.date(202 | 669 | ············datetime.date(2024,·11,·6) |
670 | ············datetime.date(202 | 670 | ············datetime.date(2024,·11,·6) |
671 | ············datetime.date(202 | 671 | ············datetime.date(2024,·11,·6) |
672 | ············datetime.date(202 | 672 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
683 | ············datetime.date(201 | 682 | ············datetime.date(2016,·4,·25) |
683 | ············datetime.date(2011,·7,·29) | ||
684 | ············datetime.date(1993,· | 684 | ············datetime.date(1993,·1,·25) |
685 | ············datetime.date(1984,· | 685 | ············datetime.date(1984,·3,·15) |
686 | ············datetime.date(1998,· | 686 | ············datetime.date(1998,·1,·16) |
687 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 687 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
688 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 688 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
689 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 689 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
690 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 690 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
691 | ··············Parameters: | 691 | ··············Parameters: |
692 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. | 692 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. |
693 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. | 693 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. |
Offset 697, 19 lines modified | Offset 697, 19 lines modified | ||
697 | ··············Returns: | 697 | ··············Returns: |
698 | ··················Date | 698 | ··················Date |
699 | ··············Examples: | 699 | ··············Examples: |
700 | ············>>>·Faker.seed(0) | 700 | ············>>>·Faker.seed(0) |
701 | ············>>>·for·_·in·range(5): | 701 | ············>>>·for·_·in·range(5): |
702 | ············...·····fake.date_of_birth() | 702 | ············...·····fake.date_of_birth() |
703 | ············... | 703 | ············... |
704 | ············datetime.date(200 | 704 | ············datetime.date(2006,·10,·20) |
705 | ············datetime.date(1996,·10,·8) | ||
706 | ············datetime.date(1957,·8,·20) | ||
705 | ············datetime.date(19 | 707 | ············datetime.date(1938,·11,·19) |
706 | ············datetime.date(19 | 708 | ············datetime.date(1968,·2,·27) |
707 | ············datetime.date(1939,·12,·21) | ||
708 | ············datetime.date(1969,·3,·30) | ||
709 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 709 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
710 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 710 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
711 | ············Gets·a·Date·object·for·the·current·century. | 711 | ············Gets·a·Date·object·for·the·current·century. |
712 | ··············Parameters: | 712 | ··············Parameters: |
713 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 713 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
714 | ························today | 714 | ························today |
715 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 715 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 719, 19 lines modified | Offset 719, 19 lines modified | ||
719 | ··············Returns: | 719 | ··············Returns: |
720 | ··················Date | 720 | ··················Date |
721 | ··············Examples: | 721 | ··············Examples: |
722 | ············>>>·Faker.seed(0) | 722 | ············>>>·Faker.seed(0) |
723 | ············>>>·for·_·in·range(5): | 723 | ············>>>·for·_·in·range(5): |
724 | ············...·····fake.date_this_century() | 724 | ············...·····fake.date_this_century() |
725 | ············... | 725 | ············... |
726 | ············datetime.date(2020,·12,·24) | ||
Max diff block lines reached; 30790/37925 bytes (81.19%) of diff not shown. |
Offset 898, 18 lines modified | Offset 898, 18 lines modified | ||
898 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 898 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
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">'AM'</span> | ||
906 | <span·class="go">'PM'</span> | 905 | <span·class="go">'PM'</span> |
907 | <span·class="go">'PM'</span> | 906 | <span·class="go">'PM'</span> |
908 | <span·class="go">'PM'</span> | 907 | <span·class="go">'PM'</span> |
908 | <span·class="go">'AM'</span> | ||
909 | <span·class="go">'PM'</span> | 909 | <span·class="go">'PM'</span> |
910 | </pre></div> | 910 | </pre></div> |
911 | </div> | 911 | </div> |
912 | </dd></dl> | 912 | </dd></dl> |
913 | <dl·class="py·method"> | 913 | <dl·class="py·method"> |
914 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ko_KR.Provider.century"> | 914 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ko_KR.Provider.century"> |
Offset 951, 19 lines modified | Offset 951, 19 lines modified | ||
951 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 951 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
952 | <dd·class="field-even"><p></p></dd> | 952 | <dd·class="field-even"><p></p></dd> |
953 | </dl> | 953 | </dl> |
954 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 954 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
955 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 955 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
956 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</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">'2017-03-27'</span> | ||
959 | <span·class="go">'201 | 958 | <span·class="go">'2016-04-25'</span> |
959 | <span·class="go">'2011-07-29'</span> | ||
960 | <span·class="go">'1993-0 | 960 | <span·class="go">'1993-01-25'</span> |
961 | <span·class="go">'1984-0 | 961 | <span·class="go">'1984-03-15'</span> |
962 | <span·class="go">'1998-0 | 962 | <span·class="go">'1998-01-16'</span> |
963 | </pre></div> | 963 | </pre></div> |
964 | </div> | 964 | </div> |
965 | </dd></dl> | 965 | </dd></dl> |
966 | <dl·class="py·method"> | 966 | <dl·class="py·method"> |
967 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ko_KR.Provider.date_between"> | 967 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ko_KR.Provider.date_between"> |
968 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ko_KR.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 968 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ko_KR.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 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(202 | 992 | <span·class="go">datetime.date(2020,·3,·7)</span> |
993 | <span·class="go">datetime.date(201 | 993 | <span·class="go">datetime.date(2017,·8,·2)</span> |
994 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
995 | <span·class="go">datetime.date(200 | 994 | <span·class="go">datetime.date(2007,·6,·19)</span> |
995 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
996 | <span·class="go">datetime.date(201 | 996 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 1023 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1024 | <span·class="go">datetime.date(202 | 1024 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1025 | <span·class="go">datetime.date(202 | 1025 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1026 | <span·class="go">datetime.date(202 | 1026 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1027 | <span·class="go">datetime.date(202 | 1027 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 1040, 19 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(2017,·3,·27)</span> | ||
1048 | <span·class="go">datetime.date(201 | 1047 | <span·class="go">datetime.date(2016,·4,·25)</span> |
1048 | <span·class="go">datetime.date(2011,·7,·29)</span> | ||
1049 | <span·class="go">datetime.date(1993,· | 1049 | <span·class="go">datetime.date(1993,·1,·25)</span> |
1050 | <span·class="go">datetime.date(1984,· | 1050 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1051 | <span·class="go">datetime.date(1998,· | 1051 | <span·class="go">datetime.date(1998,·1,·16)</span> |
1052 | </pre></div> | 1052 | </pre></div> |
1053 | </div> | 1053 | </div> |
1054 | </dd></dl> | 1054 | </dd></dl> |
1055 | <dl·class="py·method"> | 1055 | <dl·class="py·method"> |
1056 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ko_KR.Provider.date_of_birth"> | 1056 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ko_KR.Provider.date_of_birth"> |
1057 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ko_KR.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1057 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ko_KR.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
Offset 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(200 | 1083 | <span·class="go">datetime.date(2006,·10,·20)</span> |
1084 | <span·class="go">datetime.date(1996,·10,·8)</span> | ||
1085 | <span·class="go">datetime.date(1957,·8,·20)</span> | ||
1084 | <span·class="go">datetime.date(19 | 1086 | <span·class="go">datetime.date(1938,·11,·19)</span> |
1085 | <span·class="go">datetime.date(19 | 1087 | <span·class="go">datetime.date(1968,·2,·27)</span> |
1086 | <span·class="go">datetime.date(1939,·12,·21)</span> | ||
1087 | <span·class="go">datetime.date(1969,·3,·30)</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> |
Max diff block lines reached; 98292/119962 bytes (81.94%) of diff not shown. |
Offset 481, 18 lines modified | Offset 481, 18 lines modified | ||
481 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 481 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
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 | ············'AM' | ||
489 | ············'PM' | 488 | ············'PM' |
490 | ············'PM' | 489 | ············'PM' |
491 | ············'PM' | 490 | ············'PM' |
491 | ············'AM' | ||
492 | ············'PM' | 492 | ············'PM' |
493 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 493 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
494 | ··············Example: | 494 | ··············Example: |
495 | ··················‘XVII’ | 495 | ··················‘XVII’ |
496 | ··············Examples: | 496 | ··············Examples: |
497 | ············>>>·Faker.seed(0) | 497 | ············>>>·Faker.seed(0) |
498 | ············>>>·for·_·in·range(5): | 498 | ············>>>·for·_·in·range(5): |
Offset 513, 19 lines modified | Offset 513, 19 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 | ············'2017-03-27' | ||
521 | ············'201 | 520 | ············'2016-04-25' |
521 | ············'2011-07-29' | ||
522 | ············'1993-0 | 522 | ············'1993-01-25' |
523 | ············'1984-0 | 523 | ············'1984-03-15' |
524 | ············'1998-0 | 524 | ············'1998-01-16' |
525 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 525 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
526 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 526 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
527 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 527 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
528 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 528 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
529 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 529 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
530 | ··············Parameters: | 530 | ··············Parameters: |
531 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 531 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
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(202 | 542 | ············datetime.date(2020,·3,·7) |
543 | ············datetime.date(201 | 543 | ············datetime.date(2017,·8,·2) |
544 | ············datetime.date(2008,·7,·20) | ||
545 | ············datetime.date(200 | 544 | ············datetime.date(2007,·6,·19) |
545 | ············datetime.date(2002,·8,·13) | ||
546 | ············datetime.date(201 | 546 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 555, 33 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(202 | 562 | ············datetime.date(2024,·11,·6) |
563 | ············datetime.date(202 | 563 | ············datetime.date(2024,·11,·6) |
564 | ············datetime.date(202 | 564 | ············datetime.date(2024,·11,·6) |
565 | ············datetime.date(202 | 565 | ············datetime.date(2024,·11,·6) |
566 | ············datetime.date(202 | 566 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
577 | ············datetime.date(201 | 576 | ············datetime.date(2016,·4,·25) |
577 | ············datetime.date(2011,·7,·29) | ||
578 | ············datetime.date(1993,· | 578 | ············datetime.date(1993,·1,·25) |
579 | ············datetime.date(1984,· | 579 | ············datetime.date(1984,·3,·15) |
580 | ············datetime.date(1998,· | 580 | ············datetime.date(1998,·1,·16) |
581 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 581 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
582 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 582 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
583 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 583 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
584 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 584 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
585 | ··············Parameters: | 585 | ··············Parameters: |
586 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. | 586 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. |
587 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. | 587 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. |
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(200 | 598 | ············datetime.date(2006,·10,·20) |
599 | ············datetime.date(1996,·10,·8) | ||
600 | ············datetime.date(1957,·8,·20) | ||
599 | ············datetime.date(19 | 601 | ············datetime.date(1938,·11,·19) |
600 | ············datetime.date(19 | 602 | ············datetime.date(1968,·2,·27) |
601 | ············datetime.date(1939,·12,·21) | ||
602 | ············datetime.date(1969,·3,·30) | ||
603 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 603 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
604 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 604 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
605 | ············Gets·a·Date·object·for·the·current·century. | 605 | ············Gets·a·Date·object·for·the·current·century. |
606 | ··············Parameters: | 606 | ··············Parameters: |
607 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 607 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
608 | ························today | 608 | ························today |
609 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 609 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 613, 19 lines modified | Offset 613, 19 lines modified | ||
613 | ··············Returns: | 613 | ··············Returns: |
614 | ··················Date | 614 | ··················Date |
615 | ··············Examples: | 615 | ··············Examples: |
616 | ············>>>·Faker.seed(0) | 616 | ············>>>·Faker.seed(0) |
617 | ············>>>·for·_·in·range(5): | 617 | ············>>>·for·_·in·range(5): |
618 | ············...·····fake.date_this_century() | 618 | ············...·····fake.date_this_century() |
619 | ············... | 619 | ············... |
620 | ············datetime.date(2020,·12,·24) | ||
Max diff block lines reached; 29663/36798 bytes (80.61%) of diff not shown. |
Offset 565, 19 lines modified | Offset 565, 19 lines modified | ||
565 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 565 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
566 | <dd·class="field-odd"><p></p></dd> | 566 | <dd·class="field-odd"><p></p></dd> |
567 | </dl> | 567 | </dl> |
568 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 568 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
569 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 569 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
570 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">ssn</span><span·class="p">()</span> | 570 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">ssn</span><span·class="p">()</span> |
571 | <span·class="gp">...</span> | 571 | <span·class="gp">...</span> |
572 | <span·class="go">'2 | 572 | <span·class="go">'230955-18875'</span> |
573 | <span·class="go">'2 | 573 | <span·class="go">'220549-11529'</span> |
574 | <span·class="go">'2 | 574 | <span·class="go">'240578-16340'</span> |
575 | <span·class="go">' | 575 | <span·class="go">'300837-15252'</span> |
576 | <span·class="go">'0 | 576 | <span·class="go">'060670-15993'</span> |
577 | </pre></div> | 577 | </pre></div> |
578 | </div> | 578 | </div> |
579 | </dd></dl> | 579 | </dd></dl> |
580 | <dl·class="py·method"> | 580 | <dl·class="py·method"> |
581 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.lv_LV.Provider.vat_id"> | 581 | <dt·class="sig·sig-object·py"·id="faker.providers.ssn.lv_LV.Provider.vat_id"> |
582 | <span·class="sig-name·descname"><span·class="pre">vat_id</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.lv_LV.Provider.vat_id"·title="Link·to·this·definition">¶</a></dt> | 582 | <span·class="sig-name·descname"><span·class="pre">vat_id</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.ssn.lv_LV.Provider.vat_id"·title="Link·to·this·definition">¶</a></dt> |
Offset 292, 19 lines modified | Offset 292, 19 lines modified | ||
292 | ············The·number·for·the·century·is·either·0·(1800–1899),·1·(1900–1999), | 292 | ············The·number·for·the·century·is·either·0·(1800–1899),·1·(1900–1999), |
293 | ············or·2·(2000–2099). | 293 | ············or·2·(2000–2099). |
294 | ··············Examples: | 294 | ··············Examples: |
295 | ············>>>·Faker.seed(0) | 295 | ············>>>·Faker.seed(0) |
296 | ············>>>·for·_·in·range(5): | 296 | ············>>>·for·_·in·range(5): |
297 | ············...·····fake.ssn() | 297 | ············...·····fake.ssn() |
298 | ············... | 298 | ············... |
299 | ············'2 | 299 | ············'230955-18875' |
300 | ············'2 | 300 | ············'220549-11529' |
301 | ············'2 | 301 | ············'240578-16340' |
302 | ············' | 302 | ············'300837-15252' |
303 | ············'0 | 303 | ············'060670-15993' |
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">'1 | 1804 | <span·class="go">'16042577730'</span> |
1805 | <span·class="go">'1 | 1805 | <span·class="go">'18103004220'</span> |
1806 | <span·class="go">'840 | 1806 | <span·class="go">'84031552435'</span> |
1807 | <span·class="go">'9 | 1807 | <span·class="go">'96082694160'</span> |
1808 | <span·class="go">'1 | 1808 | <span·class="go">'12122831187'</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 | ············'1 | 1344 | ············'16042577730' |
1345 | ············'1 | 1345 | ············'18103004220' |
1346 | ············'840 | 1346 | ············'84031552435' |
1347 | ············'9 | 1347 | ············'96082694160' |
1348 | ············'1 | 1348 | ············'12122831187' |
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 1058, 18 lines modified | Offset 1058, 18 lines modified | ||
1058 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1058 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1059 | <dd·class="field-odd"><p></p></dd> | 1059 | <dd·class="field-odd"><p></p></dd> |
1060 | </dl> | 1060 | </dl> |
1061 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1061 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1062 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1062 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1063 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1063 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1064 | <span·class="gp">...</span> | 1064 | <span·class="gp">...</span> |
1065 | <span·class="go">'AM'</span> | ||
1066 | <span·class="go">'PM'</span> | 1065 | <span·class="go">'PM'</span> |
1067 | <span·class="go">'PM'</span> | 1066 | <span·class="go">'PM'</span> |
1068 | <span·class="go">'PM'</span> | 1067 | <span·class="go">'PM'</span> |
1068 | <span·class="go">'AM'</span> | ||
1069 | <span·class="go">'PM'</span> | 1069 | <span·class="go">'PM'</span> |
1070 | </pre></div> | 1070 | </pre></div> |
1071 | </div> | 1071 | </div> |
1072 | </dd></dl> | 1072 | </dd></dl> |
1073 | <dl·class="py·method"> | 1073 | <dl·class="py·method"> |
1074 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.nl_NL.Provider.century"> | 1074 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.nl_NL.Provider.century"> |
Offset 1111, 19 lines modified | Offset 1111, 19 lines modified | ||
1111 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1111 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1112 | <dd·class="field-even"><p></p></dd> | 1112 | <dd·class="field-even"><p></p></dd> |
1113 | </dl> | 1113 | </dl> |
1114 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1114 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1115 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1115 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1116 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1116 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
1117 | <span·class="gp">...</span> | 1117 | <span·class="gp">...</span> |
1118 | <span·class="go">'2017-03-27'</span> | ||
1119 | <span·class="go">'201 | 1118 | <span·class="go">'2016-04-25'</span> |
1119 | <span·class="go">'2011-07-29'</span> | ||
1120 | <span·class="go">'1993-0 | 1120 | <span·class="go">'1993-01-25'</span> |
1121 | <span·class="go">'1984-0 | 1121 | <span·class="go">'1984-03-15'</span> |
1122 | <span·class="go">'1998-0 | 1122 | <span·class="go">'1998-01-16'</span> |
1123 | </pre></div> | 1123 | </pre></div> |
1124 | </div> | 1124 | </div> |
1125 | </dd></dl> | 1125 | </dd></dl> |
1126 | <dl·class="py·method"> | 1126 | <dl·class="py·method"> |
1127 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.nl_NL.Provider.date_between"> | 1127 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.nl_NL.Provider.date_between"> |
1128 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.nl_NL.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1128 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.nl_NL.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 1145, 19 lines modified | Offset 1145, 19 lines modified | ||
1145 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1145 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1146 | <dd·class="field-even"><p></p></dd> | 1146 | <dd·class="field-even"><p></p></dd> |
1147 | </dl> | 1147 | </dl> |
1148 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1148 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1149 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1149 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1150 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1150 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
1151 | <span·class="gp">...</span> | 1151 | <span·class="gp">...</span> |
1152 | <span·class="go">datetime.date(202 | 1152 | <span·class="go">datetime.date(2020,·3,·7)</span> |
1153 | <span·class="go">datetime.date(201 | 1153 | <span·class="go">datetime.date(2017,·8,·2)</span> |
1154 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
1155 | <span·class="go">datetime.date(200 | 1154 | <span·class="go">datetime.date(2007,·6,·19)</span> |
1155 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
1156 | <span·class="go">datetime.date(201 | 1156 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 1183 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1184 | <span·class="go">datetime.date(202 | 1184 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1185 | <span·class="go">datetime.date(202 | 1185 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1186 | <span·class="go">datetime.date(202 | 1186 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1187 | <span·class="go">datetime.date(202 | 1187 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 1200, 19 lines modified | ||
1200 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1200 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1201 | <dd·class="field-even"><p></p></dd> | 1201 | <dd·class="field-even"><p></p></dd> |
1202 | </dl> | 1202 | </dl> |
1203 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1203 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1204 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1204 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1205 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1205 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
1206 | <span·class="gp">...</span> | 1206 | <span·class="gp">...</span> |
1207 | <span·class="go">datetime.date(2017,·3,·27)</span> | ||
1208 | <span·class="go">datetime.date(201 | 1207 | <span·class="go">datetime.date(2016,·4,·25)</span> |
1208 | <span·class="go">datetime.date(2011,·7,·29)</span> | ||
1209 | <span·class="go">datetime.date(1993,· | 1209 | <span·class="go">datetime.date(1993,·1,·25)</span> |
1210 | <span·class="go">datetime.date(1984,· | 1210 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1211 | <span·class="go">datetime.date(1998,· | 1211 | <span·class="go">datetime.date(1998,·1,·16)</span> |
1212 | </pre></div> | 1212 | </pre></div> |
1213 | </div> | 1213 | </div> |
1214 | </dd></dl> | 1214 | </dd></dl> |
1215 | <dl·class="py·method"> | 1215 | <dl·class="py·method"> |
1216 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.nl_NL.Provider.date_of_birth"> | 1216 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.nl_NL.Provider.date_of_birth"> |
1217 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.nl_NL.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1217 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.nl_NL.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
Offset 1236, 19 lines modified | Offset 1236, 19 lines modified | ||
1236 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1236 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1237 | <dd·class="field-even"><p></p></dd> | 1237 | <dd·class="field-even"><p></p></dd> |
1238 | </dl> | 1238 | </dl> |
1239 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1239 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1240 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1240 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1241 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1241 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
1242 | <span·class="gp">...</span> | 1242 | <span·class="gp">...</span> |
1243 | <span·class="go">datetime.date(200 | 1243 | <span·class="go">datetime.date(2006,·10,·20)</span> |
1244 | <span·class="go">datetime.date(1996,·10,·8)</span> | ||
1245 | <span·class="go">datetime.date(1957,·8,·20)</span> | ||
1244 | <span·class="go">datetime.date(19 | 1246 | <span·class="go">datetime.date(1938,·11,·19)</span> |
1245 | <span·class="go">datetime.date(19 | 1247 | <span·class="go">datetime.date(1968,·2,·27)</span> |
1246 | <span·class="go">datetime.date(1939,·12,·21)</span> | ||
1247 | <span·class="go">datetime.date(1969,·3,·30)</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> |
Max diff block lines reached; 97802/119478 bytes (81.86%) of diff not shown. |
Offset 602, 18 lines modified | Offset 602, 18 lines modified | ||
602 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 602 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
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 | ············'AM' | ||
610 | ············'PM' | 609 | ············'PM' |
611 | ············'PM' | 610 | ············'PM' |
612 | ············'PM' | 611 | ············'PM' |
612 | ············'AM' | ||
613 | ············'PM' | 613 | ············'PM' |
614 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 614 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
615 | ··············Example: | 615 | ··············Example: |
616 | ··················‘XVII’ | 616 | ··················‘XVII’ |
617 | ··············Examples: | 617 | ··············Examples: |
618 | ············>>>·Faker.seed(0) | 618 | ············>>>·Faker.seed(0) |
619 | ············>>>·for·_·in·range(5): | 619 | ············>>>·for·_·in·range(5): |
Offset 634, 19 lines modified | Offset 634, 19 lines modified | ||
634 | ··············Returns: | 634 | ··············Returns: |
635 | ··················Date | 635 | ··················Date |
636 | ··············Examples: | 636 | ··············Examples: |
637 | ············>>>·Faker.seed(0) | 637 | ············>>>·Faker.seed(0) |
638 | ············>>>·for·_·in·range(5): | 638 | ············>>>·for·_·in·range(5): |
639 | ············...·····fake.date() | 639 | ············...·····fake.date() |
640 | ············... | 640 | ············... |
641 | ············'2017-03-27' | ||
642 | ············'201 | 641 | ············'2016-04-25' |
642 | ············'2011-07-29' | ||
643 | ············'1993-0 | 643 | ············'1993-01-25' |
644 | ············'1984-0 | 644 | ············'1984-03-15' |
645 | ············'1998-0 | 645 | ············'1998-01-16' |
646 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 646 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
647 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 647 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
648 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 648 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
649 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 649 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
650 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 650 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
651 | ··············Parameters: | 651 | ··············Parameters: |
652 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 652 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
Offset 656, 19 lines modified | Offset 656, 19 lines modified | ||
656 | ··············Returns: | 656 | ··············Returns: |
657 | ··················Date | 657 | ··················Date |
658 | ··············Examples: | 658 | ··············Examples: |
659 | ············>>>·Faker.seed(0) | 659 | ············>>>·Faker.seed(0) |
660 | ············>>>·for·_·in·range(5): | 660 | ············>>>·for·_·in·range(5): |
661 | ············...·····fake.date_between() | 661 | ············...·····fake.date_between() |
662 | ············... | 662 | ············... |
663 | ············datetime.date(202 | 663 | ············datetime.date(2020,·3,·7) |
664 | ············datetime.date(201 | 664 | ············datetime.date(2017,·8,·2) |
665 | ············datetime.date(2008,·7,·20) | ||
666 | ············datetime.date(200 | 665 | ············datetime.date(2007,·6,·19) |
666 | ············datetime.date(2002,·8,·13) | ||
667 | ············datetime.date(201 | 667 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 676, 33 lines modified | ||
676 | ··············Returns: | 676 | ··············Returns: |
677 | ··················Date | 677 | ··················Date |
678 | ··············Examples: | 678 | ··············Examples: |
679 | ············>>>·Faker.seed(0) | 679 | ············>>>·Faker.seed(0) |
680 | ············>>>·for·_·in·range(5): | 680 | ············>>>·for·_·in·range(5): |
681 | ············...·····fake.date_between_dates() | 681 | ············...·····fake.date_between_dates() |
682 | ············... | 682 | ············... |
683 | ············datetime.date(202 | 683 | ············datetime.date(2024,·11,·6) |
684 | ············datetime.date(202 | 684 | ············datetime.date(2024,·11,·6) |
685 | ············datetime.date(202 | 685 | ············datetime.date(2024,·11,·6) |
686 | ············datetime.date(202 | 686 | ············datetime.date(2024,·11,·6) |
687 | ············datetime.date(202 | 687 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
698 | ············datetime.date(201 | 697 | ············datetime.date(2016,·4,·25) |
698 | ············datetime.date(2011,·7,·29) | ||
699 | ············datetime.date(1993,· | 699 | ············datetime.date(1993,·1,·25) |
700 | ············datetime.date(1984,· | 700 | ············datetime.date(1984,·3,·15) |
701 | ············datetime.date(1998,· | 701 | ············datetime.date(1998,·1,·16) |
702 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 702 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
703 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 703 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
704 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 704 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
705 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 705 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
706 | ··············Parameters: | 706 | ··············Parameters: |
707 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. | 707 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. |
708 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. | 708 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. |
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(200 | 719 | ············datetime.date(2006,·10,·20) |
720 | ············datetime.date(1996,·10,·8) | ||
721 | ············datetime.date(1957,·8,·20) | ||
720 | ············datetime.date(19 | 722 | ············datetime.date(1938,·11,·19) |
721 | ············datetime.date(19 | 723 | ············datetime.date(1968,·2,·27) |
722 | ············datetime.date(1939,·12,·21) | ||
723 | ············datetime.date(1969,·3,·30) | ||
724 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 724 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
725 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 725 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
726 | ············Gets·a·Date·object·for·the·current·century. | 726 | ············Gets·a·Date·object·for·the·current·century. |
727 | ··············Parameters: | 727 | ··············Parameters: |
728 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 728 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
729 | ························today | 729 | ························today |
730 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 730 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 734, 19 lines modified | Offset 734, 19 lines modified | ||
734 | ··············Returns: | 734 | ··············Returns: |
735 | ··················Date | 735 | ··················Date |
736 | ··············Examples: | 736 | ··············Examples: |
737 | ············>>>·Faker.seed(0) | 737 | ············>>>·Faker.seed(0) |
738 | ············>>>·for·_·in·range(5): | 738 | ············>>>·for·_·in·range(5): |
739 | ············...·····fake.date_this_century() | 739 | ············...·····fake.date_this_century() |
740 | ············... | 740 | ············... |
741 | ············datetime.date(2020,·12,·24) | ||
Max diff block lines reached; 29695/36830 bytes (80.63%) of diff not shown. |
Offset 757, 18 lines modified | Offset 757, 18 lines modified | ||
757 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 757 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
758 | <dd·class="field-odd"><p></p></dd> | 758 | <dd·class="field-odd"><p></p></dd> |
759 | </dl> | 759 | </dl> |
760 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 760 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
761 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 761 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
762 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 762 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
763 | <span·class="gp">...</span> | 763 | <span·class="gp">...</span> |
764 | <span·class="go">'AM'</span> | ||
765 | <span·class="go">'PM'</span> | 764 | <span·class="go">'PM'</span> |
766 | <span·class="go">'PM'</span> | 765 | <span·class="go">'PM'</span> |
767 | <span·class="go">'PM'</span> | 766 | <span·class="go">'PM'</span> |
767 | <span·class="go">'AM'</span> | ||
768 | <span·class="go">'PM'</span> | 768 | <span·class="go">'PM'</span> |
769 | </pre></div> | 769 | </pre></div> |
770 | </div> | 770 | </div> |
771 | </dd></dl> | 771 | </dd></dl> |
772 | <dl·class="py·method"> | 772 | <dl·class="py·method"> |
773 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.no_NO.Provider.century"> | 773 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.no_NO.Provider.century"> |
Offset 810, 19 lines modified | Offset 810, 19 lines modified | ||
810 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 810 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
811 | <dd·class="field-even"><p></p></dd> | 811 | <dd·class="field-even"><p></p></dd> |
812 | </dl> | 812 | </dl> |
813 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 813 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
814 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 814 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
815 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 815 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
816 | <span·class="gp">...</span> | 816 | <span·class="gp">...</span> |
817 | <span·class="go">'2017-03-27'</span> | ||
818 | <span·class="go">'201 | 817 | <span·class="go">'2016-04-25'</span> |
818 | <span·class="go">'2011-07-29'</span> | ||
819 | <span·class="go">'1993-0 | 819 | <span·class="go">'1993-01-25'</span> |
820 | <span·class="go">'1984-0 | 820 | <span·class="go">'1984-03-15'</span> |
821 | <span·class="go">'1998-0 | 821 | <span·class="go">'1998-01-16'</span> |
822 | </pre></div> | 822 | </pre></div> |
823 | </div> | 823 | </div> |
824 | </dd></dl> | 824 | </dd></dl> |
825 | <dl·class="py·method"> | 825 | <dl·class="py·method"> |
826 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.no_NO.Provider.date_between"> | 826 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.no_NO.Provider.date_between"> |
827 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.no_NO.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 827 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.no_NO.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 844, 19 lines modified | Offset 844, 19 lines modified | ||
844 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 844 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
845 | <dd·class="field-even"><p></p></dd> | 845 | <dd·class="field-even"><p></p></dd> |
846 | </dl> | 846 | </dl> |
847 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 847 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
848 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 848 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
849 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 849 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
850 | <span·class="gp">...</span> | 850 | <span·class="gp">...</span> |
851 | <span·class="go">datetime.date(202 | 851 | <span·class="go">datetime.date(2020,·3,·7)</span> |
852 | <span·class="go">datetime.date(201 | 852 | <span·class="go">datetime.date(2017,·8,·2)</span> |
853 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
854 | <span·class="go">datetime.date(200 | 853 | <span·class="go">datetime.date(2007,·6,·19)</span> |
854 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
855 | <span·class="go">datetime.date(201 | 855 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 882 | <span·class="go">datetime.date(2024,·11,·6)</span> |
883 | <span·class="go">datetime.date(202 | 883 | <span·class="go">datetime.date(2024,·11,·6)</span> |
884 | <span·class="go">datetime.date(202 | 884 | <span·class="go">datetime.date(2024,·11,·6)</span> |
885 | <span·class="go">datetime.date(202 | 885 | <span·class="go">datetime.date(2024,·11,·6)</span> |
886 | <span·class="go">datetime.date(202 | 886 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 899, 19 lines modified | ||
899 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 899 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
900 | <dd·class="field-even"><p></p></dd> | 900 | <dd·class="field-even"><p></p></dd> |
901 | </dl> | 901 | </dl> |
902 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 902 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
903 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 903 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
904 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 904 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
905 | <span·class="gp">...</span> | 905 | <span·class="gp">...</span> |
906 | <span·class="go">datetime.date(2017,·3,·27)</span> | ||
907 | <span·class="go">datetime.date(201 | 906 | <span·class="go">datetime.date(2016,·4,·25)</span> |
907 | <span·class="go">datetime.date(2011,·7,·29)</span> | ||
908 | <span·class="go">datetime.date(1993,· | 908 | <span·class="go">datetime.date(1993,·1,·25)</span> |
909 | <span·class="go">datetime.date(1984,· | 909 | <span·class="go">datetime.date(1984,·3,·15)</span> |
910 | <span·class="go">datetime.date(1998,· | 910 | <span·class="go">datetime.date(1998,·1,·16)</span> |
911 | </pre></div> | 911 | </pre></div> |
912 | </div> | 912 | </div> |
913 | </dd></dl> | 913 | </dd></dl> |
914 | <dl·class="py·method"> | 914 | <dl·class="py·method"> |
915 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.no_NO.Provider.date_of_birth"> | 915 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.no_NO.Provider.date_of_birth"> |
916 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.no_NO.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 916 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.no_NO.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
Offset 935, 19 lines modified | Offset 935, 19 lines modified | ||
935 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 935 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
936 | <dd·class="field-even"><p></p></dd> | 936 | <dd·class="field-even"><p></p></dd> |
937 | </dl> | 937 | </dl> |
938 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 938 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
939 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 939 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
940 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 940 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
941 | <span·class="gp">...</span> | 941 | <span·class="gp">...</span> |
942 | <span·class="go">datetime.date(200 | 942 | <span·class="go">datetime.date(2006,·10,·20)</span> |
943 | <span·class="go">datetime.date(1996,·10,·8)</span> | ||
944 | <span·class="go">datetime.date(1957,·8,·20)</span> | ||
943 | <span·class="go">datetime.date(19 | 945 | <span·class="go">datetime.date(1938,·11,·19)</span> |
944 | <span·class="go">datetime.date(19 | 946 | <span·class="go">datetime.date(1968,·2,·27)</span> |
945 | <span·class="go">datetime.date(1939,·12,·21)</span> | ||
946 | <span·class="go">datetime.date(1969,·3,·30)</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> |
Max diff block lines reached; 99675/121337 bytes (82.15%) of diff not shown. |
Offset 434, 18 lines modified | Offset 434, 18 lines modified | ||
434 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 434 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
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 | ············'AM' | ||
442 | ············'PM' | 441 | ············'PM' |
443 | ············'PM' | 442 | ············'PM' |
444 | ············'PM' | 443 | ············'PM' |
444 | ············'AM' | ||
445 | ············'PM' | 445 | ············'PM' |
446 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 446 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
447 | ··············Example: | 447 | ··············Example: |
448 | ··················‘XVII’ | 448 | ··················‘XVII’ |
449 | ··············Examples: | 449 | ··············Examples: |
450 | ············>>>·Faker.seed(0) | 450 | ············>>>·Faker.seed(0) |
451 | ············>>>·for·_·in·range(5): | 451 | ············>>>·for·_·in·range(5): |
Offset 466, 19 lines modified | Offset 466, 19 lines modified | ||
466 | ··············Returns: | 466 | ··············Returns: |
467 | ··················Date | 467 | ··················Date |
468 | ··············Examples: | 468 | ··············Examples: |
469 | ············>>>·Faker.seed(0) | 469 | ············>>>·Faker.seed(0) |
470 | ············>>>·for·_·in·range(5): | 470 | ············>>>·for·_·in·range(5): |
471 | ············...·····fake.date() | 471 | ············...·····fake.date() |
472 | ············... | 472 | ············... |
473 | ············'2017-03-27' | ||
474 | ············'201 | 473 | ············'2016-04-25' |
474 | ············'2011-07-29' | ||
475 | ············'1993-0 | 475 | ············'1993-01-25' |
476 | ············'1984-0 | 476 | ············'1984-03-15' |
477 | ············'1998-0 | 477 | ············'1998-01-16' |
478 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 478 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
479 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 479 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
480 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 480 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
481 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 481 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
482 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 482 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
483 | ··············Parameters: | 483 | ··············Parameters: |
484 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 484 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
Offset 488, 19 lines modified | Offset 488, 19 lines modified | ||
488 | ··············Returns: | 488 | ··············Returns: |
489 | ··················Date | 489 | ··················Date |
490 | ··············Examples: | 490 | ··············Examples: |
491 | ············>>>·Faker.seed(0) | 491 | ············>>>·Faker.seed(0) |
492 | ············>>>·for·_·in·range(5): | 492 | ············>>>·for·_·in·range(5): |
493 | ············...·····fake.date_between() | 493 | ············...·····fake.date_between() |
494 | ············... | 494 | ············... |
495 | ············datetime.date(202 | 495 | ············datetime.date(2020,·3,·7) |
496 | ············datetime.date(201 | 496 | ············datetime.date(2017,·8,·2) |
497 | ············datetime.date(2008,·7,·20) | ||
498 | ············datetime.date(200 | 497 | ············datetime.date(2007,·6,·19) |
498 | ············datetime.date(2002,·8,·13) | ||
499 | ············datetime.date(201 | 499 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 508, 33 lines modified | ||
508 | ··············Returns: | 508 | ··············Returns: |
509 | ··················Date | 509 | ··················Date |
510 | ··············Examples: | 510 | ··············Examples: |
511 | ············>>>·Faker.seed(0) | 511 | ············>>>·Faker.seed(0) |
512 | ············>>>·for·_·in·range(5): | 512 | ············>>>·for·_·in·range(5): |
513 | ············...·····fake.date_between_dates() | 513 | ············...·····fake.date_between_dates() |
514 | ············... | 514 | ············... |
515 | ············datetime.date(202 | 515 | ············datetime.date(2024,·11,·6) |
516 | ············datetime.date(202 | 516 | ············datetime.date(2024,·11,·6) |
517 | ············datetime.date(202 | 517 | ············datetime.date(2024,·11,·6) |
518 | ············datetime.date(202 | 518 | ············datetime.date(2024,·11,·6) |
519 | ············datetime.date(202 | 519 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
530 | ············datetime.date(201 | 529 | ············datetime.date(2016,·4,·25) |
530 | ············datetime.date(2011,·7,·29) | ||
531 | ············datetime.date(1993,· | 531 | ············datetime.date(1993,·1,·25) |
532 | ············datetime.date(1984,· | 532 | ············datetime.date(1984,·3,·15) |
533 | ············datetime.date(1998,· | 533 | ············datetime.date(1998,·1,·16) |
534 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 534 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
535 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 535 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
536 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 536 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
537 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 537 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
538 | ··············Parameters: | 538 | ··············Parameters: |
539 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. | 539 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. |
540 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. | 540 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. |
Offset 544, 19 lines modified | Offset 544, 19 lines modified | ||
544 | ··············Returns: | 544 | ··············Returns: |
545 | ··················Date | 545 | ··················Date |
546 | ··············Examples: | 546 | ··············Examples: |
547 | ············>>>·Faker.seed(0) | 547 | ············>>>·Faker.seed(0) |
548 | ············>>>·for·_·in·range(5): | 548 | ············>>>·for·_·in·range(5): |
549 | ············...·····fake.date_of_birth() | 549 | ············...·····fake.date_of_birth() |
550 | ············... | 550 | ············... |
551 | ············datetime.date(200 | 551 | ············datetime.date(2006,·10,·20) |
552 | ············datetime.date(1996,·10,·8) | ||
553 | ············datetime.date(1957,·8,·20) | ||
552 | ············datetime.date(19 | 554 | ············datetime.date(1938,·11,·19) |
553 | ············datetime.date(19 | 555 | ············datetime.date(1968,·2,·27) |
554 | ············datetime.date(1939,·12,·21) | ||
555 | ············datetime.date(1969,·3,·30) | ||
556 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 556 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
557 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 557 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
558 | ············Gets·a·Date·object·for·the·current·century. | 558 | ············Gets·a·Date·object·for·the·current·century. |
559 | ··············Parameters: | 559 | ··············Parameters: |
560 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 560 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
561 | ························today | 561 | ························today |
562 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 562 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 566, 19 lines modified | Offset 566, 19 lines modified | ||
566 | ··············Returns: | 566 | ··············Returns: |
567 | ··················Date | 567 | ··················Date |
568 | ··············Examples: | 568 | ··············Examples: |
569 | ············>>>·Faker.seed(0) | 569 | ············>>>·Faker.seed(0) |
570 | ············>>>·for·_·in·range(5): | 570 | ············>>>·for·_·in·range(5): |
571 | ············...·····fake.date_this_century() | 571 | ············...·····fake.date_this_century() |
572 | ············... | 572 | ············... |
573 | ············datetime.date(2020,·12,·24) | ||
Max diff block lines reached; 30734/37869 bytes (81.16%) of diff not shown. |
Offset 1180, 18 lines modified | Offset 1180, 18 lines modified | ||
1180 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1180 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1181 | <dd·class="field-odd"><p></p></dd> | 1181 | <dd·class="field-odd"><p></p></dd> |
1182 | </dl> | 1182 | </dl> |
1183 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1183 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1184 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1184 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1185 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1185 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1186 | <span·class="gp">...</span> | 1186 | <span·class="gp">...</span> |
1187 | <span·class="go">'AM'</span> | ||
1188 | <span·class="go">'PM'</span> | 1187 | <span·class="go">'PM'</span> |
1189 | <span·class="go">'PM'</span> | 1188 | <span·class="go">'PM'</span> |
1190 | <span·class="go">'PM'</span> | 1189 | <span·class="go">'PM'</span> |
1190 | <span·class="go">'AM'</span> | ||
1191 | <span·class="go">'PM'</span> | 1191 | <span·class="go">'PM'</span> |
1192 | </pre></div> | 1192 | </pre></div> |
1193 | </div> | 1193 | </div> |
1194 | </dd></dl> | 1194 | </dd></dl> |
1195 | <dl·class="py·method"> | 1195 | <dl·class="py·method"> |
1196 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pl_PL.Provider.century"> | 1196 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pl_PL.Provider.century"> |
Offset 1233, 19 lines modified | Offset 1233, 19 lines modified | ||
1233 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1233 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1234 | <dd·class="field-even"><p></p></dd> | 1234 | <dd·class="field-even"><p></p></dd> |
1235 | </dl> | 1235 | </dl> |
1236 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1236 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1237 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1237 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1238 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1238 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
1239 | <span·class="gp">...</span> | 1239 | <span·class="gp">...</span> |
1240 | <span·class="go">'2017-03-27'</span> | ||
1241 | <span·class="go">'201 | 1240 | <span·class="go">'2016-04-25'</span> |
1241 | <span·class="go">'2011-07-29'</span> | ||
1242 | <span·class="go">'1993-0 | 1242 | <span·class="go">'1993-01-25'</span> |
1243 | <span·class="go">'1984-0 | 1243 | <span·class="go">'1984-03-15'</span> |
1244 | <span·class="go">'1998-0 | 1244 | <span·class="go">'1998-01-16'</span> |
1245 | </pre></div> | 1245 | </pre></div> |
1246 | </div> | 1246 | </div> |
1247 | </dd></dl> | 1247 | </dd></dl> |
1248 | <dl·class="py·method"> | 1248 | <dl·class="py·method"> |
1249 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pl_PL.Provider.date_between"> | 1249 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pl_PL.Provider.date_between"> |
1250 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pl_PL.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1250 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pl_PL.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 1267, 19 lines modified | Offset 1267, 19 lines modified | ||
1267 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1267 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1268 | <dd·class="field-even"><p></p></dd> | 1268 | <dd·class="field-even"><p></p></dd> |
1269 | </dl> | 1269 | </dl> |
1270 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1270 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1271 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1271 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1272 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1272 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
1273 | <span·class="gp">...</span> | 1273 | <span·class="gp">...</span> |
1274 | <span·class="go">datetime.date(202 | 1274 | <span·class="go">datetime.date(2020,·3,·7)</span> |
1275 | <span·class="go">datetime.date(201 | 1275 | <span·class="go">datetime.date(2017,·8,·2)</span> |
1276 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
1277 | <span·class="go">datetime.date(200 | 1276 | <span·class="go">datetime.date(2007,·6,·19)</span> |
1277 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
1278 | <span·class="go">datetime.date(201 | 1278 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 1305 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1306 | <span·class="go">datetime.date(202 | 1306 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1307 | <span·class="go">datetime.date(202 | 1307 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1308 | <span·class="go">datetime.date(202 | 1308 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1309 | <span·class="go">datetime.date(202 | 1309 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 1322, 19 lines modified | ||
1322 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1322 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1323 | <dd·class="field-even"><p></p></dd> | 1323 | <dd·class="field-even"><p></p></dd> |
1324 | </dl> | 1324 | </dl> |
1325 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1325 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1326 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1326 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1327 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1327 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
1328 | <span·class="gp">...</span> | 1328 | <span·class="gp">...</span> |
1329 | <span·class="go">datetime.date(2017,·3,·27)</span> | ||
1330 | <span·class="go">datetime.date(201 | 1329 | <span·class="go">datetime.date(2016,·4,·25)</span> |
1330 | <span·class="go">datetime.date(2011,·7,·29)</span> | ||
1331 | <span·class="go">datetime.date(1993,· | 1331 | <span·class="go">datetime.date(1993,·1,·25)</span> |
1332 | <span·class="go">datetime.date(1984,· | 1332 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1333 | <span·class="go">datetime.date(1998,· | 1333 | <span·class="go">datetime.date(1998,·1,·16)</span> |
1334 | </pre></div> | 1334 | </pre></div> |
1335 | </div> | 1335 | </div> |
1336 | </dd></dl> | 1336 | </dd></dl> |
1337 | <dl·class="py·method"> | 1337 | <dl·class="py·method"> |
1338 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pl_PL.Provider.date_of_birth"> | 1338 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pl_PL.Provider.date_of_birth"> |
1339 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pl_PL.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1339 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pl_PL.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
Offset 1358, 19 lines modified | Offset 1358, 19 lines modified | ||
1358 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1358 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1359 | <dd·class="field-even"><p></p></dd> | 1359 | <dd·class="field-even"><p></p></dd> |
1360 | </dl> | 1360 | </dl> |
1361 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1361 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1362 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1362 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1363 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1363 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
1364 | <span·class="gp">...</span> | 1364 | <span·class="gp">...</span> |
1365 | <span·class="go">datetime.date(200 | 1365 | <span·class="go">datetime.date(2006,·10,·20)</span> |
1366 | <span·class="go">datetime.date(1996,·10,·8)</span> | ||
1367 | <span·class="go">datetime.date(1957,·8,·20)</span> | ||
1366 | <span·class="go">datetime.date(19 | 1368 | <span·class="go">datetime.date(1938,·11,·19)</span> |
1367 | <span·class="go">datetime.date(19 | 1369 | <span·class="go">datetime.date(1968,·2,·27)</span> |
1368 | <span·class="go">datetime.date(1939,·12,·21)</span> | ||
1369 | <span·class="go">datetime.date(1969,·3,·30)</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> |
Max diff block lines reached; 102068/123744 bytes (82.48%) of diff not shown. |
Offset 712, 18 lines modified | Offset 712, 18 lines modified | ||
712 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 712 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
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 | ············'AM' | ||
720 | ············'PM' | 719 | ············'PM' |
721 | ············'PM' | 720 | ············'PM' |
722 | ············'PM' | 721 | ············'PM' |
722 | ············'AM' | ||
723 | ············'PM' | 723 | ············'PM' |
724 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 724 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
725 | ··············Example: | 725 | ··············Example: |
726 | ··················‘XVII’ | 726 | ··················‘XVII’ |
727 | ··············Examples: | 727 | ··············Examples: |
728 | ············>>>·Faker.seed(0) | 728 | ············>>>·Faker.seed(0) |
729 | ············>>>·for·_·in·range(5): | 729 | ············>>>·for·_·in·range(5): |
Offset 744, 19 lines modified | Offset 744, 19 lines modified | ||
744 | ··············Returns: | 744 | ··············Returns: |
745 | ··················Date | 745 | ··················Date |
746 | ··············Examples: | 746 | ··············Examples: |
747 | ············>>>·Faker.seed(0) | 747 | ············>>>·Faker.seed(0) |
748 | ············>>>·for·_·in·range(5): | 748 | ············>>>·for·_·in·range(5): |
749 | ············...·····fake.date() | 749 | ············...·····fake.date() |
750 | ············... | 750 | ············... |
751 | ············'2017-03-27' | ||
752 | ············'201 | 751 | ············'2016-04-25' |
752 | ············'2011-07-29' | ||
753 | ············'1993-0 | 753 | ············'1993-01-25' |
754 | ············'1984-0 | 754 | ············'1984-03-15' |
755 | ············'1998-0 | 755 | ············'1998-01-16' |
756 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 756 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
757 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 757 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
758 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 758 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
759 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 759 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
760 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 760 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
761 | ··············Parameters: | 761 | ··············Parameters: |
762 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 762 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
Offset 766, 19 lines modified | Offset 766, 19 lines modified | ||
766 | ··············Returns: | 766 | ··············Returns: |
767 | ··················Date | 767 | ··················Date |
768 | ··············Examples: | 768 | ··············Examples: |
769 | ············>>>·Faker.seed(0) | 769 | ············>>>·Faker.seed(0) |
770 | ············>>>·for·_·in·range(5): | 770 | ············>>>·for·_·in·range(5): |
771 | ············...·····fake.date_between() | 771 | ············...·····fake.date_between() |
772 | ············... | 772 | ············... |
773 | ············datetime.date(202 | 773 | ············datetime.date(2020,·3,·7) |
774 | ············datetime.date(201 | 774 | ············datetime.date(2017,·8,·2) |
775 | ············datetime.date(2008,·7,·20) | ||
776 | ············datetime.date(200 | 775 | ············datetime.date(2007,·6,·19) |
776 | ············datetime.date(2002,·8,·13) | ||
777 | ············datetime.date(201 | 777 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 786, 33 lines modified | ||
786 | ··············Returns: | 786 | ··············Returns: |
787 | ··················Date | 787 | ··················Date |
788 | ··············Examples: | 788 | ··············Examples: |
789 | ············>>>·Faker.seed(0) | 789 | ············>>>·Faker.seed(0) |
790 | ············>>>·for·_·in·range(5): | 790 | ············>>>·for·_·in·range(5): |
791 | ············...·····fake.date_between_dates() | 791 | ············...·····fake.date_between_dates() |
792 | ············... | 792 | ············... |
793 | ············datetime.date(202 | 793 | ············datetime.date(2024,·11,·6) |
794 | ············datetime.date(202 | 794 | ············datetime.date(2024,·11,·6) |
795 | ············datetime.date(202 | 795 | ············datetime.date(2024,·11,·6) |
796 | ············datetime.date(202 | 796 | ············datetime.date(2024,·11,·6) |
797 | ············datetime.date(202 | 797 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
808 | ············datetime.date(201 | 807 | ············datetime.date(2016,·4,·25) |
808 | ············datetime.date(2011,·7,·29) | ||
809 | ············datetime.date(1993,· | 809 | ············datetime.date(1993,·1,·25) |
810 | ············datetime.date(1984,· | 810 | ············datetime.date(1984,·3,·15) |
811 | ············datetime.date(1998,· | 811 | ············datetime.date(1998,·1,·16) |
812 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 812 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
813 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 813 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
814 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 814 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
815 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 815 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
816 | ··············Parameters: | 816 | ··············Parameters: |
817 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. | 817 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. |
818 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. | 818 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. |
Offset 822, 19 lines modified | Offset 822, 19 lines modified | ||
822 | ··············Returns: | 822 | ··············Returns: |
823 | ··················Date | 823 | ··················Date |
824 | ··············Examples: | 824 | ··············Examples: |
825 | ············>>>·Faker.seed(0) | 825 | ············>>>·Faker.seed(0) |
826 | ············>>>·for·_·in·range(5): | 826 | ············>>>·for·_·in·range(5): |
827 | ············...·····fake.date_of_birth() | 827 | ············...·····fake.date_of_birth() |
828 | ············... | 828 | ············... |
829 | ············datetime.date(200 | 829 | ············datetime.date(2006,·10,·20) |
830 | ············datetime.date(1996,·10,·8) | ||
831 | ············datetime.date(1957,·8,·20) | ||
830 | ············datetime.date(19 | 832 | ············datetime.date(1938,·11,·19) |
831 | ············datetime.date(19 | 833 | ············datetime.date(1968,·2,·27) |
832 | ············datetime.date(1939,·12,·21) | ||
833 | ············datetime.date(1969,·3,·30) | ||
834 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 834 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
835 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 835 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
836 | ············Gets·a·Date·object·for·the·current·century. | 836 | ············Gets·a·Date·object·for·the·current·century. |
837 | ··············Parameters: | 837 | ··············Parameters: |
838 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 838 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
839 | ························today | 839 | ························today |
840 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 840 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 844, 19 lines modified | Offset 844, 19 lines modified | ||
844 | ··············Returns: | 844 | ··············Returns: |
845 | ··················Date | 845 | ··················Date |
846 | ··············Examples: | 846 | ··············Examples: |
847 | ············>>>·Faker.seed(0) | 847 | ············>>>·Faker.seed(0) |
848 | ············>>>·for·_·in·range(5): | 848 | ············>>>·for·_·in·range(5): |
849 | ············...·····fake.date_this_century() | 849 | ············...·····fake.date_this_century() |
850 | ············... | 850 | ············... |
851 | ············datetime.date(2020,·12,·24) | ||
Max diff block lines reached; 31788/38923 bytes (81.67%) of diff not shown. |
Offset 1269, 18 lines modified | Offset 1269, 18 lines modified | ||
1269 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1269 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1270 | <dd·class="field-odd"><p></p></dd> | 1270 | <dd·class="field-odd"><p></p></dd> |
1271 | </dl> | 1271 | </dl> |
1272 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1272 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1273 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1273 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1274 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1274 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1275 | <span·class="gp">...</span> | 1275 | <span·class="gp">...</span> |
1276 | <span·class="go">'AM'</span> | ||
1277 | <span·class="go">'PM'</span> | 1276 | <span·class="go">'PM'</span> |
1278 | <span·class="go">'PM'</span> | 1277 | <span·class="go">'PM'</span> |
1279 | <span·class="go">'PM'</span> | 1278 | <span·class="go">'PM'</span> |
1279 | <span·class="go">'AM'</span> | ||
1280 | <span·class="go">'PM'</span> | 1280 | <span·class="go">'PM'</span> |
1281 | </pre></div> | 1281 | </pre></div> |
1282 | </div> | 1282 | </div> |
1283 | </dd></dl> | 1283 | </dd></dl> |
1284 | <dl·class="py·method"> | 1284 | <dl·class="py·method"> |
1285 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pt_BR.Provider.century"> | 1285 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pt_BR.Provider.century"> |
Offset 1322, 19 lines modified | Offset 1322, 19 lines modified | ||
1322 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1322 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1323 | <dd·class="field-even"><p></p></dd> | 1323 | <dd·class="field-even"><p></p></dd> |
1324 | </dl> | 1324 | </dl> |
1325 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1325 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1326 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1326 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1327 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1327 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
1328 | <span·class="gp">...</span> | 1328 | <span·class="gp">...</span> |
1329 | <span·class="go">'2017-03-27'</span> | ||
1330 | <span·class="go">'201 | 1329 | <span·class="go">'2016-04-25'</span> |
1330 | <span·class="go">'2011-07-29'</span> | ||
1331 | <span·class="go">'1993-0 | 1331 | <span·class="go">'1993-01-25'</span> |
1332 | <span·class="go">'1984-0 | 1332 | <span·class="go">'1984-03-15'</span> |
1333 | <span·class="go">'1998-0 | 1333 | <span·class="go">'1998-01-16'</span> |
1334 | </pre></div> | 1334 | </pre></div> |
1335 | </div> | 1335 | </div> |
1336 | </dd></dl> | 1336 | </dd></dl> |
1337 | <dl·class="py·method"> | 1337 | <dl·class="py·method"> |
1338 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pt_BR.Provider.date_between"> | 1338 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pt_BR.Provider.date_between"> |
1339 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pt_BR.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1339 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pt_BR.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 1356, 19 lines modified | Offset 1356, 19 lines modified | ||
1356 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1356 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1357 | <dd·class="field-even"><p></p></dd> | 1357 | <dd·class="field-even"><p></p></dd> |
1358 | </dl> | 1358 | </dl> |
1359 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1359 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1360 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1360 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1361 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1361 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
1362 | <span·class="gp">...</span> | 1362 | <span·class="gp">...</span> |
1363 | <span·class="go">datetime.date(202 | 1363 | <span·class="go">datetime.date(2020,·3,·7)</span> |
1364 | <span·class="go">datetime.date(201 | 1364 | <span·class="go">datetime.date(2017,·8,·2)</span> |
1365 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
1366 | <span·class="go">datetime.date(200 | 1365 | <span·class="go">datetime.date(2007,·6,·19)</span> |
1366 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
1367 | <span·class="go">datetime.date(201 | 1367 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 1394 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1395 | <span·class="go">datetime.date(202 | 1395 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1396 | <span·class="go">datetime.date(202 | 1396 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1397 | <span·class="go">datetime.date(202 | 1397 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1398 | <span·class="go">datetime.date(202 | 1398 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 1411, 19 lines modified | ||
1411 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1411 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1412 | <dd·class="field-even"><p></p></dd> | 1412 | <dd·class="field-even"><p></p></dd> |
1413 | </dl> | 1413 | </dl> |
1414 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1414 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1415 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1415 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1416 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1416 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
1417 | <span·class="gp">...</span> | 1417 | <span·class="gp">...</span> |
1418 | <span·class="go">datetime.date(2017,·3,·27)</span> | ||
1419 | <span·class="go">datetime.date(201 | 1418 | <span·class="go">datetime.date(2016,·4,·25)</span> |
1419 | <span·class="go">datetime.date(2011,·7,·29)</span> | ||
1420 | <span·class="go">datetime.date(1993,· | 1420 | <span·class="go">datetime.date(1993,·1,·25)</span> |
1421 | <span·class="go">datetime.date(1984,· | 1421 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1422 | <span·class="go">datetime.date(1998,· | 1422 | <span·class="go">datetime.date(1998,·1,·16)</span> |
1423 | </pre></div> | 1423 | </pre></div> |
1424 | </div> | 1424 | </div> |
1425 | </dd></dl> | 1425 | </dd></dl> |
1426 | <dl·class="py·method"> | 1426 | <dl·class="py·method"> |
1427 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pt_BR.Provider.date_of_birth"> | 1427 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pt_BR.Provider.date_of_birth"> |
1428 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pt_BR.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1428 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pt_BR.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
Offset 1447, 19 lines modified | Offset 1447, 19 lines modified | ||
1447 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1447 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1448 | <dd·class="field-even"><p></p></dd> | 1448 | <dd·class="field-even"><p></p></dd> |
1449 | </dl> | 1449 | </dl> |
1450 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1450 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1451 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1451 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1452 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1452 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
1453 | <span·class="gp">...</span> | 1453 | <span·class="gp">...</span> |
1454 | <span·class="go">datetime.date(200 | 1454 | <span·class="go">datetime.date(2006,·10,·20)</span> |
1455 | <span·class="go">datetime.date(1996,·10,·8)</span> | ||
1456 | <span·class="go">datetime.date(1957,·8,·20)</span> | ||
1455 | <span·class="go">datetime.date(19 | 1457 | <span·class="go">datetime.date(1938,·11,·19)</span> |
1456 | <span·class="go">datetime.date(19 | 1458 | <span·class="go">datetime.date(1968,·2,·27)</span> |
1457 | <span·class="go">datetime.date(1939,·12,·21)</span> | ||
1458 | <span·class="go">datetime.date(1969,·3,·30)</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> |
Max diff block lines reached; 97829/119505 bytes (81.86%) of diff not shown. |
Offset 716, 18 lines modified | Offset 716, 18 lines modified | ||
716 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 716 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
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 | ············'AM' | ||
724 | ············'PM' | 723 | ············'PM' |
725 | ············'PM' | 724 | ············'PM' |
726 | ············'PM' | 725 | ············'PM' |
726 | ············'AM' | ||
727 | ············'PM' | 727 | ············'PM' |
728 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 728 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
729 | ··············Example: | 729 | ··············Example: |
730 | ··················‘XVII’ | 730 | ··················‘XVII’ |
731 | ··············Examples: | 731 | ··············Examples: |
732 | ············>>>·Faker.seed(0) | 732 | ············>>>·Faker.seed(0) |
733 | ············>>>·for·_·in·range(5): | 733 | ············>>>·for·_·in·range(5): |
Offset 748, 19 lines modified | Offset 748, 19 lines modified | ||
748 | ··············Returns: | 748 | ··············Returns: |
749 | ··················Date | 749 | ··················Date |
750 | ··············Examples: | 750 | ··············Examples: |
751 | ············>>>·Faker.seed(0) | 751 | ············>>>·Faker.seed(0) |
752 | ············>>>·for·_·in·range(5): | 752 | ············>>>·for·_·in·range(5): |
753 | ············...·····fake.date() | 753 | ············...·····fake.date() |
754 | ············... | 754 | ············... |
755 | ············'2017-03-27' | ||
756 | ············'201 | 755 | ············'2016-04-25' |
756 | ············'2011-07-29' | ||
757 | ············'1993-0 | 757 | ············'1993-01-25' |
758 | ············'1984-0 | 758 | ············'1984-03-15' |
759 | ············'1998-0 | 759 | ············'1998-01-16' |
760 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 760 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
761 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 761 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
762 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 762 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
763 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 763 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
764 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 764 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
765 | ··············Parameters: | 765 | ··············Parameters: |
766 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 766 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
Offset 770, 19 lines modified | Offset 770, 19 lines modified | ||
770 | ··············Returns: | 770 | ··············Returns: |
771 | ··················Date | 771 | ··················Date |
772 | ··············Examples: | 772 | ··············Examples: |
773 | ············>>>·Faker.seed(0) | 773 | ············>>>·Faker.seed(0) |
774 | ············>>>·for·_·in·range(5): | 774 | ············>>>·for·_·in·range(5): |
775 | ············...·····fake.date_between() | 775 | ············...·····fake.date_between() |
776 | ············... | 776 | ············... |
777 | ············datetime.date(202 | 777 | ············datetime.date(2020,·3,·7) |
778 | ············datetime.date(201 | 778 | ············datetime.date(2017,·8,·2) |
779 | ············datetime.date(2008,·7,·20) | ||
780 | ············datetime.date(200 | 779 | ············datetime.date(2007,·6,·19) |
780 | ············datetime.date(2002,·8,·13) | ||
781 | ············datetime.date(201 | 781 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 790, 33 lines modified | ||
790 | ··············Returns: | 790 | ··············Returns: |
791 | ··················Date | 791 | ··················Date |
792 | ··············Examples: | 792 | ··············Examples: |
793 | ············>>>·Faker.seed(0) | 793 | ············>>>·Faker.seed(0) |
794 | ············>>>·for·_·in·range(5): | 794 | ············>>>·for·_·in·range(5): |
795 | ············...·····fake.date_between_dates() | 795 | ············...·····fake.date_between_dates() |
796 | ············... | 796 | ············... |
797 | ············datetime.date(202 | 797 | ············datetime.date(2024,·11,·6) |
798 | ············datetime.date(202 | 798 | ············datetime.date(2024,·11,·6) |
799 | ············datetime.date(202 | 799 | ············datetime.date(2024,·11,·6) |
800 | ············datetime.date(202 | 800 | ············datetime.date(2024,·11,·6) |
801 | ············datetime.date(202 | 801 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
812 | ············datetime.date(201 | 811 | ············datetime.date(2016,·4,·25) |
812 | ············datetime.date(2011,·7,·29) | ||
813 | ············datetime.date(1993,· | 813 | ············datetime.date(1993,·1,·25) |
814 | ············datetime.date(1984,· | 814 | ············datetime.date(1984,·3,·15) |
815 | ············datetime.date(1998,· | 815 | ············datetime.date(1998,·1,·16) |
816 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 816 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
817 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 817 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
818 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 818 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
819 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 819 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
820 | ··············Parameters: | 820 | ··············Parameters: |
821 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. | 821 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. |
822 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. | 822 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. |
Offset 826, 19 lines modified | Offset 826, 19 lines modified | ||
826 | ··············Returns: | 826 | ··············Returns: |
827 | ··················Date | 827 | ··················Date |
828 | ··············Examples: | 828 | ··············Examples: |
829 | ············>>>·Faker.seed(0) | 829 | ············>>>·Faker.seed(0) |
830 | ············>>>·for·_·in·range(5): | 830 | ············>>>·for·_·in·range(5): |
831 | ············...·····fake.date_of_birth() | 831 | ············...·····fake.date_of_birth() |
832 | ············... | 832 | ············... |
833 | ············datetime.date(200 | 833 | ············datetime.date(2006,·10,·20) |
834 | ············datetime.date(1996,·10,·8) | ||
835 | ············datetime.date(1957,·8,·20) | ||
834 | ············datetime.date(19 | 836 | ············datetime.date(1938,·11,·19) |
835 | ············datetime.date(19 | 837 | ············datetime.date(1968,·2,·27) |
836 | ············datetime.date(1939,·12,·21) | ||
837 | ············datetime.date(1969,·3,·30) | ||
838 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 838 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
839 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 839 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
840 | ············Gets·a·Date·object·for·the·current·century. | 840 | ············Gets·a·Date·object·for·the·current·century. |
841 | ··············Parameters: | 841 | ··············Parameters: |
842 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 842 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
843 | ························today | 843 | ························today |
844 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 844 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 848, 19 lines modified | Offset 848, 19 lines modified | ||
848 | ··············Returns: | 848 | ··············Returns: |
849 | ··················Date | 849 | ··················Date |
850 | ··············Examples: | 850 | ··············Examples: |
851 | ············>>>·Faker.seed(0) | 851 | ············>>>·Faker.seed(0) |
852 | ············>>>·for·_·in·range(5): | 852 | ············>>>·for·_·in·range(5): |
853 | ············...·····fake.date_this_century() | 853 | ············...·····fake.date_this_century() |
854 | ············... | 854 | ············... |
855 | ············datetime.date(2020,·12,·24) | ||
Max diff block lines reached; 29738/36873 bytes (80.65%) of diff not shown. |
Offset 929, 19 lines modified | Offset 929, 19 lines modified | ||
929 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 929 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
930 | <dd·class="field-odd"><p></p></dd> | 930 | <dd·class="field-odd"><p></p></dd> |
931 | </dl> | 931 | </dl> |
932 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 932 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
933 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 933 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
934 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">credit_card_expire</span><span·class="p">()</span> | 934 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">credit_card_expire</span><span·class="p">()</span> |
935 | <span·class="gp">...</span> | 935 | <span·class="gp">...</span> |
936 | <span·class="go">'05/34'</span> | ||
937 | <span·class="go">'0 | 936 | <span·class="go">'04/33'</span> |
938 | <span·class="go">'0 | 937 | <span·class="go">'06/32'</span> |
939 | <span·class="go">'0 | 938 | <span·class="go">'01/29'</span> |
940 | <span·class="go">'0 | 939 | <span·class="go">'06/27'</span> |
940 | <span·class="go">'12/29'</span> | ||
941 | </pre></div> | 941 | </pre></div> |
942 | </div> | 942 | </div> |
943 | </dd></dl> | 943 | </dd></dl> |
944 | <dl·class="py·method"> | 944 | <dl·class="py·method"> |
945 | <dt·class="sig·sig-object·py"·id="faker.providers.credit_card.pt_PT.Provider.credit_card_full"> | 945 | <dt·class="sig·sig-object·py"·id="faker.providers.credit_card.pt_PT.Provider.credit_card_full"> |
946 | <span·class="sig-name·descname"><span·class="pre">credit_card_full</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">card_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CardType</span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<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.credit_card.pt_PT.Provider.credit_card_full"·title="Link·to·this·definition">¶</a></dt> | 946 | <span·class="sig-name·descname"><span·class="pre">credit_card_full</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">card_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CardType</span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<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.credit_card.pt_PT.Provider.credit_card_full"·title="Link·to·this·definition">¶</a></dt> |
Offset 950, 19 lines modified | Offset 950, 19 lines modified | ||
950 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 950 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
951 | <dd·class="field-odd"><p></p></dd> | 951 | <dd·class="field-odd"><p></p></dd> |
952 | </dl> | 952 | </dl> |
953 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 953 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
954 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 954 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
955 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">credit_card_full</span><span·class="p">()</span> | 955 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">credit_card_full</span><span·class="p">()</span> |
956 | <span·class="gp">...</span> | 956 | <span·class="gp">...</span> |
957 | <span·class="go">'Mastercard\nValentina·Marques\n5125564876475934·1 | 957 | <span·class="go">'Mastercard\nValentina·Marques\n5125564876475934·11/29\nCVV2:·421\n'</span> |
958 | <span·class="go">'Visa\nMateus·Nogueira\n4907729241157817·0 | 958 | <span·class="go">'Visa\nMateus·Nogueira\n4907729241157817·05/28\nCVV2:·593\n'</span> |
959 | <span·class="go">'Visa\nConstança·Matos\n4511564080160970·0 | 959 | <span·class="go">'Visa\nConstança·Matos\n4511564080160970·02/33\nCVV2:·535\n'</span> |
960 | <span·class="go">'Visa\nDaniel·Correia\n4594323328711585·1 | 960 | <span·class="go">'Visa\nDaniel·Correia\n4594323328711585·10/34\nCVV2:·714\n'</span> |
961 | <span·class="go">'Visa\nNuno·Teixeira\n4118698583989472·1 | 961 | <span·class="go">'Visa\nNuno·Teixeira\n4118698583989472·10/25\nCVV2:·659\n'</span> |
962 | </pre></div> | 962 | </pre></div> |
963 | </div> | 963 | </div> |
964 | </dd></dl> | 964 | </dd></dl> |
965 | <dl·class="py·method"> | 965 | <dl·class="py·method"> |
966 | <dt·class="sig·sig-object·py"·id="faker.providers.credit_card.pt_PT.Provider.credit_card_number"> | 966 | <dt·class="sig·sig-object·py"·id="faker.providers.credit_card.pt_PT.Provider.credit_card_number"> |
967 | <span·class="sig-name·descname"><span·class="pre">credit_card_number</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">card_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CardType</span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<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.credit_card.pt_PT.Provider.credit_card_number"·title="Link·to·this·definition">¶</a></dt> | 967 | <span·class="sig-name·descname"><span·class="pre">credit_card_number</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">card_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CardType</span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<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.credit_card.pt_PT.Provider.credit_card_number"·title="Link·to·this·definition">¶</a></dt> |
Offset 1042, 18 lines modified | Offset 1042, 18 lines modified | ||
1042 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1042 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1043 | <dd·class="field-odd"><p></p></dd> | 1043 | <dd·class="field-odd"><p></p></dd> |
1044 | </dl> | 1044 | </dl> |
1045 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1045 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1046 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1046 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1047 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1047 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1048 | <span·class="gp">...</span> | 1048 | <span·class="gp">...</span> |
1049 | <span·class="go">'AM'</span> | ||
1050 | <span·class="go">'PM'</span> | 1049 | <span·class="go">'PM'</span> |
1051 | <span·class="go">'PM'</span> | 1050 | <span·class="go">'PM'</span> |
1052 | <span·class="go">'PM'</span> | 1051 | <span·class="go">'PM'</span> |
1052 | <span·class="go">'AM'</span> | ||
1053 | <span·class="go">'PM'</span> | 1053 | <span·class="go">'PM'</span> |
1054 | </pre></div> | 1054 | </pre></div> |
1055 | </div> | 1055 | </div> |
1056 | </dd></dl> | 1056 | </dd></dl> |
1057 | <dl·class="py·method"> | 1057 | <dl·class="py·method"> |
1058 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pt_PT.Provider.century"> | 1058 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pt_PT.Provider.century"> |
Offset 1095, 19 lines modified | Offset 1095, 19 lines modified | ||
1095 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1095 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1096 | <dd·class="field-even"><p></p></dd> | 1096 | <dd·class="field-even"><p></p></dd> |
1097 | </dl> | 1097 | </dl> |
1098 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1098 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1099 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1099 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1100 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1100 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
1101 | <span·class="gp">...</span> | 1101 | <span·class="gp">...</span> |
1102 | <span·class="go">'2017-03-27'</span> | ||
1103 | <span·class="go">'201 | 1102 | <span·class="go">'2016-04-25'</span> |
1103 | <span·class="go">'2011-07-29'</span> | ||
1104 | <span·class="go">'1993-0 | 1104 | <span·class="go">'1993-01-25'</span> |
1105 | <span·class="go">'1984-0 | 1105 | <span·class="go">'1984-03-15'</span> |
1106 | <span·class="go">'1998-0 | 1106 | <span·class="go">'1998-01-16'</span> |
1107 | </pre></div> | 1107 | </pre></div> |
1108 | </div> | 1108 | </div> |
1109 | </dd></dl> | 1109 | </dd></dl> |
1110 | <dl·class="py·method"> | 1110 | <dl·class="py·method"> |
1111 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pt_PT.Provider.date_between"> | 1111 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.pt_PT.Provider.date_between"> |
1112 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pt_PT.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1112 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.pt_PT.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 1129, 19 lines modified | Offset 1129, 19 lines modified | ||
1129 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1129 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1130 | <dd·class="field-even"><p></p></dd> | 1130 | <dd·class="field-even"><p></p></dd> |
1131 | </dl> | 1131 | </dl> |
1132 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1132 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1133 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1133 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1134 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1134 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
1135 | <span·class="gp">...</span> | 1135 | <span·class="gp">...</span> |
1136 | <span·class="go">datetime.date(202 | 1136 | <span·class="go">datetime.date(2020,·3,·7)</span> |
1137 | <span·class="go">datetime.date(201 | 1137 | <span·class="go">datetime.date(2017,·8,·2)</span> |
1138 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
1139 | <span·class="go">datetime.date(200 | 1138 | <span·class="go">datetime.date(2007,·6,·19)</span> |
1139 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
1140 | <span·class="go">datetime.date(201 | 1140 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 1167 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1168 | <span·class="go">datetime.date(202 | 1168 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1169 | <span·class="go">datetime.date(202 | 1169 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1170 | <span·class="go">datetime.date(202 | 1170 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1171 | <span·class="go">datetime.date(202 | 1171 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 1184, 19 lines modified | ||
1184 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1184 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1185 | <dd·class="field-even"><p></p></dd> | 1185 | <dd·class="field-even"><p></p></dd> |
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> |
Max diff block lines reached; 104170/125166 bytes (83.23%) of diff not shown. |
Offset 539, 32 lines modified | Offset 539, 32 lines modified | ||
539 | ············expiry·date,·_\x8s_\x8t_\x8r_\x8f_\x8t_\x8i_\x8m_\x8e_\x8(_\x8)·is·used·and·date_format·is·simply·passed·to | 539 | ············expiry·date,·_\x8s_\x8t_\x8r_\x8f_\x8t_\x8i_\x8m_\x8e_\x8(_\x8)·is·used·and·date_format·is·simply·passed·to |
540 | ············that·method. | 540 | ············that·method. |
541 | ··············Examples: | 541 | ··············Examples: |
542 | ············>>>·Faker.seed(0) | 542 | ············>>>·Faker.seed(0) |
543 | ············>>>·for·_·in·range(5): | 543 | ············>>>·for·_·in·range(5): |
544 | ············...·····fake.credit_card_expire() | 544 | ············...·····fake.credit_card_expire() |
545 | ············... | 545 | ············... |
546 | ············'05/34' | ||
547 | ············'0 | 546 | ············'04/33' |
548 | ············'0 | 547 | ············'06/32' |
549 | ············'0 | 548 | ············'01/29' |
550 | ············'0 | 549 | ············'06/27' |
550 | ············'12/29' | ||
551 | ········credit_card_full(c\x8ca\x8ar\x8rd\x8d_\x8_t\x8ty\x8yp\x8pe\x8e:\x8:·C\x8Ca\x8ar\x8rd\x8dT\x8Ty\x8yp\x8pe\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ | 551 | ········credit_card_full(c\x8ca\x8ar\x8rd\x8d_\x8_t\x8ty\x8yp\x8pe\x8e:\x8:·C\x8Ca\x8ar\x8rd\x8dT\x8Ty\x8yp\x8pe\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ |
552 | ············Generate·a·set·of·credit·card·details. | 552 | ············Generate·a·set·of·credit·card·details. |
553 | ··············Examples: | 553 | ··············Examples: |
554 | ············>>>·Faker.seed(0) | 554 | ············>>>·Faker.seed(0) |
555 | ············>>>·for·_·in·range(5): | 555 | ············>>>·for·_·in·range(5): |
556 | ············...·····fake.credit_card_full() | 556 | ············...·····fake.credit_card_full() |
557 | ············... | 557 | ············... |
558 | ············'Mastercard\nValentina·Marques\n5125564876475934·1 | 558 | ············'Mastercard\nValentina·Marques\n5125564876475934·11/29\nCVV2: |
559 | ············421\n' | 559 | ············421\n' |
560 | ············'Visa\nMateus·Nogueira\n4907729241157817·0 | 560 | ············'Visa\nMateus·Nogueira\n4907729241157817·05/28\nCVV2:·593\n' |
561 | ············'Visa\nConstança·Matos\n4511564080160970·0 | 561 | ············'Visa\nConstança·Matos\n4511564080160970·02/33\nCVV2:·535\n' |
562 | ············'Visa\nDaniel·Correia\n4594323328711585·1 | 562 | ············'Visa\nDaniel·Correia\n4594323328711585·10/34\nCVV2:·714\n' |
563 | ············'Visa\nNuno·Teixeira\n4118698583989472·1 | 563 | ············'Visa\nNuno·Teixeira\n4118698583989472·10/25\nCVV2:·659\n' |
564 | ········credit_card_number(c\x8ca\x8ar\x8rd\x8d_\x8_t\x8ty\x8yp\x8pe\x8e:\x8:·C\x8Ca\x8ar\x8rd\x8dT\x8Ty\x8yp\x8pe\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ | 564 | ········credit_card_number(c\x8ca\x8ar\x8rd\x8d_\x8_t\x8ty\x8yp\x8pe\x8e:\x8:·C\x8Ca\x8ar\x8rd\x8dT\x8Ty\x8yp\x8pe\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ |
565 | ············Generate·a·valid·credit·card·number. | 565 | ············Generate·a·valid·credit·card·number. |
566 | ··············Examples: | 566 | ··············Examples: |
567 | ············>>>·Faker.seed(0) | 567 | ············>>>·Faker.seed(0) |
568 | ············>>>·for·_·in·range(5): | 568 | ············>>>·for·_·in·range(5): |
569 | ············...·····fake.credit_card_number() | 569 | ············...·····fake.credit_card_number() |
570 | ············... | 570 | ············... |
Offset 602, 18 lines modified | Offset 602, 18 lines modified | ||
602 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 602 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
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 | ············'AM' | ||
610 | ············'PM' | 609 | ············'PM' |
611 | ············'PM' | 610 | ············'PM' |
612 | ············'PM' | 611 | ············'PM' |
612 | ············'AM' | ||
613 | ············'PM' | 613 | ············'PM' |
614 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 614 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
615 | ··············Example: | 615 | ··············Example: |
616 | ··················‘XVII’ | 616 | ··················‘XVII’ |
617 | ··············Examples: | 617 | ··············Examples: |
618 | ············>>>·Faker.seed(0) | 618 | ············>>>·Faker.seed(0) |
619 | ············>>>·for·_·in·range(5): | 619 | ············>>>·for·_·in·range(5): |
Offset 634, 19 lines modified | Offset 634, 19 lines modified | ||
634 | ··············Returns: | 634 | ··············Returns: |
635 | ··················Date | 635 | ··················Date |
636 | ··············Examples: | 636 | ··············Examples: |
637 | ············>>>·Faker.seed(0) | 637 | ············>>>·Faker.seed(0) |
638 | ············>>>·for·_·in·range(5): | 638 | ············>>>·for·_·in·range(5): |
639 | ············...·····fake.date() | 639 | ············...·····fake.date() |
640 | ············... | 640 | ············... |
641 | ············'2017-03-27' | ||
642 | ············'201 | 641 | ············'2016-04-25' |
642 | ············'2011-07-29' | ||
643 | ············'1993-0 | 643 | ············'1993-01-25' |
644 | ············'1984-0 | 644 | ············'1984-03-15' |
645 | ············'1998-0 | 645 | ············'1998-01-16' |
646 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 646 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
647 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 647 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
648 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 648 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
649 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 649 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
650 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 650 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
651 | ··············Parameters: | 651 | ··············Parameters: |
652 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 652 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
Offset 656, 19 lines modified | Offset 656, 19 lines modified | ||
656 | ··············Returns: | 656 | ··············Returns: |
657 | ··················Date | 657 | ··················Date |
658 | ··············Examples: | 658 | ··············Examples: |
659 | ············>>>·Faker.seed(0) | 659 | ············>>>·Faker.seed(0) |
660 | ············>>>·for·_·in·range(5): | 660 | ············>>>·for·_·in·range(5): |
661 | ············...·····fake.date_between() | 661 | ············...·····fake.date_between() |
662 | ············... | 662 | ············... |
663 | ············datetime.date(202 | 663 | ············datetime.date(2020,·3,·7) |
664 | ············datetime.date(201 | 664 | ············datetime.date(2017,·8,·2) |
665 | ············datetime.date(2008,·7,·20) | ||
666 | ············datetime.date(200 | 665 | ············datetime.date(2007,·6,·19) |
666 | ············datetime.date(2002,·8,·13) | ||
667 | ············datetime.date(201 | 667 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 676, 33 lines modified | ||
676 | ··············Returns: | 676 | ··············Returns: |
677 | ··················Date | 677 | ··················Date |
678 | ··············Examples: | 678 | ··············Examples: |
679 | ············>>>·Faker.seed(0) | 679 | ············>>>·Faker.seed(0) |
680 | ············>>>·for·_·in·range(5): | 680 | ············>>>·for·_·in·range(5): |
681 | ············...·····fake.date_between_dates() | 681 | ············...·····fake.date_between_dates() |
682 | ············... | 682 | ············... |
683 | ············datetime.date(202 | 683 | ············datetime.date(2024,·11,·6) |
684 | ············datetime.date(202 | 684 | ············datetime.date(2024,·11,·6) |
685 | ············datetime.date(202 | 685 | ············datetime.date(2024,·11,·6) |
686 | ············datetime.date(202 | 686 | ············datetime.date(2024,·11,·6) |
687 | ············datetime.date(202 | 687 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
698 | ············datetime.date(201 | 697 | ············datetime.date(2016,·4,·25) |
698 | ············datetime.date(2011,·7,·29) | ||
699 | ············datetime.date(1993,· | 699 | ············datetime.date(1993,·1,·25) |
700 | ············datetime.date(1984,· | 700 | ············datetime.date(1984,·3,·15) |
701 | ············datetime.date(1998,· | 701 | ············datetime.date(1998,·1,·16) |
702 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 702 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
703 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 703 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
704 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 704 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
705 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 705 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
Max diff block lines reached; 31969/38965 bytes (82.05%) of diff not shown. |
Offset 1080, 18 lines modified | Offset 1080, 18 lines modified | ||
1080 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1080 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1081 | <dd·class="field-odd"><p></p></dd> | 1081 | <dd·class="field-odd"><p></p></dd> |
1082 | </dl> | 1082 | </dl> |
1083 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1083 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1084 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1084 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1085 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1085 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1086 | <span·class="gp">...</span> | 1086 | <span·class="gp">...</span> |
1087 | <span·class="go">'AM'</span> | ||
1088 | <span·class="go">'PM'</span> | 1087 | <span·class="go">'PM'</span> |
1089 | <span·class="go">'PM'</span> | 1088 | <span·class="go">'PM'</span> |
1090 | <span·class="go">'PM'</span> | 1089 | <span·class="go">'PM'</span> |
1090 | <span·class="go">'AM'</span> | ||
1091 | <span·class="go">'PM'</span> | 1091 | <span·class="go">'PM'</span> |
1092 | </pre></div> | 1092 | </pre></div> |
1093 | </div> | 1093 | </div> |
1094 | </dd></dl> | 1094 | </dd></dl> |
1095 | <dl·class="py·method"> | 1095 | <dl·class="py·method"> |
1096 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ro_RO.Provider.century"> | 1096 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ro_RO.Provider.century"> |
Offset 1133, 19 lines modified | Offset 1133, 19 lines modified | ||
1133 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1133 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1134 | <dd·class="field-even"><p></p></dd> | 1134 | <dd·class="field-even"><p></p></dd> |
1135 | </dl> | 1135 | </dl> |
1136 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1136 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1137 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1137 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1138 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1138 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
1139 | <span·class="gp">...</span> | 1139 | <span·class="gp">...</span> |
1140 | <span·class="go">'2017-03-27'</span> | ||
1141 | <span·class="go">'201 | 1140 | <span·class="go">'2016-04-25'</span> |
1141 | <span·class="go">'2011-07-29'</span> | ||
1142 | <span·class="go">'1993-0 | 1142 | <span·class="go">'1993-01-25'</span> |
1143 | <span·class="go">'1984-0 | 1143 | <span·class="go">'1984-03-15'</span> |
1144 | <span·class="go">'1998-0 | 1144 | <span·class="go">'1998-01-16'</span> |
1145 | </pre></div> | 1145 | </pre></div> |
1146 | </div> | 1146 | </div> |
1147 | </dd></dl> | 1147 | </dd></dl> |
1148 | <dl·class="py·method"> | 1148 | <dl·class="py·method"> |
1149 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ro_RO.Provider.date_between"> | 1149 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ro_RO.Provider.date_between"> |
1150 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ro_RO.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1150 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ro_RO.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 1167, 19 lines modified | Offset 1167, 19 lines modified | ||
1167 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1167 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1168 | <dd·class="field-even"><p></p></dd> | 1168 | <dd·class="field-even"><p></p></dd> |
1169 | </dl> | 1169 | </dl> |
1170 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1170 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1171 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1171 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1172 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1172 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
1173 | <span·class="gp">...</span> | 1173 | <span·class="gp">...</span> |
1174 | <span·class="go">datetime.date(202 | 1174 | <span·class="go">datetime.date(2020,·3,·7)</span> |
1175 | <span·class="go">datetime.date(201 | 1175 | <span·class="go">datetime.date(2017,·8,·2)</span> |
1176 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
1177 | <span·class="go">datetime.date(200 | 1176 | <span·class="go">datetime.date(2007,·6,·19)</span> |
1177 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
1178 | <span·class="go">datetime.date(201 | 1178 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 1205 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1206 | <span·class="go">datetime.date(202 | 1206 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1207 | <span·class="go">datetime.date(202 | 1207 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1208 | <span·class="go">datetime.date(202 | 1208 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1209 | <span·class="go">datetime.date(202 | 1209 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 1222, 19 lines modified | ||
1222 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1222 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1223 | <dd·class="field-even"><p></p></dd> | 1223 | <dd·class="field-even"><p></p></dd> |
1224 | </dl> | 1224 | </dl> |
1225 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1225 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1226 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1226 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1227 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1227 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
1228 | <span·class="gp">...</span> | 1228 | <span·class="gp">...</span> |
1229 | <span·class="go">datetime.date(2017,·3,·27)</span> | ||
1230 | <span·class="go">datetime.date(201 | 1229 | <span·class="go">datetime.date(2016,·4,·25)</span> |
1230 | <span·class="go">datetime.date(2011,·7,·29)</span> | ||
1231 | <span·class="go">datetime.date(1993,· | 1231 | <span·class="go">datetime.date(1993,·1,·25)</span> |
1232 | <span·class="go">datetime.date(1984,· | 1232 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1233 | <span·class="go">datetime.date(1998,· | 1233 | <span·class="go">datetime.date(1998,·1,·16)</span> |
1234 | </pre></div> | 1234 | </pre></div> |
1235 | </div> | 1235 | </div> |
1236 | </dd></dl> | 1236 | </dd></dl> |
1237 | <dl·class="py·method"> | 1237 | <dl·class="py·method"> |
1238 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ro_RO.Provider.date_of_birth"> | 1238 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ro_RO.Provider.date_of_birth"> |
1239 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ro_RO.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1239 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ro_RO.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
Offset 1258, 19 lines modified | Offset 1258, 19 lines modified | ||
1258 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1258 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1259 | <dd·class="field-even"><p></p></dd> | 1259 | <dd·class="field-even"><p></p></dd> |
1260 | </dl> | 1260 | </dl> |
1261 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1261 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1262 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1262 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1263 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1263 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
1264 | <span·class="gp">...</span> | 1264 | <span·class="gp">...</span> |
1265 | <span·class="go">datetime.date(200 | 1265 | <span·class="go">datetime.date(2006,·10,·20)</span> |
1266 | <span·class="go">datetime.date(1996,·10,·8)</span> | ||
1267 | <span·class="go">datetime.date(1957,·8,·20)</span> | ||
1266 | <span·class="go">datetime.date(19 | 1268 | <span·class="go">datetime.date(1938,·11,·19)</span> |
1267 | <span·class="go">datetime.date(19 | 1269 | <span·class="go">datetime.date(1968,·2,·27)</span> |
1268 | <span·class="go">datetime.date(1939,·12,·21)</span> | ||
1269 | <span·class="go">datetime.date(1969,·3,·30)</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> |
Max diff block lines reached; 97801/119477 bytes (81.86%) of diff not shown. |
Offset 612, 18 lines modified | Offset 612, 18 lines modified | ||
612 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 612 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
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 | ············'AM' | ||
620 | ············'PM' | 619 | ············'PM' |
621 | ············'PM' | 620 | ············'PM' |
622 | ············'PM' | 621 | ············'PM' |
622 | ············'AM' | ||
623 | ············'PM' | 623 | ············'PM' |
624 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 624 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
625 | ··············Example: | 625 | ··············Example: |
626 | ··················‘XVII’ | 626 | ··················‘XVII’ |
627 | ··············Examples: | 627 | ··············Examples: |
628 | ············>>>·Faker.seed(0) | 628 | ············>>>·Faker.seed(0) |
629 | ············>>>·for·_·in·range(5): | 629 | ············>>>·for·_·in·range(5): |
Offset 644, 19 lines modified | Offset 644, 19 lines modified | ||
644 | ··············Returns: | 644 | ··············Returns: |
645 | ··················Date | 645 | ··················Date |
646 | ··············Examples: | 646 | ··············Examples: |
647 | ············>>>·Faker.seed(0) | 647 | ············>>>·Faker.seed(0) |
648 | ············>>>·for·_·in·range(5): | 648 | ············>>>·for·_·in·range(5): |
649 | ············...·····fake.date() | 649 | ············...·····fake.date() |
650 | ············... | 650 | ············... |
651 | ············'2017-03-27' | ||
652 | ············'201 | 651 | ············'2016-04-25' |
652 | ············'2011-07-29' | ||
653 | ············'1993-0 | 653 | ············'1993-01-25' |
654 | ············'1984-0 | 654 | ············'1984-03-15' |
655 | ············'1998-0 | 655 | ············'1998-01-16' |
656 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 656 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
657 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 657 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
658 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 658 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
659 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 659 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
660 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 660 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
661 | ··············Parameters: | 661 | ··············Parameters: |
662 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 662 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
Offset 666, 19 lines modified | Offset 666, 19 lines modified | ||
666 | ··············Returns: | 666 | ··············Returns: |
667 | ··················Date | 667 | ··················Date |
668 | ··············Examples: | 668 | ··············Examples: |
669 | ············>>>·Faker.seed(0) | 669 | ············>>>·Faker.seed(0) |
670 | ············>>>·for·_·in·range(5): | 670 | ············>>>·for·_·in·range(5): |
671 | ············...·····fake.date_between() | 671 | ············...·····fake.date_between() |
672 | ············... | 672 | ············... |
673 | ············datetime.date(202 | 673 | ············datetime.date(2020,·3,·7) |
674 | ············datetime.date(201 | 674 | ············datetime.date(2017,·8,·2) |
675 | ············datetime.date(2008,·7,·20) | ||
676 | ············datetime.date(200 | 675 | ············datetime.date(2007,·6,·19) |
676 | ············datetime.date(2002,·8,·13) | ||
677 | ············datetime.date(201 | 677 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 686, 33 lines modified | ||
686 | ··············Returns: | 686 | ··············Returns: |
687 | ··················Date | 687 | ··················Date |
688 | ··············Examples: | 688 | ··············Examples: |
689 | ············>>>·Faker.seed(0) | 689 | ············>>>·Faker.seed(0) |
690 | ············>>>·for·_·in·range(5): | 690 | ············>>>·for·_·in·range(5): |
691 | ············...·····fake.date_between_dates() | 691 | ············...·····fake.date_between_dates() |
692 | ············... | 692 | ············... |
693 | ············datetime.date(202 | 693 | ············datetime.date(2024,·11,·6) |
694 | ············datetime.date(202 | 694 | ············datetime.date(2024,·11,·6) |
695 | ············datetime.date(202 | 695 | ············datetime.date(2024,·11,·6) |
696 | ············datetime.date(202 | 696 | ············datetime.date(2024,·11,·6) |
697 | ············datetime.date(202 | 697 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
708 | ············datetime.date(201 | 707 | ············datetime.date(2016,·4,·25) |
708 | ············datetime.date(2011,·7,·29) | ||
709 | ············datetime.date(1993,· | 709 | ············datetime.date(1993,·1,·25) |
710 | ············datetime.date(1984,· | 710 | ············datetime.date(1984,·3,·15) |
711 | ············datetime.date(1998,· | 711 | ············datetime.date(1998,·1,·16) |
712 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 712 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
713 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 713 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
714 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 714 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
715 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 715 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
716 | ··············Parameters: | 716 | ··············Parameters: |
717 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. | 717 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. |
718 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. | 718 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. |
Offset 722, 19 lines modified | Offset 722, 19 lines modified | ||
722 | ··············Returns: | 722 | ··············Returns: |
723 | ··················Date | 723 | ··················Date |
724 | ··············Examples: | 724 | ··············Examples: |
725 | ············>>>·Faker.seed(0) | 725 | ············>>>·Faker.seed(0) |
726 | ············>>>·for·_·in·range(5): | 726 | ············>>>·for·_·in·range(5): |
727 | ············...·····fake.date_of_birth() | 727 | ············...·····fake.date_of_birth() |
728 | ············... | 728 | ············... |
729 | ············datetime.date(200 | 729 | ············datetime.date(2006,·10,·20) |
730 | ············datetime.date(1996,·10,·8) | ||
731 | ············datetime.date(1957,·8,·20) | ||
730 | ············datetime.date(19 | 732 | ············datetime.date(1938,·11,·19) |
731 | ············datetime.date(19 | 733 | ············datetime.date(1968,·2,·27) |
732 | ············datetime.date(1939,·12,·21) | ||
733 | ············datetime.date(1969,·3,·30) | ||
734 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 734 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
735 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 735 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
736 | ············Gets·a·Date·object·for·the·current·century. | 736 | ············Gets·a·Date·object·for·the·current·century. |
737 | ··············Parameters: | 737 | ··············Parameters: |
738 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 738 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
739 | ························today | 739 | ························today |
740 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 740 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 744, 19 lines modified | Offset 744, 19 lines modified | ||
744 | ··············Returns: | 744 | ··············Returns: |
745 | ··················Date | 745 | ··················Date |
746 | ··············Examples: | 746 | ··············Examples: |
747 | ············>>>·Faker.seed(0) | 747 | ············>>>·Faker.seed(0) |
748 | ············>>>·for·_·in·range(5): | 748 | ············>>>·for·_·in·range(5): |
749 | ············...·····fake.date_this_century() | 749 | ············...·····fake.date_this_century() |
750 | ············... | 750 | ············... |
751 | ············datetime.date(2020,·12,·24) | ||
Max diff block lines reached; 29702/36837 bytes (80.63%) of diff not shown. |
Offset 1346, 19 lines modified | Offset 1346, 19 lines modified | ||
1346 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1346 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1347 | <dd·class="field-odd"><p></p></dd> | 1347 | <dd·class="field-odd"><p></p></dd> |
1348 | </dl> | 1348 | </dl> |
1349 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1349 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1350 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1350 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1351 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">businesses_ogrn</span><span·class="p">()</span> | 1351 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">businesses_ogrn</span><span·class="p">()</span> |
1352 | <span·class="gp">...</span> | 1352 | <span·class="gp">...</span> |
1353 | <span·class="go">'5 | 1353 | <span·class="go">'5140643439030'</span> |
1354 | <span·class="go">'5176367936685'</span> | ||
1355 | <span·class="go">'51 | 1354 | <span·class="go">'5133979959713'</span> |
1356 | <span·class="go">'1 | 1355 | <span·class="go">'5192884672415'</span> |
1357 | <span·class="go">'1 | 1356 | <span·class="go">'1101815909975'</span> |
1357 | <span·class="go">'5189124656045'</span> | ||
1358 | </pre></div> | 1358 | </pre></div> |
1359 | </div> | 1359 | </div> |
1360 | </dd></dl> | 1360 | </dd></dl> |
1361 | <dl·class="py·method"> | 1361 | <dl·class="py·method"> |
1362 | <dt·class="sig·sig-object·py"·id="faker.providers.company.ru_RU.Provider.catch_phrase"> | 1362 | <dt·class="sig·sig-object·py"·id="faker.providers.company.ru_RU.Provider.catch_phrase"> |
1363 | <span·class="sig-name·descname"><span·class="pre">catch_phrase</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<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.company.ru_RU.Provider.catch_phrase"·title="Link·to·this·definition">¶</a></dt> | 1363 | <span·class="sig-name·descname"><span·class="pre">catch_phrase</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<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.company.ru_RU.Provider.catch_phrase"·title="Link·to·this·definition">¶</a></dt> |
Offset 1569, 19 lines modified | Offset 1569, 19 lines modified | ||
1569 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1569 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1570 | <dd·class="field-odd"><p></p></dd> | 1570 | <dd·class="field-odd"><p></p></dd> |
1571 | </dl> | 1571 | </dl> |
1572 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1572 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1573 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1573 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1574 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">credit_card_expire</span><span·class="p">()</span> | 1574 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">credit_card_expire</span><span·class="p">()</span> |
1575 | <span·class="gp">...</span> | 1575 | <span·class="gp">...</span> |
1576 | <span·class="go">'05/34'</span> | ||
1577 | <span·class="go">'0 | 1576 | <span·class="go">'04/33'</span> |
1578 | <span·class="go">'0 | 1577 | <span·class="go">'06/32'</span> |
1579 | <span·class="go">'0 | 1578 | <span·class="go">'01/29'</span> |
1580 | <span·class="go">'0 | 1579 | <span·class="go">'06/27'</span> |
1580 | <span·class="go">'12/29'</span> | ||
1581 | </pre></div> | 1581 | </pre></div> |
1582 | </div> | 1582 | </div> |
1583 | </dd></dl> | 1583 | </dd></dl> |
1584 | <dl·class="py·method"> | 1584 | <dl·class="py·method"> |
1585 | <dt·class="sig·sig-object·py"·id="faker.providers.credit_card.ru_RU.Provider.credit_card_full"> | 1585 | <dt·class="sig·sig-object·py"·id="faker.providers.credit_card.ru_RU.Provider.credit_card_full"> |
1586 | <span·class="sig-name·descname"><span·class="pre">credit_card_full</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">card_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CardType</span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<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.credit_card.ru_RU.Provider.credit_card_full"·title="Link·to·this·definition">¶</a></dt> | 1586 | <span·class="sig-name·descname"><span·class="pre">credit_card_full</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">card_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CardType</span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<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.credit_card.ru_RU.Provider.credit_card_full"·title="Link·to·this·definition">¶</a></dt> |
Offset 1590, 19 lines modified | Offset 1590, 19 lines modified | ||
1590 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1590 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1591 | <dd·class="field-odd"><p></p></dd> | 1591 | <dd·class="field-odd"><p></p></dd> |
1592 | </dl> | 1592 | </dl> |
1593 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1593 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1594 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1594 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1595 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">credit_card_full</span><span·class="p">()</span> | 1595 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">credit_card_full</span><span·class="p">()</span> |
1596 | <span·class="gp">...</span> | 1596 | <span·class="gp">...</span> |
1597 | <span·class="go">'Maestro\nAlina·Osipova\n6376475938242192·1 | 1597 | <span·class="go">'Maestro\nAlina·Osipova\n6376475938242192·11/32\nCVV2:·892\nКС·Банк'</span> |
1598 | <span·class="go">'Visa\nMaksimilyan·Voronov\n4565938778408013·0 | 1598 | <span·class="go">'Visa\nMaksimilyan·Voronov\n4565938778408013·01/32\nCVV2:·609\nПриобье'</span> |
1599 | <span·class="go">'МИР\nLyubosmysl·Kryukov\n2200393328711588·1 | 1599 | <span·class="go">'МИР\nLyubosmysl·Kryukov\n2200393328711588·10/34\nCVC:·714\nРосэксимбанк'</span> |
1600 | <span·class="go">'МИР\nTrofim·Mironov\n2204398947196596·0 | 1600 | <span·class="go">'МИР\nTrofim·Mironov\n2204398947196596·04/27\nCVC:·232\nАкцепт'</span> |
1601 | <span·class="go">'American·Express\nOlimpiada·Vinogradova\n342201868483398·0 | 1601 | <span·class="go">'American·Express\nOlimpiada·Vinogradova\n342201868483398·02/33\nCID:·6947\nПриобье'</span> |
1602 | </pre></div> | 1602 | </pre></div> |
1603 | </div> | 1603 | </div> |
1604 | </dd></dl> | 1604 | </dd></dl> |
1605 | <dl·class="py·method"> | 1605 | <dl·class="py·method"> |
1606 | <dt·class="sig·sig-object·py"·id="faker.providers.credit_card.ru_RU.Provider.credit_card_number"> | 1606 | <dt·class="sig·sig-object·py"·id="faker.providers.credit_card.ru_RU.Provider.credit_card_number"> |
1607 | <span·class="sig-name·descname"><span·class="pre">credit_card_number</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">card_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CardType</span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<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.credit_card.ru_RU.Provider.credit_card_number"·title="Link·to·this·definition">¶</a></dt> | 1607 | <span·class="sig-name·descname"><span·class="pre">credit_card_number</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">card_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CardType</span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<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.credit_card.ru_RU.Provider.credit_card_number"·title="Link·to·this·definition">¶</a></dt> |
Offset 1854, 18 lines modified | Offset 1854, 18 lines modified | ||
1854 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1854 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1855 | <dd·class="field-odd"><p></p></dd> | 1855 | <dd·class="field-odd"><p></p></dd> |
1856 | </dl> | 1856 | </dl> |
1857 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1857 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1858 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1858 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1859 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1859 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1860 | <span·class="gp">...</span> | 1860 | <span·class="gp">...</span> |
1861 | <span·class="go">'AM'</span> | ||
1862 | <span·class="go">'PM'</span> | 1861 | <span·class="go">'PM'</span> |
1863 | <span·class="go">'PM'</span> | 1862 | <span·class="go">'PM'</span> |
1864 | <span·class="go">'PM'</span> | 1863 | <span·class="go">'PM'</span> |
1864 | <span·class="go">'AM'</span> | ||
1865 | <span·class="go">'PM'</span> | 1865 | <span·class="go">'PM'</span> |
1866 | </pre></div> | 1866 | </pre></div> |
1867 | </div> | 1867 | </div> |
1868 | </dd></dl> | 1868 | </dd></dl> |
1869 | <dl·class="py·method"> | 1869 | <dl·class="py·method"> |
1870 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ru_RU.Provider.century"> | 1870 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ru_RU.Provider.century"> |
Offset 1907, 19 lines modified | Offset 1907, 19 lines modified | ||
1907 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1907 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1908 | <dd·class="field-even"><p></p></dd> | 1908 | <dd·class="field-even"><p></p></dd> |
1909 | </dl> | 1909 | </dl> |
1910 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1910 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1911 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1911 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1912 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1912 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
1913 | <span·class="gp">...</span> | 1913 | <span·class="gp">...</span> |
1914 | <span·class="go">'2017-03-27'</span> | ||
1915 | <span·class="go">'201 | 1914 | <span·class="go">'2016-04-25'</span> |
1915 | <span·class="go">'2011-07-29'</span> | ||
1916 | <span·class="go">'1993-0 | 1916 | <span·class="go">'1993-01-25'</span> |
1917 | <span·class="go">'1984-0 | 1917 | <span·class="go">'1984-03-15'</span> |
1918 | <span·class="go">'1998-0 | 1918 | <span·class="go">'1998-01-16'</span> |
1919 | </pre></div> | 1919 | </pre></div> |
1920 | </div> | 1920 | </div> |
1921 | </dd></dl> | 1921 | </dd></dl> |
1922 | <dl·class="py·method"> | 1922 | <dl·class="py·method"> |
1923 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ru_RU.Provider.date_between"> | 1923 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ru_RU.Provider.date_between"> |
1924 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ru_RU.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1924 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ru_RU.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 1941, 19 lines modified | Offset 1941, 19 lines modified | ||
1941 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1941 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1942 | <dd·class="field-even"><p></p></dd> | 1942 | <dd·class="field-even"><p></p></dd> |
1943 | </dl> | 1943 | </dl> |
1944 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1944 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1945 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1945 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1946 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1946 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
1947 | <span·class="gp">...</span> | 1947 | <span·class="gp">...</span> |
1948 | <span·class="go">datetime.date(202 | 1948 | <span·class="go">datetime.date(2020,·3,·7)</span> |
1949 | <span·class="go">datetime.date(201 | 1949 | <span·class="go">datetime.date(2017,·8,·2)</span> |
1950 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
1951 | <span·class="go">datetime.date(200 | 1950 | <span·class="go">datetime.date(2007,·6,·19)</span> |
1951 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
1952 | <span·class="go">datetime.date(201 | 1952 | <span·class="go">datetime.date(2010,·3,·9)</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> |
Max diff block lines reached; 117995/138066 bytes (85.46%) of diff not shown. |
Offset 802, 19 lines modified | Offset 802, 19 lines modified | ||
802 | ············Returns·primary·state·registration·number·for·businesses·(ru. | 802 | ············Returns·primary·state·registration·number·for·businesses·(ru. |
803 | ············основной·государственный·регистрационный·номер,·ОГРН). | 803 | ············основной·государственный·регистрационный·номер,·ОГРН). |
804 | ··············Examples: | 804 | ··············Examples: |
805 | ············>>>·Faker.seed(0) | 805 | ············>>>·Faker.seed(0) |
806 | ············>>>·for·_·in·range(5): | 806 | ············>>>·for·_·in·range(5): |
807 | ············...·····fake.businesses_ogrn() | 807 | ············...·····fake.businesses_ogrn() |
808 | ············... | 808 | ············... |
809 | ············'5140643439030' | ||
809 | ············'5255406792163' | ||
810 | ············'5176367936685' | ||
811 | ············'51 | 810 | ············'5133979959713' |
812 | ············'1 | 811 | ············'5192884672415' |
813 | ············'1 | 812 | ············'1101815909975' |
813 | ············'5189124656045' | ||
814 | ········catch_phrase()·→·_\x8s_\x8t_\x8r_\x8¶ | 814 | ········catch_phrase()·→·_\x8s_\x8t_\x8r_\x8¶ |
815 | ··············Example: | 815 | ··············Example: |
816 | ··················‘Адаптивный·и·масштабируемый·графический·интерфейс’ | 816 | ··················‘Адаптивный·и·масштабируемый·графический·интерфейс’ |
817 | ··············Examples: | 817 | ··············Examples: |
818 | ············>>>·Faker.seed(0) | 818 | ············>>>·Faker.seed(0) |
819 | ············>>>·for·_·in·range(5): | 819 | ············>>>·for·_·in·range(5): |
820 | ············...·····fake.catch_phrase() | 820 | ············...·····fake.catch_phrase() |
Offset 935, 35 lines modified | Offset 935, 35 lines modified | ||
935 | ············expiry·date,·_\x8s_\x8t_\x8r_\x8f_\x8t_\x8i_\x8m_\x8e_\x8(_\x8)·is·used·and·date_format·is·simply·passed·to | 935 | ············expiry·date,·_\x8s_\x8t_\x8r_\x8f_\x8t_\x8i_\x8m_\x8e_\x8(_\x8)·is·used·and·date_format·is·simply·passed·to |
936 | ············that·method. | 936 | ············that·method. |
937 | ··············Examples: | 937 | ··············Examples: |
938 | ············>>>·Faker.seed(0) | 938 | ············>>>·Faker.seed(0) |
939 | ············>>>·for·_·in·range(5): | 939 | ············>>>·for·_·in·range(5): |
940 | ············...·····fake.credit_card_expire() | 940 | ············...·····fake.credit_card_expire() |
941 | ············... | 941 | ············... |
942 | ············'05/34' | ||
943 | ············'0 | 942 | ············'04/33' |
944 | ············'0 | 943 | ············'06/32' |
945 | ············'0 | 944 | ············'01/29' |
946 | ············'0 | 945 | ············'06/27' |
946 | ············'12/29' | ||
947 | ········credit_card_full(c\x8ca\x8ar\x8rd\x8d_\x8_t\x8ty\x8yp\x8pe\x8e:\x8:·C\x8Ca\x8ar\x8rd\x8dT\x8Ty\x8yp\x8pe\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ | 947 | ········credit_card_full(c\x8ca\x8ar\x8rd\x8d_\x8_t\x8ty\x8yp\x8pe\x8e:\x8:·C\x8Ca\x8ar\x8rd\x8dT\x8Ty\x8yp\x8pe\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ |
948 | ············Generate·a·set·of·credit·card·details. | 948 | ············Generate·a·set·of·credit·card·details. |
949 | ··············Examples: | 949 | ··············Examples: |
950 | ············>>>·Faker.seed(0) | 950 | ············>>>·Faker.seed(0) |
951 | ············>>>·for·_·in·range(5): | 951 | ············>>>·for·_·in·range(5): |
952 | ············...·····fake.credit_card_full() | 952 | ············...·····fake.credit_card_full() |
953 | ············... | 953 | ············... |
954 | ············'Maestro\nAlina·Osipova\n6376475938242192·1 | 954 | ············'Maestro\nAlina·Osipova\n6376475938242192·11/32\nCVV2:·892\nКС |
955 | ············Банк' | 955 | ············Банк' |
956 | ············'Visa\nMaksimilyan·Voronov\n4565938778408013·0 | 956 | ············'Visa\nMaksimilyan·Voronov\n4565938778408013·01/32\nCVV2: |
957 | ············609\nПриобье' | 957 | ············609\nПриобье' |
958 | ············'МИР\nLyubosmysl·Kryukov\n2200393328711588·1 | 958 | ············'МИР\nLyubosmysl·Kryukov\n2200393328711588·10/34\nCVC: |
959 | ············714\nРосэксимбанк' | 959 | ············714\nРосэксимбанк' |
960 | ············'МИР\nTrofim·Mironov\n2204398947196596·0 | 960 | ············'МИР\nTrofim·Mironov\n2204398947196596·04/27\nCVC:·232\nАкцепт' |
961 | ············'American·Express\nOlimpiada·Vinogradova\n342201868483398·0 | 961 | ············'American·Express\nOlimpiada·Vinogradova\n342201868483398·02/ |
962 | ············3 | 962 | ············33\nCID:·6947\nПриобье' |
963 | ········credit_card_number(c\x8ca\x8ar\x8rd\x8d_\x8_t\x8ty\x8yp\x8pe\x8e:\x8:·C\x8Ca\x8ar\x8rd\x8dT\x8Ty\x8yp\x8pe\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ | 963 | ········credit_card_number(c\x8ca\x8ar\x8rd\x8d_\x8_t\x8ty\x8yp\x8pe\x8e:\x8:·C\x8Ca\x8ar\x8rd\x8dT\x8Ty\x8yp\x8pe\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ |
964 | ············Generate·a·valid·credit·card·number. | 964 | ············Generate·a·valid·credit·card·number. |
965 | ··············Examples: | 965 | ··············Examples: |
966 | ············>>>·Faker.seed(0) | 966 | ············>>>·Faker.seed(0) |
967 | ············>>>·for·_·in·range(5): | 967 | ············>>>·for·_·in·range(5): |
968 | ············...·····fake.credit_card_number() | 968 | ············...·····fake.credit_card_number() |
969 | ············... | 969 | ············... |
Offset 1094, 18 lines modified | Offset 1094, 18 lines modified | ||
1094 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 1094 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
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 | ············'AM' | ||
1102 | ············'PM' | 1101 | ············'PM' |
1103 | ············'PM' | 1102 | ············'PM' |
1104 | ············'PM' | 1103 | ············'PM' |
1104 | ············'AM' | ||
1105 | ············'PM' | 1105 | ············'PM' |
1106 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 1106 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
1107 | ··············Example: | 1107 | ··············Example: |
1108 | ··················‘XVII’ | 1108 | ··················‘XVII’ |
1109 | ··············Examples: | 1109 | ··············Examples: |
1110 | ············>>>·Faker.seed(0) | 1110 | ············>>>·Faker.seed(0) |
1111 | ············>>>·for·_·in·range(5): | 1111 | ············>>>·for·_·in·range(5): |
Offset 1126, 19 lines modified | Offset 1126, 19 lines modified | ||
1126 | ··············Returns: | 1126 | ··············Returns: |
1127 | ··················Date | 1127 | ··················Date |
1128 | ··············Examples: | 1128 | ··············Examples: |
1129 | ············>>>·Faker.seed(0) | 1129 | ············>>>·Faker.seed(0) |
1130 | ············>>>·for·_·in·range(5): | 1130 | ············>>>·for·_·in·range(5): |
1131 | ············...·····fake.date() | 1131 | ············...·····fake.date() |
1132 | ············... | 1132 | ············... |
1133 | ············'2017-03-27' | ||
1134 | ············'201 | 1133 | ············'2016-04-25' |
1134 | ············'2011-07-29' | ||
1135 | ············'1993-0 | 1135 | ············'1993-01-25' |
1136 | ············'1984-0 | 1136 | ············'1984-03-15' |
1137 | ············'1998-0 | 1137 | ············'1998-01-16' |
1138 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 1138 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
1139 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 1139 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
1140 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1140 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
1141 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 1141 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
1142 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 1142 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
1143 | ··············Parameters: | 1143 | ··············Parameters: |
1144 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 1144 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
Offset 1148, 19 lines modified | Offset 1148, 19 lines modified | ||
1148 | ··············Returns: | 1148 | ··············Returns: |
1149 | ··················Date | 1149 | ··················Date |
1150 | ··············Examples: | 1150 | ··············Examples: |
1151 | ············>>>·Faker.seed(0) | 1151 | ············>>>·Faker.seed(0) |
1152 | ············>>>·for·_·in·range(5): | 1152 | ············>>>·for·_·in·range(5): |
1153 | ············...·····fake.date_between() | 1153 | ············...·····fake.date_between() |
1154 | ············... | 1154 | ············... |
1155 | ············datetime.date(202 | 1155 | ············datetime.date(2020,·3,·7) |
1156 | ············datetime.date(201 | 1156 | ············datetime.date(2017,·8,·2) |
1157 | ············datetime.date(2008,·7,·20) | ||
1158 | ············datetime.date(200 | 1157 | ············datetime.date(2007,·6,·19) |
1158 | ············datetime.date(2002,·8,·13) | ||
1159 | ············datetime.date(201 | 1159 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 1168, 33 lines modified | ||
1168 | ··············Returns: | 1168 | ··············Returns: |
1169 | ··················Date | 1169 | ··················Date |
1170 | ··············Examples: | 1170 | ··············Examples: |
1171 | ············>>>·Faker.seed(0) | 1171 | ············>>>·Faker.seed(0) |
1172 | ············>>>·for·_·in·range(5): | 1172 | ············>>>·for·_·in·range(5): |
1173 | ············...·····fake.date_between_dates() | 1173 | ············...·····fake.date_between_dates() |
Max diff block lines reached; 38590/44898 bytes (85.95%) of diff not shown. |
Offset 1369, 18 lines modified | Offset 1369, 18 lines modified | ||
1369 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1369 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1370 | <dd·class="field-odd"><p></p></dd> | 1370 | <dd·class="field-odd"><p></p></dd> |
1371 | </dl> | 1371 | </dl> |
1372 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1372 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1373 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1373 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1374 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1374 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1375 | <span·class="gp">...</span> | 1375 | <span·class="gp">...</span> |
1376 | <span·class="go">'AM'</span> | ||
1377 | <span·class="go">'PM'</span> | 1376 | <span·class="go">'PM'</span> |
1378 | <span·class="go">'PM'</span> | 1377 | <span·class="go">'PM'</span> |
1379 | <span·class="go">'PM'</span> | 1378 | <span·class="go">'PM'</span> |
1379 | <span·class="go">'AM'</span> | ||
1380 | <span·class="go">'PM'</span> | 1380 | <span·class="go">'PM'</span> |
1381 | </pre></div> | 1381 | </pre></div> |
1382 | </div> | 1382 | </div> |
1383 | </dd></dl> | 1383 | </dd></dl> |
1384 | <dl·class="py·method"> | 1384 | <dl·class="py·method"> |
1385 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.sk_SK.Provider.century"> | 1385 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.sk_SK.Provider.century"> |
Offset 1422, 19 lines modified | Offset 1422, 19 lines modified | ||
1422 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1422 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1423 | <dd·class="field-even"><p></p></dd> | 1423 | <dd·class="field-even"><p></p></dd> |
1424 | </dl> | 1424 | </dl> |
1425 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1425 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1426 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1426 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1427 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1427 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
1428 | <span·class="gp">...</span> | 1428 | <span·class="gp">...</span> |
1429 | <span·class="go">'2017-03-27'</span> | ||
1430 | <span·class="go">'201 | 1429 | <span·class="go">'2016-04-25'</span> |
1430 | <span·class="go">'2011-07-29'</span> | ||
1431 | <span·class="go">'1993-0 | 1431 | <span·class="go">'1993-01-25'</span> |
1432 | <span·class="go">'1984-0 | 1432 | <span·class="go">'1984-03-15'</span> |
1433 | <span·class="go">'1998-0 | 1433 | <span·class="go">'1998-01-16'</span> |
1434 | </pre></div> | 1434 | </pre></div> |
1435 | </div> | 1435 | </div> |
1436 | </dd></dl> | 1436 | </dd></dl> |
1437 | <dl·class="py·method"> | 1437 | <dl·class="py·method"> |
1438 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.sk_SK.Provider.date_between"> | 1438 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.sk_SK.Provider.date_between"> |
1439 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.sk_SK.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1439 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.sk_SK.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 1456, 19 lines modified | Offset 1456, 19 lines modified | ||
1456 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1456 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1457 | <dd·class="field-even"><p></p></dd> | 1457 | <dd·class="field-even"><p></p></dd> |
1458 | </dl> | 1458 | </dl> |
1459 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1459 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1460 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1460 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1461 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1461 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
1462 | <span·class="gp">...</span> | 1462 | <span·class="gp">...</span> |
1463 | <span·class="go">datetime.date(202 | 1463 | <span·class="go">datetime.date(2020,·3,·7)</span> |
1464 | <span·class="go">datetime.date(201 | 1464 | <span·class="go">datetime.date(2017,·8,·2)</span> |
1465 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
1466 | <span·class="go">datetime.date(200 | 1465 | <span·class="go">datetime.date(2007,·6,·19)</span> |
1466 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
1467 | <span·class="go">datetime.date(201 | 1467 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 1494 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1495 | <span·class="go">datetime.date(202 | 1495 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1496 | <span·class="go">datetime.date(202 | 1496 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1497 | <span·class="go">datetime.date(202 | 1497 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1498 | <span·class="go">datetime.date(202 | 1498 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 1511, 19 lines modified | ||
1511 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1511 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1512 | <dd·class="field-even"><p></p></dd> | 1512 | <dd·class="field-even"><p></p></dd> |
1513 | </dl> | 1513 | </dl> |
1514 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1514 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1515 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1515 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1516 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1516 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
1517 | <span·class="gp">...</span> | 1517 | <span·class="gp">...</span> |
1518 | <span·class="go">datetime.date(2017,·3,·27)</span> | ||
1519 | <span·class="go">datetime.date(201 | 1518 | <span·class="go">datetime.date(2016,·4,·25)</span> |
1519 | <span·class="go">datetime.date(2011,·7,·29)</span> | ||
1520 | <span·class="go">datetime.date(1993,· | 1520 | <span·class="go">datetime.date(1993,·1,·25)</span> |
1521 | <span·class="go">datetime.date(1984,· | 1521 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1522 | <span·class="go">datetime.date(1998,· | 1522 | <span·class="go">datetime.date(1998,·1,·16)</span> |
1523 | </pre></div> | 1523 | </pre></div> |
1524 | </div> | 1524 | </div> |
1525 | </dd></dl> | 1525 | </dd></dl> |
1526 | <dl·class="py·method"> | 1526 | <dl·class="py·method"> |
1527 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.sk_SK.Provider.date_of_birth"> | 1527 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.sk_SK.Provider.date_of_birth"> |
1528 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.sk_SK.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1528 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.sk_SK.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
Offset 1547, 19 lines modified | Offset 1547, 19 lines modified | ||
1547 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1547 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1548 | <dd·class="field-even"><p></p></dd> | 1548 | <dd·class="field-even"><p></p></dd> |
1549 | </dl> | 1549 | </dl> |
1550 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1550 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1551 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1551 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1552 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1552 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
1553 | <span·class="gp">...</span> | 1553 | <span·class="gp">...</span> |
1554 | <span·class="go">datetime.date(200 | 1554 | <span·class="go">datetime.date(2006,·10,·20)</span> |
1555 | <span·class="go">datetime.date(1996,·10,·8)</span> | ||
1556 | <span·class="go">datetime.date(1957,·8,·20)</span> | ||
1555 | <span·class="go">datetime.date(19 | 1557 | <span·class="go">datetime.date(1938,·11,·19)</span> |
1556 | <span·class="go">datetime.date(19 | 1558 | <span·class="go">datetime.date(1968,·2,·27)</span> |
1557 | <span·class="go">datetime.date(1939,·12,·21)</span> | ||
1558 | <span·class="go">datetime.date(1969,·3,·30)</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> |
Max diff block lines reached; 99724/121400 bytes (82.14%) of diff not shown. |
Offset 803, 18 lines modified | Offset 803, 18 lines modified | ||
803 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 803 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
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 | ············'AM' | ||
811 | ············'PM' | 810 | ············'PM' |
812 | ············'PM' | 811 | ············'PM' |
813 | ············'PM' | 812 | ············'PM' |
813 | ············'AM' | ||
814 | ············'PM' | 814 | ············'PM' |
815 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 815 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
816 | ··············Example: | 816 | ··············Example: |
817 | ··················‘XVII’ | 817 | ··················‘XVII’ |
818 | ··············Examples: | 818 | ··············Examples: |
819 | ············>>>·Faker.seed(0) | 819 | ············>>>·Faker.seed(0) |
820 | ············>>>·for·_·in·range(5): | 820 | ············>>>·for·_·in·range(5): |
Offset 835, 19 lines modified | Offset 835, 19 lines modified | ||
835 | ··············Returns: | 835 | ··············Returns: |
836 | ··················Date | 836 | ··················Date |
837 | ··············Examples: | 837 | ··············Examples: |
838 | ············>>>·Faker.seed(0) | 838 | ············>>>·Faker.seed(0) |
839 | ············>>>·for·_·in·range(5): | 839 | ············>>>·for·_·in·range(5): |
840 | ············...·····fake.date() | 840 | ············...·····fake.date() |
841 | ············... | 841 | ············... |
842 | ············'2017-03-27' | ||
843 | ············'201 | 842 | ············'2016-04-25' |
843 | ············'2011-07-29' | ||
844 | ············'1993-0 | 844 | ············'1993-01-25' |
845 | ············'1984-0 | 845 | ············'1984-03-15' |
846 | ············'1998-0 | 846 | ············'1998-01-16' |
847 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 847 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
848 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 848 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
849 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 849 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
850 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 850 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
851 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 851 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
852 | ··············Parameters: | 852 | ··············Parameters: |
853 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 853 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
Offset 857, 19 lines modified | Offset 857, 19 lines modified | ||
857 | ··············Returns: | 857 | ··············Returns: |
858 | ··················Date | 858 | ··················Date |
859 | ··············Examples: | 859 | ··············Examples: |
860 | ············>>>·Faker.seed(0) | 860 | ············>>>·Faker.seed(0) |
861 | ············>>>·for·_·in·range(5): | 861 | ············>>>·for·_·in·range(5): |
862 | ············...·····fake.date_between() | 862 | ············...·····fake.date_between() |
863 | ············... | 863 | ············... |
864 | ············datetime.date(202 | 864 | ············datetime.date(2020,·3,·7) |
865 | ············datetime.date(201 | 865 | ············datetime.date(2017,·8,·2) |
866 | ············datetime.date(2008,·7,·20) | ||
867 | ············datetime.date(200 | 866 | ············datetime.date(2007,·6,·19) |
867 | ············datetime.date(2002,·8,·13) | ||
868 | ············datetime.date(201 | 868 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 877, 33 lines modified | ||
877 | ··············Returns: | 877 | ··············Returns: |
878 | ··················Date | 878 | ··················Date |
879 | ··············Examples: | 879 | ··············Examples: |
880 | ············>>>·Faker.seed(0) | 880 | ············>>>·Faker.seed(0) |
881 | ············>>>·for·_·in·range(5): | 881 | ············>>>·for·_·in·range(5): |
882 | ············...·····fake.date_between_dates() | 882 | ············...·····fake.date_between_dates() |
883 | ············... | 883 | ············... |
884 | ············datetime.date(202 | 884 | ············datetime.date(2024,·11,·6) |
885 | ············datetime.date(202 | 885 | ············datetime.date(2024,·11,·6) |
886 | ············datetime.date(202 | 886 | ············datetime.date(2024,·11,·6) |
887 | ············datetime.date(202 | 887 | ············datetime.date(2024,·11,·6) |
888 | ············datetime.date(202 | 888 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
899 | ············datetime.date(201 | 898 | ············datetime.date(2016,·4,·25) |
899 | ············datetime.date(2011,·7,·29) | ||
900 | ············datetime.date(1993,· | 900 | ············datetime.date(1993,·1,·25) |
901 | ············datetime.date(1984,· | 901 | ············datetime.date(1984,·3,·15) |
902 | ············datetime.date(1998,· | 902 | ············datetime.date(1998,·1,·16) |
903 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 903 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
904 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 904 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
905 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 905 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
906 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 906 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
907 | ··············Parameters: | 907 | ··············Parameters: |
908 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. | 908 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. |
909 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. | 909 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. |
Offset 913, 19 lines modified | Offset 913, 19 lines modified | ||
913 | ··············Returns: | 913 | ··············Returns: |
914 | ··················Date | 914 | ··················Date |
915 | ··············Examples: | 915 | ··············Examples: |
916 | ············>>>·Faker.seed(0) | 916 | ············>>>·Faker.seed(0) |
917 | ············>>>·for·_·in·range(5): | 917 | ············>>>·for·_·in·range(5): |
918 | ············...·····fake.date_of_birth() | 918 | ············...·····fake.date_of_birth() |
919 | ············... | 919 | ············... |
920 | ············datetime.date(200 | 920 | ············datetime.date(2006,·10,·20) |
921 | ············datetime.date(1996,·10,·8) | ||
922 | ············datetime.date(1957,·8,·20) | ||
921 | ············datetime.date(19 | 923 | ············datetime.date(1938,·11,·19) |
922 | ············datetime.date(19 | 924 | ············datetime.date(1968,·2,·27) |
923 | ············datetime.date(1939,·12,·21) | ||
924 | ············datetime.date(1969,·3,·30) | ||
925 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 925 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
926 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 926 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
927 | ············Gets·a·Date·object·for·the·current·century. | 927 | ············Gets·a·Date·object·for·the·current·century. |
928 | ··············Parameters: | 928 | ··············Parameters: |
929 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 929 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
930 | ························today | 930 | ························today |
931 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 931 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 935, 19 lines modified | Offset 935, 19 lines modified | ||
935 | ··············Returns: | 935 | ··············Returns: |
936 | ··················Date | 936 | ··················Date |
937 | ··············Examples: | 937 | ··············Examples: |
938 | ············>>>·Faker.seed(0) | 938 | ············>>>·Faker.seed(0) |
939 | ············>>>·for·_·in·range(5): | 939 | ············>>>·for·_·in·range(5): |
940 | ············...·····fake.date_this_century() | 940 | ············...·····fake.date_this_century() |
941 | ············... | 941 | ············... |
942 | ············datetime.date(2020,·12,·24) | ||
Max diff block lines reached; 30752/37887 bytes (81.17%) of diff not shown. |
Offset 490, 18 lines modified | Offset 490, 18 lines modified | ||
490 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 490 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
491 | <dd·class="field-odd"><p></p></dd> | 491 | <dd·class="field-odd"><p></p></dd> |
492 | </dl> | 492 | </dl> |
493 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 493 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
494 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 494 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
495 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 495 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
496 | <span·class="gp">...</span> | 496 | <span·class="gp">...</span> |
497 | <span·class="go">'AM'</span> | ||
498 | <span·class="go">'PM'</span> | 497 | <span·class="go">'PM'</span> |
499 | <span·class="go">'PM'</span> | 498 | <span·class="go">'PM'</span> |
500 | <span·class="go">'PM'</span> | 499 | <span·class="go">'PM'</span> |
500 | <span·class="go">'AM'</span> | ||
501 | <span·class="go">'PM'</span> | 501 | <span·class="go">'PM'</span> |
502 | </pre></div> | 502 | </pre></div> |
503 | </div> | 503 | </div> |
504 | </dd></dl> | 504 | </dd></dl> |
505 | <dl·class="py·method"> | 505 | <dl·class="py·method"> |
506 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.sl_SI.Provider.century"> | 506 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.sl_SI.Provider.century"> |
Offset 543, 19 lines modified | Offset 543, 19 lines modified | ||
543 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 543 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
544 | <dd·class="field-even"><p></p></dd> | 544 | <dd·class="field-even"><p></p></dd> |
545 | </dl> | 545 | </dl> |
546 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 546 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
547 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 547 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
548 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 548 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
549 | <span·class="gp">...</span> | 549 | <span·class="gp">...</span> |
550 | <span·class="go">'2017-03-27'</span> | ||
551 | <span·class="go">'201 | 550 | <span·class="go">'2016-04-25'</span> |
551 | <span·class="go">'2011-07-29'</span> | ||
552 | <span·class="go">'1993-0 | 552 | <span·class="go">'1993-01-25'</span> |
553 | <span·class="go">'1984-0 | 553 | <span·class="go">'1984-03-15'</span> |
554 | <span·class="go">'1998-0 | 554 | <span·class="go">'1998-01-16'</span> |
555 | </pre></div> | 555 | </pre></div> |
556 | </div> | 556 | </div> |
557 | </dd></dl> | 557 | </dd></dl> |
558 | <dl·class="py·method"> | 558 | <dl·class="py·method"> |
559 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.sl_SI.Provider.date_between"> | 559 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.sl_SI.Provider.date_between"> |
560 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.sl_SI.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 560 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.sl_SI.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 577, 19 lines modified | Offset 577, 19 lines modified | ||
577 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 577 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
578 | <dd·class="field-even"><p></p></dd> | 578 | <dd·class="field-even"><p></p></dd> |
579 | </dl> | 579 | </dl> |
580 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 580 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
581 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 581 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
582 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 582 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
583 | <span·class="gp">...</span> | 583 | <span·class="gp">...</span> |
584 | <span·class="go">datetime.date(202 | 584 | <span·class="go">datetime.date(2020,·3,·7)</span> |
585 | <span·class="go">datetime.date(201 | 585 | <span·class="go">datetime.date(2017,·8,·2)</span> |
586 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
587 | <span·class="go">datetime.date(200 | 586 | <span·class="go">datetime.date(2007,·6,·19)</span> |
587 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
588 | <span·class="go">datetime.date(201 | 588 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 615 | <span·class="go">datetime.date(2024,·11,·6)</span> |
616 | <span·class="go">datetime.date(202 | 616 | <span·class="go">datetime.date(2024,·11,·6)</span> |
617 | <span·class="go">datetime.date(202 | 617 | <span·class="go">datetime.date(2024,·11,·6)</span> |
618 | <span·class="go">datetime.date(202 | 618 | <span·class="go">datetime.date(2024,·11,·6)</span> |
619 | <span·class="go">datetime.date(202 | 619 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 632, 19 lines modified | ||
632 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 632 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
633 | <dd·class="field-even"><p></p></dd> | 633 | <dd·class="field-even"><p></p></dd> |
634 | </dl> | 634 | </dl> |
635 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 635 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
636 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 636 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
637 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 637 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
638 | <span·class="gp">...</span> | 638 | <span·class="gp">...</span> |
639 | <span·class="go">datetime.date(2017,·3,·27)</span> | ||
640 | <span·class="go">datetime.date(201 | 639 | <span·class="go">datetime.date(2016,·4,·25)</span> |
640 | <span·class="go">datetime.date(2011,·7,·29)</span> | ||
641 | <span·class="go">datetime.date(1993,· | 641 | <span·class="go">datetime.date(1993,·1,·25)</span> |
642 | <span·class="go">datetime.date(1984,· | 642 | <span·class="go">datetime.date(1984,·3,·15)</span> |
643 | <span·class="go">datetime.date(1998,· | 643 | <span·class="go">datetime.date(1998,·1,·16)</span> |
644 | </pre></div> | 644 | </pre></div> |
645 | </div> | 645 | </div> |
646 | </dd></dl> | 646 | </dd></dl> |
647 | <dl·class="py·method"> | 647 | <dl·class="py·method"> |
648 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.sl_SI.Provider.date_of_birth"> | 648 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.sl_SI.Provider.date_of_birth"> |
649 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.sl_SI.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 649 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.sl_SI.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
Offset 668, 19 lines modified | Offset 668, 19 lines modified | ||
668 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 668 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
669 | <dd·class="field-even"><p></p></dd> | 669 | <dd·class="field-even"><p></p></dd> |
670 | </dl> | 670 | </dl> |
671 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 671 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
672 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 672 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
673 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 673 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
674 | <span·class="gp">...</span> | 674 | <span·class="gp">...</span> |
675 | <span·class="go">datetime.date(200 | 675 | <span·class="go">datetime.date(2006,·10,·20)</span> |
676 | <span·class="go">datetime.date(1996,·10,·8)</span> | ||
677 | <span·class="go">datetime.date(1957,·8,·20)</span> | ||
676 | <span·class="go">datetime.date(19 | 678 | <span·class="go">datetime.date(1938,·11,·19)</span> |
677 | <span·class="go">datetime.date(19 | 679 | <span·class="go">datetime.date(1968,·2,·27)</span> |
678 | <span·class="go">datetime.date(1939,·12,·21)</span> | ||
679 | <span·class="go">datetime.date(1969,·3,·30)</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> |
Max diff block lines reached; 98329/119991 bytes (81.95%) of diff not shown. |
Offset 250, 18 lines modified | Offset 250, 18 lines modified | ||
250 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 250 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
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 | ············'AM' | ||
258 | ············'PM' | 257 | ············'PM' |
259 | ············'PM' | 258 | ············'PM' |
260 | ············'PM' | 259 | ············'PM' |
260 | ············'AM' | ||
261 | ············'PM' | 261 | ············'PM' |
262 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 262 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
263 | ··············Example: | 263 | ··············Example: |
264 | ··················‘XVII’ | 264 | ··················‘XVII’ |
265 | ··············Examples: | 265 | ··············Examples: |
266 | ············>>>·Faker.seed(0) | 266 | ············>>>·Faker.seed(0) |
267 | ············>>>·for·_·in·range(5): | 267 | ············>>>·for·_·in·range(5): |
Offset 282, 19 lines modified | Offset 282, 19 lines modified | ||
282 | ··············Returns: | 282 | ··············Returns: |
283 | ··················Date | 283 | ··················Date |
284 | ··············Examples: | 284 | ··············Examples: |
285 | ············>>>·Faker.seed(0) | 285 | ············>>>·Faker.seed(0) |
286 | ············>>>·for·_·in·range(5): | 286 | ············>>>·for·_·in·range(5): |
287 | ············...·····fake.date() | 287 | ············...·····fake.date() |
288 | ············... | 288 | ············... |
289 | ············'2017-03-27' | ||
290 | ············'201 | 289 | ············'2016-04-25' |
290 | ············'2011-07-29' | ||
291 | ············'1993-0 | 291 | ············'1993-01-25' |
292 | ············'1984-0 | 292 | ············'1984-03-15' |
293 | ············'1998-0 | 293 | ············'1998-01-16' |
294 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 294 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
295 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 295 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
296 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 296 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
297 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 297 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
298 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 298 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
299 | ··············Parameters: | 299 | ··············Parameters: |
300 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 300 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
Offset 304, 19 lines modified | Offset 304, 19 lines modified | ||
304 | ··············Returns: | 304 | ··············Returns: |
305 | ··················Date | 305 | ··················Date |
306 | ··············Examples: | 306 | ··············Examples: |
307 | ············>>>·Faker.seed(0) | 307 | ············>>>·Faker.seed(0) |
308 | ············>>>·for·_·in·range(5): | 308 | ············>>>·for·_·in·range(5): |
309 | ············...·····fake.date_between() | 309 | ············...·····fake.date_between() |
310 | ············... | 310 | ············... |
311 | ············datetime.date(202 | 311 | ············datetime.date(2020,·3,·7) |
312 | ············datetime.date(201 | 312 | ············datetime.date(2017,·8,·2) |
313 | ············datetime.date(2008,·7,·20) | ||
314 | ············datetime.date(200 | 313 | ············datetime.date(2007,·6,·19) |
314 | ············datetime.date(2002,·8,·13) | ||
315 | ············datetime.date(201 | 315 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 324, 33 lines modified | ||
324 | ··············Returns: | 324 | ··············Returns: |
325 | ··················Date | 325 | ··················Date |
326 | ··············Examples: | 326 | ··············Examples: |
327 | ············>>>·Faker.seed(0) | 327 | ············>>>·Faker.seed(0) |
328 | ············>>>·for·_·in·range(5): | 328 | ············>>>·for·_·in·range(5): |
329 | ············...·····fake.date_between_dates() | 329 | ············...·····fake.date_between_dates() |
330 | ············... | 330 | ············... |
331 | ············datetime.date(202 | 331 | ············datetime.date(2024,·11,·6) |
332 | ············datetime.date(202 | 332 | ············datetime.date(2024,·11,·6) |
333 | ············datetime.date(202 | 333 | ············datetime.date(2024,·11,·6) |
334 | ············datetime.date(202 | 334 | ············datetime.date(2024,·11,·6) |
335 | ············datetime.date(202 | 335 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
346 | ············datetime.date(201 | 345 | ············datetime.date(2016,·4,·25) |
346 | ············datetime.date(2011,·7,·29) | ||
347 | ············datetime.date(1993,· | 347 | ············datetime.date(1993,·1,·25) |
348 | ············datetime.date(1984,· | 348 | ············datetime.date(1984,·3,·15) |
349 | ············datetime.date(1998,· | 349 | ············datetime.date(1998,·1,·16) |
350 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 350 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
351 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 351 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
352 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 352 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
353 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 353 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
354 | ··············Parameters: | 354 | ··············Parameters: |
355 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. | 355 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. |
356 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. | 356 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. |
Offset 360, 19 lines modified | Offset 360, 19 lines modified | ||
360 | ··············Returns: | 360 | ··············Returns: |
361 | ··················Date | 361 | ··················Date |
362 | ··············Examples: | 362 | ··············Examples: |
363 | ············>>>·Faker.seed(0) | 363 | ············>>>·Faker.seed(0) |
364 | ············>>>·for·_·in·range(5): | 364 | ············>>>·for·_·in·range(5): |
365 | ············...·····fake.date_of_birth() | 365 | ············...·····fake.date_of_birth() |
366 | ············... | 366 | ············... |
367 | ············datetime.date(200 | 367 | ············datetime.date(2006,·10,·20) |
368 | ············datetime.date(1996,·10,·8) | ||
369 | ············datetime.date(1957,·8,·20) | ||
368 | ············datetime.date(19 | 370 | ············datetime.date(1938,·11,·19) |
369 | ············datetime.date(19 | 371 | ············datetime.date(1968,·2,·27) |
370 | ············datetime.date(1939,·12,·21) | ||
371 | ············datetime.date(1969,·3,·30) | ||
372 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 372 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
373 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 373 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
374 | ············Gets·a·Date·object·for·the·current·century. | 374 | ············Gets·a·Date·object·for·the·current·century. |
375 | ··············Parameters: | 375 | ··············Parameters: |
376 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 376 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
377 | ························today | 377 | ························today |
378 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 378 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 382, 19 lines modified | Offset 382, 19 lines modified | ||
382 | ··············Returns: | 382 | ··············Returns: |
383 | ··················Date | 383 | ··················Date |
384 | ··············Examples: | 384 | ··············Examples: |
385 | ············>>>·Faker.seed(0) | 385 | ············>>>·Faker.seed(0) |
386 | ············>>>·for·_·in·range(5): | 386 | ············>>>·for·_·in·range(5): |
387 | ············...·····fake.date_this_century() | 387 | ············...·····fake.date_this_century() |
388 | ············... | 388 | ············... |
389 | ············datetime.date(2020,·12,·24) | ||
Max diff block lines reached; 29710/36845 bytes (80.64%) 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">('267305-2656',·'SE16267305265601')</span> |
2130 | <span·class="go">(' | 2130 | <span·class="go">('688251-9405',·'SE16688251940501')</span> |
2131 | <span·class="go">(' | 2131 | <span·class="go">('848145-5973',·'SE16848145597301')</span> |
2132 | <span·class="go">(' | 2132 | <span·class="go">('938417-2889',·'SE16938417288901')</span> |
2133 | <span·class="go">(' | 2133 | <span·class="go">('523279-8180',·'SE16523279818001')</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">'767305-2655'</span> |
2153 | <span·class="go">' | 2153 | <span·class="go">'888251-9401'</span> |
2154 | <span·class="go">' | 2154 | <span·class="go">'248145-5976'</span> |
2155 | <span·class="go">' | 2155 | <span·class="go">'538417-2887'</span> |
2156 | <span·class="go">' | 2156 | <span·class="go">'323279-8185'</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">'7 | 2179 | <span·class="go">'720420-7760'</span> |
2180 | <span·class="go">' | 2180 | <span·class="go">'690217-0411'</span> |
2181 | <span·class="go">'8 | 2181 | <span·class="go">'830820-9884'</span> |
2182 | <span·class="go">'6 | 2182 | <span·class="go">'601229-4978'</span> |
2183 | <span·class="go">'7 | 2183 | <span·class="go">'700715-9408'</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">'SE16767305265501'</span> |
2202 | <span·class="go">'SE16 | 2202 | <span·class="go">'SE16588251940701'</span> |
2203 | <span·class="go">'SE16 | 2203 | <span·class="go">'SE16548145597901'</span> |
2204 | <span·class="go">'SE16 | 2204 | <span·class="go">'SE16538417288701'</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 | ············('267305-2656',·'SE16267305265601') |
1184 | ············(' | 1184 | ············('688251-9405',·'SE16688251940501') |
1185 | ············(' | 1185 | ············('848145-5973',·'SE16848145597301') |
1186 | ············(' | 1186 | ············('938417-2889',·'SE16938417288901') |
1187 | ············(' | 1187 | ············('523279-8180',·'SE16523279818001') |
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 | ············'767305-2655' |
1197 | ············' | 1197 | ············'888251-9401' |
1198 | ············' | 1198 | ············'248145-5976' |
1199 | ············' | 1199 | ············'538417-2887' |
1200 | ············' | 1200 | ············'323279-8185' |
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 | ············'7 | 1215 | ············'720420-7760' |
1216 | ············' | 1216 | ············'690217-0411' |
1217 | ············'8 | 1217 | ············'830820-9884' |
1218 | ············'6 | 1218 | ············'601229-4978' |
1219 | ············'7 | 1219 | ············'700715-9408' |
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 | ············'SE16767305265501' |
1229 | ············'SE16 | 1229 | ············'SE16588251940701' |
1230 | ············'SE16 | 1230 | ············'SE16548145597901' |
1231 | ············'SE16 | 1231 | ············'SE16538417288701' |
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 389, 18 lines modified | Offset 389, 18 lines modified | ||
389 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 389 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
390 | <dd·class="field-odd"><p></p></dd> | 390 | <dd·class="field-odd"><p></p></dd> |
391 | </dl> | 391 | </dl> |
392 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 392 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
393 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 393 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
394 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 394 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
395 | <span·class="gp">...</span> | 395 | <span·class="gp">...</span> |
396 | <span·class="go">'AM'</span> | ||
397 | <span·class="go">'PM'</span> | 396 | <span·class="go">'PM'</span> |
398 | <span·class="go">'PM'</span> | 397 | <span·class="go">'PM'</span> |
399 | <span·class="go">'PM'</span> | 398 | <span·class="go">'PM'</span> |
399 | <span·class="go">'AM'</span> | ||
400 | <span·class="go">'PM'</span> | 400 | <span·class="go">'PM'</span> |
401 | </pre></div> | 401 | </pre></div> |
402 | </div> | 402 | </div> |
403 | </dd></dl> | 403 | </dd></dl> |
404 | <dl·class="py·method"> | 404 | <dl·class="py·method"> |
405 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ta_IN.Provider.century"> | 405 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ta_IN.Provider.century"> |
Offset 442, 19 lines modified | Offset 442, 19 lines modified | ||
442 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 442 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
443 | <dd·class="field-even"><p></p></dd> | 443 | <dd·class="field-even"><p></p></dd> |
444 | </dl> | 444 | </dl> |
445 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 445 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
446 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 446 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
447 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 447 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
448 | <span·class="gp">...</span> | 448 | <span·class="gp">...</span> |
449 | <span·class="go">'2017-03-27'</span> | ||
450 | <span·class="go">'201 | 449 | <span·class="go">'2016-04-25'</span> |
450 | <span·class="go">'2011-07-29'</span> | ||
451 | <span·class="go">'1993-0 | 451 | <span·class="go">'1993-01-25'</span> |
452 | <span·class="go">'1984-0 | 452 | <span·class="go">'1984-03-15'</span> |
453 | <span·class="go">'1998-0 | 453 | <span·class="go">'1998-01-16'</span> |
454 | </pre></div> | 454 | </pre></div> |
455 | </div> | 455 | </div> |
456 | </dd></dl> | 456 | </dd></dl> |
457 | <dl·class="py·method"> | 457 | <dl·class="py·method"> |
458 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ta_IN.Provider.date_between"> | 458 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ta_IN.Provider.date_between"> |
459 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ta_IN.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 459 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ta_IN.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 476, 19 lines modified | Offset 476, 19 lines modified | ||
476 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 476 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
477 | <dd·class="field-even"><p></p></dd> | 477 | <dd·class="field-even"><p></p></dd> |
478 | </dl> | 478 | </dl> |
479 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 479 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
480 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 480 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
481 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 481 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
482 | <span·class="gp">...</span> | 482 | <span·class="gp">...</span> |
483 | <span·class="go">datetime.date(202 | 483 | <span·class="go">datetime.date(2020,·3,·7)</span> |
484 | <span·class="go">datetime.date(201 | 484 | <span·class="go">datetime.date(2017,·8,·2)</span> |
485 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
486 | <span·class="go">datetime.date(200 | 485 | <span·class="go">datetime.date(2007,·6,·19)</span> |
486 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
487 | <span·class="go">datetime.date(201 | 487 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 514 | <span·class="go">datetime.date(2024,·11,·6)</span> |
515 | <span·class="go">datetime.date(202 | 515 | <span·class="go">datetime.date(2024,·11,·6)</span> |
516 | <span·class="go">datetime.date(202 | 516 | <span·class="go">datetime.date(2024,·11,·6)</span> |
517 | <span·class="go">datetime.date(202 | 517 | <span·class="go">datetime.date(2024,·11,·6)</span> |
518 | <span·class="go">datetime.date(202 | 518 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 531, 19 lines modified | ||
531 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 531 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
532 | <dd·class="field-even"><p></p></dd> | 532 | <dd·class="field-even"><p></p></dd> |
533 | </dl> | 533 | </dl> |
534 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 534 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
535 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 535 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
536 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 536 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
537 | <span·class="gp">...</span> | 537 | <span·class="gp">...</span> |
538 | <span·class="go">datetime.date(2017,·3,·27)</span> | ||
539 | <span·class="go">datetime.date(201 | 538 | <span·class="go">datetime.date(2016,·4,·25)</span> |
539 | <span·class="go">datetime.date(2011,·7,·29)</span> | ||
540 | <span·class="go">datetime.date(1993,· | 540 | <span·class="go">datetime.date(1993,·1,·25)</span> |
541 | <span·class="go">datetime.date(1984,· | 541 | <span·class="go">datetime.date(1984,·3,·15)</span> |
542 | <span·class="go">datetime.date(1998,· | 542 | <span·class="go">datetime.date(1998,·1,·16)</span> |
543 | </pre></div> | 543 | </pre></div> |
544 | </div> | 544 | </div> |
545 | </dd></dl> | 545 | </dd></dl> |
546 | <dl·class="py·method"> | 546 | <dl·class="py·method"> |
547 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ta_IN.Provider.date_of_birth"> | 547 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.ta_IN.Provider.date_of_birth"> |
548 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ta_IN.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 548 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.ta_IN.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
Offset 567, 19 lines modified | Offset 567, 19 lines modified | ||
567 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 567 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
568 | <dd·class="field-even"><p></p></dd> | 568 | <dd·class="field-even"><p></p></dd> |
569 | </dl> | 569 | </dl> |
570 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 570 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
571 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 571 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
572 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 572 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
573 | <span·class="gp">...</span> | 573 | <span·class="gp">...</span> |
574 | <span·class="go">datetime.date(200 | 574 | <span·class="go">datetime.date(2006,·10,·20)</span> |
575 | <span·class="go">datetime.date(1996,·10,·8)</span> | ||
576 | <span·class="go">datetime.date(1957,·8,·20)</span> | ||
575 | <span·class="go">datetime.date(19 | 577 | <span·class="go">datetime.date(1938,·11,·19)</span> |
576 | <span·class="go">datetime.date(19 | 578 | <span·class="go">datetime.date(1968,·2,·27)</span> |
577 | <span·class="go">datetime.date(1939,·12,·21)</span> | ||
578 | <span·class="go">datetime.date(1969,·3,·30)</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> |
Max diff block lines reached; 98315/119977 bytes (81.94%) of diff not shown. |
Offset 195, 18 lines modified | Offset 195, 18 lines modified | ||
195 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 195 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
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 | ············'AM' | ||
203 | ············'PM' | 202 | ············'PM' |
204 | ············'PM' | 203 | ············'PM' |
205 | ············'PM' | 204 | ············'PM' |
205 | ············'AM' | ||
206 | ············'PM' | 206 | ············'PM' |
207 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 207 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
208 | ··············Example: | 208 | ··············Example: |
209 | ··················‘XVII’ | 209 | ··················‘XVII’ |
210 | ··············Examples: | 210 | ··············Examples: |
211 | ············>>>·Faker.seed(0) | 211 | ············>>>·Faker.seed(0) |
212 | ············>>>·for·_·in·range(5): | 212 | ············>>>·for·_·in·range(5): |
Offset 227, 19 lines modified | Offset 227, 19 lines modified | ||
227 | ··············Returns: | 227 | ··············Returns: |
228 | ··················Date | 228 | ··················Date |
229 | ··············Examples: | 229 | ··············Examples: |
230 | ············>>>·Faker.seed(0) | 230 | ············>>>·Faker.seed(0) |
231 | ············>>>·for·_·in·range(5): | 231 | ············>>>·for·_·in·range(5): |
232 | ············...·····fake.date() | 232 | ············...·····fake.date() |
233 | ············... | 233 | ············... |
234 | ············'2017-03-27' | ||
235 | ············'201 | 234 | ············'2016-04-25' |
235 | ············'2011-07-29' | ||
236 | ············'1993-0 | 236 | ············'1993-01-25' |
237 | ············'1984-0 | 237 | ············'1984-03-15' |
238 | ············'1998-0 | 238 | ············'1998-01-16' |
239 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 239 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
240 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 240 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
241 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 241 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
242 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 242 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
243 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 243 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
244 | ··············Parameters: | 244 | ··············Parameters: |
245 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 245 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
Offset 249, 19 lines modified | Offset 249, 19 lines modified | ||
249 | ··············Returns: | 249 | ··············Returns: |
250 | ··················Date | 250 | ··················Date |
251 | ··············Examples: | 251 | ··············Examples: |
252 | ············>>>·Faker.seed(0) | 252 | ············>>>·Faker.seed(0) |
253 | ············>>>·for·_·in·range(5): | 253 | ············>>>·for·_·in·range(5): |
254 | ············...·····fake.date_between() | 254 | ············...·····fake.date_between() |
255 | ············... | 255 | ············... |
256 | ············datetime.date(202 | 256 | ············datetime.date(2020,·3,·7) |
257 | ············datetime.date(201 | 257 | ············datetime.date(2017,·8,·2) |
258 | ············datetime.date(2008,·7,·20) | ||
259 | ············datetime.date(200 | 258 | ············datetime.date(2007,·6,·19) |
259 | ············datetime.date(2002,·8,·13) | ||
260 | ············datetime.date(201 | 260 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 269, 33 lines modified | ||
269 | ··············Returns: | 269 | ··············Returns: |
270 | ··················Date | 270 | ··················Date |
271 | ··············Examples: | 271 | ··············Examples: |
272 | ············>>>·Faker.seed(0) | 272 | ············>>>·Faker.seed(0) |
273 | ············>>>·for·_·in·range(5): | 273 | ············>>>·for·_·in·range(5): |
274 | ············...·····fake.date_between_dates() | 274 | ············...·····fake.date_between_dates() |
275 | ············... | 275 | ············... |
276 | ············datetime.date(202 | 276 | ············datetime.date(2024,·11,·6) |
277 | ············datetime.date(202 | 277 | ············datetime.date(2024,·11,·6) |
278 | ············datetime.date(202 | 278 | ············datetime.date(2024,·11,·6) |
279 | ············datetime.date(202 | 279 | ············datetime.date(2024,·11,·6) |
280 | ············datetime.date(202 | 280 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
291 | ············datetime.date(201 | 290 | ············datetime.date(2016,·4,·25) |
291 | ············datetime.date(2011,·7,·29) | ||
292 | ············datetime.date(1993,· | 292 | ············datetime.date(1993,·1,·25) |
293 | ············datetime.date(1984,· | 293 | ············datetime.date(1984,·3,·15) |
294 | ············datetime.date(1998,· | 294 | ············datetime.date(1998,·1,·16) |
295 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 295 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
296 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 296 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
297 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 297 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
298 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 298 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
299 | ··············Parameters: | 299 | ··············Parameters: |
300 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. | 300 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. |
301 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. | 301 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. |
Offset 305, 19 lines modified | Offset 305, 19 lines modified | ||
305 | ··············Returns: | 305 | ··············Returns: |
306 | ··················Date | 306 | ··················Date |
307 | ··············Examples: | 307 | ··············Examples: |
308 | ············>>>·Faker.seed(0) | 308 | ············>>>·Faker.seed(0) |
309 | ············>>>·for·_·in·range(5): | 309 | ············>>>·for·_·in·range(5): |
310 | ············...·····fake.date_of_birth() | 310 | ············...·····fake.date_of_birth() |
311 | ············... | 311 | ············... |
312 | ············datetime.date(200 | 312 | ············datetime.date(2006,·10,·20) |
313 | ············datetime.date(1996,·10,·8) | ||
314 | ············datetime.date(1957,·8,·20) | ||
313 | ············datetime.date(19 | 315 | ············datetime.date(1938,·11,·19) |
314 | ············datetime.date(19 | 316 | ············datetime.date(1968,·2,·27) |
315 | ············datetime.date(1939,·12,·21) | ||
316 | ············datetime.date(1969,·3,·30) | ||
317 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 317 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
318 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 318 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
319 | ············Gets·a·Date·object·for·the·current·century. | 319 | ············Gets·a·Date·object·for·the·current·century. |
320 | ··············Parameters: | 320 | ··············Parameters: |
321 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 321 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
322 | ························today | 322 | ························today |
323 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 323 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 327, 19 lines modified | Offset 327, 19 lines modified | ||
327 | ··············Returns: | 327 | ··············Returns: |
328 | ··················Date | 328 | ··················Date |
329 | ··············Examples: | 329 | ··············Examples: |
330 | ············>>>·Faker.seed(0) | 330 | ············>>>·Faker.seed(0) |
331 | ············>>>·for·_·in·range(5): | 331 | ············>>>·for·_·in·range(5): |
332 | ············...·····fake.date_this_century() | 332 | ············...·····fake.date_this_century() |
333 | ············... | 333 | ············... |
334 | ············datetime.date(2020,·12,·24) | ||
Max diff block lines reached; 29685/36820 bytes (80.62%) of diff not shown. |
Offset 1477, 18 lines modified | Offset 1477, 18 lines modified | ||
1477 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1477 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1478 | <dd·class="field-odd"><p></p></dd> | 1478 | <dd·class="field-odd"><p></p></dd> |
1479 | </dl> | 1479 | </dl> |
1480 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1480 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1481 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1481 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1482 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1482 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1483 | <span·class="gp">...</span> | 1483 | <span·class="gp">...</span> |
1484 | <span·class="go">'AM'</span> | ||
1485 | <span·class="go">'PM'</span> | 1484 | <span·class="go">'PM'</span> |
1486 | <span·class="go">'PM'</span> | 1485 | <span·class="go">'PM'</span> |
1487 | <span·class="go">'PM'</span> | 1486 | <span·class="go">'PM'</span> |
1487 | <span·class="go">'AM'</span> | ||
1488 | <span·class="go">'PM'</span> | 1488 | <span·class="go">'PM'</span> |
1489 | </pre></div> | 1489 | </pre></div> |
1490 | </div> | 1490 | </div> |
1491 | </dd></dl> | 1491 | </dd></dl> |
1492 | <dl·class="py·method"> | 1492 | <dl·class="py·method"> |
1493 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.th_TH.Provider.century"> | 1493 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.th_TH.Provider.century"> |
Offset 1534, 19 lines modified | Offset 1534, 19 lines modified | ||
1534 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1534 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1535 | <dd·class="field-odd"><p></p></dd> | 1535 | <dd·class="field-odd"><p></p></dd> |
1536 | </dl> | 1536 | </dl> |
1537 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1537 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1538 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1538 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1539 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1539 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
1540 | <span·class="gp">...</span> | 1540 | <span·class="gp">...</span> |
1541 | <span·class="go">'25·เม.ย.·2559'</span> | ||
1542 | <span·class="go">'29·ก.ค.·2554'</span> | ||
1541 | <span·class="go">'2 | 1543 | <span·class="go">'25·ม.ค.·2536'</span> |
1542 | <span·class="go">'25·พ.ค.·2555'</span> | ||
1543 | <span·class="go">'11·ก.ค.·2536'</span> | ||
1544 | <span·class="go">' | 1544 | <span·class="go">'15·มี.ค.·2527'</span> |
1545 | <span·class="go">' | 1545 | <span·class="go">'16·ม.ค.·2541'</span> |
1546 | </pre></div> | 1546 | </pre></div> |
1547 | </div> | 1547 | </div> |
1548 | </dd></dl> | 1548 | </dd></dl> |
1549 | <dl·class="py·method"> | 1549 | <dl·class="py·method"> |
1550 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.th_TH.Provider.date_between"> | 1550 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.th_TH.Provider.date_between"> |
1551 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.th_TH.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1551 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.th_TH.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 1568, 19 lines modified | Offset 1568, 19 lines modified | ||
1568 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1568 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1569 | <dd·class="field-even"><p></p></dd> | 1569 | <dd·class="field-even"><p></p></dd> |
1570 | </dl> | 1570 | </dl> |
1571 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1571 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1572 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1572 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1573 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1573 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
1574 | <span·class="gp">...</span> | 1574 | <span·class="gp">...</span> |
1575 | <span·class="go">datetime.date(202 | 1575 | <span·class="go">datetime.date(2020,·3,·7)</span> |
1576 | <span·class="go">datetime.date(201 | 1576 | <span·class="go">datetime.date(2017,·8,·2)</span> |
1577 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
1578 | <span·class="go">datetime.date(200 | 1577 | <span·class="go">datetime.date(2007,·6,·19)</span> |
1578 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
1579 | <span·class="go">datetime.date(201 | 1579 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 1606 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1607 | <span·class="go">datetime.date(202 | 1607 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1608 | <span·class="go">datetime.date(202 | 1608 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1609 | <span·class="go">datetime.date(202 | 1609 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1610 | <span·class="go">datetime.date(202 | 1610 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 1623, 19 lines modified | ||
1623 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1623 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1624 | <dd·class="field-even"><p></p></dd> | 1624 | <dd·class="field-even"><p></p></dd> |
1625 | </dl> | 1625 | </dl> |
1626 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1626 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1627 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1627 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1628 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1628 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
1629 | <span·class="gp">...</span> | 1629 | <span·class="gp">...</span> |
1630 | <span·class="go">datetime.date(2017,·3,·27)</span> | ||
1631 | <span·class="go">datetime.date(201 | 1630 | <span·class="go">datetime.date(2016,·4,·25)</span> |
1631 | <span·class="go">datetime.date(2011,·7,·29)</span> | ||
1632 | <span·class="go">datetime.date(1993,· | 1632 | <span·class="go">datetime.date(1993,·1,·25)</span> |
1633 | <span·class="go">datetime.date(1984,· | 1633 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1634 | <span·class="go">datetime.date(1998,· | 1634 | <span·class="go">datetime.date(1998,·1,·16)</span> |
1635 | </pre></div> | 1635 | </pre></div> |
1636 | </div> | 1636 | </div> |
1637 | </dd></dl> | 1637 | </dd></dl> |
1638 | <dl·class="py·method"> | 1638 | <dl·class="py·method"> |
1639 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.th_TH.Provider.date_of_birth"> | 1639 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.th_TH.Provider.date_of_birth"> |
1640 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.th_TH.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1640 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.th_TH.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
Offset 1659, 19 lines modified | Offset 1659, 19 lines modified | ||
1659 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1659 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1660 | <dd·class="field-even"><p></p></dd> | 1660 | <dd·class="field-even"><p></p></dd> |
1661 | </dl> | 1661 | </dl> |
1662 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1662 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1663 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1663 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1664 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1664 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
1665 | <span·class="gp">...</span> | 1665 | <span·class="gp">...</span> |
1666 | <span·class="go">datetime.date(200 | 1666 | <span·class="go">datetime.date(2006,·10,·20)</span> |
1667 | <span·class="go">datetime.date(1996,·10,·8)</span> | ||
1668 | <span·class="go">datetime.date(1957,·8,·20)</span> | ||
1667 | <span·class="go">datetime.date(19 | 1669 | <span·class="go">datetime.date(1938,·11,·19)</span> |
1668 | <span·class="go">datetime.date(19 | 1670 | <span·class="go">datetime.date(1968,·2,·27)</span> |
1669 | <span·class="go">datetime.date(1939,·12,·21)</span> | ||
1670 | <span·class="go">datetime.date(1969,·3,·30)</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> |
Max diff block lines reached; 101767/123457 bytes (82.43%) of diff not shown. |
Offset 867, 18 lines modified | Offset 867, 18 lines modified | ||
867 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 867 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
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 | ············'AM' | ||
875 | ············'PM' | 874 | ············'PM' |
876 | ············'PM' | 875 | ············'PM' |
877 | ············'PM' | 876 | ············'PM' |
877 | ············'AM' | ||
878 | ············'PM' | 878 | ············'PM' |
879 | ········century(t\x8th\x8ha\x8ai\x8i_\x8_d\x8di\x8ig\x8gi\x8it\x8t:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e,·b\x8bu\x8ud\x8dd\x8dh\x8hi\x8is\x8st\x8t_\x8_e\x8er\x8ra\x8a:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ | 879 | ········century(t\x8th\x8ha\x8ai\x8i_\x8_d\x8di\x8ig\x8gi\x8it\x8t:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e,·b\x8bu\x8ud\x8dd\x8dh\x8hi\x8is\x8st\x8t_\x8_e\x8er\x8ra\x8a:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ |
880 | ··············Parameters: | 880 | ··············Parameters: |
881 | ······················*·(\x8(d\x8de\x8ef\x8fa\x8au\x8ul\x8lt\x8t·(b\x8bu\x8ud\x8dd\x8dh\x8hi\x8is\x8st\x8t:\x8:_\x8_e\x8er\x8ra\x8a·u\x8us\x8se\x8e·B\x8Bu\x8ud\x8dd\x8di\x8is\x8st\x8t·e\x8er\x8ra\x8a·o\x8or\x8r·n\x8no\x8ot\x8t)·– | 881 | ······················*·(\x8(d\x8de\x8ef\x8fa\x8au\x8ul\x8lt\x8t·(b\x8bu\x8ud\x8dd\x8dh\x8hi\x8is\x8st\x8t:\x8:_\x8_e\x8er\x8ra\x8a·u\x8us\x8se\x8e·B\x8Bu\x8ud\x8dd\x8di\x8is\x8st\x8t·e\x8er\x8ra\x8a·o\x8or\x8r·n\x8no\x8ot\x8t)·– |
882 | ························False) | 882 | ························False) |
883 | ······················*·(\x8(d\x8de\x8ef\x8fa\x8au\x8ul\x8lt\x8t·–·True) | 883 | ······················*·(\x8(d\x8de\x8ef\x8fa\x8au\x8ul\x8lt\x8t·–·True) |
884 | ··············Example: | 884 | ··············Example: |
Offset 903, 19 lines modified | Offset 903, 19 lines modified | ||
903 | ············2563’·(thai_digit·=·True)·:example:·‘8·พฤศิจกายน·2020’·(pattern: | 903 | ············2563’·(thai_digit·=·True)·:example:·‘8·พฤศิจกายน·2020’·(pattern: |
904 | ············str·=·“%-d·%B·%Y”,·buddhist_era·=·False) | 904 | ············str·=·“%-d·%B·%Y”,·buddhist_era·=·False) |
905 | ··············Examples: | 905 | ··············Examples: |
906 | ············>>>·Faker.seed(0) | 906 | ············>>>·Faker.seed(0) |
907 | ············>>>·for·_·in·range(5): | 907 | ············>>>·for·_·in·range(5): |
908 | ············...·····fake.date() | 908 | ············...·····fake.date() |
909 | ············... | 909 | ············... |
910 | ············'25·เม.ย.·2559' | ||
911 | ············'29·ก.ค.·2554' | ||
910 | ············'2 | 912 | ············'25·ม.ค.·2536' |
911 | ············'25·พ.ค.·2555' | ||
912 | ············'11·ก.ค.·2536' | ||
913 | ············' | 913 | ············'15·มี.ค.·2527' |
914 | ············' | 914 | ············'16·ม.ค.·2541' |
915 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 915 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
916 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 916 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
917 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 917 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
918 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 918 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
919 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 919 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
920 | ··············Parameters: | 920 | ··············Parameters: |
921 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 921 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
Offset 925, 19 lines modified | Offset 925, 19 lines modified | ||
925 | ··············Returns: | 925 | ··············Returns: |
926 | ··················Date | 926 | ··················Date |
927 | ··············Examples: | 927 | ··············Examples: |
928 | ············>>>·Faker.seed(0) | 928 | ············>>>·Faker.seed(0) |
929 | ············>>>·for·_·in·range(5): | 929 | ············>>>·for·_·in·range(5): |
930 | ············...·····fake.date_between() | 930 | ············...·····fake.date_between() |
931 | ············... | 931 | ············... |
932 | ············datetime.date(202 | 932 | ············datetime.date(2020,·3,·7) |
933 | ············datetime.date(201 | 933 | ············datetime.date(2017,·8,·2) |
934 | ············datetime.date(2008,·7,·20) | ||
935 | ············datetime.date(200 | 934 | ············datetime.date(2007,·6,·19) |
935 | ············datetime.date(2002,·8,·13) | ||
936 | ············datetime.date(201 | 936 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 945, 33 lines modified | ||
945 | ··············Returns: | 945 | ··············Returns: |
946 | ··················Date | 946 | ··················Date |
947 | ··············Examples: | 947 | ··············Examples: |
948 | ············>>>·Faker.seed(0) | 948 | ············>>>·Faker.seed(0) |
949 | ············>>>·for·_·in·range(5): | 949 | ············>>>·for·_·in·range(5): |
950 | ············...·····fake.date_between_dates() | 950 | ············...·····fake.date_between_dates() |
951 | ············... | 951 | ············... |
952 | ············datetime.date(202 | 952 | ············datetime.date(2024,·11,·6) |
953 | ············datetime.date(202 | 953 | ············datetime.date(2024,·11,·6) |
954 | ············datetime.date(202 | 954 | ············datetime.date(2024,·11,·6) |
955 | ············datetime.date(202 | 955 | ············datetime.date(2024,·11,·6) |
956 | ············datetime.date(202 | 956 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
967 | ············datetime.date(201 | 966 | ············datetime.date(2016,·4,·25) |
967 | ············datetime.date(2011,·7,·29) | ||
968 | ············datetime.date(1993,· | 968 | ············datetime.date(1993,·1,·25) |
969 | ············datetime.date(1984,· | 969 | ············datetime.date(1984,·3,·15) |
970 | ············datetime.date(1998,· | 970 | ············datetime.date(1998,·1,·16) |
971 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 971 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
972 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 972 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
973 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 973 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
974 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 974 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
975 | ··············Parameters: | 975 | ··············Parameters: |
976 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. | 976 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. |
977 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. | 977 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. |
Offset 981, 19 lines modified | Offset 981, 19 lines modified | ||
981 | ··············Returns: | 981 | ··············Returns: |
982 | ··················Date | 982 | ··················Date |
983 | ··············Examples: | 983 | ··············Examples: |
984 | ············>>>·Faker.seed(0) | 984 | ············>>>·Faker.seed(0) |
985 | ············>>>·for·_·in·range(5): | 985 | ············>>>·for·_·in·range(5): |
986 | ············...·····fake.date_of_birth() | 986 | ············...·····fake.date_of_birth() |
987 | ············... | 987 | ············... |
988 | ············datetime.date(200 | 988 | ············datetime.date(2006,·10,·20) |
989 | ············datetime.date(1996,·10,·8) | ||
990 | ············datetime.date(1957,·8,·20) | ||
989 | ············datetime.date(19 | 991 | ············datetime.date(1938,·11,·19) |
990 | ············datetime.date(19 | 992 | ············datetime.date(1968,·2,·27) |
991 | ············datetime.date(1939,·12,·21) | ||
992 | ············datetime.date(1969,·3,·30) | ||
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 | ············... |
Max diff block lines reached; 31541/39090 bytes (80.69%) of diff not shown. |
Offset 1639, 18 lines modified | Offset 1639, 18 lines modified | ||
1639 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1639 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1640 | <dd·class="field-odd"><p></p></dd> | 1640 | <dd·class="field-odd"><p></p></dd> |
1641 | </dl> | 1641 | </dl> |
1642 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1642 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1643 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1643 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1644 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1644 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1645 | <span·class="gp">...</span> | 1645 | <span·class="gp">...</span> |
1646 | <span·class="go">'AM'</span> | ||
1647 | <span·class="go">'PM'</span> | 1646 | <span·class="go">'PM'</span> |
1648 | <span·class="go">'PM'</span> | 1647 | <span·class="go">'PM'</span> |
1649 | <span·class="go">'PM'</span> | 1648 | <span·class="go">'PM'</span> |
1649 | <span·class="go">'AM'</span> | ||
1650 | <span·class="go">'PM'</span> | 1650 | <span·class="go">'PM'</span> |
1651 | </pre></div> | 1651 | </pre></div> |
1652 | </div> | 1652 | </div> |
1653 | </dd></dl> | 1653 | </dd></dl> |
1654 | <dl·class="py·method"> | 1654 | <dl·class="py·method"> |
1655 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.tl_PH.Provider.century"> | 1655 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.tl_PH.Provider.century"> |
Offset 1692, 19 lines modified | Offset 1692, 19 lines modified | ||
1692 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1692 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1693 | <dd·class="field-even"><p></p></dd> | 1693 | <dd·class="field-even"><p></p></dd> |
1694 | </dl> | 1694 | </dl> |
1695 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1695 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1696 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1696 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1697 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1697 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
1698 | <span·class="gp">...</span> | 1698 | <span·class="gp">...</span> |
1699 | <span·class="go">'2017-03-27'</span> | ||
1700 | <span·class="go">'201 | 1699 | <span·class="go">'2016-04-25'</span> |
1700 | <span·class="go">'2011-07-29'</span> | ||
1701 | <span·class="go">'1993-0 | 1701 | <span·class="go">'1993-01-25'</span> |
1702 | <span·class="go">'1984-0 | 1702 | <span·class="go">'1984-03-15'</span> |
1703 | <span·class="go">'1998-0 | 1703 | <span·class="go">'1998-01-16'</span> |
1704 | </pre></div> | 1704 | </pre></div> |
1705 | </div> | 1705 | </div> |
1706 | </dd></dl> | 1706 | </dd></dl> |
1707 | <dl·class="py·method"> | 1707 | <dl·class="py·method"> |
1708 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.tl_PH.Provider.date_between"> | 1708 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.tl_PH.Provider.date_between"> |
1709 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.tl_PH.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1709 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.tl_PH.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 1726, 19 lines modified | Offset 1726, 19 lines modified | ||
1726 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1726 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1727 | <dd·class="field-even"><p></p></dd> | 1727 | <dd·class="field-even"><p></p></dd> |
1728 | </dl> | 1728 | </dl> |
1729 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1729 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1730 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1730 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1731 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1731 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
1732 | <span·class="gp">...</span> | 1732 | <span·class="gp">...</span> |
1733 | <span·class="go">datetime.date(202 | 1733 | <span·class="go">datetime.date(2020,·3,·7)</span> |
1734 | <span·class="go">datetime.date(201 | 1734 | <span·class="go">datetime.date(2017,·8,·2)</span> |
1735 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
1736 | <span·class="go">datetime.date(200 | 1735 | <span·class="go">datetime.date(2007,·6,·19)</span> |
1736 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
1737 | <span·class="go">datetime.date(201 | 1737 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 1764 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1765 | <span·class="go">datetime.date(202 | 1765 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1766 | <span·class="go">datetime.date(202 | 1766 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1767 | <span·class="go">datetime.date(202 | 1767 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1768 | <span·class="go">datetime.date(202 | 1768 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 1781, 19 lines modified | ||
1781 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1781 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1782 | <dd·class="field-even"><p></p></dd> | 1782 | <dd·class="field-even"><p></p></dd> |
1783 | </dl> | 1783 | </dl> |
1784 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1784 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1785 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1785 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1786 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1786 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
1787 | <span·class="gp">...</span> | 1787 | <span·class="gp">...</span> |
1788 | <span·class="go">datetime.date(2017,·3,·27)</span> | ||
1789 | <span·class="go">datetime.date(201 | 1788 | <span·class="go">datetime.date(2016,·4,·25)</span> |
1789 | <span·class="go">datetime.date(2011,·7,·29)</span> | ||
1790 | <span·class="go">datetime.date(1993,· | 1790 | <span·class="go">datetime.date(1993,·1,·25)</span> |
1791 | <span·class="go">datetime.date(1984,· | 1791 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1792 | <span·class="go">datetime.date(1998,· | 1792 | <span·class="go">datetime.date(1998,·1,·16)</span> |
1793 | </pre></div> | 1793 | </pre></div> |
1794 | </div> | 1794 | </div> |
1795 | </dd></dl> | 1795 | </dd></dl> |
1796 | <dl·class="py·method"> | 1796 | <dl·class="py·method"> |
1797 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.tl_PH.Provider.date_of_birth"> | 1797 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.tl_PH.Provider.date_of_birth"> |
1798 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.tl_PH.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1798 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.tl_PH.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
Offset 1817, 19 lines modified | Offset 1817, 19 lines modified | ||
1817 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1817 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1818 | <dd·class="field-even"><p></p></dd> | 1818 | <dd·class="field-even"><p></p></dd> |
1819 | </dl> | 1819 | </dl> |
1820 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1820 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1821 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1821 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1822 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1822 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
1823 | <span·class="gp">...</span> | 1823 | <span·class="gp">...</span> |
1824 | <span·class="go">datetime.date(200 | 1824 | <span·class="go">datetime.date(2006,·10,·20)</span> |
1825 | <span·class="go">datetime.date(1996,·10,·8)</span> | ||
1826 | <span·class="go">datetime.date(1957,·8,·20)</span> | ||
1825 | <span·class="go">datetime.date(19 | 1827 | <span·class="go">datetime.date(1938,·11,·19)</span> |
1826 | <span·class="go">datetime.date(19 | 1828 | <span·class="go">datetime.date(1968,·2,·27)</span> |
1827 | <span·class="go">datetime.date(1939,·12,·21)</span> | ||
1828 | <span·class="go">datetime.date(1969,·3,·30)</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> |
Max diff block lines reached; 302245/323921 bytes (93.31%) of diff not shown. |
Offset 942, 18 lines modified | Offset 942, 18 lines modified | ||
942 | ······No·difference·from·DateTime·Provider·for·fil_PH·locale | 942 | ······No·difference·from·DateTime·Provider·for·fil_PH·locale |
943 | ········am_pm()·→·_\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 | ············'AM' | ||
950 | ············'PM' | 949 | ············'PM' |
951 | ············'PM' | 950 | ············'PM' |
952 | ············'PM' | 951 | ············'PM' |
952 | ············'AM' | ||
953 | ············'PM' | 953 | ············'PM' |
954 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 954 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
955 | ··············Example: | 955 | ··············Example: |
956 | ··················‘XVII’ | 956 | ··················‘XVII’ |
957 | ··············Examples: | 957 | ··············Examples: |
958 | ············>>>·Faker.seed(0) | 958 | ············>>>·Faker.seed(0) |
959 | ············>>>·for·_·in·range(5): | 959 | ············>>>·for·_·in·range(5): |
Offset 974, 19 lines modified | Offset 974, 19 lines modified | ||
974 | ··············Returns: | 974 | ··············Returns: |
975 | ··················Date | 975 | ··················Date |
976 | ··············Examples: | 976 | ··············Examples: |
977 | ············>>>·Faker.seed(0) | 977 | ············>>>·Faker.seed(0) |
978 | ············>>>·for·_·in·range(5): | 978 | ············>>>·for·_·in·range(5): |
979 | ············...·····fake.date() | 979 | ············...·····fake.date() |
980 | ············... | 980 | ············... |
981 | ············'2017-03-27' | ||
982 | ············'201 | 981 | ············'2016-04-25' |
982 | ············'2011-07-29' | ||
983 | ············'1993-0 | 983 | ············'1993-01-25' |
984 | ············'1984-0 | 984 | ············'1984-03-15' |
985 | ············'1998-0 | 985 | ············'1998-01-16' |
986 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 986 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
987 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 987 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
988 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 988 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
989 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 989 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
990 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 990 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
991 | ··············Parameters: | 991 | ··············Parameters: |
992 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 992 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
Offset 996, 19 lines modified | Offset 996, 19 lines modified | ||
996 | ··············Returns: | 996 | ··············Returns: |
997 | ··················Date | 997 | ··················Date |
998 | ··············Examples: | 998 | ··············Examples: |
999 | ············>>>·Faker.seed(0) | 999 | ············>>>·Faker.seed(0) |
1000 | ············>>>·for·_·in·range(5): | 1000 | ············>>>·for·_·in·range(5): |
1001 | ············...·····fake.date_between() | 1001 | ············...·····fake.date_between() |
1002 | ············... | 1002 | ············... |
1003 | ············datetime.date(202 | 1003 | ············datetime.date(2020,·3,·7) |
1004 | ············datetime.date(201 | 1004 | ············datetime.date(2017,·8,·2) |
1005 | ············datetime.date(2008,·7,·20) | ||
1006 | ············datetime.date(200 | 1005 | ············datetime.date(2007,·6,·19) |
1006 | ············datetime.date(2002,·8,·13) | ||
1007 | ············datetime.date(201 | 1007 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 1016, 33 lines modified | ||
1016 | ··············Returns: | 1016 | ··············Returns: |
1017 | ··················Date | 1017 | ··················Date |
1018 | ··············Examples: | 1018 | ··············Examples: |
1019 | ············>>>·Faker.seed(0) | 1019 | ············>>>·Faker.seed(0) |
1020 | ············>>>·for·_·in·range(5): | 1020 | ············>>>·for·_·in·range(5): |
1021 | ············...·····fake.date_between_dates() | 1021 | ············...·····fake.date_between_dates() |
1022 | ············... | 1022 | ············... |
1023 | ············datetime.date(202 | 1023 | ············datetime.date(2024,·11,·6) |
1024 | ············datetime.date(202 | 1024 | ············datetime.date(2024,·11,·6) |
1025 | ············datetime.date(202 | 1025 | ············datetime.date(2024,·11,·6) |
1026 | ············datetime.date(202 | 1026 | ············datetime.date(2024,·11,·6) |
1027 | ············datetime.date(202 | 1027 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
1038 | ············datetime.date(201 | 1037 | ············datetime.date(2016,·4,·25) |
1038 | ············datetime.date(2011,·7,·29) | ||
1039 | ············datetime.date(1993,· | 1039 | ············datetime.date(1993,·1,·25) |
1040 | ············datetime.date(1984,· | 1040 | ············datetime.date(1984,·3,·15) |
1041 | ············datetime.date(1998,· | 1041 | ············datetime.date(1998,·1,·16) |
1042 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 1042 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
1043 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1043 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
1044 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 1044 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
1045 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 1045 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
1046 | ··············Parameters: | 1046 | ··············Parameters: |
1047 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. | 1047 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. |
1048 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. | 1048 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. |
Offset 1052, 19 lines modified | Offset 1052, 19 lines modified | ||
1052 | ··············Returns: | 1052 | ··············Returns: |
1053 | ··················Date | 1053 | ··················Date |
1054 | ··············Examples: | 1054 | ··············Examples: |
1055 | ············>>>·Faker.seed(0) | 1055 | ············>>>·Faker.seed(0) |
1056 | ············>>>·for·_·in·range(5): | 1056 | ············>>>·for·_·in·range(5): |
1057 | ············...·····fake.date_of_birth() | 1057 | ············...·····fake.date_of_birth() |
1058 | ············... | 1058 | ············... |
1059 | ············datetime.date(200 | 1059 | ············datetime.date(2006,·10,·20) |
1060 | ············datetime.date(1996,·10,·8) | ||
1061 | ············datetime.date(1957,·8,·20) | ||
1060 | ············datetime.date(19 | 1062 | ············datetime.date(1938,·11,·19) |
1061 | ············datetime.date(19 | 1063 | ············datetime.date(1968,·2,·27) |
1062 | ············datetime.date(1939,·12,·21) | ||
1063 | ············datetime.date(1969,·3,·30) | ||
1064 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 1064 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
1065 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 1065 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
1066 | ············Gets·a·Date·object·for·the·current·century. | 1066 | ············Gets·a·Date·object·for·the·current·century. |
1067 | ··············Parameters: | 1067 | ··············Parameters: |
1068 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 1068 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
1069 | ························today | 1069 | ························today |
1070 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 1070 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 1074, 19 lines modified | Offset 1074, 19 lines modified | ||
1074 | ··············Returns: | 1074 | ··············Returns: |
1075 | ··················Date | 1075 | ··················Date |
1076 | ··············Examples: | 1076 | ··············Examples: |
1077 | ············>>>·Faker.seed(0) | 1077 | ············>>>·Faker.seed(0) |
1078 | ············>>>·for·_·in·range(5): | 1078 | ············>>>·for·_·in·range(5): |
1079 | ············...·····fake.date_this_century() | 1079 | ············...·····fake.date_this_century() |
1080 | ············... | 1080 | ············... |
1081 | ············datetime.date(2020,·12,·24) | ||
Max diff block lines reached; 204144/211308 bytes (96.61%) of diff not shown. |
Offset 679, 18 lines modified | Offset 679, 18 lines modified | ||
679 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 679 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
680 | <dd·class="field-odd"><p></p></dd> | 680 | <dd·class="field-odd"><p></p></dd> |
681 | </dl> | 681 | </dl> |
682 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 682 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
683 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 683 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
684 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 684 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
685 | <span·class="gp">...</span> | 685 | <span·class="gp">...</span> |
686 | <span·class="go">'AM'</span> | ||
687 | <span·class="go">'PM'</span> | 686 | <span·class="go">'PM'</span> |
688 | <span·class="go">'PM'</span> | 687 | <span·class="go">'PM'</span> |
689 | <span·class="go">'PM'</span> | 688 | <span·class="go">'PM'</span> |
689 | <span·class="go">'AM'</span> | ||
690 | <span·class="go">'PM'</span> | 690 | <span·class="go">'PM'</span> |
691 | </pre></div> | 691 | </pre></div> |
692 | </div> | 692 | </div> |
693 | </dd></dl> | 693 | </dd></dl> |
694 | <dl·class="py·method"> | 694 | <dl·class="py·method"> |
695 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.tr_TR.Provider.century"> | 695 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.tr_TR.Provider.century"> |
Offset 732, 19 lines modified | Offset 732, 19 lines modified | ||
732 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 732 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
733 | <dd·class="field-even"><p></p></dd> | 733 | <dd·class="field-even"><p></p></dd> |
734 | </dl> | 734 | </dl> |
735 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 735 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
736 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 736 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
737 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 737 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
738 | <span·class="gp">...</span> | 738 | <span·class="gp">...</span> |
739 | <span·class="go">'2017-03-27'</span> | ||
740 | <span·class="go">'201 | 739 | <span·class="go">'2016-04-25'</span> |
740 | <span·class="go">'2011-07-29'</span> | ||
741 | <span·class="go">'1993-0 | 741 | <span·class="go">'1993-01-25'</span> |
742 | <span·class="go">'1984-0 | 742 | <span·class="go">'1984-03-15'</span> |
743 | <span·class="go">'1998-0 | 743 | <span·class="go">'1998-01-16'</span> |
744 | </pre></div> | 744 | </pre></div> |
745 | </div> | 745 | </div> |
746 | </dd></dl> | 746 | </dd></dl> |
747 | <dl·class="py·method"> | 747 | <dl·class="py·method"> |
748 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.tr_TR.Provider.date_between"> | 748 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.tr_TR.Provider.date_between"> |
749 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.tr_TR.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 749 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.tr_TR.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 766, 19 lines modified | Offset 766, 19 lines modified | ||
766 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 766 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
767 | <dd·class="field-even"><p></p></dd> | 767 | <dd·class="field-even"><p></p></dd> |
768 | </dl> | 768 | </dl> |
769 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 769 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
770 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 770 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
771 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 771 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
772 | <span·class="gp">...</span> | 772 | <span·class="gp">...</span> |
773 | <span·class="go">datetime.date(202 | 773 | <span·class="go">datetime.date(2020,·3,·7)</span> |
774 | <span·class="go">datetime.date(201 | 774 | <span·class="go">datetime.date(2017,·8,·2)</span> |
775 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
776 | <span·class="go">datetime.date(200 | 775 | <span·class="go">datetime.date(2007,·6,·19)</span> |
776 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
777 | <span·class="go">datetime.date(201 | 777 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 804 | <span·class="go">datetime.date(2024,·11,·6)</span> |
805 | <span·class="go">datetime.date(202 | 805 | <span·class="go">datetime.date(2024,·11,·6)</span> |
806 | <span·class="go">datetime.date(202 | 806 | <span·class="go">datetime.date(2024,·11,·6)</span> |
807 | <span·class="go">datetime.date(202 | 807 | <span·class="go">datetime.date(2024,·11,·6)</span> |
808 | <span·class="go">datetime.date(202 | 808 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 821, 19 lines modified | ||
821 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 821 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
822 | <dd·class="field-even"><p></p></dd> | 822 | <dd·class="field-even"><p></p></dd> |
823 | </dl> | 823 | </dl> |
824 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 824 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
825 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 825 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
826 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 826 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
827 | <span·class="gp">...</span> | 827 | <span·class="gp">...</span> |
828 | <span·class="go">datetime.date(2017,·3,·27)</span> | ||
829 | <span·class="go">datetime.date(201 | 828 | <span·class="go">datetime.date(2016,·4,·25)</span> |
829 | <span·class="go">datetime.date(2011,·7,·29)</span> | ||
830 | <span·class="go">datetime.date(1993,· | 830 | <span·class="go">datetime.date(1993,·1,·25)</span> |
831 | <span·class="go">datetime.date(1984,· | 831 | <span·class="go">datetime.date(1984,·3,·15)</span> |
832 | <span·class="go">datetime.date(1998,· | 832 | <span·class="go">datetime.date(1998,·1,·16)</span> |
833 | </pre></div> | 833 | </pre></div> |
834 | </div> | 834 | </div> |
835 | </dd></dl> | 835 | </dd></dl> |
836 | <dl·class="py·method"> | 836 | <dl·class="py·method"> |
837 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.tr_TR.Provider.date_of_birth"> | 837 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.tr_TR.Provider.date_of_birth"> |
838 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.tr_TR.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 838 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.tr_TR.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
Offset 857, 19 lines modified | Offset 857, 19 lines modified | ||
857 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 857 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
858 | <dd·class="field-even"><p></p></dd> | 858 | <dd·class="field-even"><p></p></dd> |
859 | </dl> | 859 | </dl> |
860 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 860 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
861 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 861 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
862 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 862 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
863 | <span·class="gp">...</span> | 863 | <span·class="gp">...</span> |
864 | <span·class="go">datetime.date(200 | 864 | <span·class="go">datetime.date(2006,·10,·20)</span> |
865 | <span·class="go">datetime.date(1996,·10,·8)</span> | ||
866 | <span·class="go">datetime.date(1957,·8,·20)</span> | ||
865 | <span·class="go">datetime.date(19 | 867 | <span·class="go">datetime.date(1938,·11,·19)</span> |
866 | <span·class="go">datetime.date(19 | 868 | <span·class="go">datetime.date(1968,·2,·27)</span> |
867 | <span·class="go">datetime.date(1939,·12,·21)</span> | ||
868 | <span·class="go">datetime.date(1969,·3,·30)</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> |
Max diff block lines reached; 97787/119449 bytes (81.87%) of diff not shown. |
Offset 389, 18 lines modified | Offset 389, 18 lines modified | ||
389 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 389 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
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 | ············'AM' | ||
397 | ············'PM' | 396 | ············'PM' |
398 | ············'PM' | 397 | ············'PM' |
399 | ············'PM' | 398 | ············'PM' |
399 | ············'AM' | ||
400 | ············'PM' | 400 | ············'PM' |
401 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 401 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
402 | ··············Example: | 402 | ··············Example: |
403 | ··················‘XVII’ | 403 | ··················‘XVII’ |
404 | ··············Examples: | 404 | ··············Examples: |
405 | ············>>>·Faker.seed(0) | 405 | ············>>>·Faker.seed(0) |
406 | ············>>>·for·_·in·range(5): | 406 | ············>>>·for·_·in·range(5): |
Offset 421, 19 lines modified | Offset 421, 19 lines modified | ||
421 | ··············Returns: | 421 | ··············Returns: |
422 | ··················Date | 422 | ··················Date |
423 | ··············Examples: | 423 | ··············Examples: |
424 | ············>>>·Faker.seed(0) | 424 | ············>>>·Faker.seed(0) |
425 | ············>>>·for·_·in·range(5): | 425 | ············>>>·for·_·in·range(5): |
426 | ············...·····fake.date() | 426 | ············...·····fake.date() |
427 | ············... | 427 | ············... |
428 | ············'2017-03-27' | ||
429 | ············'201 | 428 | ············'2016-04-25' |
429 | ············'2011-07-29' | ||
430 | ············'1993-0 | 430 | ············'1993-01-25' |
431 | ············'1984-0 | 431 | ············'1984-03-15' |
432 | ············'1998-0 | 432 | ············'1998-01-16' |
433 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 433 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
434 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 434 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
435 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 435 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
436 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 436 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
437 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 437 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
438 | ··············Parameters: | 438 | ··············Parameters: |
439 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 439 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
Offset 443, 19 lines modified | Offset 443, 19 lines modified | ||
443 | ··············Returns: | 443 | ··············Returns: |
444 | ··················Date | 444 | ··················Date |
445 | ··············Examples: | 445 | ··············Examples: |
446 | ············>>>·Faker.seed(0) | 446 | ············>>>·Faker.seed(0) |
447 | ············>>>·for·_·in·range(5): | 447 | ············>>>·for·_·in·range(5): |
448 | ············...·····fake.date_between() | 448 | ············...·····fake.date_between() |
449 | ············... | 449 | ············... |
450 | ············datetime.date(202 | 450 | ············datetime.date(2020,·3,·7) |
451 | ············datetime.date(201 | 451 | ············datetime.date(2017,·8,·2) |
452 | ············datetime.date(2008,·7,·20) | ||
453 | ············datetime.date(200 | 452 | ············datetime.date(2007,·6,·19) |
453 | ············datetime.date(2002,·8,·13) | ||
454 | ············datetime.date(201 | 454 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 463, 33 lines modified | ||
463 | ··············Returns: | 463 | ··············Returns: |
464 | ··················Date | 464 | ··················Date |
465 | ··············Examples: | 465 | ··············Examples: |
466 | ············>>>·Faker.seed(0) | 466 | ············>>>·Faker.seed(0) |
467 | ············>>>·for·_·in·range(5): | 467 | ············>>>·for·_·in·range(5): |
468 | ············...·····fake.date_between_dates() | 468 | ············...·····fake.date_between_dates() |
469 | ············... | 469 | ············... |
470 | ············datetime.date(202 | 470 | ············datetime.date(2024,·11,·6) |
471 | ············datetime.date(202 | 471 | ············datetime.date(2024,·11,·6) |
472 | ············datetime.date(202 | 472 | ············datetime.date(2024,·11,·6) |
473 | ············datetime.date(202 | 473 | ············datetime.date(2024,·11,·6) |
474 | ············datetime.date(202 | 474 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
485 | ············datetime.date(201 | 484 | ············datetime.date(2016,·4,·25) |
485 | ············datetime.date(2011,·7,·29) | ||
486 | ············datetime.date(1993,· | 486 | ············datetime.date(1993,·1,·25) |
487 | ············datetime.date(1984,· | 487 | ············datetime.date(1984,·3,·15) |
488 | ············datetime.date(1998,· | 488 | ············datetime.date(1998,·1,·16) |
489 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 489 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
490 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 490 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
491 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 491 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
492 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 492 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
493 | ··············Parameters: | 493 | ··············Parameters: |
494 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. | 494 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. |
495 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. | 495 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. |
Offset 499, 19 lines modified | Offset 499, 19 lines modified | ||
499 | ··············Returns: | 499 | ··············Returns: |
500 | ··················Date | 500 | ··················Date |
501 | ··············Examples: | 501 | ··············Examples: |
502 | ············>>>·Faker.seed(0) | 502 | ············>>>·Faker.seed(0) |
503 | ············>>>·for·_·in·range(5): | 503 | ············>>>·for·_·in·range(5): |
504 | ············...·····fake.date_of_birth() | 504 | ············...·····fake.date_of_birth() |
505 | ············... | 505 | ············... |
506 | ············datetime.date(200 | 506 | ············datetime.date(2006,·10,·20) |
507 | ············datetime.date(1996,·10,·8) | ||
508 | ············datetime.date(1957,·8,·20) | ||
507 | ············datetime.date(19 | 509 | ············datetime.date(1938,·11,·19) |
508 | ············datetime.date(19 | 510 | ············datetime.date(1968,·2,·27) |
509 | ············datetime.date(1939,·12,·21) | ||
510 | ············datetime.date(1969,·3,·30) | ||
511 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 511 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
512 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 512 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
513 | ············Gets·a·Date·object·for·the·current·century. | 513 | ············Gets·a·Date·object·for·the·current·century. |
514 | ··············Parameters: | 514 | ··············Parameters: |
515 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 515 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
516 | ························today | 516 | ························today |
517 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 517 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 521, 19 lines modified | Offset 521, 19 lines modified | ||
521 | ··············Returns: | 521 | ··············Returns: |
522 | ··················Date | 522 | ··················Date |
523 | ··············Examples: | 523 | ··············Examples: |
524 | ············>>>·Faker.seed(0) | 524 | ············>>>·Faker.seed(0) |
525 | ············>>>·for·_·in·range(5): | 525 | ············>>>·for·_·in·range(5): |
526 | ············...·····fake.date_this_century() | 526 | ············...·····fake.date_this_century() |
527 | ············... | 527 | ············... |
528 | ············datetime.date(2020,·12,·24) | ||
Max diff block lines reached; 29816/36951 bytes (80.69%) of diff not shown. |
Offset 428, 19 lines modified | Offset 428, 19 lines modified | ||
428 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 428 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
429 | <dd·class="field-odd"><p></p></dd> | 429 | <dd·class="field-odd"><p></p></dd> |
430 | </dl> | 430 | </dl> |
431 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 431 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
432 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 432 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
433 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">diplomatic_license_plate</span><span·class="p">()</span> | 433 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">diplomatic_license_plate</span><span·class="p">()</span> |
434 | <span·class="gp">...</span> | 434 | <span·class="gp">...</span> |
435 | <span·class="go">' | 435 | <span·class="go">'DP·964·494'</span> |
436 | <span·class="go">'S·876·530'</span> | 436 | <span·class="go">'S·876·530'</span> |
437 | <span·class="go">'DP·141·365'</span> | 437 | <span·class="go">'DP·141·365'</span> |
438 | <span·class="go">' | 438 | <span·class="go">'DP·623·597'</span> |
439 | <span·class="go">' | 439 | <span·class="go">'CDP·514'</span> |
440 | </pre></div> | 440 | </pre></div> |
441 | </div> | 441 | </div> |
442 | </dd></dl> | 442 | </dd></dl> |
443 | <dl·class="py·method"> | 443 | <dl·class="py·method"> |
444 | <dt·class="sig·sig-object·py"·id="faker.providers.automotive.uk_UA.Provider.license_plate"> | 444 | <dt·class="sig·sig-object·py"·id="faker.providers.automotive.uk_UA.Provider.license_plate"> |
445 | <span·class="sig-name·descname"><span·class="pre">license_plate</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">region_name</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">temporary_plate</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.12)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.automotive.uk_UA.Provider.license_plate"·title="Link·to·this·definition">¶</a></dt> | 445 | <span·class="sig-name·descname"><span·class="pre">license_plate</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">region_name</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">temporary_plate</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#bool"·title="(in·Python·v3.12)"><span·class="pre">bool</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.automotive.uk_UA.Provider.license_plate"·title="Link·to·this·definition">¶</a></dt> |
Offset 456, 61 lines modified | Offset 456, 61 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">'XN6048HT'</span> |
464 | <span·class="go">' | 464 | <span·class="go">'ET4759MK'</span> |
465 | <span·class="go">' | 465 | <span·class="go">'II4219HI'</span> |
466 | <span·class="go">' | 466 | <span·class="go">'EO4115AT'</span> |
467 | <span·class="go">' | 467 | <span·class="go">'AC5659HN'</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">'IA6048HT'</span> |
475 | <span·class="go">' | 475 | <span·class="go">'OO4759MK'</span> |
476 | <span·class="go">' | 476 | <span·class="go">'NM4219HI'</span> |
477 | <span·class="go">' | 477 | <span·class="go">'EX4115AT'</span> |
478 | <span·class="go">' | 478 | <span·class="go">'KE5659HN'</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">'23·RX6048'</span> |
486 | <span·class="go">' | 486 | <span·class="go">'26·IE6475'</span> |
487 | <span·class="go">'1 | 487 | <span·class="go">'10·KI8242'</span> |
488 | <span·class="go">'23· | 488 | <span·class="go">'23·OX9489'</span> |
489 | <span·class="go">' | 489 | <span·class="go">'24·SA4115'</span> |
490 | </pre></div> | 490 | </pre></div> |
491 | </div> | 491 | </div> |
492 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 492 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
493 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 493 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
494 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">license_plate</span><span·class="p">(</span><span·class="n">region_name</span><span·class="o">=</span><span·class="s2">"Kyiv"</span><span·class="p">,</span>·<span·class="n">temporary_plate</span><span·class="o">=</span><span·class="kc">False</span><span·class="p">)</span> | 494 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">license_plate</span><span·class="p">(</span><span·class="n">region_name</span><span·class="o">=</span><span·class="s2">"Kyiv"</span><span·class="p">,</span>·<span·class="n">temporary_plate</span><span·class="o">=</span><span·class="kc">False</span><span·class="p">)</span> |
495 | <span·class="gp">...</span> | 495 | <span·class="gp">...</span> |
496 | <span·class="go">' | 496 | <span·class="go">'AA6048HT'</span> |
497 | <span·class="go">' | 497 | <span·class="go">'KA4759MK'</span> |
498 | <span·class="go">' | 498 | <span·class="go">'AA4219HI'</span> |
499 | <span·class="go">' | 499 | <span·class="go">'TA4115AT'</span> |
500 | <span·class="go">' | 500 | <span·class="go">'TA5659HN'</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·TA6048'</span> | 507 | <span·class="go">'11·TA6048'</span> |
508 | <span·class="go">'11· | 508 | <span·class="go">'11·TT6475'</span> |
509 | <span·class="go">'11·T | 509 | <span·class="go">'11·TT8242'</span> |
510 | <span·class="go">'11·TA9489'</span> | 510 | <span·class="go">'11·TA9489'</span> |
511 | <span·class="go">'11·AA4115'</span> | 511 | <span·class="go">'11·AA4115'</span> |
512 | </pre></div> | 512 | </pre></div> |
513 | </div> | 513 | </div> |
514 | </dd></dl> | 514 | </dd></dl> |
515 | <dl·class="py·method"> | 515 | <dl·class="py·method"> |
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">'T | 528 | <span·class="go">'TT'</span> |
529 | <span·class="go">'KM'</span> | ||
529 | <span·class="go">'E | 530 | <span·class="go">'EX'</span> |
530 | <span·class="go">'XT'</span> | ||
531 | <span·class="go">' | 531 | <span·class="go">'KB'</span> |
532 | <span·class="go">' | 532 | <span·class="go">'ED'</span> |
533 | </pre></div> | 533 | </pre></div> |
534 | </div> | 534 | </div> |
535 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 535 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
536 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 536 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
537 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">plate_letter_prefix</span><span·class="p">(</span><span·class="n">region_name</span><span·class="o">=</span><span·class="s2">"Kyiv"</span><span·class="p">)</span> | 537 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">plate_letter_prefix</span><span·class="p">(</span><span·class="n">region_name</span><span·class="o">=</span><span·class="s2">"Kyiv"</span><span·class="p">)</span> |
538 | <span·class="gp">...</span> | 538 | <span·class="gp">...</span> |
539 | <span·class="go">'TT'</span> | ||
540 | <span·class="go">'TT'</span> | ||
541 | <span·class="go">'AA'</span> | ||
542 | <span·class="go">'TT'</span> | ||
539 | <span·class="go">'KA'</span> | 543 | <span·class="go">'KA'</span> |
540 | <span·class="go">'TA'</span> | ||
541 | <span·class="go">'TA'</span> | ||
542 | <span·class="go">'KA'</span> | ||
543 | <span·class="go">'TA'</span> | ||
544 | </pre></div> | 544 | </pre></div> |
545 | </div> | 545 | </div> |
546 | </dd></dl> | 546 | </dd></dl> |
547 | <dl·class="py·method"> | 547 | <dl·class="py·method"> |
548 | <dt·class="sig·sig-object·py"·id="faker.providers.automotive.uk_UA.Provider.plate_letter_suffix"> | 548 | <dt·class="sig·sig-object·py"·id="faker.providers.automotive.uk_UA.Provider.plate_letter_suffix"> |
549 | <span·class="sig-name·descname"><span·class="pre">plate_letter_suffix</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.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">'0 | 602 | <span·class="go">'09'</span> |
603 | <span·class="go">'14'</span> | ||
Max diff block lines reached; 13376/27386 bytes (48.84%) of diff not shown. |
Offset 217, 19 lines modified | Offset 217, 19 lines modified | ||
217 | ········diplomatic_license_plate()·→·_\x8s_\x8t_\x8r_\x8¶ | 217 | ········diplomatic_license_plate()·→·_\x8s_\x8t_\x8r_\x8¶ |
218 | ············Example:·‘CDP·000’·or·‘DP·000·000’·or·‘S·000·000’·format | 218 | ············Example:·‘CDP·000’·or·‘DP·000·000’·or·‘S·000·000’·format |
219 | ··············Examples: | 219 | ··············Examples: |
220 | ············>>>·Faker.seed(0) | 220 | ············>>>·Faker.seed(0) |
221 | ············>>>·for·_·in·range(5): | 221 | ············>>>·for·_·in·range(5): |
222 | ············...·····fake.diplomatic_license_plate() | 222 | ············...·····fake.diplomatic_license_plate() |
223 | ············... | 223 | ············... |
224 | ············' | 224 | ············'DP·964·494' |
225 | ············'S·876·530' | 225 | ············'S·876·530' |
226 | ············'DP·141·365' | 226 | ············'DP·141·365' |
227 | ············' | 227 | ············'DP·623·597' |
228 | ············' | 228 | ············'CDP·514' |
229 | ········license_plate(r\x8re\x8eg\x8gi\x8io\x8on\x8n_\x8_n\x8na\x8am\x8me\x8e:\x8:·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·t\x8te\x8em\x8mp\x8po\x8or\x8ra\x8ar\x8ry\x8y_\x8_p\x8pl\x8la\x8at\x8te\x8e:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8= | 229 | ········license_plate(r\x8re\x8eg\x8gi\x8io\x8on\x8n_\x8_n\x8na\x8am\x8me\x8e:\x8:·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·t\x8te\x8em\x8mp\x8po\x8or\x8ra\x8ar\x8ry\x8y_\x8_p\x8pl\x8la\x8at\x8te\x8e:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8= |
230 | ········F\x8Fa\x8al\x8ls\x8se\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ | 230 | ········F\x8Fa\x8al\x8ls\x8se\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ |
231 | ············Generate·a·license·plate. | 231 | ············Generate·a·license·plate. |
232 | ················*·If·region_name·is·None·(default),·its·value·will·be·set·to·a | 232 | ················*·If·region_name·is·None·(default),·its·value·will·be·set·to·a |
233 | ··················random. | 233 | ··················random. |
234 | ················*·If·region_name·is·Kyiv,·will·use·this·region·in·build·of | 234 | ················*·If·region_name·is·Kyiv,·will·use·this·region·in·build·of |
235 | ··················license·plates. | 235 | ··················license·plates. |
Offset 239, 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 | ············'XN6048HT' |
247 | ············' | 247 | ············'ET4759MK' |
248 | ············' | 248 | ············'II4219HI' |
249 | ············' | 249 | ············'EO4115AT' |
250 | ············' | 250 | ············'AC5659HN' |
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 | ············'IA6048HT' |
256 | ············' | 256 | ············'OO4759MK' |
257 | ············' | 257 | ············'NM4219HI' |
258 | ············' | 258 | ············'EX4115AT' |
259 | ············' | 259 | ············'KE5659HN' |
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 | ············'23·RX6048' |
265 | ············' | 265 | ············'26·IE6475' |
266 | ············'1 | 266 | ············'10·KI8242' |
267 | ············'23· | 267 | ············'23·OX9489' |
268 | ············' | 268 | ············'24·SA4115' |
269 | ············>>>·Faker.seed(0) | 269 | ············>>>·Faker.seed(0) |
270 | ············>>>·for·_·in·range(5): | 270 | ············>>>·for·_·in·range(5): |
271 | ············...·····fake.license_plate(region_name="Kyiv", | 271 | ············...·····fake.license_plate(region_name="Kyiv", |
272 | ············temporary_plate=False) | 272 | ············temporary_plate=False) |
273 | ············... | 273 | ············... |
274 | ············' | 274 | ············'AA6048HT' |
275 | ············' | 275 | ············'KA4759MK' |
276 | ············' | 276 | ············'AA4219HI' |
277 | ············' | 277 | ············'TA4115AT' |
278 | ············' | 278 | ············'TA5659HN' |
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·TA6048' | 284 | ············'11·TA6048' |
285 | ············'11· | 285 | ············'11·TT6475' |
286 | ············'11·T | 286 | ············'11·TT8242' |
287 | ············'11·TA9489' | 287 | ············'11·TA9489' |
288 | ············'11·AA4115' | 288 | ············'11·AA4115' |
289 | ········plate_letter_prefix(r\x8re\x8eg\x8gi\x8io\x8on\x8n_\x8_n\x8na\x8am\x8me\x8e:\x8:·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ | 289 | ········plate_letter_prefix(r\x8re\x8eg\x8gi\x8io\x8on\x8n_\x8_n\x8na\x8am\x8me\x8e:\x8:·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ |
290 | ············Generate·a·letter·for·license·plates. | 290 | ············Generate·a·letter·for·license·plates. |
291 | ··············Examples: | 291 | ··············Examples: |
292 | ············>>>·Faker.seed(0) | 292 | ············>>>·Faker.seed(0) |
293 | ············>>>·for·_·in·range(5): | 293 | ············>>>·for·_·in·range(5): |
294 | ············...·····fake.plate_letter_prefix() | 294 | ············...·····fake.plate_letter_prefix() |
295 | ············... | 295 | ············... |
296 | ············'T | 296 | ············'TT' |
297 | ············'KM' | ||
297 | ············'E | 298 | ············'EX' |
298 | ············'XT' | ||
299 | ············' | 299 | ············'KB' |
300 | ············' | 300 | ············'ED' |
301 | ············>>>·Faker.seed(0) | 301 | ············>>>·Faker.seed(0) |
302 | ············>>>·for·_·in·range(5): | 302 | ············>>>·for·_·in·range(5): |
303 | ············...·····fake.plate_letter_prefix(region_name="Kyiv") | 303 | ············...·····fake.plate_letter_prefix(region_name="Kyiv") |
304 | ············... | 304 | ············... |
305 | ············'TT' | ||
306 | ············'TT' | ||
307 | ············'AA' | ||
308 | ············'TT' | ||
305 | ············'KA' | 309 | ············'KA' |
306 | ············'TA' | ||
307 | ············'TA' | ||
308 | ············'KA' | ||
309 | ············'TA' | ||
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 | ············'0 | 341 | ············'09' |
342 | ············'14' | ||
343 | ············'0 | 342 | ············'00' |
344 | ············' | 343 | ············'08' |
345 | ············'11' | 344 | ············'11' |
345 | ············'23' | ||
346 | ············>>>·Faker.seed(0) | 346 | ············>>>·Faker.seed(0) |
347 | ············>>>·for·_·in·range(5): | 347 | ············>>>·for·_·in·range(5): |
348 | ············...·····fake.plate_region_code(region_name="Kyiv") | 348 | ············...·····fake.plate_region_code(region_name="Kyiv") |
349 | ············... | 349 | ············... |
350 | ············'11' | 350 | ············'11' |
351 | ············'11' | 351 | ············'11' |
352 | ············'11' | 352 | ············'11' |
Offset 801, 64 lines modified | Offset 801, 64 lines modified | ||
801 | ············expiry·date,·_\x8s_\x8t_\x8r_\x8f_\x8t_\x8i_\x8m_\x8e_\x8(_\x8)·is·used·and·date_format·is·simply·passed·to | 801 | ············expiry·date,·_\x8s_\x8t_\x8r_\x8f_\x8t_\x8i_\x8m_\x8e_\x8(_\x8)·is·used·and·date_format·is·simply·passed·to |
802 | ············that·method. | 802 | ············that·method. |
Max diff block lines reached; 5575/10640 bytes (52.40%) of diff not shown. |
Offset 1090, 18 lines modified | Offset 1090, 18 lines modified | ||
1090 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 1090 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
1091 | <dd·class="field-odd"><p></p></dd> | 1091 | <dd·class="field-odd"><p></p></dd> |
1092 | </dl> | 1092 | </dl> |
1093 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1093 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1094 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1094 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1095 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 1095 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
1096 | <span·class="gp">...</span> | 1096 | <span·class="gp">...</span> |
1097 | <span·class="go">'AM'</span> | ||
1098 | <span·class="go">'PM'</span> | 1097 | <span·class="go">'PM'</span> |
1099 | <span·class="go">'PM'</span> | 1098 | <span·class="go">'PM'</span> |
1100 | <span·class="go">'PM'</span> | 1099 | <span·class="go">'PM'</span> |
1100 | <span·class="go">'AM'</span> | ||
1101 | <span·class="go">'PM'</span> | 1101 | <span·class="go">'PM'</span> |
1102 | </pre></div> | 1102 | </pre></div> |
1103 | </div> | 1103 | </div> |
1104 | </dd></dl> | 1104 | </dd></dl> |
1105 | <dl·class="py·method"> | 1105 | <dl·class="py·method"> |
1106 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.vi_VN.Provider.century"> | 1106 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.vi_VN.Provider.century"> |
Offset 1143, 19 lines modified | Offset 1143, 19 lines modified | ||
1143 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1143 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1144 | <dd·class="field-even"><p></p></dd> | 1144 | <dd·class="field-even"><p></p></dd> |
1145 | </dl> | 1145 | </dl> |
1146 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1146 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1147 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1147 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1148 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 1148 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
1149 | <span·class="gp">...</span> | 1149 | <span·class="gp">...</span> |
1150 | <span·class="go">'2017-03-27'</span> | ||
1151 | <span·class="go">'201 | 1150 | <span·class="go">'2016-04-25'</span> |
1151 | <span·class="go">'2011-07-29'</span> | ||
1152 | <span·class="go">'1993-0 | 1152 | <span·class="go">'1993-01-25'</span> |
1153 | <span·class="go">'1984-0 | 1153 | <span·class="go">'1984-03-15'</span> |
1154 | <span·class="go">'1998-0 | 1154 | <span·class="go">'1998-01-16'</span> |
1155 | </pre></div> | 1155 | </pre></div> |
1156 | </div> | 1156 | </div> |
1157 | </dd></dl> | 1157 | </dd></dl> |
1158 | <dl·class="py·method"> | 1158 | <dl·class="py·method"> |
1159 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.vi_VN.Provider.date_between"> | 1159 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.vi_VN.Provider.date_between"> |
1160 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.vi_VN.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 1160 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.vi_VN.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 1177, 19 lines modified | Offset 1177, 19 lines modified | ||
1177 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1177 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1178 | <dd·class="field-even"><p></p></dd> | 1178 | <dd·class="field-even"><p></p></dd> |
1179 | </dl> | 1179 | </dl> |
1180 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1180 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1181 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1181 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1182 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 1182 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
1183 | <span·class="gp">...</span> | 1183 | <span·class="gp">...</span> |
1184 | <span·class="go">datetime.date(202 | 1184 | <span·class="go">datetime.date(2020,·3,·7)</span> |
1185 | <span·class="go">datetime.date(201 | 1185 | <span·class="go">datetime.date(2017,·8,·2)</span> |
1186 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
1187 | <span·class="go">datetime.date(200 | 1186 | <span·class="go">datetime.date(2007,·6,·19)</span> |
1187 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
1188 | <span·class="go">datetime.date(201 | 1188 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 1215 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1216 | <span·class="go">datetime.date(202 | 1216 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1217 | <span·class="go">datetime.date(202 | 1217 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1218 | <span·class="go">datetime.date(202 | 1218 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1219 | <span·class="go">datetime.date(202 | 1219 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 1232, 19 lines modified | ||
1232 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1232 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1233 | <dd·class="field-even"><p></p></dd> | 1233 | <dd·class="field-even"><p></p></dd> |
1234 | </dl> | 1234 | </dl> |
1235 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1235 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1236 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1236 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1237 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1237 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
1238 | <span·class="gp">...</span> | 1238 | <span·class="gp">...</span> |
1239 | <span·class="go">datetime.date(2017,·3,·27)</span> | ||
1240 | <span·class="go">datetime.date(201 | 1239 | <span·class="go">datetime.date(2016,·4,·25)</span> |
1240 | <span·class="go">datetime.date(2011,·7,·29)</span> | ||
1241 | <span·class="go">datetime.date(1993,· | 1241 | <span·class="go">datetime.date(1993,·1,·25)</span> |
1242 | <span·class="go">datetime.date(1984,· | 1242 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1243 | <span·class="go">datetime.date(1998,· | 1243 | <span·class="go">datetime.date(1998,·1,·16)</span> |
1244 | </pre></div> | 1244 | </pre></div> |
1245 | </div> | 1245 | </div> |
1246 | </dd></dl> | 1246 | </dd></dl> |
1247 | <dl·class="py·method"> | 1247 | <dl·class="py·method"> |
1248 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.vi_VN.Provider.date_of_birth"> | 1248 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.vi_VN.Provider.date_of_birth"> |
1249 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.vi_VN.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1249 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.vi_VN.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
Offset 1268, 19 lines modified | Offset 1268, 19 lines modified | ||
1268 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1268 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1269 | <dd·class="field-even"><p></p></dd> | 1269 | <dd·class="field-even"><p></p></dd> |
1270 | </dl> | 1270 | </dl> |
1271 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1271 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1272 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1272 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1273 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1273 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
1274 | <span·class="gp">...</span> | 1274 | <span·class="gp">...</span> |
1275 | <span·class="go">datetime.date(200 | 1275 | <span·class="go">datetime.date(2006,·10,·20)</span> |
1276 | <span·class="go">datetime.date(1996,·10,·8)</span> | ||
1277 | <span·class="go">datetime.date(1957,·8,·20)</span> | ||
1276 | <span·class="go">datetime.date(19 | 1278 | <span·class="go">datetime.date(1938,·11,·19)</span> |
1277 | <span·class="go">datetime.date(19 | 1279 | <span·class="go">datetime.date(1968,·2,·27)</span> |
1278 | <span·class="go">datetime.date(1939,·12,·21)</span> | ||
1279 | <span·class="go">datetime.date(1969,·3,·30)</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> |
Max diff block lines reached; 97811/119487 bytes (81.86%) of diff not shown. |
Offset 617, 18 lines modified | Offset 617, 18 lines modified | ||
617 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 617 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
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 | ············'AM' | ||
625 | ············'PM' | 624 | ············'PM' |
626 | ············'PM' | 625 | ············'PM' |
627 | ············'PM' | 626 | ············'PM' |
627 | ············'AM' | ||
628 | ············'PM' | 628 | ············'PM' |
629 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 629 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
630 | ··············Example: | 630 | ··············Example: |
631 | ··················‘XVII’ | 631 | ··················‘XVII’ |
632 | ··············Examples: | 632 | ··············Examples: |
633 | ············>>>·Faker.seed(0) | 633 | ············>>>·Faker.seed(0) |
634 | ············>>>·for·_·in·range(5): | 634 | ············>>>·for·_·in·range(5): |
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() | 654 | ············...·····fake.date() |
655 | ············... | 655 | ············... |
656 | ············'2017-03-27' | ||
657 | ············'201 | 656 | ············'2016-04-25' |
657 | ············'2011-07-29' | ||
658 | ············'1993-0 | 658 | ············'1993-01-25' |
659 | ············'1984-0 | 659 | ············'1984-03-15' |
660 | ············'1998-0 | 660 | ············'1998-01-16' |
661 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 661 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
662 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 662 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
663 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 663 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
664 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 664 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
665 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 665 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
666 | ··············Parameters: | 666 | ··············Parameters: |
667 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 667 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
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(202 | 678 | ············datetime.date(2020,·3,·7) |
679 | ············datetime.date(201 | 679 | ············datetime.date(2017,·8,·2) |
680 | ············datetime.date(2008,·7,·20) | ||
681 | ············datetime.date(200 | 680 | ············datetime.date(2007,·6,·19) |
681 | ············datetime.date(2002,·8,·13) | ||
682 | ············datetime.date(201 | 682 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 691, 33 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(202 | 698 | ············datetime.date(2024,·11,·6) |
699 | ············datetime.date(202 | 699 | ············datetime.date(2024,·11,·6) |
700 | ············datetime.date(202 | 700 | ············datetime.date(2024,·11,·6) |
701 | ············datetime.date(202 | 701 | ············datetime.date(2024,·11,·6) |
702 | ············datetime.date(202 | 702 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
713 | ············datetime.date(201 | 712 | ············datetime.date(2016,·4,·25) |
713 | ············datetime.date(2011,·7,·29) | ||
714 | ············datetime.date(1993,· | 714 | ············datetime.date(1993,·1,·25) |
715 | ············datetime.date(1984,· | 715 | ············datetime.date(1984,·3,·15) |
716 | ············datetime.date(1998,· | 716 | ············datetime.date(1998,·1,·16) |
717 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 717 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
718 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 718 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
719 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 719 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
720 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 720 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
721 | ··············Parameters: | 721 | ··············Parameters: |
722 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. | 722 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. |
723 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. | 723 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. |
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(200 | 734 | ············datetime.date(2006,·10,·20) |
735 | ············datetime.date(1996,·10,·8) | ||
736 | ············datetime.date(1957,·8,·20) | ||
735 | ············datetime.date(19 | 737 | ············datetime.date(1938,·11,·19) |
736 | ············datetime.date(19 | 738 | ············datetime.date(1968,·2,·27) |
737 | ············datetime.date(1939,·12,·21) | ||
738 | ············datetime.date(1969,·3,·30) | ||
739 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 739 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
740 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 740 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
741 | ············Gets·a·Date·object·for·the·current·century. | 741 | ············Gets·a·Date·object·for·the·current·century. |
742 | ··············Parameters: | 742 | ··············Parameters: |
743 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 743 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
744 | ························today | 744 | ························today |
745 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 745 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 749, 19 lines modified | Offset 749, 19 lines modified | ||
749 | ··············Returns: | 749 | ··············Returns: |
750 | ··················Date | 750 | ··················Date |
751 | ··············Examples: | 751 | ··············Examples: |
752 | ············>>>·Faker.seed(0) | 752 | ············>>>·Faker.seed(0) |
753 | ············>>>·for·_·in·range(5): | 753 | ············>>>·for·_·in·range(5): |
754 | ············...·····fake.date_this_century() | 754 | ············...·····fake.date_this_century() |
755 | ············... | 755 | ············... |
756 | ············datetime.date(2020,·12,·24) | ||
Max diff block lines reached; 29681/36816 bytes (80.62%) of diff not shown. |
Offset 876, 18 lines modified | Offset 876, 18 lines modified | ||
876 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 876 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
877 | <dd·class="field-odd"><p></p></dd> | 877 | <dd·class="field-odd"><p></p></dd> |
878 | </dl> | 878 | </dl> |
879 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 879 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
880 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 880 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
881 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 881 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
882 | <span·class="gp">...</span> | 882 | <span·class="gp">...</span> |
883 | <span·class="go">'AM'</span> | ||
884 | <span·class="go">'PM'</span> | 883 | <span·class="go">'PM'</span> |
885 | <span·class="go">'PM'</span> | 884 | <span·class="go">'PM'</span> |
886 | <span·class="go">'PM'</span> | 885 | <span·class="go">'PM'</span> |
886 | <span·class="go">'AM'</span> | ||
887 | <span·class="go">'PM'</span> | 887 | <span·class="go">'PM'</span> |
888 | </pre></div> | 888 | </pre></div> |
889 | </div> | 889 | </div> |
890 | </dd></dl> | 890 | </dd></dl> |
891 | <dl·class="py·method"> | 891 | <dl·class="py·method"> |
892 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.zh_CN.Provider.century"> | 892 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.zh_CN.Provider.century"> |
Offset 929, 19 lines modified | Offset 929, 19 lines modified | ||
929 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 929 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
930 | <dd·class="field-even"><p></p></dd> | 930 | <dd·class="field-even"><p></p></dd> |
931 | </dl> | 931 | </dl> |
932 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 932 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
933 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 933 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
934 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 934 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
935 | <span·class="gp">...</span> | 935 | <span·class="gp">...</span> |
936 | <span·class="go">'2017-03-27'</span> | ||
937 | <span·class="go">'201 | 936 | <span·class="go">'2016-04-25'</span> |
937 | <span·class="go">'2011-07-29'</span> | ||
938 | <span·class="go">'1993-0 | 938 | <span·class="go">'1993-01-25'</span> |
939 | <span·class="go">'1984-0 | 939 | <span·class="go">'1984-03-15'</span> |
940 | <span·class="go">'1998-0 | 940 | <span·class="go">'1998-01-16'</span> |
941 | </pre></div> | 941 | </pre></div> |
942 | </div> | 942 | </div> |
943 | </dd></dl> | 943 | </dd></dl> |
944 | <dl·class="py·method"> | 944 | <dl·class="py·method"> |
945 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.zh_CN.Provider.date_between"> | 945 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.zh_CN.Provider.date_between"> |
946 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.zh_CN.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 946 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.zh_CN.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 963, 19 lines modified | Offset 963, 19 lines modified | ||
963 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 963 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
964 | <dd·class="field-even"><p></p></dd> | 964 | <dd·class="field-even"><p></p></dd> |
965 | </dl> | 965 | </dl> |
966 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 966 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
967 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 967 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
968 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 968 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
969 | <span·class="gp">...</span> | 969 | <span·class="gp">...</span> |
970 | <span·class="go">datetime.date(202 | 970 | <span·class="go">datetime.date(2020,·3,·7)</span> |
971 | <span·class="go">datetime.date(201 | 971 | <span·class="go">datetime.date(2017,·8,·2)</span> |
972 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
973 | <span·class="go">datetime.date(200 | 972 | <span·class="go">datetime.date(2007,·6,·19)</span> |
973 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
974 | <span·class="go">datetime.date(201 | 974 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 1001 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1002 | <span·class="go">datetime.date(202 | 1002 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1003 | <span·class="go">datetime.date(202 | 1003 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1004 | <span·class="go">datetime.date(202 | 1004 | <span·class="go">datetime.date(2024,·11,·6)</span> |
1005 | <span·class="go">datetime.date(202 | 1005 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 1018, 19 lines modified | ||
1018 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1018 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1019 | <dd·class="field-even"><p></p></dd> | 1019 | <dd·class="field-even"><p></p></dd> |
1020 | </dl> | 1020 | </dl> |
1021 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1021 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1022 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1022 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1023 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 1023 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
1024 | <span·class="gp">...</span> | 1024 | <span·class="gp">...</span> |
1025 | <span·class="go">datetime.date(2017,·3,·27)</span> | ||
1026 | <span·class="go">datetime.date(201 | 1025 | <span·class="go">datetime.date(2016,·4,·25)</span> |
1026 | <span·class="go">datetime.date(2011,·7,·29)</span> | ||
1027 | <span·class="go">datetime.date(1993,· | 1027 | <span·class="go">datetime.date(1993,·1,·25)</span> |
1028 | <span·class="go">datetime.date(1984,· | 1028 | <span·class="go">datetime.date(1984,·3,·15)</span> |
1029 | <span·class="go">datetime.date(1998,· | 1029 | <span·class="go">datetime.date(1998,·1,·16)</span> |
1030 | </pre></div> | 1030 | </pre></div> |
1031 | </div> | 1031 | </div> |
1032 | </dd></dl> | 1032 | </dd></dl> |
1033 | <dl·class="py·method"> | 1033 | <dl·class="py·method"> |
1034 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.zh_CN.Provider.date_of_birth"> | 1034 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.zh_CN.Provider.date_of_birth"> |
1035 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.zh_CN.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 1035 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.zh_CN.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
Offset 1054, 19 lines modified | Offset 1054, 19 lines modified | ||
1054 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 1054 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
1055 | <dd·class="field-even"><p></p></dd> | 1055 | <dd·class="field-even"><p></p></dd> |
1056 | </dl> | 1056 | </dl> |
1057 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 1057 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
1058 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 1058 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
1059 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 1059 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
1060 | <span·class="gp">...</span> | 1060 | <span·class="gp">...</span> |
1061 | <span·class="go">datetime.date(200 | 1061 | <span·class="go">datetime.date(2006,·10,·20)</span> |
1062 | <span·class="go">datetime.date(1996,·10,·8)</span> | ||
1063 | <span·class="go">datetime.date(1957,·8,·20)</span> | ||
1062 | <span·class="go">datetime.date(19 | 1064 | <span·class="go">datetime.date(1938,·11,·19)</span> |
1063 | <span·class="go">datetime.date(19 | 1065 | <span·class="go">datetime.date(1968,·2,·27)</span> |
1064 | <span·class="go">datetime.date(1939,·12,·21)</span> | ||
1065 | <span·class="go">datetime.date(1969,·3,·30)</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> |
Max diff block lines reached; 99677/121345 bytes (82.14%) of diff not shown. |
Offset 501, 18 lines modified | Offset 501, 18 lines modified | ||
501 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 501 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
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 | ············'AM' | ||
509 | ············'PM' | 508 | ············'PM' |
510 | ············'PM' | 509 | ············'PM' |
511 | ············'PM' | 510 | ············'PM' |
511 | ············'AM' | ||
512 | ············'PM' | 512 | ············'PM' |
513 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 513 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
514 | ··············Example: | 514 | ··············Example: |
515 | ··················‘XVII’ | 515 | ··················‘XVII’ |
516 | ··············Examples: | 516 | ··············Examples: |
517 | ············>>>·Faker.seed(0) | 517 | ············>>>·Faker.seed(0) |
518 | ············>>>·for·_·in·range(5): | 518 | ············>>>·for·_·in·range(5): |
Offset 533, 19 lines modified | Offset 533, 19 lines modified | ||
533 | ··············Returns: | 533 | ··············Returns: |
534 | ··················Date | 534 | ··················Date |
535 | ··············Examples: | 535 | ··············Examples: |
536 | ············>>>·Faker.seed(0) | 536 | ············>>>·Faker.seed(0) |
537 | ············>>>·for·_·in·range(5): | 537 | ············>>>·for·_·in·range(5): |
538 | ············...·····fake.date() | 538 | ············...·····fake.date() |
539 | ············... | 539 | ············... |
540 | ············'2017-03-27' | ||
541 | ············'201 | 540 | ············'2016-04-25' |
541 | ············'2011-07-29' | ||
542 | ············'1993-0 | 542 | ············'1993-01-25' |
543 | ············'1984-0 | 543 | ············'1984-03-15' |
544 | ············'1998-0 | 544 | ············'1998-01-16' |
545 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 545 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
546 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 546 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
547 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 547 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
548 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 548 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
549 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 549 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
550 | ··············Parameters: | 550 | ··············Parameters: |
551 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 551 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
Offset 555, 19 lines modified | Offset 555, 19 lines modified | ||
555 | ··············Returns: | 555 | ··············Returns: |
556 | ··················Date | 556 | ··················Date |
557 | ··············Examples: | 557 | ··············Examples: |
558 | ············>>>·Faker.seed(0) | 558 | ············>>>·Faker.seed(0) |
559 | ············>>>·for·_·in·range(5): | 559 | ············>>>·for·_·in·range(5): |
560 | ············...·····fake.date_between() | 560 | ············...·····fake.date_between() |
561 | ············... | 561 | ············... |
562 | ············datetime.date(202 | 562 | ············datetime.date(2020,·3,·7) |
563 | ············datetime.date(201 | 563 | ············datetime.date(2017,·8,·2) |
564 | ············datetime.date(2008,·7,·20) | ||
565 | ············datetime.date(200 | 564 | ············datetime.date(2007,·6,·19) |
565 | ············datetime.date(2002,·8,·13) | ||
566 | ············datetime.date(201 | 566 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 575, 33 lines modified | ||
575 | ··············Returns: | 575 | ··············Returns: |
576 | ··················Date | 576 | ··················Date |
577 | ··············Examples: | 577 | ··············Examples: |
578 | ············>>>·Faker.seed(0) | 578 | ············>>>·Faker.seed(0) |
579 | ············>>>·for·_·in·range(5): | 579 | ············>>>·for·_·in·range(5): |
580 | ············...·····fake.date_between_dates() | 580 | ············...·····fake.date_between_dates() |
581 | ············... | 581 | ············... |
582 | ············datetime.date(202 | 582 | ············datetime.date(2024,·11,·6) |
583 | ············datetime.date(202 | 583 | ············datetime.date(2024,·11,·6) |
584 | ············datetime.date(202 | 584 | ············datetime.date(2024,·11,·6) |
585 | ············datetime.date(202 | 585 | ············datetime.date(2024,·11,·6) |
586 | ············datetime.date(202 | 586 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
597 | ············datetime.date(201 | 596 | ············datetime.date(2016,·4,·25) |
597 | ············datetime.date(2011,·7,·29) | ||
598 | ············datetime.date(1993,· | 598 | ············datetime.date(1993,·1,·25) |
599 | ············datetime.date(1984,· | 599 | ············datetime.date(1984,·3,·15) |
600 | ············datetime.date(1998,· | 600 | ············datetime.date(1998,·1,·16) |
601 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 601 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
602 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 602 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
603 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 603 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
604 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 604 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
605 | ··············Parameters: | 605 | ··············Parameters: |
606 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. | 606 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. |
607 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. | 607 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. |
Offset 611, 19 lines modified | Offset 611, 19 lines modified | ||
611 | ··············Returns: | 611 | ··············Returns: |
612 | ··················Date | 612 | ··················Date |
613 | ··············Examples: | 613 | ··············Examples: |
614 | ············>>>·Faker.seed(0) | 614 | ············>>>·Faker.seed(0) |
615 | ············>>>·for·_·in·range(5): | 615 | ············>>>·for·_·in·range(5): |
616 | ············...·····fake.date_of_birth() | 616 | ············...·····fake.date_of_birth() |
617 | ············... | 617 | ············... |
618 | ············datetime.date(200 | 618 | ············datetime.date(2006,·10,·20) |
619 | ············datetime.date(1996,·10,·8) | ||
620 | ············datetime.date(1957,·8,·20) | ||
619 | ············datetime.date(19 | 621 | ············datetime.date(1938,·11,·19) |
620 | ············datetime.date(19 | 622 | ············datetime.date(1968,·2,·27) |
621 | ············datetime.date(1939,·12,·21) | ||
622 | ············datetime.date(1969,·3,·30) | ||
623 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 623 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
624 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 624 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
625 | ············Gets·a·Date·object·for·the·current·century. | 625 | ············Gets·a·Date·object·for·the·current·century. |
626 | ··············Parameters: | 626 | ··············Parameters: |
627 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 627 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
628 | ························today | 628 | ························today |
629 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 629 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 633, 19 lines modified | Offset 633, 19 lines modified | ||
633 | ··············Returns: | 633 | ··············Returns: |
634 | ··················Date | 634 | ··················Date |
635 | ··············Examples: | 635 | ··············Examples: |
636 | ············>>>·Faker.seed(0) | 636 | ············>>>·Faker.seed(0) |
637 | ············>>>·for·_·in·range(5): | 637 | ············>>>·for·_·in·range(5): |
638 | ············...·····fake.date_this_century() | 638 | ············...·····fake.date_this_century() |
639 | ············... | 639 | ············... |
640 | ············datetime.date(2020,·12,·24) | ||
Max diff block lines reached; 30887/38022 bytes (81.23%) of diff not shown. |
Offset 604, 18 lines modified | Offset 604, 18 lines modified | ||
604 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 604 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
605 | <dd·class="field-odd"><p></p></dd> | 605 | <dd·class="field-odd"><p></p></dd> |
606 | </dl> | 606 | </dl> |
607 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 607 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
608 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 608 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
609 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 609 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
610 | <span·class="gp">...</span> | 610 | <span·class="gp">...</span> |
611 | <span·class="go">'AM'</span> | ||
612 | <span·class="go">'PM'</span> | 611 | <span·class="go">'PM'</span> |
613 | <span·class="go">'PM'</span> | 612 | <span·class="go">'PM'</span> |
614 | <span·class="go">'PM'</span> | 613 | <span·class="go">'PM'</span> |
614 | <span·class="go">'AM'</span> | ||
615 | <span·class="go">'PM'</span> | 615 | <span·class="go">'PM'</span> |
616 | </pre></div> | 616 | </pre></div> |
617 | </div> | 617 | </div> |
618 | </dd></dl> | 618 | </dd></dl> |
619 | <dl·class="py·method"> | 619 | <dl·class="py·method"> |
620 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.zh_TW.Provider.century"> | 620 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.zh_TW.Provider.century"> |
Offset 657, 19 lines modified | Offset 657, 19 lines modified | ||
657 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 657 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
658 | <dd·class="field-even"><p></p></dd> | 658 | <dd·class="field-even"><p></p></dd> |
659 | </dl> | 659 | </dl> |
660 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 660 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
661 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 661 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
662 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 662 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
663 | <span·class="gp">...</span> | 663 | <span·class="gp">...</span> |
664 | <span·class="go">'2017-03-27'</span> | ||
665 | <span·class="go">'201 | 664 | <span·class="go">'2016-04-25'</span> |
665 | <span·class="go">'2011-07-29'</span> | ||
666 | <span·class="go">'1993-0 | 666 | <span·class="go">'1993-01-25'</span> |
667 | <span·class="go">'1984-0 | 667 | <span·class="go">'1984-03-15'</span> |
668 | <span·class="go">'1998-0 | 668 | <span·class="go">'1998-01-16'</span> |
669 | </pre></div> | 669 | </pre></div> |
670 | </div> | 670 | </div> |
671 | </dd></dl> | 671 | </dd></dl> |
672 | <dl·class="py·method"> | 672 | <dl·class="py·method"> |
673 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.zh_TW.Provider.date_between"> | 673 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.zh_TW.Provider.date_between"> |
674 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.zh_TW.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 674 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.zh_TW.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 691, 19 lines modified | Offset 691, 19 lines modified | ||
691 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 691 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
692 | <dd·class="field-even"><p></p></dd> | 692 | <dd·class="field-even"><p></p></dd> |
693 | </dl> | 693 | </dl> |
694 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 694 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
695 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 695 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
696 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 696 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
697 | <span·class="gp">...</span> | 697 | <span·class="gp">...</span> |
698 | <span·class="go">datetime.date(202 | 698 | <span·class="go">datetime.date(2020,·3,·7)</span> |
699 | <span·class="go">datetime.date(201 | 699 | <span·class="go">datetime.date(2017,·8,·2)</span> |
700 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
701 | <span·class="go">datetime.date(200 | 700 | <span·class="go">datetime.date(2007,·6,·19)</span> |
701 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
702 | <span·class="go">datetime.date(201 | 702 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 729 | <span·class="go">datetime.date(2024,·11,·6)</span> |
730 | <span·class="go">datetime.date(202 | 730 | <span·class="go">datetime.date(2024,·11,·6)</span> |
731 | <span·class="go">datetime.date(202 | 731 | <span·class="go">datetime.date(2024,·11,·6)</span> |
732 | <span·class="go">datetime.date(202 | 732 | <span·class="go">datetime.date(2024,·11,·6)</span> |
733 | <span·class="go">datetime.date(202 | 733 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 746, 19 lines modified | ||
746 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 746 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
747 | <dd·class="field-even"><p></p></dd> | 747 | <dd·class="field-even"><p></p></dd> |
748 | </dl> | 748 | </dl> |
749 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 749 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
750 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 750 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
751 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 751 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
752 | <span·class="gp">...</span> | 752 | <span·class="gp">...</span> |
753 | <span·class="go">datetime.date(2017,·3,·27)</span> | ||
754 | <span·class="go">datetime.date(201 | 753 | <span·class="go">datetime.date(2016,·4,·25)</span> |
754 | <span·class="go">datetime.date(2011,·7,·29)</span> | ||
755 | <span·class="go">datetime.date(1993,· | 755 | <span·class="go">datetime.date(1993,·1,·25)</span> |
756 | <span·class="go">datetime.date(1984,· | 756 | <span·class="go">datetime.date(1984,·3,·15)</span> |
757 | <span·class="go">datetime.date(1998,· | 757 | <span·class="go">datetime.date(1998,·1,·16)</span> |
758 | </pre></div> | 758 | </pre></div> |
759 | </div> | 759 | </div> |
760 | </dd></dl> | 760 | </dd></dl> |
761 | <dl·class="py·method"> | 761 | <dl·class="py·method"> |
762 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.zh_TW.Provider.date_of_birth"> | 762 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.zh_TW.Provider.date_of_birth"> |
763 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.zh_TW.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 763 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.zh_TW.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
Offset 782, 19 lines modified | Offset 782, 19 lines modified | ||
782 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 782 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
783 | <dd·class="field-even"><p></p></dd> | 783 | <dd·class="field-even"><p></p></dd> |
784 | </dl> | 784 | </dl> |
785 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 785 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
786 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 786 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
787 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 787 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
788 | <span·class="gp">...</span> | 788 | <span·class="gp">...</span> |
789 | <span·class="go">datetime.date(200 | 789 | <span·class="go">datetime.date(2006,·10,·20)</span> |
790 | <span·class="go">datetime.date(1996,·10,·8)</span> | ||
791 | <span·class="go">datetime.date(1957,·8,·20)</span> | ||
790 | <span·class="go">datetime.date(19 | 792 | <span·class="go">datetime.date(1938,·11,·19)</span> |
791 | <span·class="go">datetime.date(19 | 793 | <span·class="go">datetime.date(1968,·2,·27)</span> |
792 | <span·class="go">datetime.date(1939,·12,·21)</span> | ||
793 | <span·class="go">datetime.date(1969,·3,·30)</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> |
Max diff block lines reached; 99402/121064 bytes (82.11%) of diff not shown. |
Offset 313, 18 lines modified | Offset 313, 18 lines modified | ||
313 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 313 | ······Bases:·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
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 | ············'AM' | ||
321 | ············'PM' | 320 | ············'PM' |
322 | ············'PM' | 321 | ············'PM' |
323 | ············'PM' | 322 | ············'PM' |
323 | ············'AM' | ||
324 | ············'PM' | 324 | ············'PM' |
325 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 325 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
326 | ··············Example: | 326 | ··············Example: |
327 | ··················‘XVII’ | 327 | ··················‘XVII’ |
328 | ··············Examples: | 328 | ··············Examples: |
329 | ············>>>·Faker.seed(0) | 329 | ············>>>·Faker.seed(0) |
330 | ············>>>·for·_·in·range(5): | 330 | ············>>>·for·_·in·range(5): |
Offset 345, 19 lines modified | Offset 345, 19 lines modified | ||
345 | ··············Returns: | 345 | ··············Returns: |
346 | ··················Date | 346 | ··················Date |
347 | ··············Examples: | 347 | ··············Examples: |
348 | ············>>>·Faker.seed(0) | 348 | ············>>>·Faker.seed(0) |
349 | ············>>>·for·_·in·range(5): | 349 | ············>>>·for·_·in·range(5): |
350 | ············...·····fake.date() | 350 | ············...·····fake.date() |
351 | ············... | 351 | ············... |
352 | ············'2017-03-27' | ||
353 | ············'201 | 352 | ············'2016-04-25' |
353 | ············'2011-07-29' | ||
354 | ············'1993-0 | 354 | ············'1993-01-25' |
355 | ············'1984-0 | 355 | ············'1984-03-15' |
356 | ············'1998-0 | 356 | ············'1998-01-16' |
357 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 357 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
358 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 358 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
359 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 359 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
360 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 360 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
361 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 361 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
362 | ··············Parameters: | 362 | ··············Parameters: |
363 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 363 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
Offset 367, 19 lines modified | Offset 367, 19 lines modified | ||
367 | ··············Returns: | 367 | ··············Returns: |
368 | ··················Date | 368 | ··················Date |
369 | ··············Examples: | 369 | ··············Examples: |
370 | ············>>>·Faker.seed(0) | 370 | ············>>>·Faker.seed(0) |
371 | ············>>>·for·_·in·range(5): | 371 | ············>>>·for·_·in·range(5): |
372 | ············...·····fake.date_between() | 372 | ············...·····fake.date_between() |
373 | ············... | 373 | ············... |
374 | ············datetime.date(202 | 374 | ············datetime.date(2020,·3,·7) |
375 | ············datetime.date(201 | 375 | ············datetime.date(2017,·8,·2) |
376 | ············datetime.date(2008,·7,·20) | ||
377 | ············datetime.date(200 | 376 | ············datetime.date(2007,·6,·19) |
377 | ············datetime.date(2002,·8,·13) | ||
378 | ············datetime.date(201 | 378 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 387, 33 lines modified | ||
387 | ··············Returns: | 387 | ··············Returns: |
388 | ··················Date | 388 | ··················Date |
389 | ··············Examples: | 389 | ··············Examples: |
390 | ············>>>·Faker.seed(0) | 390 | ············>>>·Faker.seed(0) |
391 | ············>>>·for·_·in·range(5): | 391 | ············>>>·for·_·in·range(5): |
392 | ············...·····fake.date_between_dates() | 392 | ············...·····fake.date_between_dates() |
393 | ············... | 393 | ············... |
394 | ············datetime.date(202 | 394 | ············datetime.date(2024,·11,·6) |
395 | ············datetime.date(202 | 395 | ············datetime.date(2024,·11,·6) |
396 | ············datetime.date(202 | 396 | ············datetime.date(2024,·11,·6) |
397 | ············datetime.date(202 | 397 | ············datetime.date(2024,·11,·6) |
398 | ············datetime.date(202 | 398 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
409 | ············datetime.date(201 | 408 | ············datetime.date(2016,·4,·25) |
409 | ············datetime.date(2011,·7,·29) | ||
410 | ············datetime.date(1993,· | 410 | ············datetime.date(1993,·1,·25) |
411 | ············datetime.date(1984,· | 411 | ············datetime.date(1984,·3,·15) |
412 | ············datetime.date(1998,· | 412 | ············datetime.date(1998,·1,·16) |
413 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 413 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
414 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 414 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
415 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 415 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
416 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 416 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
417 | ··············Parameters: | 417 | ··············Parameters: |
418 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. | 418 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. |
419 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. | 419 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. |
Offset 423, 19 lines modified | Offset 423, 19 lines modified | ||
423 | ··············Returns: | 423 | ··············Returns: |
424 | ··················Date | 424 | ··················Date |
425 | ··············Examples: | 425 | ··············Examples: |
426 | ············>>>·Faker.seed(0) | 426 | ············>>>·Faker.seed(0) |
427 | ············>>>·for·_·in·range(5): | 427 | ············>>>·for·_·in·range(5): |
428 | ············...·····fake.date_of_birth() | 428 | ············...·····fake.date_of_birth() |
429 | ············... | 429 | ············... |
430 | ············datetime.date(200 | 430 | ············datetime.date(2006,·10,·20) |
431 | ············datetime.date(1996,·10,·8) | ||
432 | ············datetime.date(1957,·8,·20) | ||
431 | ············datetime.date(19 | 433 | ············datetime.date(1938,·11,·19) |
432 | ············datetime.date(19 | 434 | ············datetime.date(1968,·2,·27) |
433 | ············datetime.date(1939,·12,·21) | ||
434 | ············datetime.date(1969,·3,·30) | ||
435 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 435 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
436 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 436 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
437 | ············Gets·a·Date·object·for·the·current·century. | 437 | ············Gets·a·Date·object·for·the·current·century. |
438 | ··············Parameters: | 438 | ··············Parameters: |
439 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 439 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
440 | ························today | 440 | ························today |
441 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 441 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 445, 19 lines modified | Offset 445, 19 lines modified | ||
445 | ··············Returns: | 445 | ··············Returns: |
446 | ··················Date | 446 | ··················Date |
447 | ··············Examples: | 447 | ··············Examples: |
448 | ············>>>·Faker.seed(0) | 448 | ············>>>·Faker.seed(0) |
449 | ············>>>·for·_·in·range(5): | 449 | ············>>>·for·_·in·range(5): |
450 | ············...·····fake.date_this_century() | 450 | ············...·····fake.date_this_century() |
451 | ············... | 451 | ············... |
452 | ············datetime.date(2020,·12,·24) | ||
Max diff block lines reached; 29959/37094 bytes (80.77%) of diff not shown. |
Offset 72, 19 lines modified | Offset 72, 19 lines modified | ||
72 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 72 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
73 | <dd·class="field-odd"><p></p></dd> | 73 | <dd·class="field-odd"><p></p></dd> |
74 | </dl> | 74 | </dl> |
75 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 75 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
76 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 76 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
77 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">credit_card_expire</span><span·class="p">()</span> | 77 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">credit_card_expire</span><span·class="p">()</span> |
78 | <span·class="gp">...</span> | 78 | <span·class="gp">...</span> |
79 | <span·class="go">'05/34'</span> | ||
80 | <span·class="go">'0 | 79 | <span·class="go">'04/33'</span> |
81 | <span·class="go">'0 | 80 | <span·class="go">'06/32'</span> |
82 | <span·class="go">'0 | 81 | <span·class="go">'01/29'</span> |
83 | <span·class="go">'0 | 82 | <span·class="go">'06/27'</span> |
83 | <span·class="go">'12/29'</span> | ||
84 | </pre></div> | 84 | </pre></div> |
85 | </div> | 85 | </div> |
86 | </dd></dl> | 86 | </dd></dl> |
87 | <dl·class="py·method"> | 87 | <dl·class="py·method"> |
88 | <dt·class="sig·sig-object·py"·id="faker.providers.credit_card.Provider.credit_card_full"> | 88 | <dt·class="sig·sig-object·py"·id="faker.providers.credit_card.Provider.credit_card_full"> |
89 | <span·class="sig-name·descname"><span·class="pre">credit_card_full</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">card_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CardType</span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<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.credit_card.Provider.credit_card_full"·title="Link·to·this·definition">¶</a></dt> | 89 | <span·class="sig-name·descname"><span·class="pre">credit_card_full</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">card_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CardType</span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<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.credit_card.Provider.credit_card_full"·title="Link·to·this·definition">¶</a></dt> |
Offset 93, 19 lines modified | Offset 93, 19 lines modified | ||
93 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 93 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
94 | <dd·class="field-odd"><p></p></dd> | 94 | <dd·class="field-odd"><p></p></dd> |
95 | </dl> | 95 | </dl> |
96 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 96 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
97 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 97 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
98 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">credit_card_full</span><span·class="p">()</span> | 98 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">credit_card_full</span><span·class="p">()</span> |
99 | <span·class="gp">...</span> | 99 | <span·class="gp">...</span> |
100 | <span·class="go">'Discover\nKatherine·Fisher\n6587647593824218·0 | 100 | <span·class="go">'Discover\nKatherine·Fisher\n6587647593824218·01/31\nCVC:·489\n'</span> |
101 | <span·class="go">'VISA·16·digit\nKyle·Blair\n4781565938778403·1 | 101 | <span·class="go">'VISA·16·digit\nKyle·Blair\n4781565938778403·11/32\nCVC:·801\n'</span> |
102 | <span·class="go">'JCB·16·digit\nMary·Page\n3597535139332876·1 | 102 | <span·class="go">'JCB·16·digit\nMary·Page\n3597535139332876·10/25\nCVC:·587\n'</span> |
103 | <span·class="go">'Mastercard\nKevin·Carter\n5485839894719651·0 | 103 | <span·class="go">'Mastercard\nKevin·Carter\n5485839894719651·08/30\nCVV:·423\n'</span> |
104 | <span·class="go">'VISA·16·digit\nAntonio·Zavala\n4711220186848335·1 | 104 | <span·class="go">'VISA·16·digit\nAntonio·Zavala\n4711220186848335·10/33\nCVC:·969\n'</span> |
105 | </pre></div> | 105 | </pre></div> |
106 | </div> | 106 | </div> |
107 | </dd></dl> | 107 | </dd></dl> |
108 | <dl·class="py·method"> | 108 | <dl·class="py·method"> |
109 | <dt·class="sig·sig-object·py"·id="faker.providers.credit_card.Provider.credit_card_number"> | 109 | <dt·class="sig·sig-object·py"·id="faker.providers.credit_card.Provider.credit_card_number"> |
110 | <span·class="sig-name·descname"><span·class="pre">credit_card_number</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">card_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CardType</span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<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.credit_card.Provider.credit_card_number"·title="Link·to·this·definition">¶</a></dt> | 110 | <span·class="sig-name·descname"><span·class="pre">credit_card_number</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">card_type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CardType</span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<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.credit_card.Provider.credit_card_number"·title="Link·to·this·definition">¶</a></dt> |
Offset 28, 31 lines modified | Offset 28, 31 lines modified | ||
28 | ············expiry·date,·_\x8s_\x8t_\x8r_\x8f_\x8t_\x8i_\x8m_\x8e_\x8(_\x8)·is·used·and·date_format·is·simply·passed·to | 28 | ············expiry·date,·_\x8s_\x8t_\x8r_\x8f_\x8t_\x8i_\x8m_\x8e_\x8(_\x8)·is·used·and·date_format·is·simply·passed·to |
29 | ············that·method. | 29 | ············that·method. |
30 | ··············Examples: | 30 | ··············Examples: |
31 | ············>>>·Faker.seed(0) | 31 | ············>>>·Faker.seed(0) |
32 | ············>>>·for·_·in·range(5): | 32 | ············>>>·for·_·in·range(5): |
33 | ············...·····fake.credit_card_expire() | 33 | ············...·····fake.credit_card_expire() |
34 | ············... | 34 | ············... |
35 | ············'05/34' | ||
36 | ············'0 | 35 | ············'04/33' |
37 | ············'0 | 36 | ············'06/32' |
38 | ············'0 | 37 | ············'01/29' |
39 | ············'0 | 38 | ············'06/27' |
39 | ············'12/29' | ||
40 | ········credit_card_full(c\x8ca\x8ar\x8rd\x8d_\x8_t\x8ty\x8yp\x8pe\x8e:\x8:·C\x8Ca\x8ar\x8rd\x8dT\x8Ty\x8yp\x8pe\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ | 40 | ········credit_card_full(c\x8ca\x8ar\x8rd\x8d_\x8_t\x8ty\x8yp\x8pe\x8e:\x8:·C\x8Ca\x8ar\x8rd\x8dT\x8Ty\x8yp\x8pe\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ |
41 | ············Generate·a·set·of·credit·card·details. | 41 | ············Generate·a·set·of·credit·card·details. |
42 | ··············Examples: | 42 | ··············Examples: |
43 | ············>>>·Faker.seed(0) | 43 | ············>>>·Faker.seed(0) |
44 | ············>>>·for·_·in·range(5): | 44 | ············>>>·for·_·in·range(5): |
45 | ············...·····fake.credit_card_full() | 45 | ············...·····fake.credit_card_full() |
46 | ············... | 46 | ············... |
47 | ············'Discover\nKatherine·Fisher\n6587647593824218·0 | 47 | ············'Discover\nKatherine·Fisher\n6587647593824218·01/31\nCVC:·489\n' |
48 | ············'VISA·16·digit\nKyle·Blair\n4781565938778403·1 | 48 | ············'VISA·16·digit\nKyle·Blair\n4781565938778403·11/32\nCVC:·801\n' |
49 | ············'JCB·16·digit\nMary·Page\n3597535139332876·1 | 49 | ············'JCB·16·digit\nMary·Page\n3597535139332876·10/25\nCVC:·587\n' |
50 | ············'Mastercard\nKevin·Carter\n5485839894719651·0 | 50 | ············'Mastercard\nKevin·Carter\n5485839894719651·08/30\nCVV:·423\n' |
51 | ············'VISA·16·digit\nAntonio·Zavala\n4711220186848335·1 | 51 | ············'VISA·16·digit\nAntonio·Zavala\n4711220186848335·10/33\nCVC:·969\n' |
52 | ········credit_card_number(c\x8ca\x8ar\x8rd\x8d_\x8_t\x8ty\x8yp\x8pe\x8e:\x8:·C\x8Ca\x8ar\x8rd\x8dT\x8Ty\x8yp\x8pe\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ | 52 | ········credit_card_number(c\x8ca\x8ar\x8rd\x8d_\x8_t\x8ty\x8yp\x8pe\x8e:\x8:·C\x8Ca\x8ar\x8rd\x8dT\x8Ty\x8yp\x8pe\x8e·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8s_\x8t_\x8r_\x8¶ |
53 | ············Generate·a·valid·credit·card·number. | 53 | ············Generate·a·valid·credit·card·number. |
54 | ··············Examples: | 54 | ··············Examples: |
55 | ············>>>·Faker.seed(0) | 55 | ············>>>·Faker.seed(0) |
56 | ············>>>·for·_·in·range(5): | 56 | ············>>>·for·_·in·range(5): |
57 | ············...·····fake.credit_card_number() | 57 | ············...·····fake.credit_card_number() |
58 | ············... | 58 | ············... |
Offset 54, 18 lines modified | Offset 54, 18 lines modified | ||
54 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 54 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
55 | <dd·class="field-odd"><p></p></dd> | 55 | <dd·class="field-odd"><p></p></dd> |
56 | </dl> | 56 | </dl> |
57 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 57 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
58 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 58 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
59 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> | 59 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">am_pm</span><span·class="p">()</span> |
60 | <span·class="gp">...</span> | 60 | <span·class="gp">...</span> |
61 | <span·class="go">'AM'</span> | ||
62 | <span·class="go">'PM'</span> | 61 | <span·class="go">'PM'</span> |
63 | <span·class="go">'PM'</span> | 62 | <span·class="go">'PM'</span> |
64 | <span·class="go">'PM'</span> | 63 | <span·class="go">'PM'</span> |
64 | <span·class="go">'AM'</span> | ||
65 | <span·class="go">'PM'</span> | 65 | <span·class="go">'PM'</span> |
66 | </pre></div> | 66 | </pre></div> |
67 | </div> | 67 | </div> |
68 | </dd></dl> | 68 | </dd></dl> |
69 | <dl·class="py·method"> | 69 | <dl·class="py·method"> |
70 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.Provider.century"> | 70 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.Provider.century"> |
Offset 107, 19 lines modified | Offset 107, 19 lines modified | ||
107 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 107 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
108 | <dd·class="field-even"><p></p></dd> | 108 | <dd·class="field-even"><p></p></dd> |
109 | </dl> | 109 | </dl> |
110 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 110 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
111 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 111 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
112 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> | 112 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date</span><span·class="p">()</span> |
113 | <span·class="gp">...</span> | 113 | <span·class="gp">...</span> |
114 | <span·class="go">'2017-03-27'</span> | ||
115 | <span·class="go">'201 | 114 | <span·class="go">'2016-04-25'</span> |
115 | <span·class="go">'2011-07-29'</span> | ||
116 | <span·class="go">'1993-0 | 116 | <span·class="go">'1993-01-25'</span> |
117 | <span·class="go">'1984-0 | 117 | <span·class="go">'1984-03-15'</span> |
118 | <span·class="go">'1998-0 | 118 | <span·class="go">'1998-01-16'</span> |
119 | </pre></div> | 119 | </pre></div> |
120 | </div> | 120 | </div> |
121 | </dd></dl> | 121 | </dd></dl> |
122 | <dl·class="py·method"> | 122 | <dl·class="py·method"> |
123 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.Provider.date_between"> | 123 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.Provider.date_between"> |
124 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> | 124 | <span·class="sig-name·descname"><span·class="pre">date_between</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">start_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'-30y'</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">end_date</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.datetime"·title="(in·Python·v3.12)"><span·class="pre">datetime</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.timedelta"·title="(in·Python·v3.12)"><span·class="pre">timedelta</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·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">'today'</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.Provider.date_between"·title="Link·to·this·definition">¶</a></dt> |
Offset 141, 19 lines modified | Offset 141, 19 lines modified | ||
141 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 141 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
142 | <dd·class="field-even"><p></p></dd> | 142 | <dd·class="field-even"><p></p></dd> |
143 | </dl> | 143 | </dl> |
144 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 144 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
145 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 145 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
146 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> | 146 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_between</span><span·class="p">()</span> |
147 | <span·class="gp">...</span> | 147 | <span·class="gp">...</span> |
148 | <span·class="go">datetime.date(202 | 148 | <span·class="go">datetime.date(2020,·3,·7)</span> |
149 | <span·class="go">datetime.date(201 | 149 | <span·class="go">datetime.date(2017,·8,·2)</span> |
150 | <span·class="go">datetime.date(2008,·7,·20)</span> | ||
151 | <span·class="go">datetime.date(200 | 150 | <span·class="go">datetime.date(2007,·6,·19)</span> |
151 | <span·class="go">datetime.date(2002,·8,·13)</span> | ||
152 | <span·class="go">datetime.date(201 | 152 | <span·class="go">datetime.date(2010,·3,·9)</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(202 | 179 | <span·class="go">datetime.date(2024,·11,·6)</span> |
180 | <span·class="go">datetime.date(202 | 180 | <span·class="go">datetime.date(2024,·11,·6)</span> |
181 | <span·class="go">datetime.date(202 | 181 | <span·class="go">datetime.date(2024,·11,·6)</span> |
182 | <span·class="go">datetime.date(202 | 182 | <span·class="go">datetime.date(2024,·11,·6)</span> |
183 | <span·class="go">datetime.date(202 | 183 | <span·class="go">datetime.date(2024,·11,·6)</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, 19 lines modified | Offset 196, 19 lines modified | ||
196 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 196 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
197 | <dd·class="field-even"><p></p></dd> | 197 | <dd·class="field-even"><p></p></dd> |
198 | </dl> | 198 | </dl> |
199 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 199 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
200 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 200 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
201 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> | 201 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_object</span><span·class="p">()</span> |
202 | <span·class="gp">...</span> | 202 | <span·class="gp">...</span> |
203 | <span·class="go">datetime.date(2017,·3,·27)</span> | ||
204 | <span·class="go">datetime.date(201 | 203 | <span·class="go">datetime.date(2016,·4,·25)</span> |
204 | <span·class="go">datetime.date(2011,·7,·29)</span> | ||
205 | <span·class="go">datetime.date(1993,· | 205 | <span·class="go">datetime.date(1993,·1,·25)</span> |
206 | <span·class="go">datetime.date(1984,· | 206 | <span·class="go">datetime.date(1984,·3,·15)</span> |
207 | <span·class="go">datetime.date(1998,· | 207 | <span·class="go">datetime.date(1998,·1,·16)</span> |
208 | </pre></div> | 208 | </pre></div> |
209 | </div> | 209 | </div> |
210 | </dd></dl> | 210 | </dd></dl> |
211 | <dl·class="py·method"> | 211 | <dl·class="py·method"> |
212 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.Provider.date_of_birth"> | 212 | <dt·class="sig·sig-object·py"·id="faker.providers.date_time.Provider.date_of_birth"> |
213 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> | 213 | <span·class="sig-name·descname"><span·class="pre">date_of_birth</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">tzinfo</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.tzinfo"·title="(in·Python·v3.12)"><span·class="pre">tzinfo</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">minimum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum_age</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.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">115</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a></span></span><a·class="headerlink"·href="#faker.providers.date_time.Provider.date_of_birth"·title="Link·to·this·definition">¶</a></dt> |
Offset 232, 19 lines modified | Offset 232, 19 lines modified | ||
232 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> | 232 | <dt·class="field-even">Examples<span·class="colon">:</span></dt> |
233 | <dd·class="field-even"><p></p></dd> | 233 | <dd·class="field-even"><p></p></dd> |
234 | </dl> | 234 | </dl> |
235 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 235 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
236 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 236 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
237 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> | 237 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">date_of_birth</span><span·class="p">()</span> |
238 | <span·class="gp">...</span> | 238 | <span·class="gp">...</span> |
239 | <span·class="go">datetime.date(200 | 239 | <span·class="go">datetime.date(2006,·10,·20)</span> |
240 | <span·class="go">datetime.date(1996,·10,·8)</span> | ||
241 | <span·class="go">datetime.date(1957,·8,·20)</span> | ||
240 | <span·class="go">datetime.date(19 | 242 | <span·class="go">datetime.date(1938,·11,·19)</span> |
241 | <span·class="go">datetime.date(19 | 243 | <span·class="go">datetime.date(1968,·2,·27)</span> |
242 | <span·class="go">datetime.date(1939,·12,·21)</span> | ||
243 | <span·class="go">datetime.date(1969,·3,·30)</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> |
Max diff block lines reached; 97998/119592 bytes (81.94%) of diff not shown. |
Offset 10, 18 lines modified | Offset 10, 18 lines modified | ||
10 | ······Bases:·_\x8B_\x8a_\x8s_\x8e_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 10 | ······Bases:·_\x8B_\x8a_\x8s_\x8e_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
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 | ············'AM' | ||
18 | ············'PM' | 17 | ············'PM' |
19 | ············'PM' | 18 | ············'PM' |
20 | ············'PM' | 19 | ············'PM' |
20 | ············'AM' | ||
21 | ············'PM' | 21 | ············'PM' |
22 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ | 22 | ········century()·→·_\x8s_\x8t_\x8r_\x8¶ |
23 | ··············Example: | 23 | ··············Example: |
24 | ··················‘XVII’ | 24 | ··················‘XVII’ |
25 | ··············Examples: | 25 | ··············Examples: |
26 | ············>>>·Faker.seed(0) | 26 | ············>>>·Faker.seed(0) |
27 | ············>>>·for·_·in·range(5): | 27 | ············>>>·for·_·in·range(5): |
Offset 42, 19 lines modified | Offset 42, 19 lines modified | ||
42 | ··············Returns: | 42 | ··············Returns: |
43 | ··················Date | 43 | ··················Date |
44 | ··············Examples: | 44 | ··············Examples: |
45 | ············>>>·Faker.seed(0) | 45 | ············>>>·Faker.seed(0) |
46 | ············>>>·for·_·in·range(5): | 46 | ············>>>·for·_·in·range(5): |
47 | ············...·····fake.date() | 47 | ············...·····fake.date() |
48 | ············... | 48 | ············... |
49 | ············'2017-03-27' | ||
50 | ············'201 | 49 | ············'2016-04-25' |
50 | ············'2011-07-29' | ||
51 | ············'1993-0 | 51 | ············'1993-01-25' |
52 | ············'1984-0 | 52 | ············'1984-03-15' |
53 | ············'1998-0 | 53 | ············'1998-01-16' |
54 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- | 54 | ········date_between(s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8'-\x8- |
55 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ | 55 | ········3\x830\x80y\x8y'\x8',·e\x8en\x8nd\x8d_\x8_d\x8da\x8at\x8te\x8e:\x8:·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e·|\x8|·_\x8d\x8d_\x8a\x8a_\x8t\x8t_\x8e\x8e_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e·|\x8|·_\x8t\x8t_\x8i\x8i_\x8m\x8m_\x8e\x8e_\x8d\x8d_\x8e\x8e_\x8l\x8l_\x8t\x8t_\x8a\x8a·|\x8|·_\x8s\x8s_\x8t\x8t_\x8r\x8r·|\x8|·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·'\x8't\x8to\x8od\x8da\x8ay\x8y'\x8')·→ |
56 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ | 56 | ········_\x8d_\x8a_\x8t_\x8e_\x8¶ |
57 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. | 57 | ············Get·a·Date·object·based·on·a·random·date·between·two·given·dates. |
58 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). | 58 | ············Accepts·date·strings·that·can·be·recognized·by·strtotime(). |
59 | ··············Parameters: | 59 | ··············Parameters: |
60 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago | 60 | ······················*·s\x8st\x8ta\x8ar\x8rt\x8t_\x8_d\x8da\x8at\x8te\x8e·–·Defaults·to·30·years·ago |
Offset 64, 19 lines modified | Offset 64, 19 lines modified | ||
64 | ··············Returns: | 64 | ··············Returns: |
65 | ··················Date | 65 | ··················Date |
66 | ··············Examples: | 66 | ··············Examples: |
67 | ············>>>·Faker.seed(0) | 67 | ············>>>·Faker.seed(0) |
68 | ············>>>·for·_·in·range(5): | 68 | ············>>>·for·_·in·range(5): |
69 | ············...·····fake.date_between() | 69 | ············...·····fake.date_between() |
70 | ············... | 70 | ············... |
71 | ············datetime.date(202 | 71 | ············datetime.date(2020,·3,·7) |
72 | ············datetime.date(201 | 72 | ············datetime.date(2017,·8,·2) |
73 | ············datetime.date(2008,·7,·20) | ||
74 | ············datetime.date(200 | 73 | ············datetime.date(2007,·6,·19) |
74 | ············datetime.date(2002,·8,·13) | ||
75 | ············datetime.date(201 | 75 | ············datetime.date(2010,·3,·9) |
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, 33 lines modified | Offset 84, 33 lines modified | ||
84 | ··············Returns: | 84 | ··············Returns: |
85 | ··················Date | 85 | ··················Date |
86 | ··············Examples: | 86 | ··············Examples: |
87 | ············>>>·Faker.seed(0) | 87 | ············>>>·Faker.seed(0) |
88 | ············>>>·for·_·in·range(5): | 88 | ············>>>·for·_·in·range(5): |
89 | ············...·····fake.date_between_dates() | 89 | ············...·····fake.date_between_dates() |
90 | ············... | 90 | ············... |
91 | ············datetime.date(202 | 91 | ············datetime.date(2024,·11,·6) |
92 | ············datetime.date(202 | 92 | ············datetime.date(2024,·11,·6) |
93 | ············datetime.date(202 | 93 | ············datetime.date(2024,·11,·6) |
94 | ············datetime.date(202 | 94 | ············datetime.date(2024,·11,·6) |
95 | ············datetime.date(202 | 95 | ············datetime.date(2024,·11,·6) |
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(2017,·3,·27) | ||
106 | ············datetime.date(201 | 105 | ············datetime.date(2016,·4,·25) |
106 | ············datetime.date(2011,·7,·29) | ||
107 | ············datetime.date(1993,· | 107 | ············datetime.date(1993,·1,·25) |
108 | ············datetime.date(1984,· | 108 | ············datetime.date(1984,·3,·15) |
109 | ············datetime.date(1998,· | 109 | ············datetime.date(1998,·1,·16) |
110 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, | 110 | ········date_of_birth(t\x8tz\x8zi\x8in\x8nf\x8fo\x8o:\x8:·_\x8t\x8t_\x8z\x8z_\x8i\x8i_\x8n\x8n_\x8f\x8f_\x8o\x8o·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e,·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·0\x80, |
111 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 111 | ········m\x8ma\x8ax\x8xi\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x811\x815\x85)·→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
112 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, | 112 | ············Generate·a·random·date·of·birth·represented·as·a·Date·object, |
113 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. | 113 | ············constrained·by·optional·miminimum_age·and·maximum_age·parameters. |
114 | ··············Parameters: | 114 | ··············Parameters: |
115 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. | 115 | ······················*·t\x8tz\x8zi\x8in\x8nf\x8fo\x8o·–·Defaults·to·None. |
116 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. | 116 | ······················*·m\x8mi\x8in\x8ni\x8im\x8mu\x8um\x8m_\x8_a\x8ag\x8ge\x8e·–·Defaults·to·0. |
Offset 120, 19 lines modified | Offset 120, 19 lines modified | ||
120 | ··············Returns: | 120 | ··············Returns: |
121 | ··················Date | 121 | ··················Date |
122 | ··············Examples: | 122 | ··············Examples: |
123 | ············>>>·Faker.seed(0) | 123 | ············>>>·Faker.seed(0) |
124 | ············>>>·for·_·in·range(5): | 124 | ············>>>·for·_·in·range(5): |
125 | ············...·····fake.date_of_birth() | 125 | ············...·····fake.date_of_birth() |
126 | ············... | 126 | ············... |
127 | ············datetime.date(200 | 127 | ············datetime.date(2006,·10,·20) |
128 | ············datetime.date(1996,·10,·8) | ||
129 | ············datetime.date(1957,·8,·20) | ||
128 | ············datetime.date(19 | 130 | ············datetime.date(1938,·11,·19) |
129 | ············datetime.date(19 | 131 | ············datetime.date(1968,·2,·27) |
130 | ············datetime.date(1939,·12,·21) | ||
131 | ············datetime.date(1969,·3,·30) | ||
132 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) | 132 | ········date_this_century(b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·T\x8Tr\x8ru\x8ue\x8e,·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y:\x8:·_\x8b\x8b_\x8o\x8o_\x8o\x8o_\x8l\x8l·=\x8=·F\x8Fa\x8al\x8ls\x8se\x8e) |
133 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ | 133 | ········→·_\x8d_\x8a_\x8t_\x8e_\x8¶ |
134 | ············Gets·a·Date·object·for·the·current·century. | 134 | ············Gets·a·Date·object·for·the·current·century. |
135 | ··············Parameters: | 135 | ··············Parameters: |
136 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before | 136 | ······················*·b\x8be\x8ef\x8fo\x8or\x8re\x8e_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·before |
137 | ························today | 137 | ························today |
138 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after | 138 | ······················*·a\x8af\x8ft\x8te\x8er\x8r_\x8_t\x8to\x8od\x8da\x8ay\x8y·–·include·days·in·current·century·after |
Offset 142, 19 lines modified | Offset 142, 19 lines modified | ||
142 | ··············Returns: | 142 | ··············Returns: |
143 | ··················Date | 143 | ··················Date |
144 | ··············Examples: | 144 | ··············Examples: |
145 | ············>>>·Faker.seed(0) | 145 | ············>>>·Faker.seed(0) |
146 | ············>>>·for·_·in·range(5): | 146 | ············>>>·for·_·in·range(5): |
147 | ············...·····fake.date_this_century() | 147 | ············...·····fake.date_this_century() |
148 | ············... | 148 | ············... |
149 | ············datetime.date(2020,·12,·24) | ||
Max diff block lines reached; 29691/36830 bytes (80.62%) 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:202 | 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:20241106024811Z)\n/ModDate·(D:20241106024811Z)\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:202 | 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:20241106024811Z)\n/ModDate·(D:20241106024811Z)\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:202 | 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:20241106024811Z)\n/ModDate·(D:20241106024811Z)\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:202 | 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:20241106024811Z)\n/ModDate·(D:20241106024811Z)\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:202 | 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:20241106024811Z)\n/ModDate·(D:20241106024811Z)\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\xb4\x00\x00\x00\x16\x00\x00\x00\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00\x10\x00\x00\x00\x10\x08\x02\x00\x00\x00\x90\x91h6\x00\x00\x00{IDATx\x9ccT.mb·\x050\x91\xa4\x9ab\r\xd6\x19{\xac3\xf6\xe0\xd7\xc0\x82\xc67UZ\xcb\x90\x11\x0ca\x1f\x9d\xe1BX\x03T\x0f\x04d\x04c\xea\xa1\xaa\xa7M\x95\xd6bz\x89\x80\r\x98z\x08;\tM\x0f\xb1~\x80\x878\x8a\x86\xa33\\N\xdf\x0b\xc6j\t\xdc*\x12B\xe9\xf4\xbd\xe0\xa33\\\xb0\xc4\x03\xa6:\x06X$Zg\xec\xc1\xa7\x01Y)\x1c0b&ox\x98`M\x1a\x00\xb3;+\xfag\xedu\xae\x00\x00\x00\x00IEND\xaeB`\x82'</span> | 296 | <span·class="go">b'\x00\x00\x01\x00\x01\x00\x10\x10\x00\x00\x00\x00·\x00\xb4\x00\x00\x00\x16\x00\x00\x00\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00\x10\x00\x00\x00\x10\x08\x02\x00\x00\x00\x90\x91h6\x00\x00\x00{IDATx\x9ccT.mb·\x050\x91\xa4\x9ab\r\xd6\x19{\xac3\xf6\xe0\xd7\xc0\x82\xc67UZ\xcb\x90\x11\x0ca\x1f\x9d\xe1BX\x03T\x0f\x04d\x04c\xea\xa1\xaa\xa7M\x95\xd6bz\x89\x80\r\x98z\x08;\tM\x0f\xb1~\x80\x878\x8a\x86\xa33\\N\xdf\x0b\xc6j\t\xdc*\x12B\xe9\xf4\xbd\xe0\xa33\\\xb0\xc4\x03\xa6:\x06X$Zg\xec\xc1\xa7\x01Y)\x1c0b&ox\x98`M\x1a\x00\xb3;+\xfag\xedu\xae\x00\x00\x00\x00IEND\xaeB`\x82'</span> |
Offset 732, 19 lines modified | Offset 732, 19 lines modified | ||
732 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 732 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
733 | <dd·class="field-odd"><p></p></dd> | 733 | <dd·class="field-odd"><p></p></dd> |
734 | </dl> | 734 | </dl> |
735 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 735 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
736 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 736 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
737 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">xml</span><span·class="p">()</span> | 737 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">xml</span><span·class="p">()</span> |
738 | <span·class="gp">...</span> | 738 | <span·class="gp">...</span> |
739 | <span·class="go">'<?xml·version="1.0"·encoding="utf-8"?>\n<couple><son>-9787526.29318886</son><voice>1977- | 739 | <span·class="go">'<?xml·version="1.0"·encoding="utf-8"?>\n<couple><son>-9787526.29318886</son><voice>1977-08-22·04:01:24.715644</voice><kitchen>NGnVZQUqLUJyfwFVYySn</kitchen><amount>2020-03-29·18:12:35.857196</amount><event>LuQIazTmqTjDmYPxeqAW</event><much>ppgrVkPCoePqmjQbZndJ</much><mention>TWRUWCuKoQSUEXExIZVP</mention><interview>qfErjaoKtiwdOSlQGWFd</interview><why>HFDutYbbXjgkPWbwfnlH</why><step>7144</step></couple>'</span> |
740 | <span·class="go">'<?xml·version="1.0"·encoding="utf-8"?>\n<rock><most>3266</most><manage>-900146288.946134</manage><among>http://www.moreno-wilson.info/listsearch.html</among><pick>alexandermaldonado@example.net</pick><blood>202 | 740 | <span·class="go">'<?xml·version="1.0"·encoding="utf-8"?>\n<rock><most>3266</most><manage>-900146288.946134</manage><among>http://www.moreno-wilson.info/listsearch.html</among><pick>alexandermaldonado@example.net</pick><blood>2020-04-29·03:25:29.923651</blood><scene>paul42@example.net</scene></rock>'</span> |
741 | <span·class="go">'<?xml·version="1.0"·encoding="utf-8"?>\n<different><lot>1985-0 | 741 | <span·class="go">'<?xml·version="1.0"·encoding="utf-8"?>\n<different><lot>1985-05-29·03:05:53.031495</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-0 | 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-04·19:31:47.714851</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\x0 | 774 | <span·class="go">b"PK\x03\x04\x14\x00\x00\x00\x00\x00\x06\x86fY}\xb4\x1e\xa0o\x00\x00\x00o\x00\x00\x00\x15\x00\x00\x00RNvnAvOpyEVAoNGnVZQU12%\xa9\xf13\xb5\xde\xa1h\xf4\xe2\x85\x1f\x07/\xcc\x00\xfc\xaa|\xa6·aqzH\xe5.)\xa3\xfa7\x9a\x95?\xaah\x93\xe3.\xc5\xa2{\x94^`_\x10\x85\xf3#-BL\x13)\xc8\x8dxn\xd6\x8c\xe6\xfc\[·...·truncated·by·diffoscope;·len:·1488,·SHA:·3588331d97336dbe7c10b7ac73f27226033d11eab4498b98384c88bf29112ba2·...·]\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\x0 | 775 | <span·class="go">b'PK\x03\x04\x14\x00\x00\x00\x00\x00\x06\x86fY\xfe\xf5\x0eGq\x00\x00\x00q\x00\x00\x00\x15\x00\x00\x00xsRfFzDHwBJURZHTCWaK1\xa4\x12K\x83O\xc2\x96\xf0!+\x14!sB\x14\x99\x07\xe5\xa9RL\xeb\xbe\xc3\x11.\'\xdai\x94\xd5\xf6\xc6w\n\x00]\x9a\x82\xaa!\xfc\x86\x9b\xd0\xc4\xc4\x1fSAz\x92\xab\x1c\x12\xf6[·...·truncated·by·diffoscope;·len:·1551,·SHA:·9424cebc572e796b8e78c4d9d9e1d65e73f3ffa3a239e81d48e35cceabb0e63d·...·]\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\x0 | 776 | <span·class="go">b"PK\x03\x04\x14\x00\x00\x00\x00\x00\x06\x86fY\t':+R\x00\x00\x00R\x00\x00\x00\x15\x00\x00\x00NofxrivUwxKBgVxPuPul1\xe0h\x19\xc6\x11w+_\xba\x1dXw\x98,\x91\xb4\xd2\xea\x1b\xdc\xe8\xfa\x82\xf3n\xac\x88\x15\x16\x1aS\xb3\x01\x94\x03G·\xdbq\xcbq\xe8b\xad4+\xa3\xa5\xe9\xa6\x82\x0e\x16a\xbc)k\xb1`g[·...·truncated·by·diffoscope;·len:·1555,·SHA:·f9d859028a22ab19bcb69f5d666d3fb651be1e8f009bca7707ee290a0dbce64d·...·]\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\x0 | 777 | <span·class="go">b"PK\x03\x04\x14\x00\x00\x00\x00\x00\x06\x86fY\xe5\xb4\xa4\xb0D\x00\x00\x00D\x00\x00\x00\x15\x00\x00\x00BdHEWGCuwqaOQonBqrKw1\x03O\xc4\xb8\xed\x12\xd2t\x08\xb9Qc\xb5\xfe\t\x7f{\x8c^\xd7'\xe5y\xe63`T\xe1!\xda\xca\x8b\x81\xdf\xb6\xa7.\x9d\x0f\xfc\x05\x80g\xcb\xc5\xdf\xc7\x13\xee\xb5@\x8e\xa7\[·...·truncated·by·diffoscope;·len:·1553,·SHA:·63bc80319cc33a4212f9db5694cf5548f1a2d9d989704ca70cf510832af56e29·...·]\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\x0 | 778 | <span·class="go">b'PK\x03\x04\x14\x00\x00\x00\x00\x00\x06\x86fYOH\xa6[\x88\x00\x00\x00\x88\x00\x00\x00\x15\x00\x00\x00DyHKewLhhibhzUGoPJPV1\x86Q\xaf\xa9J\xc0\x9cx\xc1\xb1\xc7\xf1\x9c\xd1\xd02NK\x026h8\x88V\xc0+\x12\x05;\xb9\xf6\xa27\xe7\xbc\x81\xf9uQ\'V\rU\xd1j\xe0\xcf\x87\nD\xc6W\xe1\x1b\xc0,\xcf\xabw\xe9\[·...·truncated·by·diffoscope;·len:·1559,·SHA:·80d29f0c77f4b1c263ee65c760d43f71e5855a617c0c46ef11c272c5a22714f7·...·]\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\x0 | 785 | <span·class="go">b'PK\x03\x04.\x00\x00\x00\x0c\x00\x06\x86fYg#\x1c\xdc\xa4\x00\x00\x00S\x00\x00\x00\x15\x00\x00\x00RNvnAvOpyEVAoNGnVZQU1BZh91AY&SY\xb9;q\x1c\x00\x00\x08\xff\xff\xc0\xc0H\x00\xca3\x98\x88\x90T\x00\x81\xe0A`\\\x02\x16\x0e\x1098\x03\x01\x02D\x01\x11\x1b\x00,4·\x00T`\x98\x83&CA\x88h\r4\x1[·...·truncated·by·diffoscope;·len:·13438,·SHA:·7993ded645434fbb6a15dd5b39cb440b04e6b9c7cb2e231892a08b10af609bb5·...·]\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\x0 | 786 | <span·class="go">b'PK\x03\x04.\x00\x00\x00\x0c\x00\x06\x86fY\xf6@\x026\x93\x00\x00\x00G\x00\x00\x00\x15\x00\x00\x00rMtGUzsIxAiNrPXaBoyb1BZh91AY&SY\x12\xa6\xbba\x00\x00\x03\xff\xff\xcd\x10)\x10H\x00\x00J@A\xc9\xa0`\x10\x00\x04\\I\xa7\x00\x92a\xe4·\x06\x11\x00/\x10·\x02\x02·\x00T`\x98LL\x991\x190\x00F\x10b[·...·truncated·by·diffoscope;·len:·13593,·SHA:·6c1294fbb70e5ba64afdae1f6b956b1149bb2dd7e0f5b89a0dc649caee5afca6·...·]>\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\x0 | 787 | <span·class="go">b'PK\x03\x04.\x00\x00\x00\x0c\x00\x06\x86fY\x15\xf8\x11\xeb\xbd\x00\x00\x00m\x00\x00\x00\x15\x00\x00\x00jSLWKiNgRJMBOPSKbxVk1BZh91AY&SY:\x86\xa8\x85\x00\x00\x10\x7f\xff\xc7\xfc\x00\x98\x18\xa4\x04\x08D\x88BIM\x9d\x00D\xac\xaa\x04\xd1\x08#^\xe8\x1f:\x08\x06%0\x1a\x04\xa0\x00t8\xd0\xd0\x00[·...·truncated·by·diffoscope;·len:·13554,·SHA:·de46c2820358d7f12d4614a94ab3930a4f521d78b0d72971eef859a35e044ffb·...·]j\xb7\x18\xd6.\x00\x00\x00\x04\x00\x00\x00\x16\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x01\x87\x0c\x00\x00rxdHRlWGCkTwcWtpdbcT32PK\x05\x06\x00\x00\x00\x00·\x00·\x00w\x08\x00\x00\xe9\x0c\x00\x00\x00\x00'</span> |
788 | <span·class="go">b'PK\x03\x04.\x00\x00\x00\x0c\x00\x0 | 788 | <span·class="go">b'PK\x03\x04.\x00\x00\x00\x0c\x00\x06\x86fYi\xa8d\x8bg\x00\x00\x00%\x00\x00\x00\x15\x00\x00\x00bMhfKFIkfzeySZLifSLv1BZh91AY&SY\xdc\x1a\xd9\xb0\x00\x00\x02\xff\xfc\xc4\x10$\x00\x00!@\x08A\xa1\x00@\x81\x08\x00\x08\x8a\x02·\x02\x02\x00\x0c\x11\xa0@\x80\x90·\x00#\r\x0c\x86FG\xa8\xc4h\xf54\xf[·...·truncated·by·diffoscope;·len:·13645,·SHA:·8440dbd2e6a03c1f3dcb5ab27b444ac656df227c31b464523763b67e9466b813·...·]\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\x0 | 789 | <span·class="go">b'PK\x03\x04.\x00\x00\x00\x0c\x00\x06\x86fY\xf2\xda\x06\xf24\x00\x00\x00\x07\x00\x00\x00\x15\x00\x00\x00MBZOzWARcglmhcDELFxx1BZh91AY&SY1\xde9\xd0\x00\x00\x02\xa54\x00·@\x00\x00\x08\x01·\x08\x00\x00\x02·\x001\x0c\x01\x06\x99\xa1\xe1!E\xdc\x91N\x14$\x0cw\x8et\x00PK\x03\x04.\x00\x00\x00\x0c[·...·truncated·by·diffoscope;·len:·13419,·SHA:·d419666e4e4f3a5626b1927c15c625de5b96587f058f5d78f3e79fd3cbe27b6d·...·]\xef(\xfai,\x00\x00\x00\x04\x00\x00\x00\x16\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x01z\x0c\x00\x00dxrHdIcclSNnanWCeLGS32PK\x05\x06\x00\x00\x00\x00·\x00·\x00w\x08\x00\x00\xda\x0c\x00\x00\x00\x00'</span> |
790 | </pre></div> | 790 | </pre></div> |
791 | </div> | 791 | </div> |
792 | </dd></dl> | 792 | </dd></dl> |
793 | </dd></dl> | 793 | </dd></dl> |
794 | </section> | 794 | </section> |
Offset 471, 15 lines modified | Offset 471, 15 lines modified | ||
471 | ············()*56789: | 471 | ············()*56789: |
472 | ············CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xcfU\n\xa1T\x00\xa0`\x01\xd0QE\x15\xf5\xc7\xb4\x7f\xff\xd9\nendstream\nendobj\n2 | 472 | ············CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xcfU\n\xa1T\x00\xa0`\x01\xd0QE\x15\xf5\xc7\xb4\x7f\xff\xd9\nendstream\nendobj\n2 |
473 | ············0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/ | 473 | ············0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/ |
474 | ············image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/ | 474 | ············image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/ |
475 | ············Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length | 475 | ············Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length |
476 | ············43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do | 476 | ············43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do |
477 | ············Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D: | 477 | ············Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D: |
478 | ············202 | 478 | ············20241106024811Z)\n/ModDate·(D:20241106024811Z)\n>>endobj\nxref\n0 |
479 | ············7\n0000000000·65536·f·\n0000000151·00000·n·\n0000000954·00000·n | 479 | ············7\n0000000000·65536·f·\n0000000151·00000·n·\n0000000954·00000·n |
480 | ············\n0000001112·00000·n·\n0000000047·00000·n·\n0000000094·00000·n | 480 | ············\n0000001112·00000·n·\n0000000047·00000·n·\n0000000094·00000·n |
481 | ············\n0000001203·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0 | 481 | ············\n0000001203·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0 |
482 | ············R\n>>\nstartxref\n1285\n%%EOF' | 482 | ············R\n>>\nstartxref\n1285\n%%EOF' |
483 | ············b'%PDF-1.4\n%·created·by·Pillow·10.4.0·PDF·driver\n4·0·obj<<\n/Type | 483 | ············b'%PDF-1.4\n%·created·by·Pillow·10.4.0·PDF·driver\n4·0·obj<<\n/Type |
484 | ············/Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count | 484 | ············/Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count |
485 | ············1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/ | 485 | ············1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/ |
Offset 493, 15 lines modified | Offset 493, 15 lines modified | ||
493 | ············()*56789: | 493 | ············()*56789: |
494 | ············CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xc5\x93\xfdk\xff\x00\xbch\xa2\x8a\xfd.?\n>\xa6\x1f\n?\xff\xd9\nendstream\nendobj\n2 | 494 | ············CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xc5\x93\xfdk\xff\x00\xbch\xa2\x8a\xfd.?\n>\xa6\x1f\n?\xff\xd9\nendstream\nendobj\n2 |
495 | ············0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/ | 495 | ············0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/ |
496 | ············image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/ | 496 | ············image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/ |
497 | ············Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length | 497 | ············Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length |
498 | ············43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do | 498 | ············43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do |
499 | ············Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D: | 499 | ············Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D: |
500 | ············202 | 500 | ············20241106024811Z)\n/ModDate·(D:20241106024811Z)\n>>endobj\nxref\n0 |
501 | ············7\n0000000000·65536·f·\n0000000151·00000·n·\n0000000956·00000·n | 501 | ············7\n0000000000·65536·f·\n0000000151·00000·n·\n0000000956·00000·n |
502 | ············\n0000001114·00000·n·\n0000000047·00000·n·\n0000000094·00000·n | 502 | ············\n0000001114·00000·n·\n0000000047·00000·n·\n0000000094·00000·n |
503 | ············\n0000001205·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0 | 503 | ············\n0000001205·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0 |
504 | ············R\n>>\nstartxref\n1287\n%%EOF' | 504 | ············R\n>>\nstartxref\n1287\n%%EOF' |
505 | ············b'%PDF-1.4\n%·created·by·Pillow·10.4.0·PDF·driver\n4·0·obj<<\n/Type | 505 | ············b'%PDF-1.4\n%·created·by·Pillow·10.4.0·PDF·driver\n4·0·obj<<\n/Type |
506 | ············/Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count | 506 | ············/Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count |
507 | ············1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/ | 507 | ············1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/ |
Offset 515, 15 lines modified | Offset 515, 15 lines modified | ||
515 | ············()*56789: | 515 | ············()*56789: |
516 | ············CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xabE\x14W\xd7\x9e\xb1\xff\xd9\nendstream\nendobj\n2 | 516 | ············CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xabE\x14W\xd7\x9e\xb1\xff\xd9\nendstream\nendobj\n2 |
517 | ············0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/ | 517 | ············0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/ |
518 | ············image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/ | 518 | ············image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/ |
519 | ············Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length | 519 | ············Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length |
520 | ············43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do | 520 | ············43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do |
521 | ············Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D: | 521 | ············Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D: |
522 | ············202 | 522 | ············20241106024811Z)\n/ModDate·(D:20241106024811Z)\n>>endobj\nxref\n0 |
523 | ············7\n0000000000·65536·f·\n0000000151·00000·n·\n0000000944·00000·n | 523 | ············7\n0000000000·65536·f·\n0000000151·00000·n·\n0000000944·00000·n |
524 | ············\n0000001102·00000·n·\n0000000047·00000·n·\n0000000094·00000·n | 524 | ············\n0000001102·00000·n·\n0000000047·00000·n·\n0000000094·00000·n |
525 | ············\n0000001193·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0 | 525 | ············\n0000001193·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0 |
526 | ············R\n>>\nstartxref\n1275\n%%EOF' | 526 | ············R\n>>\nstartxref\n1275\n%%EOF' |
527 | ············b'%PDF-1.4\n%·created·by·Pillow·10.4.0·PDF·driver\n4·0·obj<<\n/Type | 527 | ············b'%PDF-1.4\n%·created·by·Pillow·10.4.0·PDF·driver\n4·0·obj<<\n/Type |
528 | ············/Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count | 528 | ············/Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count |
529 | ············1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/ | 529 | ············1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/ |
Offset 537, 15 lines modified | Offset 537, 15 lines modified | ||
537 | ············()*56789: | 537 | ············()*56789: |
538 | ············CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xc6\xa2\x8a+\xea\x0fh\xff\xd9\nendstream\nendobj\n2 | 538 | ············CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xc6\xa2\x8a+\xea\x0fh\xff\xd9\nendstream\nendobj\n2 |
539 | ············0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/ | 539 | ············0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/ |
540 | ············image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/ | 540 | ············image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/ |
541 | ············Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length | 541 | ············Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length |
542 | ············43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do | 542 | ············43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do |
543 | ············Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D: | 543 | ············Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D: |
544 | ············202 | 544 | ············20241106024811Z)\n/ModDate·(D:20241106024811Z)\n>>endobj\nxref\n0 |
545 | ············7\n0000000000·65536·f·\n0000000151·00000·n·\n0000000944·00000·n | 545 | ············7\n0000000000·65536·f·\n0000000151·00000·n·\n0000000944·00000·n |
546 | ············\n0000001102·00000·n·\n0000000047·00000·n·\n0000000094·00000·n | 546 | ············\n0000001102·00000·n·\n0000000047·00000·n·\n0000000094·00000·n |
547 | ············\n0000001193·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0 | 547 | ············\n0000001193·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0 |
548 | ············R\n>>\nstartxref\n1275\n%%EOF' | 548 | ············R\n>>\nstartxref\n1275\n%%EOF' |
549 | ············b'%PDF-1.4\n%·created·by·Pillow·10.4.0·PDF·driver\n4·0·obj<<\n/Type | 549 | ············b'%PDF-1.4\n%·created·by·Pillow·10.4.0·PDF·driver\n4·0·obj<<\n/Type |
550 | ············/Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count | 550 | ············/Catalog\n/Pages·5·0·R\n>>endobj\n5·0·obj<<\n/Type·/Pages\n/Count |
551 | ············1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/ | 551 | ············1\n/Kids·[·2·0·R·]\n>>endobj\n1·0·obj<<\n/Type·/XObject\n/Subtype·/ |
Offset 559, 15 lines modified | Offset 559, 15 lines modified | ||
559 | ············()*56789: | 559 | ············()*56789: |
560 | ············CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xe1\xe8\xa2\x8a\xfd\x1c\xfa#\xff\xd9\nendstream\nendobj\n2 | 560 | ············CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xe1\xe8\xa2\x8a\xfd\x1c\xfa#\xff\xd9\nendstream\nendobj\n2 |
561 | ············0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/ | 561 | ············0·obj<<\n/Resources·<<\n/ProcSet·[·/PDF·/ImageC·]\n/XObject·<<\n/ |
562 | ············image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/ | 562 | ············image·1·0·R\n>>\n>>\n/MediaBox·[·0·0·2.0·2.0·]\n/Contents·3·0·R\n/ |
563 | ············Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length | 563 | ············Type·/Page\n/Parent·5·0·R\n>>endobj\n3·0·obj<<\n/Length |
564 | ············43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do | 564 | ············43\n>>stream\nq·2.000000·0·0·2.000000·0·0·cm·/image·Do |
565 | ············Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D: | 565 | ············Q\n\nendstream\nendobj\n6·0·obj<<\n/CreationDate·(D: |
566 | ············202 | 566 | ············20241106024811Z)\n/ModDate·(D:20241106024811Z)\n>>endobj\nxref\n0 |
567 | ············7\n0000000000·65536·f·\n0000000151·00000·n·\n0000000945·00000·n | 567 | ············7\n0000000000·65536·f·\n0000000151·00000·n·\n0000000945·00000·n |
568 | ············\n0000001103·00000·n·\n0000000047·00000·n·\n0000000094·00000·n | 568 | ············\n0000001103·00000·n·\n0000000047·00000·n·\n0000000094·00000·n |
569 | ············\n0000001194·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0 | 569 | ············\n0000001194·00000·n·\ntrailer\n<<\n/Root·4·0·R\n/Size·7\n/Info·6·0 |
570 | ············R\n>>\nstartxref\n1276\n%%EOF' | 570 | ············R\n>>\nstartxref\n1276\n%%EOF' |
571 | ············>>>·Faker.seed(0) | 571 | ············>>>·Faker.seed(0) |
572 | ············>>>·for·_·in·range(5): | 572 | ············>>>·for·_·in·range(5): |
573 | ············...·····fake.image(size=(16,·16),·hue=[90,·270], | 573 | ············...·····fake.image(size=(16,·16),·hue=[90,·270], |
Offset 1430, 42 lines modified | Offset 1430, 42 lines modified | ||
1430 | ············Note:·this·provider·required·xmltodict·library·installed | 1430 | ············Note:·this·provider·required·xmltodict·library·installed |
1431 | ··············Examples: | 1431 | ··············Examples: |
1432 | ············>>>·Faker.seed(0) | 1432 | ············>>>·Faker.seed(0) |
1433 | ············>>>·for·_·in·range(5): | 1433 | ············>>>·for·_·in·range(5): |
1434 | ············...·····fake.xml() | 1434 | ············...·····fake.xml() |
1435 | ············... | 1435 | ············... |
1436 | ············'<?xml·version="1.0"·encoding="utf-8"?>\n<couple><son>- | 1436 | ············'<?xml·version="1.0"·encoding="utf-8"?>\n<couple><son>- |
1437 | ············9787526.29318886</son><voice>1977- | 1437 | ············9787526.29318886</son><voice>1977-08-22·04:01:24.715644</ |
1438 | ············voice><kitchen>NGnVZQUqLUJyfwFVYySn</kitchen><amount>202 | 1438 | ············voice><kitchen>NGnVZQUqLUJyfwFVYySn</kitchen><amount>2020-03-29·18: |
1439 | ············ | 1439 | ············12:35.857196</amount><event>LuQIazTmqTjDmYPxeqAW</ |
1440 | ············event><much>ppgrVkPCoePqmjQbZndJ</ | 1440 | ············event><much>ppgrVkPCoePqmjQbZndJ</ |
1441 | ············much><mention>TWRUWCuKoQSUEXExIZVP</ | 1441 | ············much><mention>TWRUWCuKoQSUEXExIZVP</ |
1442 | ············mention><interview>qfErjaoKtiwdOSlQGWFd</ | 1442 | ············mention><interview>qfErjaoKtiwdOSlQGWFd</ |
1443 | ············interview><why>HFDutYbbXjgkPWbwfnlH</why><step>7144</step></ | 1443 | ············interview><why>HFDutYbbXjgkPWbwfnlH</why><step>7144</step></ |
1444 | ············couple>' | 1444 | ············couple>' |
1445 | ············'<?xml·version="1.0"·encoding="utf-8"?>\n<rock><most>3266</ | 1445 | ············'<?xml·version="1.0"·encoding="utf-8"?>\n<rock><most>3266</ |
1446 | ············most><manage>-900146288.946134</manage><among>http://www.moreno- | 1446 | ············most><manage>-900146288.946134</manage><among>http://www.moreno- |
1447 | ············wilson.info/listsearch.html</ | 1447 | ············wilson.info/listsearch.html</ |
1448 | ············among><pick>alexandermaldonado@example.net</pick><blood>202 | 1448 | ············among><pick>alexandermaldonado@example.net</pick><blood>2020-04-29 |
1449 | ············ | 1449 | ············03:25:29.923651</blood><scene>paul42@example.net</scene></rock>' |
1450 | ············'<?xml·version="1.0"·encoding="utf-8"?>\n<different><lot>1985-0 | 1450 | ············'<?xml·version="1.0"·encoding="utf-8"?>\n<different><lot>1985-05-29 |
1451 | ············ | 1451 | ············03:05:53.031495</lot><site>NzFJEUSgqMReEKilxKJT</ |
1452 | ············site><bar>uKvIcxniBzDNTzqyQTQj</ | 1452 | ············site><bar>uKvIcxniBzDNTzqyQTQj</ |
1453 | ············bar><government>monroedavid@example.org</government><single>6840</ | 1453 | ············bar><government>monroedavid@example.org</government><single>6840</ |
1454 | ············single><answer>55</answer></different>' | 1454 | ············single><answer>55</answer></different>' |
1455 | ············'<?xml·version="1.0"·encoding="utf-8"?>\n<matter><series>http:// | 1455 | ············'<?xml·version="1.0"·encoding="utf-8"?>\n<matter><series>http:// |
1456 | ············www.ramirez-good.com/postsabout.htm</series><somebody>- | 1456 | ············www.ramirez-good.com/postsabout.htm</series><somebody>- |
1457 | ············23587860434913790978655934625693951978093570729960966912834032313989657524780944.4000348559097765823</ | 1457 | ············23587860434913790978655934625693951978093570729960966912834032313989657524780944.4000348559097765823</ |
1458 | ············somebody><able>9619</able><test>38191497835621.5</ | 1458 | ············somebody><able>9619</able><test>38191497835621.5</ |
1459 | ············test><Republican>6016</Republican><newspaper>rGciZpuCpymcjBdurvfV</ | 1459 | ············test><Republican>6016</Republican><newspaper>rGciZpuCpymcjBdurvfV</ |
1460 | ············newspaper></matter>' | 1460 | ············newspaper></matter>' |
1461 | ············'<?xml·version="1.0"·encoding="utf- | 1461 | ············'<?xml·version="1.0"·encoding="utf- |
1462 | ············8"?>\n<bar><thought>pMUVGtYHdeMdauAxzEJv</thought><success>3606</ | 1462 | ············8"?>\n<bar><thought>pMUVGtYHdeMdauAxzEJv</thought><success>3606</ |
1463 | ············success><task>56521.5119364862</task><gun>dSKUxJgukcXlhktChZZh</ | 1463 | ············success><task>56521.5119364862</task><gun>dSKUxJgukcXlhktChZZh</ |
1464 | ············gun><capital>6934</capital><measure>1997-0 | 1464 | ············gun><capital>6934</capital><measure>1997-03-04·19:31:47.714851</ |
1465 | ············measure><business>8166</ | 1465 | ············measure><business>8166</ |
1466 | ············business><scene>600995291888988873211025510262505134712632953600564174616347579450201.7118013204075227586880918916348967699300248945174466602234500762791256097670172009925185367</ | 1466 | ············business><scene>600995291888988873211025510262505134712632953600564174616347579450201.7118013204075227586880918916348967699300248945174466602234500762791256097670172009925185367</ |
1467 | ············scene><modern>TFyGrgJGPgVPVTJQAOjO</modern><last>- | 1467 | ············scene><modern>TFyGrgJGPgVPVTJQAOjO</modern><last>- |
1468 | ············710675304631639660753226190483043425415886510754056240444204875232268060793557159011868147985519.318868412696116116207660754</ | 1468 | ············710675304631639660753226190483043425415886510754056240444204875232268060793557159011868147985519.318868412696116116207660754</ |
1469 | ············last></bar>' | 1469 | ············last></bar>' |
1470 | ········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: | 1470 | ········zip(u\x8un\x8nc\x8co\x8om\x8mp\x8pr\x8re\x8es\x8ss\x8se\x8ed\x8d_\x8_s\x8si\x8iz\x8ze\x8e:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·6\x865\x855\x853\x836\x86,·n\x8nu\x8um\x8m_\x8_f\x8fi\x8il\x8le\x8es\x8s:\x8:·_\x8i\x8i_\x8n\x8n_\x8t\x8t·=\x8=·1\x81,·m\x8mi\x8in\x8n_\x8_f\x8fi\x8il\x8le\x8e_\x8_s\x8si\x8iz\x8ze\x8e:\x8: |
1471 | ········_\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¶ | 1471 | ········_\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 1486, 737 lines modified | Offset 1486, 388 lines modified | ||
1486 | ················*·'deflate',·'gzip',·or·'gz'·for·GZIP | 1486 | ················*·'deflate',·'gzip',·or·'gz'·for·GZIP |
1487 | ··············Examples: | 1487 | ··············Examples: |
1488 | ············>>>·Faker.seed(0) | 1488 | ············>>>·Faker.seed(0) |
1489 | ············>>>·for·_·in·range(5): | 1489 | ············>>>·for·_·in·range(5): |
Max diff block lines reached; 163833/175234 bytes (93.49%) of diff not shown. |
Offset 56, 19 lines modified | Offset 56, 19 lines modified | ||
56 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 56 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
57 | <dd·class="field-odd"><p></p></dd> | 57 | <dd·class="field-odd"><p></p></dd> |
58 | </dl> | 58 | </dl> |
59 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 59 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
60 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 60 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
61 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">passport_dob</span><span·class="p">()</span> | 61 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">passport_dob</span><span·class="p">()</span> |
62 | <span·class="gp">...</span> | 62 | <span·class="gp">...</span> |
63 | <span·class="go">datetime.date(200 | 63 | <span·class="go">datetime.date(2006,·10,·20)</span> |
64 | <span·class="go">datetime.date(1996,·10,·8)</span> | ||
65 | <span·class="go">datetime.date(1957,·8,·20)</span> | ||
64 | <span·class="go">datetime.date(19 | 66 | <span·class="go">datetime.date(1938,·11,·19)</span> |
65 | <span·class="go">datetime.date(19 | 67 | <span·class="go">datetime.date(1968,·2,·27)</span> |
66 | <span·class="go">datetime.date(1939,·12,·21)</span> | ||
67 | <span·class="go">datetime.date(1969,·3,·30)</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(200 | 19 | ············datetime.date(2006,·10,·20) |
20 | ············datetime.date(1996,·10,·8) | ||
21 | ············datetime.date(1957,·8,·20) | ||
20 | ············datetime.date(19 | 22 | ············datetime.date(1938,·11,·19) |
21 | ············datetime.date(19 | 23 | ············datetime.date(1968,·2,·27) |
22 | ············datetime.date(1939,·12,·21) | ||
23 | ············datetime.date(1969,·3,·30) | ||
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(194 | 64 | <span·class="go">{'job':·'Musician',·'company':·'Williams-Sheppard',·'ssn':·'498-52-4970',·'residence':·'Unit·5938·Box·2421\nDPO·AP·33335',·'current_location':·(Decimal('52.958961'),·Decimal('143.143712')),·'blood_group':·'B+',·'website':·['http://www.rivera.com/',·'http://grimes-green.net/',·'http://www.larsen.com/'],·'username':·'leeashley',·'name':·'Gary·Cross',·'sex':·'M',·'address':·'711·Golden·Overpass\nWest·Andreaville,·OH·44115',·'mail':·'tamaramorrison@hotmail.com',·'birthdate':·datetime.date(1942,·3,·20)}</span> |
65 | <span·class="go">{'job':·'Chemist,·analytical',·'company':·'Yates,·Stewart·and·Allen',·'ssn':·'189-25-3060',·'residence':·'1122·Megan·Squares·Suite·848\nPort·Jason,·TX·77807',·'current_location':·(Decimal('22.588068'),·Decimal('131.221390')),·'blood_group':·'AB+',·'website':·['https://nguyen.info/',·'https://www.smith.com/',·'http://cook.com/',·'http://www.montoya.net/'],·'username':·'myersmitchell',·'name':·'Madison·Obrien',·'sex':·'F',·'address':·'Unit·0903·Box·2173\nDPO·AP·08507',·'mail':·'stephenschristine@yahoo.com',·'birthdate':·datetime.date(191 | 65 | <span·class="go">{'job':·'Chemist,·analytical',·'company':·'Yates,·Stewart·and·Allen',·'ssn':·'189-25-3060',·'residence':·'1122·Megan·Squares·Suite·848\nPort·Jason,·TX·77807',·'current_location':·(Decimal('22.588068'),·Decimal('131.221390')),·'blood_group':·'AB+',·'website':·['https://nguyen.info/',·'https://www.smith.com/',·'http://cook.com/',·'http://www.montoya.net/'],·'username':·'myersmitchell',·'name':·'Madison·Obrien',·'sex':·'F',·'address':·'Unit·0903·Box·2173\nDPO·AP·08507',·'mail':·'stephenschristine@yahoo.com',·'birthdate':·datetime.date(1916,·12,·20)}</span> |
66 | <span·class="go">{'job':·'Building·surveyor',·'company':·'Turner,·Graham·and·Brown',·'ssn':·'479-06-9773',·'residence':·'45792·Tammy·Centers·Apt.·258\nDavidmouth,·TN·23414',·'current_location':·(Decimal('-86.4556435'),·Decimal('73.201966')),·'blood_group':·'O+',·'website':·['https://king.com/',·'https://www.campbell.com/',·'https://arroyo.com/'],·'username':·'hollymoore',·'name':·'Ronald·Miller',·'sex':·'M',·'address':·'9606·Barton·Station·Apt.·271\nJacquelinemouth,·NC·64367',·'mail':·'hensontroy@yahoo.com',·'birthdate':·datetime.date(200 | 66 | <span·class="go">{'job':·'Building·surveyor',·'company':·'Turner,·Graham·and·Brown',·'ssn':·'479-06-9773',·'residence':·'45792·Tammy·Centers·Apt.·258\nDavidmouth,·TN·23414',·'current_location':·(Decimal('-86.4556435'),·Decimal('73.201966')),·'blood_group':·'O+',·'website':·['https://king.com/',·'https://www.campbell.com/',·'https://arroyo.com/'],·'username':·'hollymoore',·'name':·'Ronald·Miller',·'sex':·'M',·'address':·'9606·Barton·Station·Apt.·271\nJacquelinemouth,·NC·64367',·'mail':·'hensontroy@yahoo.com',·'birthdate':·datetime.date(2006,·1,·10)}</span> |
67 | <span·class="go">{'job':·'Arts·administrator',·'company':·'Lopez-Key',·'ssn':·'649-11-2139',·'residence':·'Unit·6650·Box·3008\nDPO·AP·13317',·'current_location':·(Decimal('-38.8738015'),·Decimal('-116.163958')),·'blood_group':·'B-',·'website':·['https://www.alvarez.com/',·'http://marsh-wilson.com/',·'http://wiggins.com/'],·'username':·'sheena09',·'name':·'Melanie·Grant',·'sex':·'F',·'address':·'658·Jared·Radial·Suite·022\nMathewstad,·VT·12783',·'mail':·'kimberly00@yahoo.com',·'birthdate':·datetime.date(192 | 67 | <span·class="go">{'job':·'Arts·administrator',·'company':·'Lopez-Key',·'ssn':·'649-11-2139',·'residence':·'Unit·6650·Box·3008\nDPO·AP·13317',·'current_location':·(Decimal('-38.8738015'),·Decimal('-116.163958')),·'blood_group':·'B-',·'website':·['https://www.alvarez.com/',·'http://marsh-wilson.com/',·'http://wiggins.com/'],·'username':·'sheena09',·'name':·'Melanie·Grant',·'sex':·'F',·'address':·'658·Jared·Radial·Suite·022\nMathewstad,·VT·12783',·'mail':·'kimberly00@yahoo.com',·'birthdate':·datetime.date(1927,·11,·9)}</span> |
68 | <span·class="go">{'job':·'Television·production·assistant',·'company':·'Ward-Hays',·'ssn':·'133-38-1883',·'residence':·'42814·Houston·Hills\nRodriguezside,·PW·63569',·'current_location':·(Decimal('37.2396545'),·Decimal('0.968737')),·'blood_group':·'AB-',·'website':·['https://www.jimenez.com/'],·'username':·'joneschristopher',·'name':·'Jaime·Villegas',·'sex':·'F',·'address':·'0168·West·Overpass\nSouth·Christopher,·IN·34699',·'mail':·'ryanhoward@gmail.com',·'birthdate':·datetime.date(200 | 68 | <span·class="go">{'job':·'Television·production·assistant',·'company':·'Ward-Hays',·'ssn':·'133-38-1883',·'residence':·'42814·Houston·Hills\nRodriguezside,·PW·63569',·'current_location':·(Decimal('37.2396545'),·Decimal('0.968737')),·'blood_group':·'AB-',·'website':·['https://www.jimenez.com/'],·'username':·'joneschristopher',·'name':·'Jaime·Villegas',·'sex':·'F',·'address':·'0168·West·Overpass\nSouth·Christopher,·IN·34699',·'mail':·'ryanhoward@gmail.com',·'birthdate':·datetime.date(2004,·3,·13)}</span> |
69 | </pre></div> | 69 | </pre></div> |
70 | </div> | 70 | </div> |
71 | </dd></dl> | 71 | </dd></dl> |
72 | <dl·class="py·method"> | 72 | <dl·class="py·method"> |
73 | <dt·class="sig·sig-object·py"·id="faker.providers.profile.Provider.simple_profile"> | 73 | <dt·class="sig·sig-object·py"·id="faker.providers.profile.Provider.simple_profile"> |
74 | <span·class="sig-name·descname"><span·class="pre">simple_profile</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">sex</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Literal"·title="(in·Python·v3.12)"><span·class="pre">Literal</span></a><span·class="p"><span·class="pre">[</span></span><span·class="s"><span·class="pre">'M'</span></span><span·class="p"><span·class="pre">,</span></span><span·class="w">·</span><span·class="s"><span·class="pre">'F'</span></span><span·class="p"><span·class="pre">]</span></span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Dict"·title="(in·Python·v3.12)"><span·class="pre">Dict</span></a><span·class="p"><span·class="pre">[</span></span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="p"><span·class="pre">,</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Literal"·title="(in·Python·v3.12)"><span·class="pre">Literal</span></a><span·class="p"><span·class="pre">[</span></span><span·class="s"><span·class="pre">'M'</span></span><span·class="p"><span·class="pre">,</span></span><span·class="w">·</span><span·class="s"><span·class="pre">'F'</span></span><span·class="p"><span·class="pre">]</span></span><span·class="p"><span·class="pre">]</span></span></span></span><a·class="headerlink"·href="#faker.providers.profile.Provider.simple_profile"·title="Link·to·this·definition">¶</a></dt> | 74 | <span·class="sig-name·descname"><span·class="pre">simple_profile</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">sex</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Literal"·title="(in·Python·v3.12)"><span·class="pre">Literal</span></a><span·class="p"><span·class="pre">[</span></span><span·class="s"><span·class="pre">'M'</span></span><span·class="p"><span·class="pre">,</span></span><span·class="w">·</span><span·class="s"><span·class="pre">'F'</span></span><span·class="p"><span·class="pre">]</span></span><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Dict"·title="(in·Python·v3.12)"><span·class="pre">Dict</span></a><span·class="p"><span·class="pre">[</span></span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="p"><span·class="pre">,</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/datetime.html#datetime.date"·title="(in·Python·v3.12)"><span·class="pre">date</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/typing.html#typing.Literal"·title="(in·Python·v3.12)"><span·class="pre">Literal</span></a><span·class="p"><span·class="pre">[</span></span><span·class="s"><span·class="pre">'M'</span></span><span·class="p"><span·class="pre">,</span></span><span·class="w">·</span><span·class="s"><span·class="pre">'F'</span></span><span·class="p"><span·class="pre">]</span></span><span·class="p"><span·class="pre">]</span></span></span></span><a·class="headerlink"·href="#faker.providers.profile.Provider.simple_profile"·title="Link·to·this·definition">¶</a></dt> |
Offset 78, 19 lines modified | Offset 78, 19 lines modified | ||
78 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 78 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
79 | <dd·class="field-odd"><p></p></dd> | 79 | <dd·class="field-odd"><p></p></dd> |
80 | </dl> | 80 | </dl> |
81 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 81 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
82 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 82 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
83 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">simple_profile</span><span·class="p">()</span> | 83 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">simple_profile</span><span·class="p">()</span> |
84 | <span·class="gp">...</span> | 84 | <span·class="gp">...</span> |
85 | <span·class="go">{'username':·'ysullivan',·'name':·'Jason·Green',·'sex':·'M',·'address':·'9382·Taylor·Court·Suite·892\nCoreyland,·MH·90152',·'mail':·'thomas15@yahoo.com',·'birthdate':·datetime.date(194 | 85 | <span·class="go">{'username':·'ysullivan',·'name':·'Jason·Green',·'sex':·'M',·'address':·'9382·Taylor·Court·Suite·892\nCoreyland,·MH·90152',·'mail':·'thomas15@yahoo.com',·'birthdate':·datetime.date(1945,·7,·11)}</span> |
86 | <span·class="go">{'username':·'davismary',·'name':·'Mrs.·Sharon·Green',·'sex':·'F',·'address':·'753·Padilla·Circles\nNew·Jeffrey,·AS·19178',·'mail':·'udavis@hotmail.com',·'birthdate':·datetime.date(202 | 86 | <span·class="go">{'username':·'davismary',·'name':·'Mrs.·Sharon·Green',·'sex':·'F',·'address':·'753·Padilla·Circles\nNew·Jeffrey,·AS·19178',·'mail':·'udavis@hotmail.com',·'birthdate':·datetime.date(2024,·8,·12)}</span> |
87 | <span·class="go">{'username':·'lisa83',·'name':·'Juan·Mann',·'sex':·'M',·'address':·'USNV·Wallace\nFPO·AP·50950',·'mail':·'barbara42@gmail.com',·'birthdate':·datetime.date(200 | 87 | <span·class="go">{'username':·'lisa83',·'name':·'Juan·Mann',·'sex':·'M',·'address':·'USNV·Wallace\nFPO·AP·50950',·'mail':·'barbara42@gmail.com',·'birthdate':·datetime.date(2004,·2,·20)}</span> |
88 | <span·class="go">{'username':·'sheltondavid',·'name':·'Mary·Alvarez',·'sex':·'F',·'address':·'86848·Melissa·Springs\nRileymouth,·NM·87040',·'mail':·'christopher91@yahoo.com',·'birthdate':·datetime.date(197 | 88 | <span·class="go">{'username':·'sheltondavid',·'name':·'Mary·Alvarez',·'sex':·'F',·'address':·'86848·Melissa·Springs\nRileymouth,·NM·87040',·'mail':·'christopher91@yahoo.com',·'birthdate':·datetime.date(1976,·12,·12)}</span> |
89 | <span·class="go">{'username':·'thorntonnathan',·'name':·'David·Dennis',·'sex':·'M',·'address':·'12309·Anthony·Roads·Apt.·991\nDavisville,·AZ·79865',·'mail':·'leetara@hotmail.com',·'birthdate':·datetime.date(192 | 89 | <span·class="go">{'username':·'thorntonnathan',·'name':·'David·Dennis',·'sex':·'M',·'address':·'12309·Anthony·Roads·Apt.·991\nDavisville,·AZ·79865',·'mail':·'leetara@hotmail.com',·'birthdate':·datetime.date(1923,·3,·22)}</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 22, 77 lines modified | Offset 22, 78 lines modified | ||
22 | ············{'job':·'Musician',·'company':·'Williams-Sheppard',·'ssn':·'498-52- | 22 | ············{'job':·'Musician',·'company':·'Williams-Sheppard',·'ssn':·'498-52- |
23 | ············4970',·'residence':·'Unit·5938·Box·2421\nDPO·AP·33335', | 23 | ············4970',·'residence':·'Unit·5938·Box·2421\nDPO·AP·33335', |
24 | ············'current_location':·(Decimal('52.958961'),·Decimal('143.143712')), | 24 | ············'current_location':·(Decimal('52.958961'),·Decimal('143.143712')), |
25 | ············'blood_group':·'B+',·'website':·['http://www.rivera.com/',·'http:// | 25 | ············'blood_group':·'B+',·'website':·['http://www.rivera.com/',·'http:// |
26 | ············grimes-green.net/',·'http://www.larsen.com/'],·'username': | 26 | ············grimes-green.net/',·'http://www.larsen.com/'],·'username': |
27 | ············'leeashley',·'name':·'Gary·Cross',·'sex':·'M',·'address':·'711 | 27 | ············'leeashley',·'name':·'Gary·Cross',·'sex':·'M',·'address':·'711 |
28 | ············Golden·Overpass\nWest·Andreaville,·OH·44115',·'mail': | 28 | ············Golden·Overpass\nWest·Andreaville,·OH·44115',·'mail': |
29 | ············'tamaramorrison@hotmail.com',·'birthdate':·datetime.date(194 | 29 | ············'tamaramorrison@hotmail.com',·'birthdate':·datetime.date(1942,·3, |
30 | ············2 | 30 | ············20)} |
31 | ············{'job':·'Chemist,·analytical',·'company':·'Yates,·Stewart·and | 31 | ············{'job':·'Chemist,·analytical',·'company':·'Yates,·Stewart·and |
32 | ············Allen',·'ssn':·'189-25-3060',·'residence':·'1122·Megan·Squares | 32 | ············Allen',·'ssn':·'189-25-3060',·'residence':·'1122·Megan·Squares |
33 | ············Suite·848\nPort·Jason,·TX·77807',·'current_location':·(Decimal | 33 | ············Suite·848\nPort·Jason,·TX·77807',·'current_location':·(Decimal |
34 | ············('22.588068'),·Decimal('131.221390')),·'blood_group':·'AB+', | 34 | ············('22.588068'),·Decimal('131.221390')),·'blood_group':·'AB+', |
35 | ············'website':·['https://nguyen.info/',·'https://www.smith.com/', | 35 | ············'website':·['https://nguyen.info/',·'https://www.smith.com/', |
36 | ············'http://cook.com/',·'http://www.montoya.net/'],·'username': | 36 | ············'http://cook.com/',·'http://www.montoya.net/'],·'username': |
37 | ············'myersmitchell',·'name':·'Madison·Obrien',·'sex':·'F',·'address': | 37 | ············'myersmitchell',·'name':·'Madison·Obrien',·'sex':·'F',·'address': |
38 | ············'Unit·0903·Box·2173\nDPO·AP·08507',·'mail': | 38 | ············'Unit·0903·Box·2173\nDPO·AP·08507',·'mail': |
39 | ············'stephenschristine@yahoo.com',·'birthdate':·datetime.date(191 | 39 | ············'stephenschristine@yahoo.com',·'birthdate':·datetime.date(1916,·12, |
40 | ············2 | 40 | ············20)} |
41 | ············{'job':·'Building·surveyor',·'company':·'Turner,·Graham·and·Brown', | 41 | ············{'job':·'Building·surveyor',·'company':·'Turner,·Graham·and·Brown', |
42 | ············'ssn':·'479-06-9773',·'residence':·'45792·Tammy·Centers·Apt. | 42 | ············'ssn':·'479-06-9773',·'residence':·'45792·Tammy·Centers·Apt. |
43 | ············258\nDavidmouth,·TN·23414',·'current_location':·(Decimal('- | 43 | ············258\nDavidmouth,·TN·23414',·'current_location':·(Decimal('- |
44 | ············86.4556435'),·Decimal('73.201966')),·'blood_group':·'O+', | 44 | ············86.4556435'),·Decimal('73.201966')),·'blood_group':·'O+', |
45 | ············'website':·['https://king.com/',·'https://www.campbell.com/', | 45 | ············'website':·['https://king.com/',·'https://www.campbell.com/', |
46 | ············'https://arroyo.com/'],·'username':·'hollymoore',·'name':·'Ronald | 46 | ············'https://arroyo.com/'],·'username':·'hollymoore',·'name':·'Ronald |
47 | ············Miller',·'sex':·'M',·'address':·'9606·Barton·Station·Apt. | 47 | ············Miller',·'sex':·'M',·'address':·'9606·Barton·Station·Apt. |
48 | ············271\nJacquelinemouth,·NC·64367',·'mail':·'hensontroy@yahoo.com', | 48 | ············271\nJacquelinemouth,·NC·64367',·'mail':·'hensontroy@yahoo.com', |
49 | ············'birthdate':·datetime.date(200 | 49 | ············'birthdate':·datetime.date(2006,·1,·10)} |
50 | ············{'job':·'Arts·administrator',·'company':·'Lopez-Key',·'ssn':·'649- | 50 | ············{'job':·'Arts·administrator',·'company':·'Lopez-Key',·'ssn':·'649- |
51 | ············11-2139',·'residence':·'Unit·6650·Box·3008\nDPO·AP·13317', | 51 | ············11-2139',·'residence':·'Unit·6650·Box·3008\nDPO·AP·13317', |
52 | ············'current_location':·(Decimal('-38.8738015'),·Decimal('- | 52 | ············'current_location':·(Decimal('-38.8738015'),·Decimal('- |
53 | ············116.163958')),·'blood_group':·'B-',·'website':·['https:// | 53 | ············116.163958')),·'blood_group':·'B-',·'website':·['https:// |
54 | ············www.alvarez.com/',·'http://marsh-wilson.com/',·'http://wiggins.com/ | 54 | ············www.alvarez.com/',·'http://marsh-wilson.com/',·'http://wiggins.com/ |
55 | ············'],·'username':·'sheena09',·'name':·'Melanie·Grant',·'sex':·'F', | 55 | ············'],·'username':·'sheena09',·'name':·'Melanie·Grant',·'sex':·'F', |
56 | ············'address':·'658·Jared·Radial·Suite·022\nMathewstad,·VT·12783', | 56 | ············'address':·'658·Jared·Radial·Suite·022\nMathewstad,·VT·12783', |
57 | ············'mail':·'kimberly00@yahoo.com',·'birthdate':·datetime.date(192 | 57 | ············'mail':·'kimberly00@yahoo.com',·'birthdate':·datetime.date(1927, |
58 | ············1 | 58 | ············11,·9)} |
59 | ············{'job':·'Television·production·assistant',·'company':·'Ward-Hays', | 59 | ············{'job':·'Television·production·assistant',·'company':·'Ward-Hays', |
60 | ············'ssn':·'133-38-1883',·'residence':·'42814·Houston | 60 | ············'ssn':·'133-38-1883',·'residence':·'42814·Houston |
61 | ············Hills\nRodriguezside,·PW·63569',·'current_location':·(Decimal | 61 | ············Hills\nRodriguezside,·PW·63569',·'current_location':·(Decimal |
62 | ············('37.2396545'),·Decimal('0.968737')),·'blood_group':·'AB-', | 62 | ············('37.2396545'),·Decimal('0.968737')),·'blood_group':·'AB-', |
63 | ············'website':·['https://www.jimenez.com/'],·'username': | 63 | ············'website':·['https://www.jimenez.com/'],·'username': |
64 | ············'joneschristopher',·'name':·'Jaime·Villegas',·'sex':·'F', | 64 | ············'joneschristopher',·'name':·'Jaime·Villegas',·'sex':·'F', |
65 | ············'address':·'0168·West·Overpass\nSouth·Christopher,·IN·34699', | 65 | ············'address':·'0168·West·Overpass\nSouth·Christopher,·IN·34699', |
66 | ············'mail':·'ryanhoward@gmail.com',·'birthdate':·datetime.date(200 | 66 | ············'mail':·'ryanhoward@gmail.com',·'birthdate':·datetime.date(2004,·3, |
67 | ············1 | 67 | ············13)} |
68 | ········simple_profile(s\x8se\x8ex\x8x:\x8:·_\x8L\x8L_\x8i\x8i_\x8t\x8t_\x8e\x8e_\x8r\x8r_\x8a\x8a_\x8l\x8l[\x8['\x8'M\x8M'\x8',\x8,·'\x8'F\x8F'\x8']\x8]·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8D_\x8i_\x8c_\x8t[_\x8s_\x8t_\x8r,·_\x8s_\x8t_\x8r·| | 68 | ········simple_profile(s\x8se\x8ex\x8x:\x8:·_\x8L\x8L_\x8i\x8i_\x8t\x8t_\x8e\x8e_\x8r\x8r_\x8a\x8a_\x8l\x8l[\x8['\x8'M\x8M'\x8',\x8,·'\x8'F\x8F'\x8']\x8]·|\x8|·_\x8N\x8N_\x8o\x8o_\x8n\x8n_\x8e\x8e·=\x8=·N\x8No\x8on\x8ne\x8e)·→·_\x8D_\x8i_\x8c_\x8t[_\x8s_\x8t_\x8r,·_\x8s_\x8t_\x8r·| |
69 | ········_\x8d_\x8a_\x8t_\x8e·|·_\x8L_\x8i_\x8t_\x8e_\x8r_\x8a_\x8l['M',·'F']]_\x8¶ | 69 | ········_\x8d_\x8a_\x8t_\x8e·|·_\x8L_\x8i_\x8t_\x8e_\x8r_\x8a_\x8l['M',·'F']]_\x8¶ |
70 | ············Generates·a·basic·profile·with·personal·informations | 70 | ············Generates·a·basic·profile·with·personal·informations |
71 | ··············Examples: | 71 | ··············Examples: |
72 | ············>>>·Faker.seed(0) | 72 | ············>>>·Faker.seed(0) |
73 | ············>>>·for·_·in·range(5): | 73 | ············>>>·for·_·in·range(5): |
74 | ············...·····fake.simple_profile() | 74 | ············...·····fake.simple_profile() |
75 | ············... | 75 | ············... |
76 | ············{'username':·'ysullivan',·'name':·'Jason·Green',·'sex':·'M', | 76 | ············{'username':·'ysullivan',·'name':·'Jason·Green',·'sex':·'M', |
77 | ············'address':·'9382·Taylor·Court·Suite·892\nCoreyland,·MH·90152', | 77 | ············'address':·'9382·Taylor·Court·Suite·892\nCoreyland,·MH·90152', |
78 | ············'mail':·'thomas15@yahoo.com',·'birthdate':·datetime.date(194 | 78 | ············'mail':·'thomas15@yahoo.com',·'birthdate':·datetime.date(1945,·7, |
79 | ············1 | 79 | ············11)} |
80 | ············{'username':·'davismary',·'name':·'Mrs.·Sharon·Green',·'sex':·'F', | 80 | ············{'username':·'davismary',·'name':·'Mrs.·Sharon·Green',·'sex':·'F', |
81 | ············'address':·'753·Padilla·Circles\nNew·Jeffrey,·AS·19178',·'mail': | 81 | ············'address':·'753·Padilla·Circles\nNew·Jeffrey,·AS·19178',·'mail': |
82 | ············'udavis@hotmail.com',·'birthdate':·datetime.date(202 | 82 | ············'udavis@hotmail.com',·'birthdate':·datetime.date(2024,·8,·12)} |
83 | ············{'username':·'lisa83',·'name':·'Juan·Mann',·'sex':·'M',·'address': | 83 | ············{'username':·'lisa83',·'name':·'Juan·Mann',·'sex':·'M',·'address': |
84 | ············'USNV·Wallace\nFPO·AP·50950',·'mail':·'barbara42@gmail.com', | 84 | ············'USNV·Wallace\nFPO·AP·50950',·'mail':·'barbara42@gmail.com', |
85 | ············'birthdate':·datetime.date(200 | 85 | ············'birthdate':·datetime.date(2004,·2,·20)} |
86 | ············{'username':·'sheltondavid',·'name':·'Mary·Alvarez',·'sex':·'F', | 86 | ············{'username':·'sheltondavid',·'name':·'Mary·Alvarez',·'sex':·'F', |
87 | ············'address':·'86848·Melissa·Springs\nRileymouth,·NM·87040',·'mail': | 87 | ············'address':·'86848·Melissa·Springs\nRileymouth,·NM·87040',·'mail': |
88 | ············'christopher91@yahoo.com',·'birthdate':·datetime.date(197 | 88 | ············'christopher91@yahoo.com',·'birthdate':·datetime.date(1976,·12, |
89 | ············12)} | ||
89 | ············{'username':·'thorntonnathan',·'name':·'David·Dennis',·'sex':·'M', | 90 | ············{'username':·'thorntonnathan',·'name':·'David·Dennis',·'sex':·'M', |
90 | ············'address':·'12309·Anthony·Roads·Apt.·991\nDavisville,·AZ·79865', | 91 | ············'address':·'12309·Anthony·Roads·Apt.·991\nDavisville,·AZ·79865', |
91 | ············'mail':·'leetara@hotmail.com',·'birthdate':·datetime.date(192 | 92 | ············'mail':·'leetara@hotmail.com',·'birthdate':·datetime.date(1923,·3, |
92 | ············22)} | 93 | ············22)} |
93 | *\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* |
94 | ····*·_\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 |
95 | ··········o·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | 96 | ··········o·_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r |
96 | ················#·_\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) |
97 | ················#·_\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) |
98 | *\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* |
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,· | 135 | <span·class="go">{'son':·-9787526.29318886,·'voice':·datetime.datetime(1977,·8,·22,·4,·1,·24,·715644),·'kitchen':·'NGnVZQUqLUJyfwFVYySn',·'amount':·datetime.datetime(2020,·3,·29,·18,·12,·35,·857196),·'event':·'LuQIazTmqTjDmYPxeqAW',·'much':·'ppgrVkPCoePqmjQbZndJ',·'mention':·'TWRUWCuKoQSUEXExIZVP',·'interview':·'qfErjaoKtiwdOSlQGWFd',·'why':·'HFDutYbbXjgkPWbwfnlH',·'step':·7144}</span> |
136 | <span·class="go">{'ask':·'nVyUDKkNPiiBgVIaJUTV',·'most':·'paul42@example.net',·'manage':·'xeMChNzFJEUSgqMReEKi',·'among':·'HtTDvuKvIcxniBzDNTzq',·'pick':·Decimal('11411791321240764654788082438993844835687523124385969.650300891319344217610471428512400034855909776582369'),·'blood':·38191497835621.5,·'scene':·6016,·'include':·'rGciZpuCpymcjBdurvfV'}</span> | 136 | <span·class="go">{'ask':·'nVyUDKkNPiiBgVIaJUTV',·'most':·'paul42@example.net',·'manage':·'xeMChNzFJEUSgqMReEKi',·'among':·'HtTDvuKvIcxniBzDNTzq',·'pick':·Decimal('11411791321240764654788082438993844835687523124385969.650300891319344217610471428512400034855909776582369'),·'blood':·38191497835621.5,·'scene':·6016,·'include':·'rGciZpuCpymcjBdurvfV'}</span> |
137 | <span·class="go">{'green':·987508377.174646,·'thought':·'odrake@example.org',·'success':·'QklufCpVOLlelZEijfQS',·'task':·'UxJgukcXlhktChZZhvJT',·'gun':·Decimal('-993195182255103703960295170580683369394227422405918440248896642.305550824926947118013204075227586880918916348967699300248945174466602234500762'),·'capital':·Decimal('67972839855751940235263820229154889584951907196767287332264888028711981316080836396161.7017200992518536710979519426418306753751007408993'),·'measure':·'eQUOKvpfwDVWvfOMbxJb',·'business':·4138,·'scene':·'sgJrjRltFhaIMUMpJWmh',·'modern':·Decimal('4805760532403649269240146150593215888587311532081726339112030.5291189426223583324560290611264862964513758066065735471214189276266237'),·'last':·8574,·'always':·'sGeNpRxylfYpFwNezXCv'}</span> | 137 | <span·class="go">{'green':·987508377.174646,·'thought':·'odrake@example.org',·'success':·'QklufCpVOLlelZEijfQS',·'task':·'UxJgukcXlhktChZZhvJT',·'gun':·Decimal('-993195182255103703960295170580683369394227422405918440248896642.305550824926947118013204075227586880918916348967699300248945174466602234500762'),·'capital':·Decimal('67972839855751940235263820229154889584951907196767287332264888028711981316080836396161.7017200992518536710979519426418306753751007408993'),·'measure':·'eQUOKvpfwDVWvfOMbxJb',·'business':·4138,·'scene':·'sgJrjRltFhaIMUMpJWmh',·'modern':·Decimal('4805760532403649269240146150593215888587311532081726339112030.5291189426223583324560290611264862964513758066065735471214189276266237'),·'last':·8574,·'always':·'sGeNpRxylfYpFwNezXCv'}</span> |
138 | <span·class="go">{'age':·Decimal('21382039273173884082527988465816382796350650960388704316804460314001343271628396494204470750330.1448'),·'camera':·1936,·'expect':·datetime.datetime(201 | 138 | <span·class="go">{'age':·Decimal('21382039273173884082527988465816382796350650960388704316804460314001343271628396494204470750330.1448'),·'camera':·1936,·'expect':·datetime.datetime(2017,·2,·21,·0,·41,·2,·539789),·'use':·'dSogBkfXCMVoxDhgguyD',·'relate':·-797087381.435271,·'amount':·'yKqHdpMcGbyUaBdTJMIa',·'a':·'gaoHpUhDjwLtrHJhWhqk',·'establish':·'xPuPulkWEcumejcHjFFK&#[·...·truncated·by·diffoscope;·len:·75,·SHA:·8ec8d5423955d802752acf725c2a15eac6d176236e4a9903283b5ad39184dc9e·...·]),·'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,· | 195 | <span·class="go">('nAvOpyEVAoNGnVZQUqLU',·'thomas15@example.com',·3350,·datetime.datetime(1996,·3,·1,·6,·29,·59,·433405),·datetime.datetime(1984,·4,·15,·14,·59,·45,·733536),·datetime.datetime(2020,·3,·29,·18,·12,·35,·857196),·'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">{Decimal('18000400001558710168379151556371850715591491746684745560870153172067760283158232944569591.3306016884'),·584,·'http://www.bruce-compton.org/tag/posts/searchfaq.php',·2036,·datetime.datetime(1997,·7,·23,·12,·5,·36,·321936),·'ohEsZgfLWqSLpRpfDzrP',·Decimal('-5566738374584561609320871321036086986788440028749554064377698700636073309631096713016282417601397773.26351108731764303921376582197296687577389305550824926947118013204075227586')}</span> |
198 | <span·class="go">{'hUvefdviXPwvzSqnsgJr',·'http://www.garcia.com/category/tagscategory.jsp',·' | 198 | <span·class="go">{'hUvefdviXPwvzSqnsgJr',·'butjsGXUcnbBDTlOUGAB',·'http://www.garcia.com/category/tagscategory.jsp',·'FgqKHkOOfdKFWHYLpSXu',·'aYQdUkkJWgatbFSjfrXg',·datetime.datetime(1986,·9,·30,·12,·30,·0,·880769),·'IajAndSXpvQdHgoRcbvz',·531.866983954573}</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,· | 215 | <span·class="go">[663,·-424604.985946604,·-9787526.29318886,·datetime.datetime(1977,·8,·22,·4,·1,·24,·715644),·'NGnVZQUqLUJyfwFVYySn',·datetime.datetime(2020,·3,·29,·18,·12,·35,·857196),·'LuQIazTmqTjDmYPxeqAW',·'ppgrVkPCoePqmjQbZndJ',·'TWRUWCuKoQSUEXExIZVP',·'qfErjaoKtiwdOSlQGWFd']</span> |
216 | <span·class="go">['catherinejohnston@example.com',·'tYbbXjgkPWbwfnlHsjAc',·'KunVyUDKkNPiiBgVIaJU',·datetime.datetime(202 | 216 | <span·class="go">['catherinejohnston@example.com',·'tYbbXjgkPWbwfnlHsjAc',·'KunVyUDKkNPiiBgVIaJU',·datetime.datetime(2020,·4,·29,·3,·25,·29,·923651),·'paul42@example.net',·'xeMChNzFJEUSgqMReEKi',·'HtTDvuKvIcxniBzDNTzq']</span> |
217 | <span·class="go">['QTQjZGeLZuJqlLaQBfgH',·4725240091.51995,·'johnsonrobin@example.org',·-958272097856.158,·0.28952549189774,·'angela59@example.org',·'https://taylor.com/tag/list/wp-contentcategory.htm',·6016,·'rGciZpuCpymcjBdurvfV',·Decimal('-6549903182054842898289740559728455724548119.045229611133060168847793615349263511087317643039213765'),·datetime.datetime(201 | 217 | <span·class="go">['QTQjZGeLZuJqlLaQBfgH',·4725240091.51995,·'johnsonrobin@example.org',·-958272097856.158,·0.28952549189774,·'angela59@example.org',·'https://taylor.com/tag/list/wp-contentcategory.htm',·6016,·'rGciZpuCpymcjBdurvfV',·Decimal('-6549903182054842898289740559728455724548119.045229611133060168847793615349263511087317643039213765'),·datetime.datetime(2015,·5,·12,·14,·25,·57,·178739)]</span> |
218 | <span·class="go">['https://www.bolton-reid.com/category/blog/listregister.php',·datetime.datetime(200 | 218 | <span·class="go">['https://www.bolton-reid.com/category/blog/listregister.php',·datetime.datetime(2003,·6,·12,·23,·4,·39,·8382),·'aKMqqBTFitpKyPAVdgpN',·Decimal('-74655832342888117024.8091891634896769930024894517446660223450076279125609767017200992518'),·'james71@example.org',·'https://lloyd-stark.com/main/blog/tagsprivacy.html[·...·truncated·by·diffoscope;·len:·55,·SHA:·ac27806484d1386ee9acaaa282dede860996bb8b7ef19e88befe10da89759f4d·...·])]</span> |
219 | <span·class="go">['OxNxPdcWzUXIDleQUOKv',·7424134494689.1,·'vfOMbxJbVYLedsbsaYQd',·'kkJWgatbFSjfrXgYsypW',·datetime.datetime(200 | 219 | <span·class="go">['OxNxPdcWzUXIDleQUOKv',·7424134494689.1,·'vfOMbxJbVYLedsbsaYQd',·'kkJWgatbFSjfrXgYsypW',·datetime.datetime(2004,·11,·17,·17,·52,·11,·520694),·'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">{'LuQIazTmqTjDmYPxeqAW',·'ppgrVkPCoePqmjQbZndJ',·'TWRUWCuKoQSUEXExIZVP',·datetime.datetime(1977,·10,·16,·11,·35,·58,·426196),·datetime.datetime(2021,·3,·28,·13,·35,·41,·234818),·'qfErjaoKtiwdOSlQGWFd',·-9787526.29318886,·-424604.985946604,·663,·'NGnVZQUqLUJyfwFVYySn'}</span> | ||
266 | <span·class="go">{datetime.datetime(2021,·4,·28,·13,·15,·59,·936335),·'xeMChNzFJEUSgqMReEKi',·'paul42@example.net',·'catherinejohnston@example.com',·'KunVyUDKkNPiiBgVIaJU',·'tYbbXjgkPWbwfnlHsjAc',·'HtTDvuKvIcxniBzDNTzq'}</span> | ||
267 | <span·class="go">{6016,·-958272097856.158,·'QTQjZGeLZuJqlLaQBfgH',·'johnsonrobin@example.org',·'rGciZpuCpymcjBdurvfV',·Decimal('-6549903182054842898289740559728455724548119.045229611133060168847793615349263511087317643039213765'),·datetime.datetime(2016,·4,·5,·1,·22,·55,·104808),·0.28952549189774,·'https://taylor.com/tag/list/wp-contentcategory.htm',·4725240091.51995,·'angela59@example.org'}</span> | ||
268 | <span·class="go">{'aKMqqBTFitpKyPAVdgpN',·'https://www.bolton-reid.com/category/blog/listregister.php',·datetime.datetime(2018,·2,·17,·9,·7,·33,·486807),·datetime.datetime(2004,·2,·10,·3,·29,·40,·75867),·'https://lloyd-stark.com/main/blog/tagsprivacy.html',·'james71@example.org',·Decimal('-74655832342888117024.8091891634896769930024894517446660223450076279125609767017200992518')}</span> | ||
269 | <span·class="go">{' | 265 | <span·class="go">{'TWRUWCuKoQSUEXExIZVP',·'ppgrVkPCoePqmjQbZndJ',·datetime.datetime(1977,·8,·22,·4,·1,·24,·715644),·'qfErjaoKtiwdOSlQGWFd',·-9787526.29318886,·-424604.985946604,·datetime.datetime(2020,·3,·29,·18,·12,·35,·857196),·663,·'LuQIazTmqTjDmYP[·...·truncated·by·diffoscope;·len:·42,·SHA:·7744355c32adc0b9ac7697346b09aec880a104ebd87cbe22aa205c3375149dac·...·]}</span> |
266 | <span·class="go">{'catherinejohnston@example.com',·'KunVyUDKkNPiiBgVIaJU',·'paul42@example.net',·'HtTDvuKvIcxniBzDNTzq',·'tYbbXjgkPWbwfnlHsjAc',·datetime.datetime(2020,·4,·29,·3,·25,·29,·923651),·'xeMChNzFJEUSgqMReEKi'}</span> | ||
267 | <span·class="go">{6016,·-958272097856.158,·'johnsonrobin@example.org',·'angela59@example.org',·'rGciZpuCpymcjBdurvfV',·datetime.datetime(2015,·5,·12,·14,·25,·57,·178739),·'QTQjZGeLZuJqlLaQBfgH',·'https://taylor.com/tag/list/wp-contentcategory.htm',·Decimal('-6549903182054842898289740559728455724548119.045229611133060168847793615349263511087317643039213765'),·0.28952549189774,·4725240091.51995}</span> | ||
268 | <span·class="go">{datetime.datetime(2003,·6,·12,·23,·4,·39,·8382),·'james71@example.org',·'https://www.bolton-reid.com/category/blog/listregister.php',·'https://lloyd-stark.com/main/blog/tagsprivacy.html',·'aKMqqBTFitpKyPAVdgpN',·datetime.datetime(2017,·3,·12,·15,·22,·6,·825889),·Decimal('-74655832342888117024.8091891634896769930024894517446660223450076279125609767017200992518')}</span> | ||
269 | <span·class="go">{7424134494689.1,·'EeBqthglAmjtISFuKgpv',·datetime.datetime(2004,·11,·17,·17,·52,·11,·520694),·'EpsmGHBtaYUwtXejffFi',·Decimal('-75235466116100008450701.3758257173407970341489'),·'OxNxPdcWzUXIDleQUOKv',·'kkJWgatbFSjfrXgYsypW',·'vfOMbxJbVYLedsbsaYQd'}</span> | ||
270 | </pre></div> | 270 | </pre></div> |
271 | </div> | 271 | </div> |
272 | </dd></dl> | 272 | </dd></dl> |
273 | <dl·class="py·method"> | 273 | <dl·class="py·method"> |
274 | <dt·class="sig·sig-object·py"·id="faker.providers.python.Provider.pystr"> | 274 | <dt·class="sig·sig-object·py"·id="faker.providers.python.Provider.pystr"> |
275 | <span·class="sig-name·descname"><span·class="pre">pystr</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">min_chars</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">max_chars</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">20</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">prefix</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">''</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">suffix</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">''</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.python.Provider.pystr"·title="Link·to·this·definition">¶</a></dt> | 275 | <span·class="sig-name·descname"><span·class="pre">pystr</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">min_chars</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><span·class="pre">int</span></a><span·class="w">·</span><span·class="p"><span·class="pre">|</span></span><span·class="w">·</span><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/constants.html#None"·title="(in·Python·v3.12)"><span·class="pre">None</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">max_chars</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/functions.html#int"·title="(in·Python·v3.12)"><span·class="pre">int</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">20</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">prefix</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">''</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">suffix</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a></span><span·class="w">·</span><span·class="o"><span·class="pre">=</span></span><span·class="w">·</span><span·class="default_value"><span·class="pre">''</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><a·class="reference·external"·href="/usr/share/doc/python3-doc/html/library/stdtypes.html#str"·title="(in·Python·v3.12)"><span·class="pre">str</span></a></span></span><a·class="headerlink"·href="#faker.providers.python.Provider.pystr"·title="Link·to·this·definition">¶</a></dt> |
Offset 330, 19 lines modified | Offset 330, 19 lines modified | ||
330 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> | 330 | <dt·class="field-odd">Examples<span·class="colon">:</span></dt> |
331 | <dd·class="field-odd"><p></p></dd> | 331 | <dd·class="field-odd"><p></p></dd> |
332 | </dl> | 332 | </dl> |
333 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> | 333 | <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">>>>·</span><span·class="n">Faker</span><span·class="o">.</span><span·class="n">seed</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">)</span> |
334 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 334 | <span·class="gp">>>>·</span><span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
335 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">pystruct</span><span·class="p">()</span> | 335 | <span·class="gp">...·</span>····<span·class="n">fake</span><span·class="o">.</span><span·class="n">pystruct</span><span·class="p">()</span> |
336 | <span·class="gp">...</span> | 336 | <span·class="gp">...</span> |
337 | <span·class="go">([-424604.985946604,·1901,·4725240091.51995,·'TFitpKyPAVdgpNxSPTxt',·1376,·'TsMJmpeTNOTvcKIHCMwx',·'dprtyEhaAtHQTijZhkVz',·Decimal('-5.4870898407616570040494388564319539852250909255445769620290725074931'),·'NiIWDsXDvFPlaBWJGGzM',·'taylorsara@example.org'],·{'amount':·6890,·'benefit':·'catherinejohnston@example.com',·'TV':·'QTQjZGeLZuJqlLaQBfgH',·'network':·'fFzDHwBJURZHTCWaKMqq',·'others':·'xPdcWzUXIDleQUOKvpfw',·'property':·Decimal('-808895120938038855082489339263990492580885868654677610560250832118988916.728457637785707427093057608116050190443294316756256627285232756676337390603'),·'sister':·'aFLivlTZaBwcuoYDlLCo',·'expect':·5531,·'through':·2321,·'high':·8395},·{'capital':·{0:·-9787526.29318886,·1:·[datetime.datetime(1977,· | 337 | <span·class="go">([-424604.985946604,·1901,·4725240091.51995,·'TFitpKyPAVdgpNxSPTxt',·1376,·'TsMJmpeTNOTvcKIHCMwx',·'dprtyEhaAtHQTijZhkVz',·Decimal('-5.4870898407616570040494388564319539852250909255445769620290725074931'),·'NiIWDsXDvFPlaBWJGGzM',·'taylorsara@example.org'],·{'amount':·6890,·'benefit':·'catherinejohnston@example.com',·'TV':·'QTQjZGeLZuJqlLaQBfgH',·'network':·'fFzDHwBJURZHTCWaKMqq',·'others':·'xPdcWzUXIDleQUOKvpfw',·'property':·Decimal('-808895120938038855082489339263990492580885868654677610560250832118988916.728457637785707427093057608116050190443294316756256627285232756676337390603'),·'sister':·'aFLivlTZaBwcuoYDlLCo',·'expect':·5531,·'through':·2321,·'high':·8395},·{'capital':·{0:·-9787526.29318886,·1:·[datetime.datetime(1977,·8,·22,·4,·1,·24,·715644),·'NGnVZQUqLUJyfwFVYySn',·datetime.datetime(2020,·3,·29,·18,·12,·35,·857196)],·2:·{0:·'LuQIazTmqTjDmYPxeqAW',·1:·'ppgrVkPCoePqmjQbZndJ',·2:·['TWRUWCuKoQSUEXExIZVP',·'qfErjaoKtiwdOSlQGWFd']}},·[·...·truncated·by·diffoscope;·len:·2191,·SHA:·5ba355121af1610bc586661d4e571e967b3775b977f0f738741d93f60de4358a·...·]),·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,· | 338 | <span·class="go">([Decimal('75203566626017497199879123205931769.666'),·9100,·'ypxrmjXzftuAYYDGJAzq',·'CXOlmyhwszWhRJjWGgdr',·'http://hunt.info/wp-contentterms.htm',·'https://www.holland.biz/appcategory.html',·datetime.datetime(1972,·1,·24,·3,·15,·7,·50626),·'tXVeSLVxvUBNjdwrArSM',·'sheltonbianca@example.net',·'JsSvEZCxeXBKImHfcRFp'],·{'population':·'RqQuzssEOKNaBskVkjjI',·'while':·datetime.datetime(2008,·2,·17,·13,·51,·8,·936707),·'t[·...·truncated·by·diffoscope;·len:·3362,·SHA:·e7dbf7c31bc81896f5d5b1cda42ee9b4a795e2133b6547d3336c4b25c44cbed8·...·]),·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,· | 339 | <span·class="go">([Decimal('-4.317218869431608750394678410156663476806472666994785469250677413536095227'),·'manuel19@example.net',·'OsAuBUfUAhWkbyDcGDDe',·3714,·2543,·datetime.datetime(1973,·9,·15,·5,·33,·50,·368550),·'tina09@example.org',·'https://peterson.com/search/postsfaq.htm',·'jensenmichael@example.com',·7694],·{'structure':·'jlyHtGWomZxAUkuKrgzU',·'check':·'ahMKHhgzzgYQTiIQqZeP',·[·...·truncated·by·diffoscope;·len:·2631,·SHA:·a3439aee5e186572f0bb2c1e63ef51a091996729ec3fc112d6cbdc416cc98025·...·])],·8:·{6:·'MyFVzrGkGvArZVnOKdRP',·7:·'IwKZrxrqmsssXtaYEqPb',·8:·['qwegICYNsZelwHKodoWl',·Decimal('28495212173475883838.0150337449585798032331210981996776098583294846980799364841594847719451650')]}},·'admit':·{7:·7477,·8:·[-4.99867530923159,·'CxneWZCOsSstrYTcAqoG',·1230],·9:·{7:·324,·8:·Decimal('477406728948857499627079274850925836633217956.07235310676905007432716804120046894157954530837806508318308523'),·9:·['https://phillips.com/wp-content/searchindex.php',·'udTJfZFUicBiEehjutrD']}},·'military':·{8:·6626295.56182462,·9:·[1595,·2452,·5.52656646540623],·10:·{8:·4392,·9:·'lori63@example.org',·10:·['EZwPKNtbvVQecuGkaKlF',·Decimal('-3548170133182117559702741292304172278579945018719500824429909070904380917795.518972963240757583490')]}},·'easy':·{9:·'http://www.krueger-green.org/tags/tags/tagpost.html',·10:·['PyWkjNxMRvBJwqiNpikE',·'dgWDodDRfnLDGSXWQbLF',·9623],·11:·{9:·'gvIETTCUPhausbQAYRQu',·10:·'fCkHucUVHkvKgkeWNhmI',·11:·['lSwSaBvOXfNsTSZAzlcV',·'nHOfrGYfTpDfyVlmcDyC']}}})</span> |
340 | <span·class="go">(['http://hayes-david.info/explorepost.html',·datetime.datetime(202 | 340 | <span·class="go">(['http://hayes-david.info/explorepost.html',·datetime.datetime(2021,·6,·18,·21,·44,·42,·585996),·4561,·'ZBdvTqMeNFxkzPcnppIW',·4773,·100747154.732271,·'rPzGqsGUZRSoTGRUHZsx',·Decimal('9261180484357572076354885502404.39521633993627491143005174476438589156518297'),·'clZVPANXtkWjaKclsLBo',·&#[·...·truncated·by·diffoscope;·len:·3513,·SHA:·28e61767dcae6e2dd03dbc472ca3926a0b574aa28edeca5c44200d5ea26ce1cf·...·]),·85.833701977546],·10:·{8:·'QAlxzQzSwjvPFVKKWLCT',·9:·'WlzHcvFRcqqiqZzdOZVF',·10:·[5035,·'http://www.torres.com/app/main/blogregister.htm']}},·'person':·{9:·3.49312048283484,·10:·[2796,·3116,·863],·11:·{9:·'nYFlpEauZmcjxERRLrIA',·10:·'AlnRDYPnKrQpTzKvYjZJ',·11:·['otXBHKVvOxrMFqEfVbdK',·'WvWAepzTdCCTtyIlHxmm']}}})</span> |
341 | <span·class="go">(['xXzqjAalBTtrqSAUJnue',·'ZpKPitsiINHMevzYxCBj',·'nicoledalton@example.org',·'UIRyeyLlgZxHZKvCzxDq',·'richardcampbell@example.org',·-3223.4498078758,·'OXXtemWVJOLAoRkQGPSm',·7985,·'https://www.barrett-doyle.com/explore/appprivacy.htm',·665],·{'economy':·'JouYrExvmtRxZXngKbkp',·'area':·'XIMWXYaEXHjirBvteHuA',·'teach':·'CyablnxUWoJCUpxEvvkM',·'life':·'rileyfrank@example.com',·'realize':·'KYYukvkNLyvsMLpTtWmk',·'never':·'oyHhsmVnjDwYUfHtqrsq',·'blue':·'WOFXuxIRpgblNdeqrKwf',·'relate':·'joRqISClAbtjudIJPEgh',·'plant':·'amUZkPtqbOFtxEvkDnHq',·'fact':·0.41512800576666},·{'soon':·{0:·'aWXgUaLEGoIizbIEqCmL',·1:·['david33@example.org',·'oyxkkyOilwolHygwxLUc',·'http://harper.com/list/category/tagssearch.html'],·2:·{0:·'oYKSfvrkVOiFQuQBMQfO',·1:·Decimal('53767584141777933.38569515701224423255833908387526773786431876945112378207287203239055'),·2:·[Decimal('-2647767173920883731580718896497100927607521435378364690463863040669261787626938777770177576429070699.10289530181466457034565011059204949385833297621465546530625123827490778286199376858300496233969'),·datetime.datetime(202 | 341 | <span·class="go">(['xXzqjAalBTtrqSAUJnue',·'ZpKPitsiINHMevzYxCBj',·'nicoledalton@example.org',·'UIRyeyLlgZxHZKvCzxDq',·'richardcampbell@example.org',·-3223.4498078758,·'OXXtemWVJOLAoRkQGPSm',·7985,·'https://www.barrett-doyle.com/explore/appprivacy.htm',·665],·{'economy':·'JouYrExvmtRxZXngKbkp',·'area':·'XIMWXYaEXHjirBvteHuA',·'teach':·'CyablnxUWoJCUpxEvvkM',·'life':·'rileyfrank@example.com',·'realize':·'KYYukvkNLyvsMLpTtWmk',·'never':·'oyHhsmVnjDwYUfHtqrsq',·'blue':·'WOFXuxIRpgblNdeqrKwf',·'relate':·'joRqISClAbtjudIJPEgh',·'plant':·'amUZkPtqbOFtxEvkDnHq',·'fact':·0.41512800576666},·{'soon':·{0:·'aWXgUaLEGoIizbIEqCmL',·1:·['david33@example.org',·'oyxkkyOilwolHygwxLUc',·'http://harper.com/list/category/tagssearch.html'],·2:·{0:·'oYKSfvrkVOiFQuQBMQfO',·1:·Decimal('53767584141777933.38569515701224423255833908387526773786431876945112378207287203239055'),·2:·[Decimal('-2647767173920883731580718896497100927607521435378364690463863040669261787626938777770177576429070699.10289530181466457034565011059204949385833297621465546530625123827490778286199376858300496233969'),·datetime.datetime(2022,·7,·10,·15,·2,·11,·81912)]}},·'compare':·{1:·'LXezkrcAngrgTKMZWpFz',·2:·[17206187561897.0,·'ngAWjppRUyYDvkRKtiOb',·6696],·3:·{1:·datetime.datetime(1988,·8,·10,·9,·6,·27,·392654),·2:·'pgrcIBfchSYpwjLAamaw',·3:·[66916.686559[·...·truncated·by·diffoscope;·len:·2554,·SHA:·048b2f3aba88254fbc26ceea04060070f4cb752b9be5c3ff30bcdacff5982714·...·]7),·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,· | 357 | <span·class="go">(663,·-424604.985946604,·-9787526.29318886,·datetime.datetime(1977,·8,·22,·4,·1,·24,·715644),·'NGnVZQUqLUJyfwFVYySn',·datetime.datetime(2020,·3,·29,·18,·12,·35,·857196),·'LuQIazTmqTjDmYPxeqAW',·'ppgrVkPCoePqmjQbZndJ',·'TWRUWCuKoQSUEXExIZVP',·'qfErjaoKtiwdOSlQGWFd')</span> |
358 | <span·class="go">('catherinejohnston@example.com',·'tYbbXjgkPWbwfnlHsjAc',·'KunVyUDKkNPiiBgVIaJU',·datetime.datetime(202 | 358 | <span·class="go">('catherinejohnston@example.com',·'tYbbXjgkPWbwfnlHsjAc',·'KunVyUDKkNPiiBgVIaJU',·datetime.datetime(2020,·4,·29,·3,·25,·29,·923651),·'paul42@example.net',·'xeMChNzFJEUSgqMReEKi',·'HtTDvuKvIcxniBzDNTzq')</span> |
359 | <span·class="go">('QTQjZGeLZuJqlLaQBfgH',·4725240091.51995,·'johnsonrobin@example.org',·-958272097856.158,·0.28952549189774,·'angela59@example.org',·'https://taylor.com/tag/list/wp-contentcategory.htm',·6016,·'rGciZpuCpymcjBdurvfV',·Decimal('-6549903182054842898289740559728455724548119.045229611133060168847793615349263511087317643039213765'),·datetime.datetime(201 | 359 | <span·class="go">('QTQjZGeLZuJqlLaQBfgH',·4725240091.51995,·'johnsonrobin@example.org',·-958272097856.158,·0.28952549189774,·'angela59@example.org',·'https://taylor.com/tag/list/wp-contentcategory.htm',·6016,·'rGciZpuCpymcjBdurvfV',·Decimal('-6549903182054842898289740559728455724548119.045229611133060168847793615349263511087317643039213765'),·datetime.datetime(2015,·5,·12,·14,·25,·57,·178739))</span> |
360 | <span·class="go">('https://www.bolton-reid.com/category/blog/listregister.php',·datetime.datetime(200 | 360 | <span·class="go">('https://www.bolton-reid.com/category/blog/listregister.php',·datetime.datetime(2003,·6,·12,·23,·4,·39,·8382),·'aKMqqBTFitpKyPAVdgpN',·Decimal('-74655832342888117024.8091891634896769930024894517446660223450076279125609767017200992518'),·'james71@example.org',·'https://lloyd-stark.com/main/blog/tagsprivacy.html[·...·truncated·by·diffoscope;·len:·55,·SHA:·ac27806484d1386ee9acaaa282dede860996bb8b7ef19e88befe10da89759f4d·...·]))</span> |
361 | <span·class="go">('OxNxPdcWzUXIDleQUOKv',·7424134494689.1,·'vfOMbxJbVYLedsbsaYQd',·'kkJWgatbFSjfrXgYsypW',·datetime.datetime(200 | 361 | <span·class="go">('OxNxPdcWzUXIDleQUOKv',·7424134494689.1,·'vfOMbxJbVYLedsbsaYQd',·'kkJWgatbFSjfrXgYsypW',·datetime.datetime(2004,·11,·17,·17,·52,·11,·520694),·'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 63, 17 lines modified | Offset 63, 17 lines modified | ||
63 | ··············Value_types: | 63 | ··············Value_types: |
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,· | 70 | ············{'son':·-9787526.29318886,·'voice':·datetime.datetime(1977,·8,·22, |
71 | ············ | 71 | ············4,·1,·24,·715644),·'kitchen':·'NGnVZQUqLUJyfwFVYySn',·'amount': |
72 | ············datetime.datetime(202 | 72 | ············datetime.datetime(2020,·3,·29,·18,·12,·35,·857196),·'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, 20 lines modified | Offset 87, 20 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(201 | 94 | ············'camera':·1936,·'expect':·datetime.datetime(2017,·2,·21,·0,·41,·2, |
95 | ············ | 95 | ············539789),·'use':·'dSogBkfXCMVoxDhgguyD',·'relate':·- |
96 | ············'amount':·'yKqHdpMcGbyUaBdTJMIa',·'a':·'gaoHpUhDjwLtrHJhWhqk', | ||
97 | ············'establish':·'xPuPulkWEcumejcHjFFK',·'information': | ||
98 | ············ | 96 | ············797087381.435271,·'amount':·'yKqHdpMcGbyUaBdTJMIa',·'a': |
97 | ············'gaoHpUhDjwLtrHJhWhqk',·'establish':·'xPuPulkWEcumejcHjFFK', | ||
98 | ············'information':·datetime.datetime(2011,·3,·22,·4,·1,·28,·289111), | ||
99 | ············'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': |
106 | ············'szdmaXqQrIhVxhqHLOva',·'receive':·-795959.45031711,·'according': | 106 | ············'szdmaXqQrIhVxhqHLOva',·'receive':·-795959.45031711,·'according': |
Offset 137, 73 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,·9,·6,·17,·25,·20,·483587), | ||
145 | ············datetime.datetime(19 | 144 | ············datetime.datetime(1996,·3,·1,·6,·29,·59,·433405),·datetime.datetime |
145 | ············(1984,·4,·15,·14,·59,·45,·733536),·datetime.datetime(2020,·3,·29, | ||
146 | ············ | 146 | ············18,·12,·35,·857196),·'LuQIazTmqTjDmYPxeqAW', |
147 | ············'ppgrVkPCoePqmjQbZndJ',·'TWRUWCuKoQSUEXExIZVP', | 147 | ············'ppgrVkPCoePqmjQbZndJ',·'TWRUWCuKoQSUEXExIZVP', |
148 | ············'qfErjaoKtiwdOSlQGWFd',·'HFDutYbbXjgkPWbwfnlH') | 148 | ············'qfErjaoKtiwdOSlQGWFd',·'HFDutYbbXjgkPWbwfnlH') |
149 | ············('dyFKunVyUDKkNPiiBgVI',·'yvDAqsRnDaMrcomXsosX', | 149 | ············('dyFKunVyUDKkNPiiBgVI',·'yvDAqsRnDaMrcomXsosX', |
150 | ············'jenniferhughes@example.com',·'smithjames@example.com', | 150 | ············'jenniferhughes@example.com',·'smithjames@example.com', |
151 | ············'mHtTDvuKvIcxniBzDNTz',·-0.58427929423069,·'CYYRgaXvaaNYJFjFkpJj', | 151 | ············'mHtTDvuKvIcxniBzDNTz',·-0.58427929423069,·'CYYRgaXvaaNYJFjFkpJj', |
152 | ············Decimal('- | 152 | ············Decimal('- |
153 | ············23587860434913790978655934625693951978093570729960966912834032313989657524780944.4000348559097765823'), | 153 | ············23587860434913790978655934625693951978093570729960966912834032313989657524780944.4000348559097765823'), |
154 | ············9619,·38191497835621.5,·6016) | 154 | ············9619,·38191497835621.5,·6016) |
155 | ············{Decimal | 155 | ············{Decimal |
156 | ············('18000400001558710168379151556371850715591491746684745560870153172067760283158232944569591.3306016884'), | 156 | ············('18000400001558710168379151556371850715591491746684745560870153172067760283158232944569591.3306016884'), |
157 | ············'ohEsZgfLWqSLpRpfDzrP',·'http://www.bruce-compton.org/tag/posts/ | ||
158 | ············searchfaq.php',·584,·2036,·datetime.datetime(1998,·2,·8,·1,·18,·41, | ||
159 | ············8 | 157 | ············584,·'http://www.bruce-compton.org/tag/posts/searchfaq.php',·2036, |
158 | ············datetime.datetime(1997,·7,·23,·12,·5,·36,·321936), | ||
159 | ············'ohEsZgfLWqSLpRpfDzrP',·Decimal('- | ||
160 | ············5566738374584561609320871321036086986788440028749554064377698700636073309631096713016282417601397773.26351108731764303921376582197296687577389305550824926947118013204075227586')} | 160 | ············5566738374584561609320871321036086986788440028749554064377698700636073309631096713016282417601397773.26351108731764303921376582197296687577389305550824926947118013204075227586')} |
161 | ············{'hUvefdviXPwvzSqnsgJr',·'http://www.garcia.com/category/ | ||
162 | ············tagscategory.jsp',·'IajAndSXpvQdHgoRcbvz',·'butjsGXUcnbBDTlOUGAB', | ||
163 | ············'FgqKHkOOfdKFWHYLpSXu',·datetime.datetime(1987,·1,·29,·18,·46,·19, | ||
164 | ············ | 161 | ············{'hUvefdviXPwvzSqnsgJr',·'butjsGXUcnbBDTlOUGAB',·'http:// |
162 | ············www.garcia.com/category/tagscategory.jsp',·'FgqKHkOOfdKFWHYLpSXu', | ||
163 | ············'aYQdUkkJWgatbFSjfrXg',·datetime.datetime(1986,·9,·30,·12,·30,·0, | ||
164 | ············880769),·'IajAndSXpvQdHgoRcbvz',·531.866983954573} | ||
165 | ············[7755,·-9380404207.10591,·'BqthglAmjtISFuKgpvWE',·- | 165 | ············[7755,·-9380404207.10591,·'BqthglAmjtISFuKgpvWE',·- |
166 | ············1385.61194945311,·'dana80@example.com',·138,·5253,·Decimal | 166 | ············1385.61194945311,·'dana80@example.com',·138,·5253,·Decimal |
167 | ············('96801170218340119083001529540605235227463678180.14189276266237582571734'), | 167 | ············('96801170218340119083001529540605235227463678180.14189276266237582571734'), |
168 | ············'RxylfYpFwNezXCvGboIa',·8619] | 168 | ············'RxylfYpFwNezXCvGboIa',·8619] |
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, | 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, |
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, | 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, |
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 | 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 |
172 | ········[_\x8A_\x8n_\x8y]_\x8¶ | 172 | ········[_\x8A_\x8n_\x8y]_\x8¶ |
173 | ··············Examples: | 173 | ··············Examples: |
174 | ············>>>·Faker.seed(0) | 174 | ············>>>·Faker.seed(0) |
175 | ············>>>·for·_·in·range(5): | 175 | ············>>>·for·_·in·range(5): |
176 | ············...·····fake.pylist() | 176 | ············...·····fake.pylist() |
177 | ············... | 177 | ············... |
178 | ············[663,·-424604.985946604,·-9787526.29318886,·datetime.datetime(1977, | 178 | ············[663,·-424604.985946604,·-9787526.29318886,·datetime.datetime(1977, |
179 | ············10,·16,·11,·35,·58,·426196),·'NGnVZQUqLUJyfwFVYySn', | ||
180 | ············datetime.datetime(2021,·3,·28,·13,·35,·41,·234818), | ||
181 | ············'LuQIazTmqTjDmYPxeqAW',·'ppgrVkPCoePqmjQbZndJ', | ||
182 | ············ | 179 | ············8,·22,·4,·1,·24,·715644),·'NGnVZQUqLUJyfwFVYySn',·datetime.datetime |
180 | ············(2020,·3,·29,·18,·12,·35,·857196),·'LuQIazTmqTjDmYPxeqAW', | ||
181 | ············'ppgrVkPCoePqmjQbZndJ',·'TWRUWCuKoQSUEXExIZVP', | ||
182 | ············'qfErjaoKtiwdOSlQGWFd'] | ||
183 | ············['catherinejohnston@example.com',·'tYbbXjgkPWbwfnlHsjAc', | 183 | ············['catherinejohnston@example.com',·'tYbbXjgkPWbwfnlHsjAc', |
184 | ············'KunVyUDKkNPiiBgVIaJU',·datetime.datetime(202 | 184 | ············'KunVyUDKkNPiiBgVIaJU',·datetime.datetime(2020,·4,·29,·3,·25,·29, |
185 | ············936 | 185 | ············923651),·'paul42@example.net',·'xeMChNzFJEUSgqMReEKi', |
186 | ············'HtTDvuKvIcxniBzDNTzq'] | 186 | ············'HtTDvuKvIcxniBzDNTzq'] |
187 | ············['QTQjZGeLZuJqlLaQBfgH',·4725240091.51995, | 187 | ············['QTQjZGeLZuJqlLaQBfgH',·4725240091.51995, |
188 | ············'johnsonrobin@example.org',·-958272097856.158,·0.28952549189774, | 188 | ············'johnsonrobin@example.org',·-958272097856.158,·0.28952549189774, |
189 | ············'angela59@example.org',·'https://taylor.com/tag/list/wp- | 189 | ············'angela59@example.org',·'https://taylor.com/tag/list/wp- |
190 | ············contentcategory.htm',·6016,·'rGciZpuCpymcjBdurvfV',·Decimal('- | 190 | ············contentcategory.htm',·6016,·'rGciZpuCpymcjBdurvfV',·Decimal('- |
191 | ············6549903182054842898289740559728455724548119.045229611133060168847793615349263511087317643039213765'), | 191 | ············6549903182054842898289740559728455724548119.045229611133060168847793615349263511087317643039213765'), |
192 | ············datetime.datetime(201 | 192 | ············datetime.datetime(2015,·5,·12,·14,·25,·57,·178739)] |
193 | ············['https://www.bolton-reid.com/category/blog/listregister.php', | 193 | ············['https://www.bolton-reid.com/category/blog/listregister.php', |
194 | ············datetime.datetime(200 | 194 | ············datetime.datetime(2003,·6,·12,·23,·4,·39,·8382), |
195 | ············'aKMqqBTFitpKyPAVdgpN',·Decimal('- | 195 | ············'aKMqqBTFitpKyPAVdgpN',·Decimal('- |
196 | ············74655832342888117024.8091891634896769930024894517446660223450076279125609767017200992518'), | 196 | ············74655832342888117024.8091891634896769930024894517446660223450076279125609767017200992518'), |
197 | ············'james71@example.org',·'https://lloyd-stark.com/main/blog/ | 197 | ············'james71@example.org',·'https://lloyd-stark.com/main/blog/ |
198 | ············tagsprivacy.html',·datetime.datetime(201 | 198 | ············tagsprivacy.html',·datetime.datetime(2017,·3,·12,·15,·22,·6, |
199 | ············ | 199 | ············825889)] |
200 | ············['OxNxPdcWzUXIDleQUOKv',·7424134494689.1,·'vfOMbxJbVYLedsbsaYQd', | 200 | ············['OxNxPdcWzUXIDleQUOKv',·7424134494689.1,·'vfOMbxJbVYLedsbsaYQd', |
201 | ············'kkJWgatbFSjfrXgYsypW',·datetime.datetime(200 | 201 | ············'kkJWgatbFSjfrXgYsypW',·datetime.datetime(2004,·11,·17,·17,·52,·11, |
202 | ············ | 202 | ············520694),·'EeBqthglAmjtISFuKgpv',·'EpsmGHBtaYUwtXejffFi',·Decimal('- |
203 | ············75235466116100008450701.3758257173407970341489')] | 203 | ············75235466116100008450701.3758257173407970341489')] |
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| | 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| |
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·| | 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·| |
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¶ | 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¶ |
207 | ············Generates·a·random·object·passing·the·type·desired. | 207 | ············Generates·a·random·object·passing·the·type·desired. |
208 | ··············Object_type: | 208 | ··············Object_type: |
209 | ··················the·type·of·the·object·to·generate. | 209 | ··················the·type·of·the·object·to·generate. |
Offset 225, 40 lines modified | Offset 225, 40 lines modified | ||
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, | 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, |
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¶ | 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¶ |
227 | ··············Examples: | 227 | ··············Examples: |
Max diff block lines reached; 32796/43439 bytes (75.50%) of diff not shown. |
Offset 38630, 111 lines modified | Offset 38630, 112 lines modified | ||
38630 | ····"objtypes":·{ | 38630 | ····"objtypes":·{ |
38631 | ········"0":·"py:class", | 38631 | ········"0":·"py:class", |
38632 | ········"1":·"py:method" | 38632 | ········"1":·"py:method" |
38633 | ····}, | 38633 | ····}, |
38634 | ····"terms":·{ | 38634 | ····"terms":·{ |
38635 | ········"":·[0,·1,·2,·6,·9,·11,·12,·13,·14,·15,·17,·18,·20,·21,·22,·25,·29,·30,·31,·32,·35,·37,·38,·39,·40,·42,·44,·45,·47,·48,·49,·51,·52,·53,·56,·57,·58,·59,·60,·61,·62,·63,·64,·66,·67,·73,·74,·75,·77,·78,·79,·80,·81,·82,·83,·87,·89,·90,·91,·93,·94,·96,·97,·100,·103,·104,·105,·109,·116,·117,·126,·127], | 38635 | ········"":·[0,·1,·2,·6,·9,·11,·12,·13,·14,·15,·17,·18,·20,·21,·22,·25,·29,·30,·31,·32,·35,·37,·38,·39,·40,·42,·44,·45,·47,·48,·49,·51,·52,·53,·56,·57,·58,·59,·60,·61,·62,·63,·64,·66,·67,·73,·74,·75,·77,·78,·79,·80,·81,·82,·83,·87,·89,·90,·91,·93,·94,·96,·97,·100,·103,·104,·105,·109,·116,·117,·126,·127], |
38636 | ········"0":·[2,·4,·6,·7,·8,·9,·10,·11,·12,·13,·14,·15,·16,·17,·18,·20,·21,·22,·23,·24,·25,·27,·28,·29,·30,·31,·32,·33,·34,·35,·36,·37,·38,·39,·40,·41,·42,·43,·44,·45,·46,·47,·48,·49,·50,·51,·52,·53,·54,·55,·56,·57,·58,·59,·60,·61,·62,·63,·64,·65,·66,·68,·69,·70,·71,·72,·73,·74,·75,·76,·77,·78,·79,·80,·81,·82,·83,·84,·85,·87,·89,·90,·91,·92,·93,·94,·95,·96,·97,·98,·100,·101,·102,·103,·104,·105,·106,·107,·108,·109,·110,·111,·112,·113,·114,·115,·116,·117,·118,·119,·120,·121,·122,·123,·124,·125,·126,·127], | 38636 | ········"0":·[2,·4,·6,·7,·8,·9,·10,·11,·12,·13,·14,·15,·16,·17,·18,·20,·21,·22,·23,·24,·25,·27,·28,·29,·30,·31,·32,·33,·34,·35,·36,·37,·38,·39,·40,·41,·42,·43,·44,·45,·46,·47,·48,·49,·50,·51,·52,·53,·54,·55,·56,·57,·58,·59,·60,·61,·62,·63,·64,·65,·66,·68,·69,·70,·71,·72,·73,·74,·75,·76,·77,·78,·79,·80,·81,·82,·83,·84,·85,·87,·89,·90,·91,·92,·93,·94,·95,·96,·97,·98,·100,·101,·102,·103,·104,·105,·106,·107,·108,·109,·110,·111,·112,·113,·114,·115,·116,·117,·118,·119,·120,·121,·122,·123,·124,·125,·126,·127], |
38637 | ········"00":·[2,·29,·38,·4 | 38637 | ········"00":·[2,·29,·38,·44,·51,·52,·64,·74,·75,·82,·91,·93,·104,·125], |
38638 | ········"000":·[38,·42,·47,·93], | 38638 | ········"000":·[38,·42,·47,·93], |
38639 | ········"0000":·[6,·9,·13,·15,·17,·18,·20,·22,·25,·35,·38,·39,·40,·42,·44,·49,·51,·53,·57,·58,·59,·60,·61,·63,·64,·66,·74,·75,·77,·78,·79,·80,·81,·82,·83,·87,·89,·90,·91,·94,·96,·97,·109], | 38639 | ········"0000":·[6,·9,·13,·15,·17,·18,·20,·22,·25,·35,·38,·39,·40,·42,·44,·49,·51,·53,·57,·58,·59,·60,·61,·63,·64,·66,·74,·75,·77,·78,·79,·80,·81,·82,·83,·87,·89,·90,·91,·94,·96,·97,·109], |
38640 | ········"00000":·[35,·38,·49,·90,·117], | 38640 | ········"00000":·[35,·38,·49,·90,·117], |
38641 | ········"000000":·[35,·38,·49,·90,·117], | 38641 | ········"000000":·[35,·38,·49,·90,·117], |
38642 | ········"0001":·78, | 38642 | ········"0001":·78, |
38643 | ········"00011":·[21,·52], | 38643 | ········"00011":·[21,·52], |
38644 | ········"0004876475931":·[29,·38,·44,·51,·64,·104], | 38644 | ········"0004876475931":·[29,·38,·44,·51,·64,·104], |
38645 | ········"00048767":·[29,·38,·44,·51,·64,·104], | 38645 | ········"00048767":·[29,·38,·44,·51,·64,·104], |
38646 | ········"00077576c":·41, | ||
38647 | ········"001":·[6,·9,·13,·15,·17,·18,·20,·22,·25,·31,·35,·38,·39,·40,·42,·44,·49,·51,·53,·57,·58,·59,·60,·61,·63,·64,·66,·74,·75,·77,·78,·79,·80,·81,·82,·83,·87,·89,·90,·91,·94,·96,·97,·109,·112], | 38646 | ········"001":·[6,·9,·13,·15,·17,·18,·20,·22,·25,·31,·35,·38,·39,·40,·42,·44,·49,·51,·53,·57,·58,·59,·60,·61,·63,·64,·66,·74,·75,·77,·78,·79,·80,·81,·82,·83,·87,·89,·90,·91,·94,·96,·97,·109,·112], |
38648 | ········"0016":·14, | 38647 | ········"0016":·14, |
38649 | ········"0016097535134":·[29,·38,·44,·51,·64,·104], | 38648 | ········"0016097535134":·[29,·38,·44,·51,·64,·104], |
38650 | ········"0019489241156":·[29,·38,·44,·51,·64,·104], | 38649 | ········"0019489241156":·[29,·38,·44,·51,·64,·104], |
38651 | ········"001cd9":·81, | 38650 | ········"001cd9":·81, |
38652 | ········"002":·48, | 38651 | ········"002":·48, |
38653 | ········"002041424285777665":·45, | 38652 | ········"002041424285777665":·45, |
38654 | ········"002497663450887436":·45, | 38653 | ········"002497663450887436":·45, |
38655 | ········"002597357884672407":·45, | 38654 | ········"002597357884672407":·45, |
38656 | ········"002699":·9, | ||
38657 | ········"002864631170560203":·45, | 38655 | ········"002864631170560203":·45, |
38658 | ········"002991780860070717":·45, | 38656 | ········"002991780860070717":·45, |
38659 | ········"00328":·[52,·53], | 38657 | ········"00328":·[52,·53], |
38660 | ········"003t824":·81, | 38658 | ········"003t824":·81, |
38661 | ········"00420":·17, | 38659 | ········"00420":·17, |
38662 | ········"00421":·82, | 38660 | ········"00421":·82, |
38663 | ········"00438":·[20,·25,·38,·79,·112], | 38661 | ········"00438":·[20,·25,·38,·79,·112], |
38664 | ········"00452":·[52,·53], | 38662 | ········"00452":·[52,·53], |
38665 | ········"00486":·44, | ||
38666 | ········"004860":·44, | ||
38667 | ········"00489249":·[29,·38,·44,·51,·64,·104], | 38663 | ········"00489249":·[29,·38,·44,·51,·64,·104], |
38668 | ········"00494":·[52,·53], | 38664 | ········"00494":·[52,·53], |
38669 | ········"00560":·[52,·53], | 38665 | ········"00560":·[52,·53], |
38670 | ········"0056593877840":·[29,·38,·44,·51,·64,·104], | 38666 | ········"0056593877840":·[29,·38,·44,·51,·64,·104], |
38671 | ········"0060456":·[58,·59], | ||
38672 | ········"006 | 38667 | ········"0064839":·94, |
38668 | ········"006484":·94, | ||
38673 | ········"006d048":·81, | 38669 | ········"006d048":·81, |
38674 | ········"006d475":·81, | 38670 | ········"006d475":·81, |
38675 | ········"00714":·[52,·53], | 38671 | ········"00714":·[52,·53], |
38676 | ········"00781565":·[29,·38,·44,·51,·64,·104], | 38672 | ········"00781565":·[29,·38,·44,·51,·64,·104], |
38677 | ········"007d815":·81, | 38673 | ········"007d815":·81, |
38678 | ········"008375":·117, | ||
38679 | ········"0087115871480":·[29,·38,·44,·51,·64,·104], | 38674 | ········"0087115871480":·[29,·38,·44,·51,·64,·104], |
38680 | ········"00877848":·[29,·38,·44,·51,·64,·104], | 38675 | ········"00877848":·[29,·38,·44,·51,·64,·104], |
38681 | ········"008d924":·81, | 38676 | ········"008d924":·81, |
38682 | ········"00938242":·[29,·38,·44,·51,·64,·104], | 38677 | ········"00938242":·[29,·38,·44,·51,·64,·104], |
38683 | ········"00970":·11, | 38678 | ········"00970":·11, |
38684 | ········"0097042321948":·11, | 38679 | ········"0097042321948":·11, |
38685 | ········"00970591578156":·11, | 38680 | ········"00970591578156":·11, |
38686 | ········"00971":·7, | 38681 | ········"00971":·7, |
38687 | ········"00972":·11, | 38682 | ········"00972":·11, |
38688 | ········"0097535139":·22, | 38683 | ········"0097535139":·22, |
38689 | ········"00991":·[38,·117], | 38684 | ········"00991":·[38,·117], |
38690 | ········"01":·[6,·7,·9,·11,·13,·14,·15,·16,·17,·18,·20,·22,·25,·27,·30,·32,·34,·35,·38,·39,·40,·42,·43,·44,·47,·48,·49,·51,·52,·53,·57,·58,·59,·60,·61,·63,·64,·66,·74,·75,·77,·78,·79,·80,·81,·82,·83,·85,·87,·89,·90,·91,·93,·94,·96,·97,·107,·109,·113,·125], | 38685 | ········"01":·[6,·7,·9,·11,·13,·14,·15,·16,·17,·18,·20,·22,·25,·27,·30,·32,·34,·35,·38,·39,·40,·42,·43,·44,·47,·48,·49,·51,·52,·53,·57,·58,·59,·60,·61,·63,·64,·66,·74,·75,·77,·78,·79,·80,·81,·82,·83,·85,·87,·89,·90,·91,·93,·94,·96,·97,·107,·109,·113,·117,·125], |
38691 | ········"01000":·93, | 38686 | ········"01000":·93, |
38692 | ········"011":·[47,·57,·87], | 38687 | ········"011":·[47,·57,·87], |
38688 | ········"0110549":·64, | ||
38693 | ········"0110 | 38689 | ········"011055":·64, |
38694 | ········"0115":·[61,·91], | 38690 | ········"0115":·[61,·91], |
38695 | ········"01157815659":·32, | 38691 | ········"01157815659":·32, |
38696 | ········"0116":·34, | 38692 | ········"0116":·34, |
38697 | ········"012":·13, | 38693 | ········"012":·13, |
38698 | ········"012000000003":·[29,·38,·51], | 38694 | ········"012000000003":·[29,·38,·51], |
38699 | ········"01200003":·[29,·38,·51], | 38695 | ········"01200003":·[29,·38,·51], |
38700 | ········"01200033":·[29,·38,·51], | 38696 | ········"01200033":·[29,·38,·51], |
38701 | ········"01200043":·[29,·38,·51], | 38697 | ········"01200043":·[29,·38,·51], |
38702 | ········"0121":·30, | 38698 | ········"0121":·30, |
38703 | ········"0123":·[38,·117], | 38699 | ········"0123":·[38,·117], |
38704 | ········"012345000065":·[29,·38,·51], | 38700 | ········"012345000065":·[29,·38,·51], |
38705 | ········"01234565":·[29,·38,·51], | 38701 | ········"01234565":·[29,·38,·51], |
38706 | ········"0123456789":·[35,·38,·49,·90,·117], | 38702 | ········"0123456789":·[35,·38,·49,·90,·117], |
38707 | ········"012 | 38703 | ········"012744":·89, |
38704 | ········"0127442":·89, | ||
38708 | ········"013":·[38,·47,·117], | 38705 | ········"013":·[38,·47,·117], |
38706 | ········"013350":·35, | ||
38709 | ········"013413":·25, | 38707 | ········"013413":·25, |
38710 | ········"0140":·[38,·117], | 38708 | ········"0140":·[38,·117], |
38711 | ········"01444":·[35,·38,·49,·90,·117], | 38709 | ········"01444":·[35,·38,·49,·90,·117], |
38712 | ········"015":·82, | 38710 | ········"015":·82, |
38713 | ········"0150337449585798032331210981996776098583294846980799364841594847719451650":·[38,·122], | 38711 | ········"0150337449585798032331210981996776098583294846980799364841594847719451650":·[38,·122], |
38714 | ········"01530":·[38,·117], | 38712 | ········"01530":·[38,·117], |
38715 | ········"0156593877847":·[29,·38,·51], | 38713 | ········"0156593877847":·[29,·38,·51], |
38714 | ········"0157317":·77, | ||
38715 | ········"015732":·77, | ||
38716 | ········"015781000057":·[29,·38,·51], | 38716 | ········"015781000057":·[29,·38,·51], |
38717 | ········"015913":·25, | 38717 | ········"015913":·25, |
38718 | ········"016":·[35,·38,·45,·49,·66,·90,·114], | 38718 | ········"016":·[35,·38,·45,·49,·66,·90,·114], |
38719 | ········"0160":·[38,·45,·47,·73,·74,·78], | 38719 | ········"0160":·[38,·45,·47,·73,·74,·78], |
38720 | ········"01609":·25, | 38720 | ········"01609":·25, |
38721 | ········"016097535134":·[29,·38,·51], | 38721 | ········"016097535134":·[29,·38,·51], |
38722 | ········"0163":·63, | 38722 | ········"0163":·63, |
38723 | ········"016652":·38, | ||
38723 | ········"0168":·[38,·121], | 38724 | ········"0168":·[38,·121], |
38724 | ········"018041":·94, | 38725 | ········"018041":·94, |
38725 | ········"0 | 38726 | ········"018081":·35, |
38727 | ········"02":·[6,·9,·11,·13,·15,·17,·18,·20,·22,·25,·35,·38,·39,·40,·42,·44,·49,·51,·52,·53,·57,·58,·59,·60,·61,·63,·64,·66,·74,·75,·77,·78,·79,·80,·81,·82,·83,·87,·89,·90,·91,·93,·94,·96,·97,·100,·109], | ||
38726 | ········"020":·[30,·45], | 38728 | ········"020":·[30,·45], |
38729 | ········"020059":·49, | ||
38727 | ········"0205938242":·92, | 38730 | ········"0205938242":·92, |
38731 | ········"02086118257":·75, | ||
38728 | ········"020911":·94, | 38732 | ········"020911":·94, |
38729 | ········"021":·42, | 38733 | ········"021":·42, |
38730 | ········"02113":·89, | ||
38731 | ········"02146":·33, | 38734 | ········"02146":·33, |
38732 | ········"021625":·77, | ||
38733 | ········"0216254":·77, | ||
38734 | ········"02173":·82, | 38735 | ········"02173":·82, |
38735 | ········"02185":·[21,·52], | 38736 | ········"02185":·[21,·52], |
38736 | ········"0219":·30, | 38737 | ········"0219":·30, |
38737 | ········"0219489241150":·[29,·38,·51], | 38738 | ········"0219489241150":·[29,·38,·51], |
38738 | ········"022":·[13,·38,·121], | 38739 | ········"022":·[13,·38,·121], |
38739 | ········"022264759":·11, | 38740 | ········"022264759":·11, |
38740 | ········"02347357d13590815eb822d13e8366e27cf35e1b":·[35,·38,·49,·90,·117], | 38741 | ········"02347357d13590815eb822d13e8366e27cf35e1b":·[35,·38,·49,·90,·117], |
Offset 38742, 100 lines modified | Offset 38743, 103 lines modified | ||
38742 | ········"0241":·14, | 38743 | ········"0241":·14, |
38743 | ········"0242":·80, | 38744 | ········"0242":·80, |
38744 | ········"0248":·80, | 38745 | ········"0248":·80, |
38745 | ········"025":·13, | 38746 | ········"025":·13, |
38746 | ········"025394":·94, | 38747 | ········"025394":·94, |
Max diff block lines reached; 418534/424702 bytes (98.55%) of diff not shown. |