Lines Matching refs:datetime
30 import datetime
80 def _calculate_release_start(major: str, minor: str) -> datetime.date:
85 quarter = datetime.date.fromisoformat(f'20{major}-0{[1, 4, 7, 10][int(minor)]}-01')
114 date = date + datetime.timedelta(days=7)
116 date = date + datetime.timedelta(days=7)
122 def _calculate_next_release_date(next_is_zero: bool) -> datetime.date:
128 date = datetime.date.today()
142 return date + datetime.timedelta(days=delta)
158 date = date + datetime.timedelta(days=14)
160 date = date + datetime.timedelta(days=14)
215 date = datetime.date.fromisoformat(row[1])
217 date = date + datetime.timedelta(days=days)