libsim  Versione6.3.0

◆ arrayof_datetime_append_unique()

integer function, private datetime_class::arrayof_datetime_append_unique ( type(arrayof_datetime this,
type(datetime), intent(in)  content 
)
private

Quick function to append an element to the array only if it is not present in the array yet.

The return value is the position at which the element has been appended or at which it has been found.

Parametri
thisarray object to extend
[in]contentobject of TYPE TYPE(datetime) to append

Definizione alla linea 1356 del file datetime_class.F90.

1356 
1357 ELEMENTAL FUNCTION timedelta_abs(this) RESULT(res)
1358 TYPE(timedelta),INTENT(IN) :: this
1359 TYPE(timedelta) :: res
1360 
1361 res%iminuti = abs(this%iminuti)
1362 res%month = abs(this%month)
1363 
1364 END FUNCTION timedelta_abs
1365 
1366 

Generated with Doxygen.