| Class | dc_calendar_types |
| In: |
dc_utils/dc_calendar_types.f90
|
Note that Japanese and English are described in parallel.
dc_calendar に関連する構造体や定数を提供します.
Derived types and parameters for "dc_calendar" are provided.
| DC_CAL : | 暦情報 |
| DC_CAL_DATE : | 日時情報 |
———— ::
| DC_CAL : | Calendar |
| DC_CAL_DATE : | Date |
| CAL_USER_DEFINED : | 1 年の月数, 1 月の日数, 1 日の時間数, 1 時間の分数, 1 分の秒数が任意である暦. |
| CAL_GREGORIAN : | グレゴリオ暦 |
| CAL_JULIAN : | ユリウス暦 |
| CAL_NOLEAP : | 閏年無しの暦 |
| CAL_360DAY : | 1ヶ月が 30 日の暦 |
| CAL_CYCLIC : | ある月の日数を 「30.6 × 月数 − 前月までの総日数」 の小数点以下切捨とする暦 |
———— ::
| CAL_USER_DEFINED : | A calendar in which number of months of a year, days of a month, hours of a day, minutes of a hour, seconds of a minute are arbitrary. |
| CAL_GREGORIAN : | Gregorian calendar. |
| CAL_JULIAN : | Julian calendar. |
| CAL_NOLEAP : | A calendar without leap year. |
| CAL_360DAY : | A calendar in which number of days of a month is 30. |
| CAL_CYCLIC : | A calendar in which number of days of a year is "30.6 x (number of months) - (total days until last month)" (truncate fractional part). |
日時の単位として認識される文字列のリストです.
List of strings recognized as units of date.
| UNIT_SEC : | 秒の単位 |
| UNIT_MIN : | 分の単位 |
| UNIT_HOUR : | 時間の単位 |
| UNIT_DAY : | 日の単位 |
| UNIT_MONTH : | 月の単位 |
| UNIT_YEAR : | 年の単位 |
———— ::
| UNIT_SEC : | Units of second |
| UNIT_MIN : | Units of minute |
| UNIT_HOUR : | Units of hour |
| UNIT_DAY : | Units of day |
| UNIT_MONTH : | Units of month |
| UNIT_YEAR : | Units of year |
dc_calendar から提供される手続で使用される, 日時の単位を示す整数です.
Integers that indicate units of date. They are used in procedures provied from "dc_calendar".
| UNIT_SYMBOL_SEC : | 秒の単位 |
| UNIT_SYMBOL_MIN : | 分の単位 |
| UNIT_SYMBOL_HOUR : | 時間の単位 |
| UNIT_SYMBOL_DAY : | 日の単位 |
| UNIT_SYMBOL_MONTH : | 月の単位 |
| UNIT_SYMBOL_YEAR : | 年の単位 |
| UNIT_SYMBOL_ERR : | 無効な単位 |
———— ::
| UNIT_SYMBOL_SEC : | Units of second |
| UNIT_SYMBOL_MIN : | Units of minute |
| UNIT_SYMBOL_HOUR : | Units of hour |
| UNIT_SYMBOL_DAY : | Units of day |
| UNIT_SYMBOL_MONTH : | Units of month |
| UNIT_SYMBOL_YEAR : | Units of year |
| UNIT_SYMBOL_ERR : | Invalid unit |
| Constant : | |||
| CAL_360DAY = 6 : | integer, parameter
|
| Constant : | |||
| CAL_CYCLIC = 2 : | integer, parameter
|
| Constant : | |||
| CAL_NOLEAP = 3 : | integer, parameter
|
| Constant : | |||
| CAL_USER_DEFINED = 1 : | integer, parameter
|
| Derived Type : | |||
| initialized = .false. : | logical
| ||
| month_in_year : | integer
| ||
| day_in_month(:) => null() : | integer, pointer
| ||
| hour_in_day : | integer
| ||
| min_in_hour : | integer
| ||
| sec_in_min : | real(DP)
| ||
| cal_type : | integer
|
暦を表現する構造体.
この構造体の要素を直接を参照および変更してはならない. この構造体を扱う上では必ず dc_calendar_generic より提供される 手続きを用いること.
A derived type that expresses calendar.
Do not refer and modify elements of this derived type. Use procedures provied by "dc_calendar_generic" necessarily for handling this derived type.
| Derived Type : | |||
| initialized = .false. : | logical
| ||
| year : | integer
| ||
| month : | integer
| ||
| day : | integer
| ||
| hour : | integer
| ||
| min : | integer
| ||
| sec : | real(DP)
| ||
| zone : | character(TOKEN)
|
日時を表現する構造体
この構造体の要素を直接を参照および変更してはならない. この構造体を扱う上では必ず dc_calendar_generic より提供される 手続きを用いること.
A derived type that expresses date.
Do not refer and modify elements of this derived type. Use procedures provied by "dc_calendar_generic" necessarily for handling this derived type.
| Constant : | |||
| UNIT_DAY = (/ ‘days’, ‘day ’, ‘d. ’, ‘d ‘/) : | character(*), parameter, dimension(4)
|
| Constant : | |||
| UNIT_HOUR = (/ ‘hours’, ‘hour ’, ‘hrs. ’, ‘hrs ’, ‘hr. ’, ‘hr ’, ‘h. ’, ‘h ‘/) : | character(*), parameter, dimension(8)
|
| Constant : | |||
| UNIT_MIN = (/ ‘minutes’, ‘minute ’, ‘min. ’, ‘min ‘/) : | character(*), parameter, dimension(4)
|
| Constant : | |||
| UNIT_MONTH = (/ ‘months’, ‘month ’, ‘mon. ’, ‘mon ’, ‘mo. ’, ‘mo ‘/) : | character(*), parameter, dimension(6)
|
| Constant : | |||
| UNIT_SEC = (/ ‘seconds’, ‘second ’, ‘secs. ’, ‘secs ’, ‘sec. ’, ‘sec ’, ‘s. ’, ‘s ‘/) : | character(*), parameter, dimension(8)
|
| Constant : | |||
| UNIT_YEAR = (/ ‘years’, ‘year ’, ‘yr. ’, ‘yr ‘/) : | character(*), parameter, dimension(4)
|