97 &
operator(<),
operator(>),
operator(<=),
operator(>=), &
98 &
operator(+),
operator(-),
operator(*),
operator(/), &
104 logical,
intent(in):: nondim_flag
107 if ( nondim_flag )
return
114 if (
abs(sec) >= day_sec)
then
115 day = day +
int(sec / day_sec)
116 sec =
modulo(sec, day_sec)
119 if ( ( sec > zero_sec .and. day < zero_sec ) &
120 & .or. ( sec < zero_sec .and. day > zero_sec ) )
then
123 sec = sec + sgn * day_sec
189 character(*),
intent(in):: opr
190 type(dc_difftime),
intent(in):: diff1, diff2
191 type(dc_difftime),
intent(inout):: rslt
193 if ( ( diff1 % nondim_flag .and. .not. diff2 % nondim_flag ) &
194 & .or. ( .not. diff1 % nondim_flag .and. diff2 % nondim_flag ) )
then
197 rslt % nondim_flag = diff1 % nondim_flag
283 character(*),
intent(in):: str
284 integer :: unit_str_size, i
288 do i = 1, unit_str_size
296 do i = 1, unit_str_size
304 do i = 1, unit_str_size
312 do i = 1, unit_str_size
320 do i = 1, unit_str_size
328 do i = 1, unit_str_size
336 do i = 1, unit_str_size
character(token) function, public dcdate_parse_unit(str)
subroutine, public dcdate_set_day_seconds_scl
subroutine, public dcdate_normalize(day, sec, day_seconds, nondim_flag)
subroutine, public dcdate_nondimcheck(opr, diff1, diff2, rslt)
character(*), dimension(6), parameter, public unit_month
月の単位を示す文字列
character(*), dimension(1), parameter, public unit_nondim
無次元時間の単位を示す文字列
real(dp), save, public day_seconds
1日の秒数 (可変, デフォルトは地球の1日)
type(dc_scaled_sec), save, public day_seconds_scl
1日の秒数 (DC_SCALED_SEC 型)
character(*), dimension(4), parameter, public unit_day
日の単位を示す文字列
logical, save, public flag_set_day_seconds_scl
day_seconds_scl が設定済みかどうかのフラグ
character(*), dimension(8), parameter, public unit_sec
秒の単位を示す文字列
character(*), dimension(8), parameter, public unit_hour
時間の単位を示す文字列
character(*), dimension(4), parameter, public unit_year
年の単位を示す文字列
character(*), dimension(4), parameter, public unit_min
分の単位を示す文字列
subroutine, public storeerror(number, where, err, cause_c, cause_i)
integer, parameter, public dc_edimtime
logical function, public present_and_not_empty(arg)
integer, parameter, public token
単語やキーワードを保持する文字型変数の種別型パラメタ
integer, parameter, public string
文字列を保持する 文字型変数の種別型パラメタ
integer, parameter, public dp
倍精度実数型変数