Go to the source code of this file.
◆ dccaltochar1()
| character(string) function dccaltochar1 |
( |
type(dc_cal), intent(in) |
cal | ) |
|
暦情報の文字列変換
- Author
- Yasuhiro MORIKAWA
- Copyright
- Copyright (C) GFD Dennou Club, 2009-2026. All rights reserved.
License is BSD-2-Clause. see COPYRIGHT in detail
Definition at line 52 of file dccaltochar.f90.
53
59 implicit none
60 character(STRING):: result
61 type(DC_CAL), intent(in):: cal
62
63 character(TOKEN):: cal_str
64continue
65
67
68 result =
cprintf(
'%c:month_in_year=%d,day_in_month=(/%c/),hour_in_day=%d,min_in_hour=%d,sec_in_min=%f', &
69 & i = (/ cal % month_in_year, cal % hour_in_day, cal % min_in_hour /), &
70 & d = (/ cal % sec_in_min /), &
71 & c1=trim(cal_str), c2=trim(
tochar(cal % day_in_month)))
72
character(token) function, public dccaltype_str(cal_type)
integer, parameter, public token
単語やキーワードを保持する文字型変数の種別型パラメタ
integer, parameter, public string
文字列を保持する 文字型変数の種別型パラメタ
References dc_calendar_internal::dccaltype_str(), dc_types::string, and dc_types::token.