ffwd
Version of dateutil.relativedelta that only supports addition.
Attributes
| Attribute | Type | Description |
|---|---|---|
| year | int | The specific calendar year to set when performing date addition. |
| month | int | The specific calendar month to set when performing date addition. |
| weeks | int = 0 | The number of weeks to add to the date. |
| weekday | int | The target day of the week to advance to after other adjustments are applied. |
| day | int | The specific day of the month to set when performing date addition. |
| hour | int | The specific hour of the day to set for the resulting time. |
| minute | int | The specific minute of the hour to set for the resulting time. |
| second | int | The specific second of the minute to set for the resulting time. |
| microsecond | int | The specific microsecond to set for the resulting time. |
| days | int | The total number of days to add, calculated from the provided weeks. |
| _has_time | bool | A boolean flag indicating if any time-related components (hour or minute) have been specified. |
Constructor
Signature
def ffwd(
year: int = None,
month: int = None,
weeks: int = 0,
weekday: int = None,
day: int = None,
hour: int = None,
minute: int = None,
second: int = None,
microsecond: int = None,
**kwargs: Any
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| year | int = None | The year component. |
| month | int = None | The month component. |
| weeks | int = 0 | The number of weeks to add. |
| weekday | int = None | The day of the week. |
| day | int = None | The day component. |
| hour | int = None | The hour component. |
| minute | int = None | The minute component. |
| second | int = None | The second component. |
| microsecond | int = None | The microsecond component. |
| **kwargs | Any | Additional keyword arguments. |
Signature
def ffwd(
year: int | None = None,
month: int | None = None,
weeks: int = 0,
weekday: int | None = None,
day: int | None = None,
hour: int | None = None,
minute: int | None = None,
second: int | None = None,
microsecond: int | None = None,
kwargs: Any = null
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| year | `int | None` = None |
| month | `int | None` = None |
| weeks | int = 0 | The number of weeks to add to the date. |
| weekday | `int | None` = None |
| day | `int | None` = None |
| hour | `int | None` = None |
| minute | `int | None` = None |
| second | `int | None` = None |
| microsecond | `int | None` = None |
| kwargs | Any = null | Additional arguments for compatibility. |