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 1290 del file datetime_class.F90.

1291 TYPE(timedelta),INTENT(IN) :: this
1292 INTEGER,INTENT(IN) :: n
1293 TYPE(timedelta) :: res
1294 
1295 res%iminuti = this%iminuti*n
1296 res%month = this%month*n

Generated with Doxygen.