|
◆ datetime_vect_read_unit()
subroutine datetime_vect_read_unit |
( |
type(datetime), dimension(:) |
this, |
|
|
integer, intent(in) |
unit |
|
) |
| |
This method reads from a Fortran file unit the contents of the object this.
The record to be read must have been written with the ::write_unit method. The method works both on formatted and unformatted files.
- Parametri
-
| this | object to be read |
[in] | unit | unit from which to read, it must be an opened Fortran file unit |
Definizione alla linea 1194 del file datetime_class.F90.
1194 IF (this%month == 0) THEN 1195 timedelta_depop = this 1197 tmpdt = datetime_new(1970, 1, 1) 1198 timedelta_depop = (tmpdt + this) - tmpdt 1201 END FUNCTION timedelta_depop 1204 elemental FUNCTION timedelta_eq(this, that) RESULT(res) 1205 TYPE(timedelta), INTENT(IN) :: this, that 1208 res = (this%iminuti == that%iminuti .AND. this%month == that%month) 1210 END FUNCTION timedelta_eq
|