Soil Water Balance (SWB2)
|
Contains Fortran module datetime, which DATETIME_T class and associated time and date-related routines. More...
Go to the source code of this file.
Data Types | |
interface | datetime::assignment(=) |
interface | datetime::operator(>) |
interface | datetime::operator(<) |
type | datetime::datetime_t |
type | datetime::month_t |
Container for month name and length information. More... |
Modules | |
module | datetime |
This module contains the DATETIME_T class and associated time and date-related routines, along with the MONTH_T class which defines month names and three-letter abbreviations. |
Functions/Subroutines | |
subroutine | datetime::set_default_date_format (sdateformat) |
subroutine | datetime::set_default_time_format (stimeformat) |
subroutine | datetime::set_date_format_indices (this, sdateformat) |
subroutine | datetime::set_time_format_indices (this, stimeformat) |
subroutine | datetime::parse_text_to_date_sub (this, sstring, sfilename, ilinenumber) |
subroutine | datetime::parse_text_to_time_sub (this, sstring) |
subroutine | datetime::calc_water_year_sub (this) |
subroutine | datetime::calc_julian_day_sub (this, imonth, iday, iyear, ihour, iminute, isecond) |
subroutine | datetime::calc_gregorian_date_sub (this) |
subroutine, public | datetime::gregorian_date (ijd, iyear, imonth, iday, iorigin) |
integer(c_int) function, public | datetime::julian_day (iyear, imonth, iday, iorigin, sinputitemname) |
logical(c_bool) function | datetime::is_date_greater_than (date1, date2) |
logical(c_bool) function | datetime::is_date_less_than (date1, date2) |
logical(c_bool) function | datetime::is_date_lt_or_equal_to (date1, date2) |
logical(c_bool) function | datetime::is_date_gt_or_equal_to (date1, date2) |
logical(c_bool) function | datetime::is_date_equal_to (date1, date2) |
integer(c_int) function, public | datetime::count_leap_days_between_dates (date_min, date_max) |
subroutine | datetime::assign_value_to_sub (date2, date1) |
real(c_double) function | datetime::date_minus_date_fn (date1, date2) |
type(datetime_t) function, allocatable | datetime::date_plus_float_fn (date1, fvalue) |
type(datetime_t) function, allocatable | datetime::date_minus_float_fn (date1, fvalue) |
type(datetime_t) function, allocatable | datetime::date_minus_int_fn (date1, ivalue) |
character(len=20) function | datetime::write_pretty_datetime_fn (this) |
character(len=10) function | datetime::write_pretty_date_fn (this) |
character(len=10) function | datetime::write_list_date_fn (this) |
character(len=8) function | datetime::write_list_time_fn (this) |
character(len=19) function | datetime::write_list_datetime_fn (this) |
subroutine | datetime::system_time_to_date_sub (this) |
subroutine | datetime::set_julian_date_sub (this, dvalue) |
Return the number of days in the given year. | |
integer(c_int) function | datetime::get_julian_day_fn (this) |
real(c_double) function | datetime::get_fraction_of_day_fn (this) |
integer(c_int) function | datetime::get_days_in_month_fn (this) |
integer(c_int) function | datetime::get_days_in_year_fn (this) |
subroutine | datetime::date_plus_year_sub (this) |
subroutine | datetime::date_set_day_sub (this, newday) |
subroutine | datetime::date_set_month_sub (this, newmonth) |
subroutine | datetime::date_set_year_sub (this, newyear) |
subroutine | datetime::date_advance_to_last_day_of_month_sub (this) |
subroutine | datetime::date_minus_year_sub (this) |
subroutine | datetime::date_plus_day_sub (this) |
subroutine | datetime::date_minus_day_sub (this) |
logical(c_bool) function | datetime::is_leap_year_fn (this) |
integer(c_int) function | datetime::mmddyyyy2julian (smmddyyyy) |
integer(c_int) function, public | datetime::mmdd2doy (smmdd, sinputitemname) |
integer(c_int) function | datetime::mmddyyyy2doy (smmddyyyy) |
integer(c_int) function | datetime::get_day_of_year_fn (this) |
integer(c_int) function, public | datetime::day_of_year (ijd) |
logical(c_bool) function, public | datetime::isleap (iyear) |
Variables | |
character(len=14), private | datetime::sdate_format = "MM/DD/YYYY" |
character(len=14), public | datetime::sdefault_date_format = "MM/DD/YYYY" |
integer(c_int), private | datetime::iscanmm1 = 1 |
integer(c_int), private | datetime::iscanmm2 = 2 |
integer(c_int), private | datetime::iscandelim1 = 3 |
integer(c_int), private | datetime::iscandd1 = 4 |
integer(c_int), private | datetime::iscandd2 = 5 |
integer(c_int), private | datetime::iscandelim2 = 6 |
integer(c_int), private | datetime::iscanyyyy1 = 7 |
integer(c_int), private | datetime::iscanyyyy2 = 10 |
character(len=14), private | datetime::stime_format = "HH:MM:SS" |
character(len=14), public | datetime::sdefault_time_format = "HH:MM:SS" |
integer(c_int), private | datetime::iscanhour1 = 1 |
integer(c_int), private | datetime::iscanhour2 = 2 |
integer(c_int), private | datetime::iscanmin1 = 4 |
integer(c_int), private | datetime::iscanmin2 = 5 |
integer(c_int), private | datetime::iscansec1 = 7 |
integer(c_int), private | datetime::iscansec2 = 8 |
type(month_t), dimension(12), target, public | datetime::months = [ MONTH_T( 'Jan','January ', 1, 31, 1, 31), MONTH_T( 'Feb','February ', 32, 59, 2, 29), MONTH_T( 'Mar','March ', 60, 90, 3, 31), MONTH_T( 'Apr','April ', 91, 120, 4, 30), MONTH_T( 'May','May ', 121, 151, 5, 31), MONTH_T( 'Jun','June ', 152, 181, 6, 30), MONTH_T( 'Jul','July ', 182, 212, 7, 31), MONTH_T( 'Aug','August ', 213, 243, 8, 31), MONTH_T( 'Sep','September', 244, 273, 9, 30), MONTH_T( 'Oct','October ', 274, 304, 10, 31), MONTH_T( 'Nov','November ', 305, 334, 11, 30), MONTH_T( 'Dec','December ', 335, 365, 12, 31) ] |
Month information. |
Contains Fortran module datetime, which DATETIME_T class and associated time and date-related routines.
Definition in file datetime.F90.