gtool5 Fortran 90/95 ライブラリ 1.0.0-rc5
English
Loading...
Searching...
No Matches
dcdatetimesetcaltype.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
49subroutine dcdatetimesetcaltype(caltype)
50
51 use dc_date_types, only: caltype_default => caltype
52 use dc_trace, only: beginsub, endsub
53 use dc_message, only: messagenotify
55 implicit none
56 integer, intent(in):: caltype
57 character(*), parameter :: subname = 'DCDateTimeSetCaltype'
58continue
59 call beginsub(subname, 'caltype=<%d>', i=(/caltype/))
60 if (validcaltype(caltype)) then
61 caltype_default = caltype
62 else
63 call messagenotify('W', subname, &
64 & 'caltype=<%d> is invalid calender type.', &
65 & i=(/caltype/))
66 end if
67 call endsub(subname, 'dc_date_types#caltype_default=<%d>', i=(/caltype_default/))
68end subroutine dcdatetimesetcaltype
subroutine dcdatetimesetcaltype(caltype)
暦法の設定
dc_date より提供される手続の引用仕様宣言
日付・時刻に関する構造データ型と定数
integer, save, public caltype
デフォルトの暦タイプ (グレゴリオ暦)
メッセージの出力
デバッグ時の追跡用モジュール
Definition dc_trace.f90:150
subroutine, public beginsub(name, fmt, i, r, d, l, n, c1, c2, c3, ca, version)
Definition dc_trace.f90:457
subroutine, public endsub(name, fmt, i, r, d, l, n, c1, c2, c3, ca)
Definition dc_trace.f90:580