Gitiles
Code Review
Sign In
android-review.linaro.org
/
platform
/
prebuilts
/
clang
/
host
/
darwin-x86
/
878f9940501f93bc46e0e26ea898c965093245c2
/
.
/
clang-r510928
/
python3
/
lib
/
python3.10
/
site-packages
/
pip
/
_internal
/
utils
/
datetime.py
blob: 8668b3b0ec1deec2aeb7ff6bd94265d6705e05bf [
file
] [
log
] [
blame
]
"""For when pip wants to check the date or time.
"""
import
datetime
def
today_is_later_than
(
year
:
int
,
month
:
int
,
day
:
int
)
->
bool
:
today
=
datetime
.
date
.
today
()
given
=
datetime
.
date
(
year
,
month
,
day
)
return
today
>
given