mirror of
https://github.com/odoo-ide/odoo-stubs.git
synced 2025-05-08 16:52:26 +03:00
Update stubs
This commit is contained in:
@@ -6,12 +6,12 @@ from dateutil.relativedelta import relativedelta
|
||||
_DateTimeT = TypeVar('_DateTimeT', datetime.date, datetime.datetime)
|
||||
|
||||
def get_month(date: _DateTimeT) -> Tuple[_DateTimeT, _DateTimeT]: ...
|
||||
def get_quarter_number(date) -> int: ...
|
||||
def get_quarter_number(date: _DateTimeT) -> int: ...
|
||||
def get_quarter(date: _DateTimeT) -> Tuple[_DateTimeT, _DateTimeT]: ...
|
||||
def get_fiscal_year(date: _DateTimeT, day: int = ..., month: int = ...) -> Tuple[_DateTimeT, _DateTimeT]: ...
|
||||
def get_timedelta(qty, granularity) -> relativedelta: ...
|
||||
def start_of(value: _DateTimeT, granularity) -> _DateTimeT: ...
|
||||
def end_of(value: _DateTimeT, granularity) -> _DateTimeT: ...
|
||||
def get_timedelta(qty: int, granularity: str) -> relativedelta: ...
|
||||
def start_of(value: _DateTimeT, granularity: str) -> _DateTimeT: ...
|
||||
def end_of(value: _DateTimeT, granularity: str) -> _DateTimeT: ...
|
||||
def add(value: _DateTimeT, *args, **kwargs) -> _DateTimeT: ...
|
||||
def subtract(value: _DateTimeT, *args, **kwargs) -> _DateTimeT: ...
|
||||
def json_default(obj) -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user