gtool5 Fortran 90/95 Library 1.0.0-rc5
日本語
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)
Set the calendar type.
Interface declarations for procedures provided from dc_date.
Derived types and parameters for date and time.
integer, save, public caltype
Default calendar type (Gregorian)
Message output module.
Debug tracing module.
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