libsim  Versione6.3.0

◆ datetime_vect_write_unit()

subroutine datetime_class::datetime_vect_write_unit ( type(datetime), dimension(:), intent(in)  this,
integer, intent(in)  unit 
)
private

This method writes on a Fortran file unit the contents of the object this.

The record can successively be read by the ::read_unit method. The method works both on formatted and unformatted files.

Parametri
[in]thisobject to be written
[in]unitunit where to write, it must be an opened Fortran file unit

Definizione alla linea 1234 del file datetime_class.F90.

1234 
1235 res = this%iminuti < that%iminuti
1236 
1237 END FUNCTION timedelta_lt
1238 
1239 
1240 ELEMENTAL FUNCTION timedelta_ge(this, that) RESULT(res)
1241 TYPE(timedelta),INTENT(IN) :: this, that
1242 LOGICAL :: res
1243 
1244 IF (this == that) THEN
1245  res = .true.
1246 ELSE IF (this > that) THEN
1247  res = .true.
1248 ELSE
1249  res = .false.
1250 ENDIF
1251 
1252 END FUNCTION timedelta_ge

Generated with Doxygen.