74 real(
dp),
intent(in):: elapse_sec
75 type(
dc_cal_date),
intent(in),
optional,
target:: date
76 type(
dc_cal),
intent(in),
optional,
target:: cal
82 type(
dc_cal),
pointer:: calp =>null()
83 integer:: year, month, day, hour, min
90 if (
present( date ) )
then
96 if (
present( cal ) )
then
107 if ( .not. datep % initialized )
return
108 if ( .not. calp % initialized )
return
114 & elapse_sec = elapse_sec, date = datep , cal = calp )
119 select case( calp % cal_type )
121 if ( mod( year, 4 ) == 0 )
then
128 if ( mod( year, 400 ) == 0 )
then
130 elseif ( mod( year, 100 ) == 0 )
then
132 elseif ( mod( year, 4 ) == 0 )
then
logical function dccaldatechkleapyear1(elapse_sec, date, cal)
閏年かどうかの判定
dc_calendar 手続のインターフェース宣言
integer function, public dccaldate_normalize(year, month, day, hour, min, sec, cal)
integer function, public dccaldate_ym2d(year, month, day, cal, day_of_year)
type(dc_cal), target, save, public default_cal
デフォルトの暦. DCCal で始まる手続のうち, DC_CAL 型の省略可能引数が与えられない 場合にはこの暦が設定もしくは利用される.
subroutine, public default_cal_set
type(dc_cal_date), target, save, public default_date
デフォルトの日時. DCCalDate で始まる手続のうち, DC_CAL_DATE 型の省略可能引数が 与えられない場合にはこの日時が設定もしくは利用される.
integer, parameter, public cal_julian
integer, parameter, public cal_gregorian
integer, parameter, public dp
倍精度実数型変数