mod_time Module Reference
Data Types | |
interface | abs |
interface | assignment(=) |
interface | days2time |
interface | mod |
interface | operator(*) |
interface | operator(+) |
interface | operator(-) |
interface | operator(/) |
interface | operator(/=) |
interface | operator(<) |
interface | operator(<=) |
interface | operator(==) |
interface | operator(>) |
interface | operator(>=) |
interface | seconds2time |
type | time |
Functions/Subroutines | |
type(time) function | abs_time (A) |
type(time) function | modulo_time (A, B) |
type(time) function | days2time_dbl (DAYS) |
type(time) function | days2time_int (DAYS) |
type(time) function | days2time_lint (DAYS) |
type(time) function | days2time_flt (DAYS) |
type(time) function | seconds2time_dbl (SECS) |
type(time) function | seconds2time_int (SECS) |
type(time) function | seconds2time_lint (SECS) |
type(time) function | seconds2time_flt (SECS) |
integer function | time2ncitime (MJD, RJD, D, MS) |
type(time) function | ncitime (D, MS) |
subroutine | adjust (MJD) |
type(time) function | read_time (timestr, status, TZONE) |
type(time) function | time_zone (TZONE, status) |
logical function | is_valid_timezone (timezone) |
type(time) function | read_datetime (timestr, frmt, TZONE, status) |
character(len=80) function | write_datetime (mjdin, prec, TZONE) |
type(time) function | get_now () |
real(dp) function | seconds (MJD) |
real(dp) function | days (MJD) |
type(time) function | int_x_time (int, MJD) |
type(time) function | long_x_time (long, MJD) |
type(time) function | time_x_int (MJD, int) |
type(time) function | time_x_long (MJD, long) |
type(time) function | time_x_flt (MJD, flt) |
type(time) recursive function | time_x_dbl (MJD, dbl) |
type(time) function | flt_x_time (flt, MJD) |
type(time) function | dbl_x_time (dbl, MJD) |
type(time) function | time_div_int (MJD, int) |
type(time) function | time_div_long (MJD, long) |
type(time) function | time_div_flt (MJD, flt) |
type(time) function | time_div_dbl (MJD, dbl) |
type(time) function | add_time (time1, time2) |
type(time) function, dimension(size(time1)) | add_time_1 (time1, time2) |
type(time) function, dimension(size(time1)) | add_time_1a (time1, time2) |
type(time) function, dimension(size(time2)) | add_time_a1 (time1, time2) |
type(time) function, dimension(size(time1, 1), size(time1, 2)) | add_time_2 (time1, time2) |
type(time) function, dimension(size(time1, 1), size(time1, 2)) | add_time_2a (time1, time2) |
type(time) function, dimension(size(time2, 1), size(time2, 2)) | add_time_a2 (time1, time2) |
type(time) function | subtract_time (time1, time2) |
type(time) function, dimension(size(time1)) | subtract_time_1 (time1, time2) |
type(time) function, dimension(size(time2)) | subtract_time_1a (time1, time2) |
type(time) function, dimension(size(time1)) | subtract_time_a1 (time1, time2) |
type(time) function, dimension(size(time1, 1), size(time1, 2)) | subtract_time_2 (time1, time2) |
type(time) function, dimension(size(time1, 1), size(time1, 2)) | subtract_time_2a (time1, time2) |
type(time) function, dimension(size(time2, 1), size(time2, 2)) | subtract_time_a2 (time1, time2) |
subroutine | assign_time (A, B) |
logical function | le_time (time1, time2) |
logical function | lt_time (time1, time2) |
logical function | eq_time (time1, time2) |
logical function | ne_time (time1, time2) |
logical function | ge_time (time1, time2) |
logical function | gt_time (time1, time2) |
subroutine | print_time (mjd, IPT, char) |
subroutine | print_real_time (mjd, IPT, char, TZONE) |
subroutine | now_2_month_days (TTime, Pyear, Pmonth, Pmdays) |
subroutine | now_2_days_test |
Variables | |
integer, parameter | itime = SELECTED_INT_KIND(18) |
integer | mpi_time |
integer(itime), parameter | spd = 86400 |
integer(itime), parameter | mspd = spd * 1000 |
integer(itime), parameter | muspd = mspd * 1000 |
integer(itime), parameter | million = 10**6 |
Function/Subroutine Documentation
Here is the call graph for this function:
![](namespacemod__time_afefb2a3bf90a9c84791c2a5ca64fcead_cgraph.png)
type(time) function mod_time::add_time | ( | type(time), intent(in) | time1, |
type(time), intent(in) | time2 | ||
) |
Here is the call graph for this function:
![](namespacemod__time_a357945356c740f644cd524f5800c1af8_cgraph.png)
type(time) function, dimension(size(time1)) mod_time::add_time_1 | ( | type(time), dimension(:), intent(in) | time1, |
type(time), dimension(:), intent(in) | time2 | ||
) |
type(time) function, dimension(size(time1)) mod_time::add_time_1a | ( | type(time), dimension(:), intent(in) | time1, |
type(time), intent(in) | time2 | ||
) |
type(time) function, dimension(size(time1,1),size(time1,2)) mod_time::add_time_2 | ( | type(time), dimension(:,:), intent(in) | time1, |
type(time), dimension(:,:), intent(in) | time2 | ||
) |
type(time) function, dimension(size(time1,1),size(time1,2)) mod_time::add_time_2a | ( | type(time), dimension(:,:), intent(in) | time1, |
type(time), intent(in) | time2 | ||
) |
type(time) function, dimension(size(time2)) mod_time::add_time_a1 | ( | type(time), intent(in) | time1, |
type(time), dimension(:), intent(in) | time2 | ||
) |
type(time) function, dimension(size(time2,1),size(time2,2)) mod_time::add_time_a2 | ( | type(time), intent(in) | time1, |
type(time), dimension(:,:), intent(in) | time2 | ||
) |
subroutine mod_time::adjust | ( | type(time) | MJD | ) |
Here is the caller graph for this function:
![](namespacemod__time_a1f582eb8fda91d51f8635513f8551db9_icgraph.png)
real(dp) function mod_time::days | ( | type(time), intent(in) | MJD | ) |
Here is the caller graph for this function:
![](namespacemod__time_a6c9b091679e5efe7c2de4b03e8d77b0d_icgraph.png)
type(time) function mod_time::days2time_dbl | ( | real(dp), intent(in) | DAYS | ) |
Here is the call graph for this function:
![](namespacemod__time_ae03d70edb6175826747bb9295fa88860_cgraph.png)
Here is the caller graph for this function:
![](namespacemod__time_ae03d70edb6175826747bb9295fa88860_icgraph.png)
type(time) function mod_time::days2time_flt | ( | real(spa), intent(in) | DAYS | ) |
Here is the call graph for this function:
![](namespacemod__time_ac5811aa6cee6bbe7081dc3ea74a18359_cgraph.png)
type(time) function mod_time::days2time_int | ( | integer, intent(in) | DAYS | ) |
Here is the caller graph for this function:
![](namespacemod__time_ad79577d89e57e97adb8b9286798d7a5e_icgraph.png)
type(time) function mod_time::get_now | ( | ) |
Here is the call graph for this function:
![](namespacemod__time_a6f55e4cf47ed2b58fbfba44dea645731_cgraph.png)
Here is the caller graph for this function:
![](namespacemod__time_a6f55e4cf47ed2b58fbfba44dea645731_icgraph.png)
Here is the call graph for this function:
![](namespacemod__time_a2b3cc5a54e4b295b328da6ac71535c4b_cgraph.png)
logical function mod_time::is_valid_timezone | ( | character(len=*), intent(in) | timezone | ) |
Here is the call graph for this function:
![](namespacemod__time_a14559146123e74cc0363a22b2c042765_cgraph.png)
Here is the caller graph for this function:
![](namespacemod__time_a14559146123e74cc0363a22b2c042765_icgraph.png)
type(time) function mod_time::long_x_time | ( | integer(itime), intent(in) | long, |
type(time), intent(in) | MJD | ||
) |
Here is the call graph for this function:
![](namespacemod__time_a1e2075fa49f775c5d30283e8e70dffd9_cgraph.png)
Here is the call graph for this function:
![](namespacemod__time_a07caf5abf04f77f15bed6a449838df98_cgraph.png)
type(time) function mod_time::ncitime | ( | integer, intent(in) | D, |
integer, intent(in) | MS | ||
) |
Here is the call graph for this function:
![](namespacemod__time_a1fcfc82563c35f7ccd423f7727c14314_cgraph.png)
subroutine mod_time::now_2_days_test | ( | ) |
Here is the call graph for this function:
![](namespacemod__time_ade4cf2fbdfdc035889ecd6a077904748_cgraph.png)
subroutine mod_time::now_2_month_days | ( | type(time), intent(in) | TTime, |
integer, intent(out) | Pyear, | ||
integer, intent(out) | Pmonth, | ||
integer, intent(out) | Pmdays | ||
) |
Here is the call graph for this function:
![](namespacemod__time_a5cb76b44f634d83e6859b4eca6abf97d_cgraph.png)
Here is the caller graph for this function:
![](namespacemod__time_a5cb76b44f634d83e6859b4eca6abf97d_icgraph.png)
subroutine mod_time::print_real_time | ( | type(time), intent(in) | mjd, |
integer, intent(in) | IPT, | ||
character(len=*), intent(in) | char, | ||
character(len=*), intent(in), optional | TZONE | ||
) |
Here is the call graph for this function:
![](namespacemod__time_a905032f26f2cfd43960ff4f015a1ece7_cgraph.png)
Here is the caller graph for this function:
![](namespacemod__time_a905032f26f2cfd43960ff4f015a1ece7_icgraph.png)
subroutine mod_time::print_time | ( | type(time), intent(in) | mjd, |
integer, intent(in) | IPT, | ||
character(len=*), intent(in) | char | ||
) |
Here is the caller graph for this function:
![](namespacemod__time_a849c0b6853fe91041f7ba6e99bb5aca6_icgraph.png)
type(time) function mod_time::read_datetime | ( | character(len=*) | timestr, |
character(len=*), intent(in) | frmt, | ||
character(len=*), intent(in) | TZONE, | ||
integer, intent(out) | status | ||
) |
Here is the call graph for this function:
![](namespacemod__time_a96088dadd5be54bce340adc1133c24d9_cgraph.png)
Here is the caller graph for this function:
![](namespacemod__time_a96088dadd5be54bce340adc1133c24d9_icgraph.png)
type(time) function mod_time::read_time | ( | character(len=*) | timestr, |
integer | status, | ||
character(len=*), intent(in), optional | TZONE | ||
) |
Here is the call graph for this function:
![](namespacemod__time_a46a59bd304e28442882f29f4d5a8be80_cgraph.png)
Here is the caller graph for this function:
![](namespacemod__time_a46a59bd304e28442882f29f4d5a8be80_icgraph.png)
real(dp) function mod_time::seconds | ( | type(time), intent(in) | MJD | ) |
Here is the caller graph for this function:
![](namespacemod__time_a92819efd5c7a4eec1b0dc42efb4398a8_icgraph.png)
type(time) function mod_time::seconds2time_dbl | ( | real(dp), intent(in) | SECS | ) |
Here is the call graph for this function:
![](namespacemod__time_a57b44737a9efc32d8d0589e06141fa50_cgraph.png)
Here is the caller graph for this function:
![](namespacemod__time_a57b44737a9efc32d8d0589e06141fa50_icgraph.png)
type(time) function mod_time::seconds2time_flt | ( | real(spa), intent(in) | SECS | ) |
Here is the call graph for this function:
![](namespacemod__time_a421f7501ab0f3d52dbbd18dc92981d4b_cgraph.png)
type(time) function mod_time::seconds2time_int | ( | integer, intent(in) | SECS | ) |
Here is the call graph for this function:
![](namespacemod__time_a2df6025e30e22778732546b2ac57e156_cgraph.png)
Here is the call graph for this function:
![](namespacemod__time_ad9c8df8fbc623573c26c5dd7f4c625f4_cgraph.png)
type(time) function mod_time::subtract_time | ( | type(time), intent(in) | time1, |
type(time), intent(in) | time2 | ||
) |
Here is the call graph for this function:
![](namespacemod__time_aa239750127d6c25892e0f4a1b0952032_cgraph.png)
type(time) function, dimension(size(time1)) mod_time::subtract_time_1 | ( | type(time), dimension(:), intent(in) | time1, |
type(time), dimension(:), intent(in) | time2 | ||
) |
type(time) function, dimension(size(time2)) mod_time::subtract_time_1a | ( | type(time), intent(in) | time1, |
type(time), dimension(:), intent(in) | time2 | ||
) |
type(time) function, dimension(size(time1,1),size(time1,2)) mod_time::subtract_time_2 | ( | type(time), dimension(:,:), intent(in) | time1, |
type(time), dimension(:,:), intent(in) | time2 | ||
) |
type(time) function, dimension(size(time1,1),size(time1,2)) mod_time::subtract_time_2a | ( | type(time), dimension(:,:), intent(in) | time1, |
type(time), intent(in) | time2 | ||
) |
type(time) function, dimension(size(time1)) mod_time::subtract_time_a1 | ( | type(time), dimension(:), intent(in) | time1, |
type(time), intent(in) | time2 | ||
) |
type(time) function, dimension(size(time2,1),size(time2,2)) mod_time::subtract_time_a2 | ( | type(time), intent(in) | time1, |
type(time), dimension(:,:), intent(in) | time2 | ||
) |
integer function mod_time::time2ncitime | ( | type(time), intent(in) | MJD, |
type(time), intent(in) | RJD, | ||
integer, intent(out) | D, | ||
integer, intent(out) | MS | ||
) |
type(time) function mod_time::time_div_flt | ( | type(time), intent(in) | MJD, |
real(spa), intent(in) | flt | ||
) |
type(time) function mod_time::time_div_long | ( | type(time), intent(in) | MJD, |
integer(itime), intent(in) | long | ||
) |
type(time) recursive function mod_time::time_x_dbl | ( | type(time), intent(in) | MJD, |
real(dp), intent(in) | dbl | ||
) |
Here is the call graph for this function:
![](namespacemod__time_a774e56c82d3af982db492dcc925e9c95_cgraph.png)
Here is the call graph for this function:
![](namespacemod__time_ae6137d0c6e6d4ef052240f167fc8be35_cgraph.png)
type(time) function mod_time::time_x_long | ( | type(time), intent(in) | MJD, |
integer(itime), intent(in) | long | ||
) |
Here is the call graph for this function:
![](namespacemod__time_aa96a61b83e3194b3a00c668e7ea988d0_cgraph.png)
type(time) function mod_time::time_zone | ( | character(len=*), intent(in) | TZONE, |
integer, intent(out) | status | ||
) |
Here is the call graph for this function:
![](namespacemod__time_a63cba3b0a109ac21ddf951418cf7d079_cgraph.png)
Here is the caller graph for this function:
![](namespacemod__time_a63cba3b0a109ac21ddf951418cf7d079_icgraph.png)
character(len=80) function mod_time::write_datetime | ( | type(time), intent(in) | mjdin, |
integer, intent(in) | prec, | ||
character(len=*), intent(in) | TZONE | ||
) |
Here is the call graph for this function:
![](namespacemod__time_a2045785f7f1aed692fa7c2c55357914b_cgraph.png)
Here is the caller graph for this function:
![](namespacemod__time_a2045785f7f1aed692fa7c2c55357914b_icgraph.png)
Variable Documentation
integer, parameter mod_time::itime = SELECTED_INT_KIND(18) |
integer(itime), parameter mod_time::million = 10**6 |
integer mod_time::mpi_time |
integer(itime), parameter mod_time::spd = 86400 |