Go to the source code of this file.
◆ dcdatetimevalidcaltype()
| logical function dcdatetimevalidcaltype |
( |
integer, intent(in) |
caltype | ) |
|
暦法が dc_date_types で有効なものかどうかを調べる
- Author
- Yasuhiro MORIKAWA
- Copyright
- Copyright (C) GFD Dennou Club, 2000-2026. All rights reserved.
License is BSD-2-Clause. see COPYRIGHT in detail
Definition at line 41 of file dcdatetimevalidcaltype.f90.
42
44 implicit none
45 integer, intent(in):: caltype
46 logical:: result
47 integer:: caltypes_size, i
48continue
49 result = .false.
51 do i = 0, caltypes_size
53 result = .true.
54 exit
55 end if
56 end do
integer, save, public caltype
デフォルトの暦タイプ (グレゴリオ暦)
integer, dimension(0:3), parameter, public prepared_caltypes
利用可能な暦タイプの配列
References dc_date_types::caltype, and dc_date_types::prepared_caltypes.