diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-12-17 14:36:26 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-12-17 14:36:33 +0000 |
commit | 665666d6f4213da8db57ebb480947b7caf1fe382 (patch) | |
tree | 0cac5d322dfe861a6de62b04fb916cef6dbe4510 /pendulum/_extensions/_helpers.pyi | |
parent | Releasing debian version 3.0.0~a1-2. (diff) | |
download | pendulum-665666d6f4213da8db57ebb480947b7caf1fe382.tar.xz pendulum-665666d6f4213da8db57ebb480947b7caf1fe382.zip |
Merging upstream version 3.0.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'pendulum/_extensions/_helpers.pyi')
-rw-r--r-- | pendulum/_extensions/_helpers.pyi | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/pendulum/_extensions/_helpers.pyi b/pendulum/_extensions/_helpers.pyi deleted file mode 100644 index 99a5397..0000000 --- a/pendulum/_extensions/_helpers.pyi +++ /dev/null @@ -1,31 +0,0 @@ -from __future__ import annotations - -from collections import namedtuple -from datetime import date -from datetime import datetime - -def days_in_year(year: int) -> int: ... -def is_leap(year: int) -> bool: ... -def is_long_year(year: int) -> bool: ... -def local_time( - unix_time: int, utc_offset: int, microseconds: int -) -> tuple[int, int, int, int, int, int, int]: ... - -class PreciseDiff( - namedtuple( - "PreciseDiff", - "years months days " "hours minutes seconds microseconds " "total_days", - ) -): - years: int - months: int - days: int - hours: int - minutes: int - seconds: int - microseconds: int - total_days: int - -def precise_diff(d1: datetime | date, d2: datetime | date) -> PreciseDiff: ... -def timestamp(dt: datetime) -> int: ... -def week_day(year: int, month: int, day: int) -> int: ... |