Go to the source code of this file.
Functions/Subroutines | |
| character(string) function | dccaltochar1 (cal) |
| Convert calendar information into strings. | |
| character(string) function dccaltochar1 | ( | type(dc_cal), intent(in) | cal | ) |
Convert calendar information into strings.
Procedures described in this file are provided from "dc_calendar" module.
Convert DC_CAL variable to character string
Convert a dc_calendar_types#DC_CAL variable cal into a character variable result. The format is as follows.
CCCC:month_in_year=MM,day_in_month=(/DD1,.../),hour_in_day=hh,min_in_hour=mm,sec_in_min=ss
CCCC is a type of calendar (number of characters is arbitrary). The rest is information about number of months of a year, etc.
| [in] | cal | An object that stores information of calendar |
Definition at line 52 of file dccaltochar.f90.
References dc_calendar_internal::dccaltype_str(), dc_types::string, and dc_types::token.