mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-07 20:54:29 +08:00
15 lines
425 B
Python
15 lines
425 B
Python
from datetime import date, datetime, time, timedelta
|
|
from typing import Any, Optional
|
|
|
|
date_re: Any
|
|
time_re: Any
|
|
datetime_re: Any
|
|
standard_duration_re: Any
|
|
iso8601_duration_re: Any
|
|
postgres_interval_re: Any
|
|
|
|
def parse_date(value: str) -> Optional[date]: ...
|
|
def parse_time(value: str) -> Optional[time]: ...
|
|
def parse_datetime(value: str) -> Optional[datetime]: ...
|
|
def parse_duration(value: str) -> Optional[timedelta]: ...
|