Files
odoo-stubs/odoo-stubs/tools/date_utils.pyi
Trinh Anh Ngoc 85d0f9286a Update
2019-12-09 23:12:11 +07:00

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 = ...): ...