gtool5 Fortran 90/95 Library 1.0.0-rc5
日本語
Loading...
Searching...
No Matches
Functions/Subroutines
dcdatetimele.f90 File Reference

Go to the source code of this file.

Functions/Subroutines

logical function dcdatetime_le_tt (time1, time2)
 Functions for user defined operation (<=)
 
logical function dcdatetime_le_ff (diff1, diff2)
 
logical function dcdatetime_le_fi (diff, factor)
 
logical function dcdatetime_le_if (factor, diff)
 

Function/Subroutine Documentation

◆ dcdatetime_le_ff()

logical function dcdatetime_le_ff ( type(dc_difftime), intent(in)  diff1,
type(dc_difftime), intent(in)  diff2 
)

Compare two DC_DIFFTIME variables (<=)

Compare two time difference values. Returns .true. if the time difference stored in the second argument is greater than or equal to the time difference stored in the first argument.

Parameters
[in]diff1First time difference to compare
[in]diff2Second time difference to compare
Returns
.true. if diff1 <= diff2, .false. otherwise

Definition at line 80 of file dcdatetimele.f90.

81
82 use dc_date_generic, only: operator(>)
84 implicit none
85 type(DC_DIFFTIME), intent(in):: diff1, diff2
86continue
87 result = .not. diff1 > diff2
Interface declarations for procedures provided from dc_date.
Derived types and parameters for date and time.

◆ dcdatetime_le_fi()

logical function dcdatetime_le_fi ( type(dc_difftime), intent(in)  diff,
integer, intent(in)  factor 
)

Compare DC_DIFFTIME with integer (<=)

Compare a time difference value with an integer. Returns .true. if the time difference stored in the first argument is less than or equal to the integer stored in the second argument.

Parameters
[in]diffTime difference to compare
[in]factorInteger value to compare
Returns
.true. if diff <= factor, .false. otherwise

Definition at line 113 of file dcdatetimele.f90.

114
115 use dc_date_generic, only: operator(>)
117 implicit none
118 type(DC_DIFFTIME), intent(in):: diff
119 integer, intent(in):: factor
120continue
121 result = .not. diff > factor

◆ dcdatetime_le_if()

logical function dcdatetime_le_if ( integer, intent(in)  factor,
type(dc_difftime), intent(in)  diff 
)

Compare integer with DC_DIFFTIME (<=)

Compare an integer with a time difference value. Returns .true. if the integer stored in the first argument is less than or equal to the time difference stored in the second argument.

Parameters
[in]factorInteger value to compare
[in]diffTime difference to compare
Returns
.true. if factor <= diff, .false. otherwise

Definition at line 147 of file dcdatetimele.f90.

148
149 use dc_date_generic, only: operator(>)
151 implicit none
152 integer, intent(in):: factor
153 type(DC_DIFFTIME), intent(in):: diff
154continue
155 result = .not. factor > diff

◆ dcdatetime_le_tt()

logical function dcdatetime_le_tt ( type(dc_datetime), intent(in)  time1,
type(dc_datetime), intent(in)  time2 
)

Functions for user defined operation (<=)

Author
Yasuhiro MORIKAWA

Definition at line 47 of file dcdatetimele.f90.

48
49 use dc_date_generic, only: operator(>)
51 implicit none
52 type(DC_DATETIME), intent(in):: time1, time2
53continue
54 result = .not. time1 > time2