c = calquarters(x)
| Parameter | Description |
|---|---|
| inputs | Numeric quarter counts. |
| Parameter | Description |
|---|---|
| output | A calendarDuration array with each quarter stored as three months. |
Create calendar durations containing calendar quarters.
Use calquarters for month-based calendar shifts. This differs from days or duration arithmetic because month lengths vary.
Array-valued inputs keep their data shape when the operation supports arrays. Scalar operands are expanded where the implementation defines scalar expansion.
datetime(2024, 1, 31) + calquarters(1)
| Version | Description |
|---|---|
| 2.0.0 | initial version |