|
|
@ -601,7 +601,7 @@ from dateutil.tz import UTC, tzlocal, gettz, datetime_exists, resolve_imaginary |
|
|
|
<D> = date(year, month, day) # Only accepts valid dates from 1 to 9999 AD. |
|
|
|
<T> = time(hour=0, minute=0, second=0) # Also: `microsecond=0, tzinfo=None, fold=0`. |
|
|
|
<DT> = datetime(year, month, day, hour=0) # Also: `minute=0, second=0, microsecond=0, …`. |
|
|
|
<TD> = timedelta(weeks=0, days=0, hours=0) # Also: `minutes=0, seconds=0, microsecond=0`. |
|
|
|
<TD> = timedelta(weeks=0, days=0, hours=0) # Also: `minutes=0, seconds=0, microseconds=0`. |
|
|
|
``` |
|
|
|
* **Use `'<D/DT>.weekday()'` to get the day of the week as an int, with Monday being 0.** |
|
|
|
* **`'fold=1'` means the second pass in case of time jumping back for one hour.** |
|
|
|