massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / dateparser / dateparser / calendars / hijri_parser.pyi
diff --git a/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stubs/dateparser/dateparser/calendars/hijri_parser.pyi b/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stubs/dateparser/dateparser/calendars/hijri_parser.pyi
new file mode 100644 (file)
index 0000000..c78ae2b
--- /dev/null
@@ -0,0 +1,25 @@
+from typing import Any
+
+from dateparser.calendars import non_gregorian_parser
+
+class hijri:
+    @classmethod
+    def to_gregorian(cls, year: Any | None = ..., month: Any | None = ..., day: Any | None = ...): ...
+    @classmethod
+    def from_gregorian(cls, year: Any | None = ..., month: Any | None = ..., day: Any | None = ...): ...
+    @classmethod
+    def month_length(cls, year, month): ...
+
+class HijriDate:
+    year: Any
+    month: Any
+    day: Any
+    def __init__(self, year, month, day) -> None: ...
+    def weekday(self): ...
+
+class hijri_parser(non_gregorian_parser):
+    calendar_converter: Any
+    default_year: int
+    default_month: int
+    default_day: int
+    non_gregorian_date_cls: Any