gtool5 Fortran 90/95 ライブラリ
1.0.0-rc5
English
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
Loading...
Searching...
No Matches
dc_utils
dccaltochar.f90
Go to the documentation of this file.
1
! -*- mode: f90; coding: utf-8 -*-
2
!-----------------------------------------------------------------------
3
! Copyright (c) 2000-2026 Gtool Development Group. All rights reserved.
4
!-----------------------------------------------------------------------
21
52
function
dccaltochar1
( cal )
result
(result)
53
54
use
dc_calendar_types
,
only
:
dc_cal
55
use
dc_calendar_internal
,
only
:
dccaltype_str
56
use
dc_types
,
only
:
string
,
token
57
use
dc_string
,
only
:
tochar
,
cprintf
,
stoa
,
tochar
58
use
dc_message
,
only
:
messagenotify
59
implicit none
60
character(STRING)
:: result
61
type
(
dc_cal
),
intent(in)
:: cal
62
63
character(TOKEN)
:: cal_str
64
continue
65
66
cal_str =
dccaltype_str
( cal % cal_type )
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
73
end function
dccaltochar1
dccaltochar1
character(string) function dccaltochar1(cal)
暦情報の文字列変換
Definition
dccaltochar.f90:53
dc_message::messagenotify
Definition
dc_message.f90:60
dc_string::cprintf
Definition
dc_string.f90:213
dc_string::stoa
Definition
dc_string.f90:154
dc_string::tochar
Definition
dc_string.f90:130
dc_calendar_internal
dc_calendar用の内部モジュール
Definition
dc_calendar_internal.f90:48
dc_calendar_internal::dccaltype_str
character(token) function, public dccaltype_str(cal_type)
Definition
dc_calendar_internal.f90:506
dc_calendar_types
暦と日時に関する構造データ型と定数
Definition
dc_calendar_types.f90:84
dc_message
メッセージの出力
Definition
dc_message.f90:55
dc_string
文字型変数の操作
Definition
dc_string.f90:83
dc_types
種別型パラメタを提供します。
Definition
dc_types.f90:55
dc_types::token
integer, parameter, public token
単語やキーワードを保持する文字型変数の種別型パラメタ
Definition
dc_types.f90:128
dc_types::string
integer, parameter, public string
文字列を保持する 文字型変数の種別型パラメタ
Definition
dc_types.f90:137
dc_calendar_types::dc_cal
Definition
dc_calendar_types.f90:145
Generated on Fri May 29 2026 05:34:32 for gtool5 Fortran 90/95 ライブラリ by
1.9.8