Go to the source code of this file.
Functions/Subroutines | |
| real(dp) function | dccalconverttomin1 (in_time, in_unit, cal) |
| Convert time to minute unit. | |
| real(dp) function | dccalconverttomin2 (in_time, in_unit, cal) |
| real(dp) function dccalconverttomin1 | ( | real(dp), intent(in) | in_time, |
| character(*), intent(in) | in_unit, | ||
| type(dc_cal), intent(in), optional, target | cal | ||
| ) |
Convert time to minute unit.
Definition at line 72 of file dccalconverttomin.f90.
References dc_calendar_internal::dccaldate_str2usym(), dc_calendar_internal::default_cal, dc_calendar_internal::default_cal_set(), dc_types::dp, and dc_calendar_types::unit_symbol_min.
| real(dp) function dccalconverttomin2 | ( | real(dp), intent(in) | in_time, |
| integer, intent(in) | in_unit, | ||
| type(dc_cal), intent(in), optional, target | cal | ||
| ) |
Convert time from arbitrary unit to minute (symbol version)
Convert of unit from arbitrary time units (day, hour, minute, second) into minute.
Valid integer variables as units of time are follows. Do not specify integer directly, but specify following variables.
| Parameter | Description |
|---|---|
| dc_calendar_types::UNIT_SYMBOL_SEC | Units of second |
| dc_calendar_types::UNIT_SYMBOL_MIN | Units of minute |
| dc_calendar_types::UNIT_SYMBOL_HOUR | Units of hour |
| dc_calendar_types::UNIT_SYMBOL_DAY | Units of day |
If an optional argument cal is omitted, unit is converted with information of a calendar that is stored in the "dc_calendar". If cal is not omitted, unit is converted with information of the variable.
| [in] | in_time | Numerical value of time before conversion |
| [in] | in_unit | Units of time before conversion (integer symbol) |
| [in] | cal | An object that stores information of calendar |
Definition at line 186 of file dccalconverttomin.f90.
References dc_calendar_internal::default_cal, dc_calendar_internal::default_cal_set(), dc_types::dp, and dc_calendar_types::unit_symbol_min.