date / time module
More...
|
subroutine, public | time_init (calendar_name) |
|
double precision function, public | date_to_mjd (year, month, day, hour, minute, second) |
|
subroutine, public | calendar_date (inputmjd, year, month, day, hour, minute, second) |
|
real function, public | calc_day_of_year (mjd) |
|
subroutine, public | parse_date (date, year, month, day, hour, min, sec) |
|
|
integer, parameter, public | gregorian =0 |
|
integer, parameter, public | noleap =1 |
|
integer, parameter, public | threesixty =2 |
|
integer, parameter, public | year_zero =1800 |
|
integer, public | calendar |
|
integer, dimension(13) | month_start |
|
date / time module
Contains various utilities for working with dates and times. Utilities are capable of handling multiple model calendars.
- Author
- Ethan Gutmann (gutma.nosp@m.nn@u.nosp@m.car.e.nosp@m.du)
real function, public time::calc_day_of_year |
( |
double precision, intent(in) |
mjd | ) |
|
subroutine, public time::calendar_date |
( |
double precision, intent(in) |
inputmjd, |
|
|
integer, intent(out) |
year, |
|
|
integer, intent(out) |
month, |
|
|
integer, intent(out) |
day, |
|
|
integer, intent(out) |
hour, |
|
|
integer, intent(out) |
minute, |
|
|
integer, intent(out) |
second |
|
) |
| |
double precision function, public time::date_to_mjd |
( |
integer, intent(in) |
year, |
|
|
integer, intent(in) |
month, |
|
|
integer, intent(in) |
day, |
|
|
integer, intent(in) |
hour, |
|
|
integer, intent(in) |
minute, |
|
|
integer, intent(in) |
second |
|
) |
| |
subroutine, public time::parse_date |
( |
character (len=*), intent(in) |
date, |
|
|
integer, intent(out) |
year, |
|
|
integer, intent(out) |
month, |
|
|
integer, intent(out) |
day, |
|
|
integer, intent(out) |
hour, |
|
|
integer, intent(out) |
min, |
|
|
integer, intent(out) |
sec |
|
) |
| |
subroutine, public time::time_init |
( |
character(len=*), intent(in) |
calendar_name | ) |
|
integer, public time::calendar |
integer, parameter, public time::gregorian =0 |
integer, dimension(13) time::month_start |
integer, parameter, public time::noleap =1 |
integer, parameter, public time::threesixty =2 |
integer, parameter, public time::year_zero =1800 |
The documentation for this module was generated from the following file: