Go to the source code of this file.
◆ dccaltochar1()
character(string) function dccaltochar1 |
( |
type(dc_cal), intent(in) |
cal | ) |
|
Definition at line 12 of file dccaltochar.f90.
References dc_calendar_internal::dccaltype_str(), dc_types::dp, dc_types::string, and dc_types::token.
36 character(STRING):: result
37 type(
dc_cal),
intent(in):: cal
43 character(TOKEN):: cal_str
48 result =
cprintf(
'%c:month_in_year=%d,day_in_month=(/%c/),hour_in_day=%d,min_in_hour=%d,sec_in_min=%f', &
49 & i = (/ cal % month_in_year, cal % hour_in_day, cal % min_in_hour /), &
50 & d = (/ cal % sec_in_min /), &
51 & c1=trim(cal_str), c2=trim(
tochar(cal % day_in_month)))
integer, parameter, public token
単語やキーワードを保持する文字型変数の種別型パラメタ
character(token) function, public dccaltype_str(cal_type)
integer, parameter, public dp
倍精度実数型変数
integer, parameter, public string
文字列を保持する 文字型変数の種別型パラメタ