Soil Water Balance (SWB2)
Loading...
Searching...
No Matches
simulation_datetime::date_range_t Type Reference
Collaboration diagram for simulation_datetime::date_range_t:

Public Member Functions

procedure initialize_datetimes_sub (this, start_date, end_date)
generic initialize (this, start_date, end_date)
procedure days_from_origin_fn (this, datetime)
generic days_from_origin (this, datetime)
procedure increment_by_one_day_sub (this)
generic addday (this)
procedure advance_curr_to_last_day_of_year_sub (this)
generic advance_to_last_doy (this)
procedure advance_curr_to_last_day_of_month_sub (this)
generic advance_to_last_day_of_month (this)
procedure set_curr_to_arbitrary_date_sub (this, new_current_date)
generic set_current_date (this, new_current_date)
procedure percent_complete (this)

Public Attributes

type(datetime_tstart
type(datetime_tend
type(datetime_tcurr
integer(c_int) idoy
integer(c_int) idaysinmonth
integer(c_int) idaysinyear
integer(c_int) iyearofsimulation = 1
logical(c_bool) lisleapyear
integer(c_int) inumdaysfromorigin = 0
integer(c_int) idayofsimulation = 0

Detailed Description

Definition at line 9 of file simulation_datetime.F90.

Member Function/Subroutine Documentation

◆ addday()

generic simulation_datetime::date_range_t::addday ( class (date_range_t), intent(inout) this)

Definition at line 30 of file simulation_datetime.F90.

Here is the call graph for this function:

◆ advance_curr_to_last_day_of_month_sub()

procedure simulation_datetime::date_range_t::advance_curr_to_last_day_of_month_sub ( class (date_range_t), intent(inout) this)

Definition at line 35 of file simulation_datetime.F90.

◆ advance_curr_to_last_day_of_year_sub()

procedure simulation_datetime::date_range_t::advance_curr_to_last_day_of_year_sub ( class (date_range_t), intent(inout) this)

Definition at line 32 of file simulation_datetime.F90.

◆ advance_to_last_day_of_month()

generic simulation_datetime::date_range_t::advance_to_last_day_of_month ( class (date_range_t), intent(inout) this)

Definition at line 36 of file simulation_datetime.F90.

Here is the call graph for this function:

◆ advance_to_last_doy()

generic simulation_datetime::date_range_t::advance_to_last_doy ( class (date_range_t), intent(inout) this)

Definition at line 33 of file simulation_datetime.F90.

Here is the call graph for this function:

◆ days_from_origin()

generic simulation_datetime::date_range_t::days_from_origin ( class (date_range_t), intent(inout) this,
type (datetime_t), intent(in) datetime )

Definition at line 27 of file simulation_datetime.F90.

Here is the call graph for this function:

◆ days_from_origin_fn()

procedure simulation_datetime::date_range_t::days_from_origin_fn ( class (date_range_t), intent(inout) this,
type (datetime_t), intent(in) datetime )

Definition at line 26 of file simulation_datetime.F90.

◆ increment_by_one_day_sub()

procedure simulation_datetime::date_range_t::increment_by_one_day_sub ( class (date_range_t), intent(inout) this)

Definition at line 29 of file simulation_datetime.F90.

◆ initialize()

generic simulation_datetime::date_range_t::initialize ( class (date_range_t), intent(inout) this,
type (datetime_t), intent(inout) start_date,
type (datetime_t), intent(inout) end_date )

Definition at line 24 of file simulation_datetime.F90.

Here is the call graph for this function:

◆ initialize_datetimes_sub()

procedure simulation_datetime::date_range_t::initialize_datetimes_sub ( class (date_range_t), intent(inout) this,
type (datetime_t), intent(inout) start_date,
type (datetime_t), intent(inout) end_date )

Definition at line 23 of file simulation_datetime.F90.

◆ percent_complete()

procedure simulation_datetime::date_range_t::percent_complete ( class (date_range_t), intent(inout) this)

Definition at line 41 of file simulation_datetime.F90.

◆ set_curr_to_arbitrary_date_sub()

procedure simulation_datetime::date_range_t::set_curr_to_arbitrary_date_sub ( class (date_range_t), intent(inout) this,
type (datetime_t), intent(in) new_current_date )

Definition at line 38 of file simulation_datetime.F90.

◆ set_current_date()

generic simulation_datetime::date_range_t::set_current_date ( class (date_range_t), intent(inout) this,
type (datetime_t), intent(in) new_current_date )

Definition at line 39 of file simulation_datetime.F90.

Here is the call graph for this function:

Member Data Documentation

◆ curr

type (datetime_t) simulation_datetime::date_range_t::curr

Definition at line 12 of file simulation_datetime.F90.

◆ end

type (datetime_t) simulation_datetime::date_range_t::end

Definition at line 11 of file simulation_datetime.F90.

◆ idayofsimulation

integer (c_int) simulation_datetime::date_range_t::idayofsimulation = 0

Definition at line 19 of file simulation_datetime.F90.

◆ idaysinmonth

integer (c_int) simulation_datetime::date_range_t::idaysinmonth

Definition at line 14 of file simulation_datetime.F90.

◆ idaysinyear

integer (c_int) simulation_datetime::date_range_t::idaysinyear

Definition at line 15 of file simulation_datetime.F90.

◆ idoy

integer (c_int) simulation_datetime::date_range_t::idoy

Definition at line 13 of file simulation_datetime.F90.

◆ inumdaysfromorigin

integer (c_int) simulation_datetime::date_range_t::inumdaysfromorigin = 0

Definition at line 18 of file simulation_datetime.F90.

◆ iyearofsimulation

integer (c_int) simulation_datetime::date_range_t::iyearofsimulation = 1

Definition at line 16 of file simulation_datetime.F90.

◆ lisleapyear

logical (c_bool) simulation_datetime::date_range_t::lisleapyear

Definition at line 17 of file simulation_datetime.F90.

◆ start

type (datetime_t) simulation_datetime::date_range_t::start

Definition at line 10 of file simulation_datetime.F90.


The documentation for this type was generated from the following file: