libsim Versione 7.2.1

◆ 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
thisarray object to extend
[in]contentobject of TYPE TYPE(datetime) to insert
[in]posposition where to insert, if it is out of range, it is clipped, if it is not provided, the object is appended

Definizione alla linea 1280 del file datetime_class.F90.

1281TYPE(timedelta),INTENT(IN) :: this, that
1282TYPE(timedelta) :: res
1283
1284res%iminuti = this%iminuti - that%iminuti
1285res%month = this%month - that%month
1286

Generated with Doxygen.