hijri-datetime 0.1.0__py3-none-any.whl → 0.1.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
File without changes
File without changes
hijri_datetime/date.py ADDED
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.1
2
2
  Name: hijri-datetime
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Author-email: "m.lotfi" <m.lotfi@email.com>
5
5
  Maintainer-email: "m.lotfi" <m.lotfi@email.com>
6
6
  License: MIT
@@ -19,6 +19,7 @@ Classifier: Topic :: Software Development :: Libraries
19
19
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
20
20
  Requires-Python: >=3.8
21
21
  Description-Content-Type: text/markdown
22
+ License-File: LICENSE
22
23
 
23
24
  # hijri-datetime
24
25
 
@@ -97,6 +98,10 @@ print(jd) # jdatetime.date(...)
97
98
 
98
99
  ## Partial Dates & Ranges
99
100
 
101
+ - `HijriDate(1446)` → represents the whole year.
102
+ - `HijriDate(1446, 2)` → represents all days of month 2.
103
+ - Conversion to Gregorian returns ranges:
104
+
100
105
  * **Year only**
101
106
 
102
107
  ```python
@@ -105,7 +110,7 @@ print(jd) # jdatetime.date(...)
105
110
  print(start, end) # 2024-07-18 2025-07-06 (example)
106
111
  ```
107
112
 
108
- * **Month only**
113
+ * **Year and Month only**
109
114
 
110
115
  ```python
111
116
  d = HijriDate(1446, 2)
@@ -0,0 +1,13 @@
1
+ hijri_datetime/__init__.py,sha256=i2SM-vSV4sCVWyVki7bQpsJSEAw-RPLMMEXV3-MCWGM,57
2
+ hijri_datetime/calendar.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ hijri_datetime/conversion.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ hijri_datetime/date.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ hijri_datetime/datetime.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
+ hijri_datetime/hello.py,sha256=PcWMF-H8OoHLsK4OW9QWYyMGnRsPz-hqLh916OLetPo,64
7
+ hijri_datetime/range.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
+ hijri_datetime/utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
+ hijri_datetime-0.1.1.dist-info/LICENSE,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
+ hijri_datetime-0.1.1.dist-info/METADATA,sha256=ZO_RIIclicw70uUhHSCmHf5OAWdTUE0lGj4WEyc408c,4969
11
+ hijri_datetime-0.1.1.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
12
+ hijri_datetime-0.1.1.dist-info/top_level.txt,sha256=3-byeAhSA03hoaPXanoyL76rRo5_FTCD9DIwk81fdck,15
13
+ hijri_datetime-0.1.1.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (76.1.0)
2
+ Generator: setuptools (75.3.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,6 +0,0 @@
1
- hijri_datetime/__init__.py,sha256=i2SM-vSV4sCVWyVki7bQpsJSEAw-RPLMMEXV3-MCWGM,57
2
- hijri_datetime/hello.py,sha256=PcWMF-H8OoHLsK4OW9QWYyMGnRsPz-hqLh916OLetPo,64
3
- hijri_datetime-0.1.0.dist-info/METADATA,sha256=1X9y3xdHRLonNACBiJIaBx7YV5RIq8z1A2DgX9rWzXg,4780
4
- hijri_datetime-0.1.0.dist-info/WHEEL,sha256=beeZ86-EfXScwlR_HKu4SllMC9wUEj_8Z_4FJ3egI2w,91
5
- hijri_datetime-0.1.0.dist-info/top_level.txt,sha256=3-byeAhSA03hoaPXanoyL76rRo5_FTCD9DIwk81fdck,15
6
- hijri_datetime-0.1.0.dist-info/RECORD,,