|
◆ arrayof_datetime_insert()
subroutine arrayof_datetime_insert |
( |
type(arrayof_datetime) |
this, |
|
|
type(datetime), intent(in) |
content, |
|
|
integer, intent(in), optional |
pos |
|
) |
| |
Method for inserting an element of the array at a desired position.
If necessary, the array is reallocated to accomodate the new element.
- Parametri
-
| this | array object to extend |
[in] | content | object of TYPE TYPE(datetime) to insert |
[in] | pos | position where to insert, if it is out of range, it is clipped, if it is not provided, the object is appended |
Definizione alla linea 1291 del file datetime_class.F90.
1291 TYPE(timedelta), INTENT(IN) :: this 1292 INTEGER, INTENT(IN) :: n 1293 TYPE(timedelta) :: res 1295 res%iminuti = this%iminuti*n 1296 res%month = this%month*n
|