Method for inserting an element of the array at a desired position only if it is not present in the array yet.
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 1336 del file datetime_class.F90.
1336 res%iminuti = mod(this%iminuti, that%iminuti)
1339 END FUNCTION timedelta_mod
1342 ELEMENTAL FUNCTION datetime_timedelta_mod(this, that)
RESULT(res)
1343 TYPE(datetime),
INTENT(IN) :: this
1344 TYPE(timedelta),
INTENT(IN) :: that
1345 TYPE(timedelta) :: res
1347 IF (that%iminuti == 0)
THEN