mirror of
https://github.com/odoo-ide/odoo-stubs.git
synced 2025-05-08 16:52:26 +03:00
17 lines
613 B
Python
17 lines
613 B
Python
# Stubs for odoo.tools.date_utils (Python 3)
|
|
#
|
|
# NOTE: This dynamically typed stub was automatically generated by stubgen.
|
|
|
|
from typing import Any
|
|
|
|
def get_month(date: Any): ...
|
|
def get_quarter_number(date: Any): ...
|
|
def get_quarter(date: Any): ...
|
|
def get_fiscal_year(date: Any, day: int = ..., month: int = ...): ...
|
|
def start_of(value: Any, granularity: Any): ...
|
|
def end_of(value: Any, granularity: Any): ...
|
|
def add(value: Any, *args: Any, **kwargs: Any): ...
|
|
def subtract(value: Any, *args: Any, **kwargs: Any): ...
|
|
def json_default(obj: Any): ...
|
|
def date_range(start: Any, end: Any, step: Any = ...): ...
|